/*
 * ACT rebuild — auth surfaces (rebuild-native, no live counterpart).
 *
 * Cascade posture: loads LAST, after /theme/style.css AND
 * /theme/wp-custom.css AND /theme/wp-block-library-shim.css AND
 * /theme/site-overrides.css. Every rule in this file targets a
 * rebuild-native UI surface with NO live counterpart — the live theme's
 * auth affordances were JS-injected by the dead OC-era nopCommerce
 * members plugin (§9(n) RESOLVED). The rebuild uses its own Supabase-
 * Auth-native AccountMenu + Sign In button per site-spec §3 AMENDED
 * 2026-09-22 (Members / Account / Sign Out).
 *
 * A surface with a live counterpart belongs in /theme/style.css
 * (verbatim mirror), /theme/wp-custom.css (verbatim mirror), or
 * /theme/site-overrides.css (deviation under decisions §12 exception).
 * NOT here.
 *
 * Landed 2026-09-23 (Phase B header + footer alignment; SM
 * auth-surfaces.css pattern per SM decisions §13.10 —
 * C:\Users\teesc\SarahMcLachlanRebuild\public\theme\auth-surfaces.css).
 */

/* ================================
 * Sign In button (signed-out CTA in .header-community)
 * ================================
 * Placed inside <li> of <ul#myLinks.menu> alongside the theme-static
 * Newsletter shortcut. Inherits .header-community styles for base color
 * (#fff on the #060606 header bg), sizing (12px, uppercase). Adds a
 * subtle border + padding so the CTA reads as a button, not a link,
 * without adopting live's dead OC yellow (color hex not surviving in
 * live style.css per audit).
 */
.header-signin-button {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 6px 14px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.header-signin-button:hover,
.header-signin-button:focus {
  color: #ff735a;
  border-color: #ff735a;
  outline: none;
}

/* ================================
 * AccountMenu dropdown (signed-in trigger + menu panel)
 * ================================
 * Trigger: user-icon + short-name + caret, styled to sit inside
 * .header-community alongside .header-newsletter (12px uppercase white,
 * cursor: pointer). Menu: absolute-positioned panel below the trigger.
 */
.header-account-dropdown {
  position: relative;
  display: inline-block;
}
.header-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff;
  border: none;
  padding: 6px 4px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}
.header-account-trigger:hover,
.header-account-trigger:focus {
  color: #ff735a;
  outline: none;
}
.header-account-trigger-caret {
  transition: transform 0.15s;
}
.header-account-trigger-caret.is-open {
  transform: rotate(180deg);
}
.header-account-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  min-width: 220px;
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 20;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
}
.header-account-info {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  gap: 2px;
}
.header-account-info-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}
.header-account-info-email {
  font-size: 1.2rem;
  color: #fff;
  word-break: break-all;
}
.header-account-menuitem {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.header-account-menuitem:hover,
.header-account-menuitem:focus {
  color: #ff735a;
  outline: none;
}
.header-account-menuitem[aria-current="page"] {
  color: #ff735a;
}
.header-account-signout {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 4px;
}

/* ================================
 * Mobile auth rows (inside .header-mobile-wrapper)
 * ================================
 * Preserved from prior Header per operator brief. Live's mobile menu
 * doesn't include auth rows (live's OC inject handled them); rebuild
 * duplicates the AccountMenu contents inline so the mobile overlay is
 * self-sufficient for auth affordance.
 *
 * Breakpoint gate (fix 2026-09-23 round 2, operator side-by-side of
 * /biography): live's mobile menu triggers at @media(max-width: 767px)
 * — .nav-icon-container flips display:none → display:block, and
 * .header-mobile-wrapper flips display:flex → display:none (until
 * .body-with-open-nav toggles it back). Above 767px, .header-mobile-
 * wrapper is the inline desktop nav bar; rendering .header-mobile-
 * account inside it as a third flex child was squeezing .header-main-
 * navigation (wrapping to 4 lines) and .header-social (icons shrunk).
 * Fix: hide .header-mobile-account by default (desktop), show only at
 * mobile breakpoint. Border-top rule-line dropped entirely (was
 * showing at desktop as a slim divider inside the nav bar).
 */
.header-mobile-account {
  display: none;
}
@media (max-width: 767px) {
  .header-mobile-account {
    display: block;
    width: 100%;
    padding: 12px 20px 0;
    margin-top: 12px;
  }
  .header-mobile-account ul.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .header-mobile-account .header-mobile-account-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    gap: 2px;
  }
}

