/* ============================================================
   auth.css — Premium auth pages (login / register / recovery)
   Uses cabinet.css tokens. Loaded via @section('head') on auth pages.
   Never modifies cabinet.css or admin.css.
   ============================================================ */

/* ============================================================
   AUTH PAGE WRAPPER
   Break out of the .shell--guest max-width:860px constraint.
   The shell pads 18px, so we pull -18px on each side.
   ============================================================ */
.auth-page-wrap {
    /* Break free of .content constraints */
    margin: -18px -18px;
    min-height: calc(100vh - 72px); /* 72px = approx topbar height */
    display: flex;
    flex-direction: column;
}

/* Also break the guest content max-width for auth pages.
   :has() is supported 92%+ globally (2025). Fallback: the layout still
   looks fine at 860px — just slightly constrained on very wide screens. */
.shell--guest .content:has(.auth-page-wrap) {
    max-width: none;
    margin: 0;
}

/* ============================================================
   TWO-PANE SPLIT LAYOUT
   Left = hero, Right = form card
   ============================================================ */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 480px;
    flex: 1 1 auto;
    min-height: 0;
}

/* ============================================================
   HERO PANE — atmospheric background + brand elements
   ============================================================ */
.auth-hero-pane {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 56px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 30% 50%, rgba(184, 135, 10, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 70% 20%, rgba(92, 167, 255, 0.07) 0%, transparent 55%),
        var(--bg-base);
}

/* Background image with dark overlay */
.auth-hero-pane__bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/guest/hero-bg.jpg');
    background-size: cover;
    background-position: center 20%;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

/* Gold shimmer line on right edge (divider) */
.auth-hero-pane::after {
    content: '';
    position: absolute;
    top: 8%;
    bottom: 8%;
    right: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(212, 175, 55, 0.50) 25%,
        rgba(240, 198, 116, 0.75) 50%,
        rgba(212, 175, 55, 0.50) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Ambient glow orb — bottom right of hero */
.auth-hero-pane__glow {
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.13) 0%, transparent 68%);
    pointer-events: none;
    animation: auth-glow-pulse 4s ease-in-out infinite;
    z-index: 1;
}

/* Top-left ambient orb */
.auth-hero-pane__glow-2 {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 167, 255, 0.07) 0%, transparent 65%);
    pointer-events: none;
    animation: auth-glow-pulse 6s 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes auth-glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.06); }
}

/* Floating gold particle dots */
.auth-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.auth-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
    animation: auth-float-up var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
    opacity: 0;
}

@keyframes auth-float-up {
    0%   { opacity: 0;    transform: translateY(0)    scale(0.6); }
    15%  { opacity: 0.85; }
    85%  { opacity: 0.6; }
    100% { opacity: 0;    transform: translateY(-180px) scale(1.1); }
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.auth-hero-pane__content {
    position: relative;
    z-index: 3;
    max-width: 480px;
    animation: cab-fadein-up 0.55s 0.1s ease both;
}

/* Brand crest — gold "FW" monogram circle */
.auth-hero-crest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.55);
    background:
        radial-gradient(circle at 40% 35%, rgba(251, 228, 155, 0.22) 0%, transparent 55%),
        linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(184, 135, 10, 0.08));
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.14),
        0 0 28px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    margin-bottom: 28px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reset so the border+bg is on the wrapper */
.auth-hero-crest {
    background: none;
}
.auth-hero-crest span {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.auth-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: rgba(212, 175, 55, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.auth-hero-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    background: linear-gradient(135deg, #f5e4a4 0%, #f0c674 30%, #d4af37 65%, #b8870a 90%, #e8c960 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 220% auto;
}

.auth-hero-sub {
    margin: 0 0 28px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 380px;
}

.auth-hero-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.4;
}

.auth-hero-features li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.09);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'><path d='M1 4l3 3 5-6' fill='none' stroke='%23d8a94b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================================
   FORM PANE — the glass-card side
   ============================================================ */
.auth-form-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, rgba(19, 24, 38, 0.98), rgba(13, 18, 30, 0.99));
    overflow-y: auto;
}

/* ============================================================
   AUTH CARD — the actual form surface inside the pane
   ============================================================ */
.auth-form-card {
    width: 100%;
    max-width: 392px;
    margin: 0 auto;
    animation: cab-fadein-up 0.45s 0.15s ease both;
}

.auth-form-card__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    background: rgba(92, 167, 255, 0.10);
    border: 1px solid rgba(92, 167, 255, 0.22);
    color: #9fd0ff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.auth-form-card__eyebrow--gold {
    background: rgba(212, 175, 55, 0.10);
    border-color: rgba(212, 175, 55, 0.22);
    color: var(--gold-soft);
}

