/* ============================================================
   PrintCraft — Standalone & Policy Pages
   assets/css/pages.css
   Used by: verify.php, reset-password.php, privacy.php,
            terms.php, shipping.php, returns.php, contact.php
   ============================================================ */

/* ── Page-level layout for minimal pages ────────────────── */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Centered card (verify, reset-password) ──────────────── */
.page-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.page-card {
  background: white;
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(26,26,46,0.10);
  border: 1px solid var(--paper3);
  text-align: center;
}

.page-card-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 2rem;
}
.page-card-logo .logo-mark { color: var(--gold); }

.page-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: block;
}
.page-card-icon.no-anim { animation: none; }
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.page-card h1 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.page-card .subtitle {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.page-hint {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text3);
  line-height: 1.6;
}
.page-hint a { color: var(--forest); font-weight: 600; text-decoration: none; }
.page-hint a:hover { text-decoration: underline; }

/* ── Buttons for standalone pages ────────────────────────── */
.btn-page {
  display: block;
  width: 100%;
  padding: 0.8rem 2rem;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-page:hover { background: var(--ink2); transform: translateY(-1px); }
.btn-page:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-page-outline {
  display: block;
  width: 100%;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-page-outline:hover { background: var(--ink); color: white; }

/* ── Password requirements (reset page) ──────────────────── */
.password-reqs {
  background: var(--paper2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.8;
  text-align: left;
}
.password-reqs ul { padding-left: 1.25rem; margin-top: 0.25rem; }
.password-req { transition: color 0.2s; }
.password-req.met { color: var(--forest); font-weight: 600; }
.password-req.met::before { content: '✓ '; }

/* ── Minimal page footer ─────────────────────────────────── */
.page-footer-minimal {
  background: var(--ink);
  color: rgba(248,245,240,0.4);
  text-align: center;
  padding: 1.25rem 2rem;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.page-footer-minimal a {
  color: var(--gold);
  text-decoration: none;
}
.page-footer-minimal a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   POLICY PAGES
   ─────────────────────────────────────────────────────────── */

.policy-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  border: 1px solid var(--paper3);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin: 0 auto;
}

/* Body copy */
.policy-body {
  color: var(--text);
  line-height: 1.85;
  font-size: 0.95rem;
}
.policy-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--paper3);
}
.policy-body h2:first-child { margin-top: 0; }
.policy-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink);
}
.policy-body p  { margin-bottom: 1rem; color: var(--text2); }
.policy-body ul,
.policy-body ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text2); }
.policy-body li { margin-bottom: 0.4rem; }
.policy-body a  { color: var(--forest); font-weight: 600; text-decoration: none; }
.policy-body a:hover { text-decoration: underline; }
.policy-body strong { color: var(--ink); }

.policy-updated {
  font-size: 0.82rem;
  color: var(--text2);
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  margin-bottom: 1.75rem;
  display: inline-block;
}

.policy-contact-box {
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: 14px;
  padding: 1.75rem;
  margin-top: 2rem;
  text-align: center;
}
.policy-contact-box h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.policy-contact-box p  { margin-bottom: 1rem; color: var(--text2); }
.policy-contact-box a {
  display: inline-block;
  padding: 0.6rem 1.75rem;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s;
}
.policy-contact-box a:hover { background: var(--ink2); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-card { padding: 2rem 1.5rem; }
  .policy-card { padding: 1.75rem 1.5rem; }
  .policy-body h2 { font-size: 1.1rem; }
}
.policy-back-link {
  font-size: 0.88rem;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.15s;
  display: inline-block;
}
.policy-back-link:hover { color: var(--ink); }