/* ================================================================
 * BLOCK 2 — SM verbatim port (2026-09-29)
 *
 * Everything below this marker is ported from
 * ../SarahMcLachlanRebuild/public/theme/auth-surfaces.css sections 1-7
 * and 9 (SM sections 1: form primitives, 2: auth-modal, 3: account-
 * deleted banner, 4-5: members hub + card, 6: account page, 7: reset
 * password, and the numbered auth-page-title + forms-page blocks).
 * SM section 8 (members-footer) is intentionally skipped — JB does
 * not carry a per-members footer surface. SM section 9 (header sign
 * in + AccountMenu) is skipped because BLOCK 1 above already covers
 * JB's ported header/mobile-auth CSS.
 *
 * JB adaptations applied at import time (see feat(auth-surfaces)
 * commit for the exact swap map):
 *   Accent colors:
 *     SM #71939a (base darker teal)  → JB #ff735a (accent base)
 *     SM #9cb8be (lighter/hover)     → JB #ff9585 (accent lighter)
 *     SM #9ac2d3 (light-blue tint)   → JB #ff9585
 *     SM #8fadb3 (light teal)        → JB #ff9585
 *     SM #173643 (dark card bg)      → JB #111111
 *     SM #091a21 (deepest dark)      → JB #060606 (matches JB header)
 *   Font families:
 *     SM "NORD-Thin"                 → JB "azo-sans-web" (Typekit)
 *     SM "newnord"                   → JB "azo-sans-web"
 *   All neutral/state colors kept as-is: #f0f0f0 (text), #f5b7ae /
 *   #e74c3c (error), #d4f8d9 / #27ae60 (success), grays.
 *
 * PAGE-PALETTE FIX (2026-09-29 late): the SM port assumed SM's dark
 * page background. JB pages are WHITE (body bg #fff, text #000, headings
 * tinted #74646b — style.css:8). BLOCK 2 sections 1 (form primitives),
 * 3 (banner), 4-5 (members hub + card), 6 (account), 7 (reset-password),
 * auth-page-title, and forms-page were flipped to LIGHT palette. Section 2
 * (auth-modal) keeps its dark card per operator rule. A modal-scope
 * override block added at the end of section 2 so form-field-* inside
 * .auth-modal-card fall back to dark inputs (light-cream label text +
 * #111111 input bg + rgba(240,240,240,0.3) borders) while page-context
 * form-field-* stay light.
 *
 * Palette swap summary (SM/dark → JB/light for page surfaces):
 *   #f0f0f0 (light text)             -> #000000 body text OR #74646b heading
 *   #111111 (dark card bg)           -> #ffffff / #f5f5f5 light neutral
 *   #060606 (deepest dark)           -> #ffffff on page surfaces;
 *                                       KEPT dark on .account-danger-button
 *                                       for destructive-action visual weight
 *   rgba(240,240,240,0.85) (muted)   -> rgba(0,0,0,0.7) / .75
 *   rgba(240,240,240,0.15) (border)  -> rgba(0,0,0,0.10) / .15
 *   rgba(240,240,240,0.08) (hover)   -> rgba(0,0,0,0.05)
 *   #ff9585 (accent lighter on dark) -> #ff735a (accent base on light)
 *                                       for eyebrows / detail-term / etc.
 *   #d4f8d9 (light success)          -> #155724 (dark green on tint bg)
 *   #f5b7ae (light error)            -> #7a1c1c (dark red on tint bg)
 *   #e74c3c (form-error text)        -> #c0392b (AA on white)
 *   Select-arrow SVG stroke          -> #000000 default; #f0f0f0 inside
 *                                       .auth-modal-card override
 * ================================================================ */

/* ================================================================
 * 1. Shared form primitives (fields.tsx TextField family + PasswordInput)
 * These primitives render inside auth surfaces AND out-of-scope forms.
 * Rules are functional-layout-only — no brand styling that would drift
 * out-of-scope-forms away from their eventual authored look.
 * ================================================================ */

.form-field-label {
  display: block;
  margin-bottom: 20px;
}

.form-field-label-text {
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
  color: #333333;
}

.form-field-input {
  width: 100%;
  padding: 15px 16px;
  font-size: 1.6rem;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  background-color: #ffffff;
  color: #000000;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.form-field-input:focus {
  outline: none;
  border-color: #ff735a;
  box-shadow: 0 0 0 3px rgba(255, 115, 90, 0.15);
}
.form-field-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.form-field-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-field-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.form-field-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.5rem;
  color: #333333;
  line-height: 1.5;
}
.form-field-checkbox-input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-field-help {
  margin-top: 6px;
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.6);
}