.auth-form-card__title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--text);
}

.auth-form-card__desc {
    margin: 0 0 28px;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* The surface box wrapping fields */
.auth-form-surface {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border-gold);
    border-radius: var(--r-lg);
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 175, 55, 0.07) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.030), rgba(255, 255, 255, 0.008)),
        var(--bg-card);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 24px 60px rgba(0, 0, 0, 0.40);
}

/* Gold shimmer at top of surface */
.auth-form-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.70) 30%,
        rgba(240, 198, 116, 0.90) 50%,
        rgba(212, 175, 55, 0.70) 70%,
        transparent 100%
    );
    border-radius: var(--r-pill);
    pointer-events: none;
}

/* ============================================================
   FIELD LABELS — slightly larger, cleaner look
   ============================================================ */
.auth-form-surface label,
.auth-form-surface .field > label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.auth-form-surface .field + .field {
    margin-top: 18px;
}

/* ============================================================
   LEGAL CONSENT CHECKBOX — registration agreement
   ============================================================ */
.auth-legal-consent {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(212, 175, 55, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.auth-legal-consent:hover {
    border-color: rgba(212, 175, 55, 0.32);
    background: rgba(212, 175, 55, 0.06);
}
.auth-legal-consent.has-error {
    border-color: rgba(207, 93, 93, 0.55);
    background: rgba(207, 93, 93, 0.07);
}
.auth-legal-consent__label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}
.auth-legal-consent__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.auth-legal-consent__check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    background: rgba(8, 10, 20, 0.6);
    color: #18140e;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    margin-top: 1px;
}
.auth-legal-consent__check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.auth-legal-consent__input:checked ~ .auth-legal-consent__check {
    background: linear-gradient(135deg, #f0c674, #d4af37);
    border-color: var(--g-gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.auth-legal-consent__input:checked ~ .auth-legal-consent__check svg {
    opacity: 1;
}
.auth-legal-consent__input:focus-visible ~ .auth-legal-consent__check {
    outline: 2px solid rgba(212, 175, 55, 0.65);
    outline-offset: 2px;
}
.auth-legal-consent__text {
    flex: 1;
    font-size: 13px;
    line-height: 1.55;
    color: #c9d2e2;
}
.auth-legal-consent__text a {
    color: #f0c674;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}
.auth-legal-consent__text a:hover {
    color: #fff;
}
.auth-legal-consent__error {
    margin-top: 8px;
    padding-left: 34px;
    font-size: 12px;
    color: #ff8a8a;
    font-weight: 600;
}

/* ============================================================
   SUBMIT BUTTON — full-width gold in form surface
   ============================================================ */
.auth-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 12px 24px;
    margin-top: 24px;
    border: 1px solid rgba(216, 169, 75, 0.50);
    border-radius: var(--r-md);
    background: var(--gold-grad);
    color: #1a1200;
    font-size: 14px;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.20),
        0 4px 18px rgba(184, 135, 10, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: box-shadow var(--t-std), transform var(--t-fast), filter var(--t-fast);
    -webkit-user-select: none;
    user-select: none;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.auth-submit-btn:hover::before { left: 130%; }

.auth-submit-btn:hover {
    filter: brightness(1.07);
    box-shadow:
        0 0 0 1px rgba(240, 198, 116, 0.42),
        0 6px 24px rgba(184, 135, 10, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
    color: #18120a;
}

.auth-submit-btn:active { transform: translateY(0); filter: brightness(0.96); }

.auth-submit-btn:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.65);
    outline-offset: 2px;
}

/* ============================================================
   FORM LINKS ROW — secondary / ghost links below submit
   ============================================================ */
.auth-links-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 16px;
}

.auth-link {
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--t-fast);
}

.auth-link:hover { color: var(--gold-soft); }

.auth-link--gold {
    color: var(--gold-2);
    font-weight: 600;
}

.auth-link--gold:hover { color: var(--gold-1); }

.auth-link-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-soft);
    flex-shrink: 0;
}

/* ============================================================
   QUICK-ACTION TILES — navigation cards in the hero pane
   ============================================================ */
.auth-tile-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
}

.auth-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid rgba(92, 167, 255, 0.14);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    text-decoration: none;
    transition:
        border-color var(--t-std),
        background var(--t-std),
        transform var(--t-fast);
}

.auth-tile:hover {
    border-color: rgba(212, 175, 55, 0.32);
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold-soft);
    transform: translateX(3px);
}

.auth-tile--primary {
    border-color: rgba(216, 169, 75, 0.35);
    background:
        linear-gradient(90deg, rgba(212, 175, 55, 0.14), rgba(184, 135, 10, 0.08));
}