.form-error {
  color: #c0392b;
  font-size: 1.4rem;
  margin: 8px 0 0;
}

.form-success-notice {
  margin: 40px 0;
  padding: 20px;
  background-color: rgba(46, 204, 113, 0.12);
  border: 1px solid #27ae60;
  border-radius: 6px;
  color: #155724;
  font-size: 1.5rem;
}

/* ---- PasswordInput -------- */
.password-input-wrapper {
  position: relative;
  width: 100%;
}
.password-input {
  padding-right: 44px;
}
.password-input-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  border-radius: 4px;
}
.password-input-toggle:hover,
.password-input-toggle:focus-visible {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

/* ================================================================
 * 2. AuthModal
 * Dark backdrop + panel-styled card matching .gform_wrapper aesthetic.
 * ================================================================ */

.auth-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}
.auth-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 40px;
  background-color: #111111;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #f0f0f0;
}
@media (max-width: 600px) {
  .auth-modal-card {
    padding: 28px 20px;
    border-radius: 8px;
  }
}
.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: #f0f0f0;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.auth-modal-close:hover,
.auth-modal-close:focus-visible {
  background: rgba(240, 240, 240, 0.1);
  outline: none;
}

/* ---- Auth form ---- */
.auth-form-title {
  font-family: "azo-sans-web", sans-serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #f0f0f0;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.auth-form-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0 0 20px;
}
.auth-form-message-error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #f5b7ae;
}
.auth-form-message-info {
  background: rgba(113, 147, 154, 0.15);
  border: 1px solid rgba(113, 147, 154, 0.5);
  color: #d6e4e7;
}

.auth-callout {
  padding: 14px 18px;
  border-radius: 6px;
  margin: 0 0 24px;
  border-left: 3px solid #ff735a;
  background: rgba(113, 147, 154, 0.12);
  font-size: 1.4rem;
  line-height: 1.55;
  color: #e6ecee;
}
.auth-callout p {
  margin: 0;
}
.auth-callout-error {
  border-left-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  color: #f5b7ae;
}
.auth-callout-link {
  display: inline;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  color: #ff9585;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  vertical-align: baseline;
}
.auth-callout-link:hover,
.auth-callout-link:focus-visible {
  color: #f0f0f0;
  outline: none;
}

.auth-form-turnstile {
  margin: 16px 0 20px;
}

.auth-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  margin-top: 8px;
  background-color: #ff735a;
  color: #f0f0f0;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.auth-form-submit:hover {
  background-color: #ff9585;
}
.auth-form-submit:focus-visible {
  outline: 2px solid #ff9585;
  outline-offset: 2px;
}
.auth-form-submit:active {
  transform: translateY(1px);
}
.auth-form-submit:disabled {
  background-color: #9ea1a2;
  cursor: not-allowed;
  transform: none;
}

.auth-form-linkbutton {
  display: inline;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #ff9585;
  border: 0;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
  text-decoration: underline;
}
.auth-form-linkbutton:hover,
.auth-form-linkbutton:focus-visible {
  color: #f0f0f0;
  outline: none;
}
.auth-form-linkbutton-row {
  margin-top: 20px;
}

.auth-form-divider {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 240, 240, 0.15);
  text-align: center;
}
.auth-form-divider p {
  margin: 0 0 12px;
  font-size: 1.4rem;
  color: rgba(240, 240, 240, 0.75);
}
.auth-form-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  color: #ff9585;
  border: 2px solid #ff9585;
  border-radius: 4px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.auth-form-secondary-button:hover,
.auth-form-secondary-button:focus-visible {
  background-color: rgba(113, 147, 154, 0.1);
  outline: none;
}

.auth-form-already-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

/* ---- Modal-scope overrides for shared form primitives ----
 * Section 1 form-field-* rules default to LIGHT palette (used on
 * pages: reset-password, account, forms/[slug]). Inside the dark
 * modal card, force the dark-palette variant so inputs read on the
 * #111111 card background. Selector is scoped to .auth-modal-card
 * so any future .auth-modal-* wrapper picks it up automatically.
 * ================================================================ */
.auth-modal-card .form-field-label-text {
  color: #f0f0f0;
}
.auth-modal-card .form-field-input {
  background-color: #111111;
  color: #f0f0f0;
  border-color: rgba(240, 240, 240, 0.3);
}
.auth-modal-card .form-field-input:focus {
  border-color: #ff735a;
  box-shadow: 0 0 0 3px rgba(255, 115, 90, 0.2);
}
.auth-modal-card .form-field-input::placeholder {
  color: rgba(240, 240, 240, 0.5);
}
.auth-modal-card .form-field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f0f0f0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.auth-modal-card .form-field-checkbox-label,
.auth-modal-card .form-field-help {
  color: rgba(240, 240, 240, 0.85);
}
.auth-modal-card .password-input-toggle {
  color: rgba(240, 240, 240, 0.7);
}
.auth-modal-card .password-input-toggle:hover,
.auth-modal-card .password-input-toggle:focus-visible {
  color: #f0f0f0;
  background: rgba(240, 240, 240, 0.08);
}

/* ================================================================
 * 3. AccountDeletedBanner
 * Confirmation strip anchored at the top of the site under the header.
 * ================================================================ */

.account-deleted-banner {
  position: relative;
  padding: 14px 48px 14px 20px;
  background-color: rgba(46, 204, 113, 0.12);
  border-bottom: 1px solid #27ae60;
  color: #155724;
  font-size: 1.5rem;
  text-align: center;
}
.account-deleted-banner p {
  margin: 0;
}
.account-deleted-banner-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.account-deleted-banner-close:hover,
.account-deleted-banner-close:focus-visible {
  background: rgba(46, 204, 113, 0.2);
  outline: none;
}

/* ================================================================
 * 4. /members/ landing
 * Member hub — welcome copy + membership callout + resource card grid.
 * ================================================================ */

.members-hub {
  padding-bottom: 60px;
}
.members-hub-welcome-body {
  margin: 24px 0 40px;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #000000;
}
.members-hub-membership {
  margin: 0 0 48px;
  padding: 20px 24px;
  background: #f5f5f5;
  border-radius: 8px;
}
.members-hub-membership-eyebrow {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff735a;
}
.members-hub-membership-body {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #000000;
}
.members-hub-membership-body p {
  margin: 0 0 8px;
}
.members-hub-membership-body p:last-child {
  margin-bottom: 0;
}

.members-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .members-hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.member-hub-card {
  display: flex;
  flex-direction: column;
}
.member-hub-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.member-hub-card-title {
  margin: 20px 0 12px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 2rem;
  color: #74646b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.member-hub-card-body {
  margin: 0 0 20px;
  font-size: 1.5rem;
  line-height: 1.55;
  color: #000000;
}
.member-hub-card-body p {
  margin: 0 0 8px;
}
.member-hub-card-body p:last-child {
  margin-bottom: 0;
}
.member-hub-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background-color: #ff735a;
  color: #ffffff;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.member-hub-card-cta:hover,
.member-hub-card-cta:focus-visible {
  background-color: #ff9585;
  outline: none;
}

/* ================================================================
 * 5. /account/
 * Signed-in details, change-password, delete-account sections.
 * ================================================================ */

.account-page {
  padding-bottom: 80px;
}
.account-section {
  margin-bottom: 56px;
}
.account-section:last-child {
  margin-bottom: 0;
}
.account-section-heading {
  margin: 0 0 4px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 2.4rem;
  color: #74646b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.account-section-copy {
  margin: 0 0 24px;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.75);
}