.auth-tile--primary:hover {
    border-color: rgba(216, 169, 75, 0.55);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.22), rgba(184, 135, 10, 0.12));
}

.auth-tile--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.auth-tile__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
}

.auth-tile--primary .auth-tile__icon {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.25);
}

.auth-tile__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.auth-tile__copy strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.auth-tile__copy span {
    display: block;
    color: var(--text-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

.auth-tile--primary .auth-tile__copy span {
    color: rgba(26, 18, 0, 0.65);
}

.auth-tile--primary .auth-tile__copy strong {
    color: #1a1200;
}

.auth-tile--closed-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.18);
    color: rgba(26, 18, 0, 0.70);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ============================================================
   HELP / CHECKLIST CARD (in hero pane bottom section)
   ============================================================ */
.auth-help-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-help-section__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border-radius: var(--r-pill);
    background: rgba(75, 179, 110, 0.10);
    border: 1px solid rgba(75, 179, 110, 0.22);
    color: #98f0be;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.auth-help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-help-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.auth-help-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--gold-2);
    font-weight: 900;
}

/* ============================================================
   INFO / META / QUESTION BOX — reused inside form surface
   ============================================================ */
.auth-form-surface .auth-info-box,
.auth-form-surface .auth-question-box,
.auth-form-surface .auth-meta-box {
    margin-top: 16px;
    border-color: rgba(92, 167, 255, 0.14);
    background: rgba(255, 255, 255, 0.020);
}

/* ============================================================
   PASSWORD PEEK BUTTON
   ============================================================ */
.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 40px;
}

.password-peek {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--r-sm);
    padding: 0;
    min-height: 0;
    box-shadow: none;
    transition: color var(--t-fast);
    -webkit-user-select: none;
    user-select: none;
}

.password-peek::before { display: none; }

.password-peek::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a99b3' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/><circle cx='12' cy='12' r='3'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity var(--t-fast);
}

.password-peek:hover { color: var(--gold-soft); }
.password-peek:hover::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d8a94b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/><circle cx='12' cy='12' r='3'/></svg>");
}

.password-peek.is-peeking::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d8a94b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/><line x1='1' y1='1' x2='23' y2='23'/></svg>");
}

/* Peek button in form pane reset — no gold gradient override */
.auth-form-pane .password-peek,
.auth-form-surface .password-peek {
    background: transparent;
    border: none;
    box-shadow: none;
}
.auth-form-pane .password-peek:hover,
.auth-form-surface .password-peek:hover {
    filter: none;
    transform: translateY(-50%);
}

/* ============================================================
   STATUS PAGE — unusable token / registration closed screens
   ============================================================ */
.auth-status-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    gap: 14px;
}

.auth-status-block__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(207, 93, 93, 0.10);
    border: 1px solid rgba(207, 93, 93, 0.25);
    color: #ff8f8f;
    font-size: 24px;
}

.auth-status-block__icon--warn {
    background: rgba(216, 169, 75, 0.10);
    border-color: rgba(216, 169, 75, 0.28);
    color: var(--gold-soft);
}

.auth-status-block h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.auth-status-block p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.65;
    max-width: 320px;
}

/* ============================================================
   RESPONSIVE — below 900px: stack vertically, hide hero pane
   ============================================================ */
@media (max-width: 900px) {
    .auth-page-wrap {
        margin: -18px -18px;
    }

    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-hero-pane {
        min-height: 0;
        padding: 28px 24px;
        justify-content: flex-start;
    }

    /* On mobile show a compact hero strip only */
    .auth-hero-pane__content {
        max-width: 100%;
    }

    .auth-hero-title {
        font-size: 26px;
    }

    .auth-hero-sub,
    .auth-hero-features,
    .auth-tile-grid,
    .auth-help-section {
        display: none;
    }

    /* Remove the vertical divider line */
    .auth-hero-pane::after { display: none; }

    .auth-form-pane {
        padding: 28px 20px 36px;
    }

    .auth-form-surface {
        padding: 22px 20px;
    }

    .auth-form-card__title {
        font-size: 22px;
    }
}

@media (max-width: 720px) {
    /* Shell padding shrinks to 12px at this breakpoint */
    .auth-page-wrap {
        margin: -12px -12px;
    }
}

@media (max-width: 480px) {
    .auth-form-pane {
        padding: 20px 14px 28px;
    }

    .auth-form-surface {
        padding: 18px 16px;
    }

    .auth-links-row {
        flex-direction: column;
        gap: 10px;
    }

    .auth-link-sep { display: none; }
}