.account-detail-list {
  margin: 24px 0 0;
}
.account-detail-item {
  margin-bottom: 16px;
}
.account-detail-item:last-child {
  margin-bottom: 0;
}
.account-detail-term {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff735a;
  margin: 0 0 4px;
}
.account-detail-value {
  margin: 0;
  font-size: 1.6rem;
  color: #000000;
  word-break: break-word;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.account-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.account-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #ff735a;
  color: #ffffff;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.account-primary-button:hover:not(:disabled),
.account-primary-button:focus-visible {
  background-color: #ff9585;
  outline: none;
}
.account-primary-button:disabled {
  background-color: #9ea1a2;
  cursor: not-allowed;
}

.account-danger-section {
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.account-danger-heading {
  color: rgba(0, 0, 0, 0.75);
}
.account-danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #060606;
  color: #ffffff;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.account-danger-button:hover:not(:disabled),
.account-danger-button:focus-visible {
  background-color: #2a2a2a;
  outline: none;
}
.account-danger-button:disabled {
  background-color: #9ea1a2;
  cursor: not-allowed;
}
.account-danger-cancel {
  background: transparent;
  color: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 12px 24px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
}
.account-danger-cancel:hover:not(:disabled),
.account-danger-cancel:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.account-success-message {
  margin: 0;
  padding: 12px 16px;
  background-color: rgba(46, 204, 113, 0.12);
  border: 1px solid #27ae60;
  border-radius: 6px;
  color: #155724;
  font-size: 1.4rem;
}

/* ================================================================
 * 6. /auth/reset-password/
 * Standalone reset-token landing page — card inside .container shell.
 * ================================================================ */

.reset-password-shell {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}
.reset-password-card {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  background-color: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  color: #000000;
}
@media (max-width: 600px) {
  .reset-password-shell {
    padding: 40px 0;
  }
  .reset-password-card {
    padding: 28px 20px;
    border-radius: 8px;
  }
}
.reset-password-title {
  margin: 0 0 24px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #74646b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.reset-password-error {
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 6px;
  color: #7a1c1c;
  font-size: 1.4rem;
  margin: 0 0 20px;
}
.reset-password-loading {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
}

/* ================================================================
 * 7. Page title spacing helper
 * PageTitle component emits <h1> with theme baseline styling; this
 * helper wraps it for auth-surface routes so the title sits under the
 * header with consistent breathing room without depending on inline
 * Tailwind classes.
 * ================================================================ */

.auth-page-title {
  margin: 40px 0 32px;
  font-family: "azo-sans-web", sans-serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: #74646b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .auth-page-title {
    font-size: 2.6rem;
    margin: 28px 0 24px;
  }
}

/* ================================================================
 * 8. Members-area footer
 * JT-precedent footer rendered as the sole footer on /members/ +
 * /account/ + /auth/reset-password/ (FooterGate suppresses the
 * global site footer on those routes). Link set: Home | Contact |
 * Privacy | Cookies | Terms | Mailing List + Do Not Sell.
 * ================================================================ */
 * selectors continue to style the form itself when nested under
 * /cookies/.
 * ================================================================ */

/* Page shells — centered form card under a live-matched .container */
.contact-page,
.forms-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* Bookend intro paragraph (live's <p class="wp-block-paragraph"><strong>)
 * on /contact/ carries the ticketing-helper copy above AND below the form.
 * Theme style.css sets .wp-block-paragraph baseline; the extra spacing
 * below is form-page-specific. */
.contact-page .wp-block-paragraph {
  margin: 20px 0 24px;
  line-height: 1.5;
}
.contact-page .wp-block-paragraph a {
  color: #ff735a;
  text-decoration: underline;
}
.contact-page .wp-block-paragraph a:hover {
  color: #000000;
}

/* Forms — vertical rhythm between top-level rows */
.contact-form,
.do-not-sell-form,
.dynamic-form {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Grouped legend — Gravity Forms <fieldset> parity */
.form-field-group {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field-group-legend {
  display: block;
  padding: 0;
  margin-bottom: 4px;
  font-size: 1.8rem;
  color: #000000;
  font-weight: 400;
}
.form-field-group-required {
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.6);
  margin-left: 6px;
  font-weight: 300;
}
.form-field-group-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Side-by-side field pairs (First/Last, Enter/Confirm Email, City/State,
 * ZIP/Country). Grid collapse at narrow viewport. */
.form-field-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .form-field-row-2col {
    grid-template-columns: 1fr;
  }
}

/* Inside a grouped body the .form-field-label spacing collapses so the
 * sub-label sits above the input with tighter rhythm than the top-level
 * form gap. */
.form-field-group-body .form-field-label {
  margin-bottom: 0;
}

/* Submit-row spacing above the button */
.form-submit-row {
  margin-top: 16px;
}

/* Submit button — match auth-surface teal-uppercase vocabulary */
.form-submit-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.4rem;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background-color: #ff735a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.form-submit-button:hover:not(:disabled) {
  background-color: #ff9585;
}
.form-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Turnstile widget spacing above submit */
.contact-form > .cf-turnstile,
.do-not-sell-form > .cf-turnstile,
.dynamic-form > .cf-turnstile,
.contact-form > div:has(> iframe[src*="challenges.cloudflare.com"]),
.do-not-sell-form > div:has(> iframe[src*="challenges.cloudflare.com"]),
.dynamic-form > div:has(> iframe[src*="challenges.cloudflare.com"]) {
  margin: 8px 0;
}

