/* ============================================================================
   Auth skins — six pickable login designs (classic + five new), light & dark.
   Every rule is scoped under body.auth-skin-* so the untouched .auth-* markup
   from auth.css simply gets re-skinned.
   ========================================================================== */

/* ---------- Shared bits ---------------------------------------------------- */
.auth-mode-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 60;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(228, 228, 231, .8);
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #3f3f46;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
}
.auth-mode-toggle:hover { background: #fff; }
.auth-mode-toggle svg { width: 16px; height: 16px; }
html.auth-dark .auth-mode-toggle {
    background: rgba(24, 24, 27, .88);
    border-color: rgba(63, 63, 70, .8);
    color: #e4e4e7;
}
html.auth-dark .auth-mode-toggle:hover { background: #27272a; }

.auth-s-orbits {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}
.auth-s-orbits i { position: absolute; border-radius: 50%; }

/* Semantic alerts driven by per-skin variables */
body[class*="auth-skin-"] .auth-alert--info {
    background: var(--a-info-bg, #eef2ff);
    border-color: var(--a-info-border, #c7d2fe);
    color: var(--a-info-fg, #3730a3);
}
body[class*="auth-skin-"] .auth-alert--error {
    background: var(--a-err-bg, #fff1f2);
    border-color: var(--a-err-border, #fecdd3);
    color: var(--a-err-fg, #be123c);
}
body[class*="auth-skin-"] .auth-alert--success {
    background: var(--a-ok-bg, #ecfdf5);
    border-color: var(--a-ok-border, #a7f3d0);
    color: var(--a-ok-fg, #047857);
}
body[class*="auth-skin-"] .auth-alert--warning {
    background: var(--a-warn-bg, #fffbeb);
    border-color: var(--a-warn-border, #fde68a);
    color: var(--a-warn-fg, #b45309);
}

/* ============================================================================
   CLASSIC — only a dark counterpart; light stays exactly as shipped.
   ========================================================================== */
html.auth-dark body.auth-skin-classic { background: #0b0f19; color: #e5e7eb; }
html.auth-dark body.auth-skin-classic .auth-frame {
    background: #111827;
    border-color: #1e293b;
    box-shadow: 0 30px 70px -46px rgba(0, 0, 0, .85);
}
html.auth-dark body.auth-skin-classic .auth-center-inner {
    background: #111827;
    border-color: #1e293b;
}
html.auth-dark body.auth-skin-classic .auth-title { color: #f9fafb; }
html.auth-dark body.auth-skin-classic .auth-subtitle { color: #9ca3af; }
html.auth-dark body.auth-skin-classic .auth-brand-name { color: #f9fafb; }
html.auth-dark body.auth-skin-classic .auth-brand-sub { color: #9ca3af; }
html.auth-dark body.auth-skin-classic .auth-label { color: #cbd5e1; }
html.auth-dark body.auth-skin-classic .auth-input {
    background: #0f172a;
    border-color: #334155;
    color: #f9fafb;
}
html.auth-dark body.auth-skin-classic .auth-input::placeholder { color: #64748b; }
html.auth-dark body.auth-skin-classic .auth-check { color: #cbd5e1; }
html.auth-dark body.auth-skin-classic .auth-footnote,
html.auth-dark body.auth-skin-classic .auth-hint { color: #94a3b8; }
html.auth-dark body.auth-skin-classic .auth-social-btn {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}
html.auth-dark body.auth-skin-classic .auth-social-label { color: #64748b; }
html.auth-dark body.auth-skin-classic .auth-alert--error { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .35); color: #fda4af; }
html.auth-dark body.auth-skin-classic .auth-alert--success { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .35); color: #6ee7b7; }
html.auth-dark body.auth-skin-classic .auth-alert--info { background: rgba(99, 102, 241, .12); border-color: rgba(99, 102, 241, .35); color: #a5b4fc; }
html.auth-dark body.auth-skin-classic .auth-step-dot { background: #0f172a; border-color: #334155; color: #94a3b8; }
html.auth-dark body.auth-skin-classic .otp-box { background: #0f172a; border-color: #334155; color: #f9fafb; }
html.auth-dark body.auth-skin-classic .auth-otp-target { background: #0f172a; border-color: #1e293b; }
html.auth-dark body.auth-skin-classic .auth-otp-email { color: #f9fafb; }
html.auth-dark body.auth-skin-classic .auth-btn--ghost { background: #111827; border-color: #334155; color: #e5e7eb; }

/* ============================================================================
   SKIN 1 — frosted 440px card over a blue/violet mesh (Geist, zinc).
   ========================================================================== */
body.auth-skin-1 {
    --a-accent: #2563eb;
    --a-focus-ring: rgba(59, 130, 246, .30);
    --a-info-bg: #eff6ff; --a-info-border: rgba(191, 219, 254, .7); --a-info-fg: #1d4ed8;
    --a-err-bg: #fff1f2; --a-err-border: #fecdd3; --a-err-fg: #be123c;
    --a-ok-bg: #ecfdf5; --a-ok-border: #a7f3d0; --a-ok-fg: #047857;
    background: #f3f5fb;
    color: #18181b;
    font-family: Geist, 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.auth-skin-1 ::selection { background: rgba(59, 130, 246, .2); color: #1d4ed8; }
.auth-skin-1 .auth-s-orbits i:nth-child(1) { top: -128px; left: -128px; width: 448px; height: 448px; background: #60a5fa; opacity: .4; filter: blur(110px); }
.auth-skin-1 .auth-s-orbits i:nth-child(2) { bottom: -160px; left: -96px; width: 480px; height: 480px; background: #6366f1; opacity: .45; filter: blur(120px); }
.auth-skin-1 .auth-s-orbits i:nth-child(3) { top: 33.33%; left: 25%; width: 288px; height: 288px; background: #a78bfa; opacity: .3; filter: blur(100px); }
.auth-skin-1 .auth-s-orbits i:nth-child(4) { bottom: -96px; right: 0; width: 320px; height: 320px; background: #7dd3fc; opacity: .25; filter: blur(110px); }

.auth-s1-main { width: 100%; max-width: 440px; padding: 48px 16px; position: relative; z-index: 10; margin: auto; }
.auth-s1-card {
    width: 100%;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(228, 228, 231, .8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px -15px rgba(30, 41, 59, .16);
    padding: 0;
}
.auth-s1-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px;
    border-bottom: 1px solid #f4f4f5;
}
.auth-s1-bar-label { font-size: 12px; font-weight: 500; letter-spacing: -.025em; color: #52525b; }
.auth-s1-bar .auth-brand-lockup { gap: 8px; }
.auth-s1-bar .auth-logo-tile { width: 24px !important; height: 24px !important; flex: 0 0 24px !important; border-radius: 8px; border: 0; background: linear-gradient(135deg, #2563eb, #4f46e5); box-shadow: 0 1px 2px rgba(37, 99, 235, .3); }
.auth-s1-bar .auth-logo-tile img { width: 15px !important; height: 15px !important; filter: brightness(0) invert(1); }
.auth-s1-bar .auth-logo-mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 8px; background: linear-gradient(135deg, #2563eb, #4f46e5); box-shadow: 0 1px 2px rgba(37, 99, 235, .3); }
.auth-s1-bar .auth-logo-mark svg { width: 13px; height: 13px; }
.auth-s1-bar .auth-brand-name { font-size: 12px !important; font-weight: 600; letter-spacing: -.025em; color: #27272a; }
.auth-s1-bar .auth-brand-sub { display: none; }
.auth-s1-body { padding: 24px; }
.auth-s1-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.auth-s1-eyebrow-tile {
    width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(37, 99, 235, .10);
    border: 1px solid rgba(37, 99, 235, .15);
    color: #2563eb;
}
.auth-s1-eyebrow-tile svg { width: 17px; height: 17px; }
.auth-s1-eyebrow > span:last-child { font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #a1a1aa; }

.auth-skin-1 .auth-header { margin-bottom: 24px; }
.auth-skin-1 .auth-title { margin: 0; font-size: 24px; line-height: 1.33; font-weight: 600; letter-spacing: -.025em; color: #18181b; }
.auth-skin-1 .auth-subtitle { margin: 4px 0 0; font-size: 12px; line-height: 1.625; font-weight: 400; color: #71717a; }
.auth-skin-1 .auth-alert { border-radius: 8px; padding: 10px 14px; font-size: 12px; font-weight: 500; margin-bottom: 16px; }
.auth-skin-1 .auth-alert svg { width: 15px; height: 15px; flex: 0 0 15px; }
.auth-skin-1 .auth-form { gap: 16px; }
.auth-skin-1 .auth-field { gap: 6px; }
.auth-skin-1 .auth-label { font-size: 12px; font-weight: 500; color: #52525b; }
.auth-skin-1 .auth-input {
    height: 42px;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    background: #fff;
    padding: 0 40px 0 14px;
    font-size: 14px;
    font-weight: 400;
    color: #18181b;
}
.auth-skin-1 .auth-input::placeholder { color: #a1a1aa; font-weight: 400; }
.auth-skin-1 .auth-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, .30); }
.auth-skin-1 .auth-pw-toggle { right: 4px; border-radius: 8px; color: #a1a1aa; }
.auth-skin-1 .auth-pw-toggle:hover { color: #52525b; background: transparent; }
.auth-skin-1 .auth-pw-toggle svg { width: 16px; height: 16px; }
.auth-skin-1 .auth-row { font-size: 12px; }
.auth-skin-1 .auth-check { font-size: 12px; font-weight: 400; color: #52525b; }
.auth-skin-1 .auth-check input { width: 16px; height: 16px; border-radius: 4px; accent-color: #2563eb; }
.auth-skin-1 .auth-link { font-size: 12px; font-weight: 500; color: #2563eb; }
.auth-skin-1 .auth-link:hover { color: #1d4ed8; }
.auth-skin-1 .auth-btn {
    height: 42px;
    margin-top: 0;
    border-radius: 8px;
    background: #2563eb;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    box-shadow: 0 1px 2px rgba(37, 99, 235, .2);
}
.auth-skin-1 .auth-btn:hover { background: #1d4ed8; transform: none; box-shadow: 0 1px 2px rgba(37, 99, 235, .2); }
.auth-skin-1 .auth-btn:active { transform: scale(.99); }
.auth-skin-1 .auth-btn--ghost { background: #fff; border: 1px solid #e4e4e7; color: #27272a; box-shadow: none; }
.auth-skin-1 .auth-btn--ghost:hover { background: #fafafa; border-color: #d4d4d8; }
.auth-skin-1 .auth-divider { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: #a1a1aa; }
.auth-skin-1 .auth-divider::before, .auth-skin-1 .auth-divider::after { background: #f4f4f5; }
.auth-skin-1 .auth-footnote { margin: 4px 0 0; font-size: 12px; font-weight: 400; color: #52525b; }
.auth-skin-1 .auth-hint { font-size: 11px; color: #a1a1aa; }
.auth-skin-1 .auth-social { margin: 0; padding: 16px 24px; background: rgba(250, 250, 250, .7); border-top: 1px solid #f4f4f5; text-align: center; }
.auth-skin-1 .auth-social-label { color: #a1a1aa; font-size: 9.5px; }
.auth-skin-1 .auth-social-row { gap: 10px; }
.auth-skin-1 .auth-social-btn {
    width: 36px; height: 36px; border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(228, 228, 231, .8);
    color: #71717a;
}
.auth-skin-1 .auth-social-btn:hover { background: #2563eb; border-color: #2563eb; color: #fff; }
.auth-skin-1 .auth-steps { margin: 0 0 20px; }
.auth-skin-1 .auth-step { font-size: 10px; font-weight: 500; letter-spacing: .04em; color: #a1a1aa; }
.auth-skin-1 .auth-step-dot { width: 24px; height: 24px; border-radius: 8px; border: 1px solid #e4e4e7; background: #fff; font-size: 11px; font-weight: 600; color: #a1a1aa; }
.auth-skin-1 .auth-step.is-active { color: #2563eb; }
.auth-skin-1 .auth-step.is-active .auth-step-dot { border-color: #2563eb; color: #2563eb; box-shadow: 0 0 0 2px rgba(59, 130, 246, .18); }
.auth-skin-1 .auth-step.is-done .auth-step-dot { background: #2563eb; border-color: #2563eb; color: #fff; }
.auth-skin-1 .auth-step-line { height: 1px; background: #e4e4e7; }
.auth-skin-1 .auth-otp { gap: 8px; }
.auth-skin-1 .otp-box { height: 46px; border-radius: 8px; border: 1px solid #e4e4e7; background: #fff; font-size: 17px; font-weight: 600; color: #18181b; }
.auth-skin-1 .otp-box:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, .30); }
.auth-skin-1 .auth-otp-single { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; font-weight: 500; }
.auth-skin-1 .auth-otp-target { border: 1px solid #f4f4f5; border-radius: 8px; background: #fafafa; }
.auth-skin-1 .auth-otp-email { font-size: 13px; color: #27272a; }
.auth-skin-1 .auth-account-card { border-radius: 8px; border: 1px solid #e4e4e7; }
.auth-skin-1 .auth-account-card:hover { background: #fafafa; border-color: #d4d4d8; }
.auth-skin-1 .auth-account-card.is-selected { border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 0 2px rgba(59, 130, 246, .18); }
.auth-skin-1 .auth-account-icon { border-radius: 8px; background: rgba(37, 99, 235, .10); color: #2563eb; }
.auth-skin-1 .auth-resend-row { font-size: 12px; color: #71717a; }
.auth-skin-1 .auth-linkbtn { font-size: 12px; font-weight: 500; color: #2563eb; }
.auth-skin-1 .auth-back { font-size: 12px; font-weight: 500; color: #71717a; }
.auth-skin-1 .auth-back:hover { color: #27272a; }
.auth-skin-1 .auth-strength span { background: #e4e4e7; }
html.auth-dark body.auth-skin-1 { background: #090b12; color: #f4f4f5; }
html.auth-dark body.auth-skin-1 ::selection { color: #93c5fd; }
html.auth-dark .auth-skin-1 .auth-s-orbits i:nth-child(1) { background: #2563eb; opacity: .2; }
html.auth-dark .auth-skin-1 .auth-s-orbits i:nth-child(2) { background: #4f46e5; opacity: .25; }
html.auth-dark .auth-skin-1 .auth-s-orbits i:nth-child(3) { background: #7c3aed; opacity: .15; }
html.auth-dark .auth-skin-1 .auth-s-orbits i:nth-child(4) { background: #1e3a8a; opacity: .2; }
html.auth-dark .auth-skin-1 .auth-s1-card {
    background: rgba(17, 19, 26, .95);
    border-color: rgba(39, 39, 42, .9);
    box-shadow: 0 24px 70px -15px rgba(0, 0, 0, .65);
}
html.auth-dark .auth-skin-1 .auth-s1-bar { border-bottom-color: rgba(39, 39, 42, .8); }
html.auth-dark .auth-skin-1 .auth-s1-bar-label { color: #a1a1aa; }
html.auth-dark .auth-skin-1 .auth-s1-bar .auth-brand-name { color: #e4e4e7; }
html.auth-dark .auth-skin-1 .auth-s1-eyebrow-tile { background: rgba(37, 99, 235, .15); border-color: rgba(96, 165, 250, .2); color: #60a5fa; }
html.auth-dark .auth-skin-1 .auth-s1-eyebrow > span:last-child { color: #71717a; }
html.auth-dark .auth-skin-1 .auth-title { color: #fff; }
html.auth-dark .auth-skin-1 .auth-subtitle { color: #a1a1aa; }
html.auth-dark .auth-skin-1 .auth-label { color: #a1a1aa; }
html.auth-dark .auth-skin-1 .auth-input { background: rgba(24, 24, 27, .7); border-color: #27272a; color: #f4f4f5; }
html.auth-dark .auth-skin-1 .auth-input::placeholder { color: #71717a; }
html.auth-dark .auth-skin-1 .auth-check { color: #a1a1aa; }
html.auth-dark .auth-skin-1 .auth-link { color: #60a5fa; }
html.auth-dark .auth-skin-1 .auth-link:hover { color: #93c5fd; }
html.auth-dark .auth-skin-1 .auth-check input { border-color: #3f3f46; }
html.auth-dark .auth-skin-1 .auth-divider { color: #71717a; }
html.auth-dark .auth-skin-1 .auth-divider::before, html.auth-dark .auth-skin-1 .auth-divider::after { background: rgba(39, 39, 42, .9); }
html.auth-dark .auth-skin-1 .auth-footnote { color: #a1a1aa; }
html.auth-dark .auth-skin-1 .auth-social { background: rgba(24, 24, 27, .5); border-top-color: rgba(39, 39, 42, .8); }
html.auth-dark .auth-skin-1 .auth-social-btn { background: rgba(39, 39, 42, .9); border-color: rgba(63, 63, 70, .7); color: #a1a1aa; }
html.auth-dark .auth-skin-1 .auth-alert--info { background: rgba(59, 130, 246, .10); border-color: rgba(59, 130, 246, .2); color: #93c5fd; }
html.auth-dark .auth-skin-1 .auth-step-dot { background: #18181b; border-color: #27272a; color: #71717a; }
html.auth-dark .auth-skin-1 .auth-step.is-active { color: #60a5fa; }
html.auth-dark .auth-skin-1 .otp-box { background: rgba(24, 24, 27, .7); border-color: #27272a; color: #f4f4f5; }
html.auth-dark .auth-skin-1 .auth-otp-target { background: #18181b; border-color: #27272a; }
html.auth-dark .auth-skin-1 .auth-otp-email { color: #e4e4e7; }
html.auth-dark .auth-skin-1 .auth-account-card { border-color: #27272a; background: #18181b; }
html.auth-dark .auth-skin-1 .auth-account-card.is-selected { border-color: #3b82f6; background: rgba(37, 99, 235, .12); }
html.auth-dark .auth-skin-1 .auth-btn--ghost { background: #18181b; border-color: rgba(63, 63, 70, .8); color: #e4e4e7; }
@media (min-width: 640px) {
    .auth-s1-main { padding-top: 64px; padding-bottom: 64px; }
    .auth-s1-body { padding: 32px; }
    .auth-skin-1 .auth-s-orbits i:nth-child(1) { width: 640px; height: 640px; }
    .auth-skin-1 .auth-s-orbits i:nth-child(2) { width: 704px; height: 704px; }
    .auth-skin-1 .auth-s-orbits i:nth-child(3) { width: 384px; height: 384px; }
    .auth-skin-1 .auth-s-orbits i:nth-child(4) { width: 512px; height: 512px; }
}

/* ============================================================================
   SKIN 2 — overlapping cyan/blue hero panel + white card (Poppins, 960px).
   ========================================================================== */
body.auth-skin-2 {
    --a-info-bg: #ecfeff; --a-info-border: rgba(0, 180, 216, .25); --a-info-fg: #475569;
    --a-err-bg: #fff1f2; --a-err-border: #fecdd3; --a-err-fg: #be123c;
    --a-ok-bg: #ecfdf5; --a-ok-border: #a7f3d0; --a-ok-fg: #047857;
    background: #dff0fb;
    color: #1e293b;
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}
body.auth-skin-2::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -11;
    background: linear-gradient(135deg, #cde9f9 0%, #dce6fb 50%, #c9dbf9 100%);
}
.auth-skin-2 .auth-s-orbits i:nth-child(1) { top: -128px; left: -128px; width: 512px; height: 512px; background: #9ee1f7; opacity: .45; filter: blur(64px); }
.auth-skin-2 .auth-s-orbits i:nth-child(2) { bottom: -160px; left: -80px; width: 544px; height: 544px; background: #a8e4f9; opacity: .5; filter: blur(64px); }
.auth-skin-2 .auth-s-orbits i:nth-child(3) { top: 25%; right: -112px; width: 480px; height: 480px; background: #b9c6fa; opacity: .45; filter: blur(64px); }
.auth-skin-2 .auth-s-orbits i:nth-child(4) { bottom: -128px; right: 25%; width: 384px; height: 384px; background: #c9bdf9; opacity: .4; filter: blur(64px); }

.auth-s2-main { width: 100%; max-width: 960px; padding: 48px 16px; position: relative; z-index: 10; }
.auth-s2-wrap { display: flex; flex-direction: column; width: 100%; }
.auth-s2-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: -16px;
    z-index: 20;
    border-radius: 12px;
    padding: 28px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
    background: linear-gradient(135deg, #2aa2e5 0%, #348ee2 50%, #586fe2 100%);
    box-shadow: 0 24px 55px -12px rgba(37, 99, 235, .45);
}
.auth-s2-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.auth-s2-deco i { position: absolute; border-radius: 50%; }
.auth-s2-deco i:nth-child(1) { right: -96px; top: 25%; width: 384px; height: 384px; background: #00b4e6; opacity: .5; }
.auth-s2-deco i:nth-child(2) { bottom: -112px; right: -48px; width: 320px; height: 320px; background: #6d62e4; opacity: .65; }
.auth-s2-deco i:nth-child(3) { bottom: -128px; left: -64px; width: 288px; height: 288px; background: #4f6ee5; opacity: .4; }
.auth-s2-deco i:nth-child(4) { top: -96px; left: 40px; width: 256px; height: 256px; background: rgba(255, 255, 255, .10); filter: blur(40px); }
.auth-s2-hero > * { position: relative; z-index: 1; }
.auth-s2-hero .auth-logo-tile { background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .28) !important; box-shadow: none !important; border-radius: 12px !important; }
.auth-s2-hero .auth-logo-tile img { filter: brightness(0) invert(1); }
.auth-s2-hero .auth-logo-mark { background: rgba(255, 255, 255, .16); box-shadow: none; }
.auth-s2-hero .auth-brand-name { color: #fff !important; font-family: Poppins, Inter, sans-serif; font-weight: 600 !important; letter-spacing: .04em; }
.auth-s2-hero .auth-brand-sub { color: rgba(255, 255, 255, .85); letter-spacing: .2em; font-size: 9.5px; }
.auth-s2-hero-mid { max-width: 420px; }
.auth-s2-headline { margin: 0; font-family: Poppins, Inter, sans-serif; font-size: 30px; line-height: 1.18; letter-spacing: -.025em; font-weight: 700; color: #fff; }
.auth-s2-headline span { font-weight: 300; color: rgba(255, 255, 255, .8); }
.auth-s2-copy { margin: 12px 0 0; max-width: 290px; font-size: 12px; line-height: 1.625; color: rgba(255, 255, 255, .8); }
.auth-s2-more {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .6); border-radius: 4px;
    font-size: 12px; font-weight: 500; color: #fff; text-decoration: none;
    transition: background .18s, border-color .18s;
}
.auth-s2-more:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.auth-s2-more svg { width: 16px; height: 16px; }
.auth-s2-dots { display: flex; gap: 8px; align-items: center; justify-content: center; padding-top: 18px; }
.auth-s2-dots i { width: 8px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .4); }
.auth-s2-dots i.is-on { width: 24px; background: #fff; }

.auth-s2-card {
    position: relative;
    z-index: 10;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 12px;
    box-shadow: 0 24px 60px -15px rgba(15, 23, 42, .14);
    padding: 40px 24px 32px;
}
.auth-s2-body { width: 100%; max-width: 384px; margin: 0 auto; }
.auth-skin-2 .auth-header { margin-bottom: 22px; }
.auth-skin-2 .auth-title { margin: 0; font-family: Poppins, Inter, sans-serif; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: #5a84e6; }
.auth-skin-2 .auth-subtitle { margin: 6px 0 0; font-size: 12px; line-height: 1.625; color: #94a3b8; }
.auth-skin-2 .auth-alert { border-radius: 4px; border-left: 3px solid #00b4d8; font-size: 12px; padding: 10px 14px; margin-bottom: 18px; }
.auth-skin-2 .auth-form { gap: 16px; }
.auth-skin-2 .auth-field { gap: 6px; }
.auth-skin-2 .auth-label { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.auth-skin-2 .auth-input-wrap {
    background: #f1f3f6;
    border-left: 3px solid transparent;
    border-radius: 4px;
    padding: 4px 44px 4px 16px;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.auth-skin-2 .auth-input-wrap:focus-within {
    background: #fff;
    border-left-color: #00b4d8;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, .12);
}
.auth-skin-2 .auth-input {
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: #1e293b;
}
.auth-skin-2 .auth-input:focus { box-shadow: none; }
.auth-skin-2 .auth-input::placeholder { color: rgba(148, 163, 184, .7); }
.auth-skin-2 .auth-pw-toggle { right: 8px; color: #94a3b8; border-radius: 4px; }
.auth-skin-2 .auth-pw-toggle:hover { background: transparent; color: #475569; }
.auth-skin-2 .auth-check { font-size: 12px; font-weight: 400; color: #64748b; }
.auth-skin-2 .auth-check input { accent-color: #00b4d8; }
.auth-skin-2 .auth-link { font-size: 12px; font-weight: 600; color: #4776e6; }
.auth-skin-2 .auth-link:hover { color: #00b4d8; }
.auth-skin-2 .auth-btn {
    height: 44px;
    border-radius: 4px;
    background: linear-gradient(90deg, #6c6de8 0%, #3490e6 50%, #00bfe8 100%);
    font-family: Poppins, Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -6px rgba(52, 144, 230, .5);
}
.auth-skin-2 .auth-btn:hover { filter: brightness(1.05); background: linear-gradient(90deg, #6c6de8 0%, #3490e6 50%, #00bfe8 100%); transform: none; }
.auth-skin-2 .auth-btn:active { transform: scale(.99); }
.auth-skin-2 .auth-btn--ghost { background: #fff; border: 1px solid #e2e8f0; color: #475569; box-shadow: none; }
.auth-skin-2 .auth-divider { font-size: 10px; font-weight: 600; letter-spacing: .05em; color: #94a3b8; }
.auth-skin-2 .auth-divider::before, .auth-skin-2 .auth-divider::after { background: #e2e8f0; }
.auth-skin-2 .auth-footnote { margin-top: 4px; font-size: 12px; font-weight: 400; color: #64748b; }
.auth-skin-2 .auth-hint { font-size: 11px; color: #94a3b8; }
.auth-skin-2 .auth-social { margin-top: 24px; padding-top: 20px; border-top: 1px solid #f1f5f9; text-align: center; }
.auth-skin-2 .auth-social-label { font-size: 9.5px; color: #94a3b8; }
.auth-skin-2 .auth-social-btn { width: 36px; height: 36px; border-radius: 50%; background: #f1f3f6; border: 0; color: #64748b; }
.auth-skin-2 .auth-social-btn:hover { background: #00b4d8; color: #fff; }
.auth-skin-2 .auth-steps { margin-bottom: 20px; }
.auth-skin-2 .auth-step { font-size: 9.5px; color: #94a3b8; }
.auth-skin-2 .auth-step-dot { width: 24px; height: 24px; border-radius: 4px; border: 1px solid #e2e8f0; background: #fff; color: #94a3b8; }
.auth-skin-2 .auth-step.is-active { color: #00b4d8; }
.auth-skin-2 .auth-step.is-active .auth-step-dot { border-color: #00b4d8; color: #00b4d8; box-shadow: 0 0 0 3px rgba(0, 180, 216, .12); }
.auth-skin-2 .auth-step.is-done .auth-step-dot { background: #00b4d8; border-color: #00b4d8; color: #fff; }
.auth-skin-2 .auth-step-line { background: #e2e8f0; }
.auth-skin-2 .auth-otp { gap: 8px; }
.auth-skin-2 .otp-box {
    height: 48px;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 4px;
    background: #f1f3f6;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
}
.auth-skin-2 .otp-box:focus { background: #fff; border-left-color: #00b4d8; box-shadow: 0 8px 24px -6px rgba(15, 23, 42, .12); }
.auth-skin-2 .auth-otp-single { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.auth-skin-2 .auth-otp-target { border: 0; border-left: 3px solid #00b4d8; border-radius: 4px; background: #ecfeff; }
.auth-skin-2 .auth-otp-email { font-size: 13px; color: #1e293b; }
.auth-skin-2 .auth-account-card { border-radius: 4px; border: 1px solid #e2e8f0; }
.auth-skin-2 .auth-account-card:hover { border-color: rgba(0, 180, 216, .5); background: #f8fdff; }
.auth-skin-2 .auth-account-card.is-selected { border-color: #00b4d8; background: #ecfeff; box-shadow: 0 0 0 2px rgba(0, 180, 216, .15); }
.auth-skin-2 .auth-account-icon { border-radius: 4px; background: #ecfeff; color: #00b4d8; }
.auth-skin-2 .auth-resend-row { font-size: 12px; color: #94a3b8; }
.auth-skin-2 .auth-linkbtn { font-size: 12px; color: #4776e6; }
html.auth-dark body.auth-skin-2 { background: #090e1a; color: #f1f5f9; }
html.auth-dark body.auth-skin-2::before { background: linear-gradient(135deg, #0a1020, #0d1428, #111936); }
html.auth-dark .auth-skin-2 .auth-s-orbits i:nth-child(1) { background: rgba(8, 145, 178, .15); }
html.auth-dark .auth-skin-2 .auth-s-orbits i:nth-child(2) { background: rgba(29, 78, 216, .15); }
html.auth-dark .auth-skin-2 .auth-s-orbits i:nth-child(3) { background: rgba(79, 70, 229, .15); }
html.auth-dark .auth-skin-2 .auth-s-orbits i:nth-child(4) { background: rgba(109, 40, 217, .15); }
html.auth-dark .auth-skin-2 .auth-s2-hero { box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .75); }
html.auth-dark .auth-skin-2 .auth-s2-card { background: #111827; border-color: #1e293b; box-shadow: 0 24px 70px -15px rgba(0, 0, 0, .7); }
html.auth-dark .auth-skin-2 .auth-title { color: #60a5fa; }
html.auth-dark .auth-skin-2 .auth-subtitle,
html.auth-dark .auth-skin-2 .auth-label { color: #94a3b8; }
html.auth-dark .auth-skin-2 .auth-input-wrap { background: rgba(30, 41, 59, .7); }
html.auth-dark .auth-skin-2 .auth-input-wrap:focus-within { background: #1e293b; }
html.auth-dark .auth-skin-2 .auth-input { color: #f1f5f9; }
html.auth-dark .auth-skin-2 .auth-input::placeholder { color: #64748b; }
html.auth-dark .auth-skin-2 .auth-check { color: #94a3b8; }
html.auth-dark .auth-skin-2 .auth-footnote,
html.auth-dark .auth-skin-2 .auth-hint { color: #94a3b8; }
html.auth-dark .auth-skin-2 .auth-link { color: #22d3ee; }
html.auth-dark .auth-skin-2 .auth-link:hover { color: #67e8f9; }
html.auth-dark .auth-skin-2 .auth-social { border-top-color: #1e293b; }
html.auth-dark .auth-skin-2 .auth-social-btn { background: #1e293b; color: #94a3b8; }
html.auth-dark .auth-skin-2 .auth-divider::before, html.auth-dark .auth-skin-2 .auth-divider::after { background: #1e293b; }
html.auth-dark .auth-skin-2 .otp-box { background: rgba(30, 41, 59, .7); color: #f1f5f9; }
html.auth-dark .auth-skin-2 .auth-otp-target { background: rgba(6, 182, 212, .1); }
html.auth-dark .auth-skin-2 .auth-otp-email { color: #cffafe; }
html.auth-dark .auth-skin-2 .auth-alert--info { background: rgba(6, 182, 212, .1); border-left-color: #00b4d8; color: #a5f3fc; }
html.auth-dark .auth-skin-2 .auth-step-dot { background: #111827; border-color: #334155; color: #94a3b8; }
html.auth-dark .auth-skin-2 .auth-account-card { background: #111827; border-color: #334155; }
html.auth-dark .auth-skin-2 .auth-account-card.is-selected { background: rgba(6, 182, 212, .12); border-color: #00b4d8; }
html.auth-dark .auth-skin-2 .auth-btn--ghost { background: #111827; border-color: #334155; color: #e2e8f0; }
@media (min-width: 640px) {
    .auth-s2-main { padding-top: 64px; padding-bottom: 64px; }
    .auth-s2-hero { padding: 40px; border-radius: 12px; }
    .auth-s2-headline { font-size: 36px; }
    .auth-s2-copy { font-size: 13px; }
    .auth-s2-card { padding: 40px 40px 32px; }
    .auth-skin-2 .auth-title { font-size: 28px; }
    .auth-skin-2 .auth-s-orbits i:nth-child(1) { width: 736px; height: 736px; }
    .auth-skin-2 .auth-s-orbits i:nth-child(2) { width: 768px; height: 768px; }
    .auth-skin-2 .auth-s-orbits i:nth-child(3) { width: 704px; height: 704px; }
}
@media (min-width: 1024px) {
    .auth-s2-wrap { flex-direction: row; align-items: center; justify-content: center; }
    .auth-s2-hero { width: 48%; min-height: 470px; margin-bottom: 0; margin-right: -40px; padding: 44px; border-radius: 8px; }
    .auth-s2-card { width: 56%; min-height: 580px; padding: 48px 48px 48px 80px; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; }
    .auth-s2-body { margin-left: 0; }
    .auth-skin-2 .auth-title { font-size: 26px; }
}

/* ============================================================================
   SKIN 3 — purple low-poly diagonal wedge, pill buttons (Jakarta/Inter, 920px).
   ========================================================================== */
body.auth-skin-3 {
    --a-info-bg: #faf5ff; --a-info-border: #e9d5ff; --a-info-fg: #6b21a8;
    --a-err-bg: #fff1f2; --a-err-border: #fecdd3; --a-err-fg: #be123c;
    --a-ok-bg: #ecfdf5; --a-ok-border: #a7f3d0; --a-ok-fg: #047857;
    background: #f1f3f6;
    color: #1e293b;
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}
body.auth-skin-3 ::selection { background: rgba(168, 85, 247, .2); color: #7c3aed; }
.auth-s3-main { width: 100%; max-width: 920px; padding: 48px 16px; position: relative; z-index: 10; }
.auth-s3-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .7);
    border-radius: 16px;
    box-shadow: 0 24px 60px -15px rgba(15, 23, 42, .16);
    display: flex;
    flex-direction: column;
}
.auth-s3-hero {
    position: relative;
    overflow: hidden;
    padding: 32px 24px;
    color: #fff;
    display: flex;
    align-items: flex-start;
}
.auth-s3-polys { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.auth-s3-hero-in { position: relative; z-index: 1; width: 100%; }
.auth-s3-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.auth-s3-pill .auth-logo-tile { width: 24px !important; height: 24px !important; flex: 0 0 24px !important; border-radius: 50%; background: #fff !important; border: 0 !important; box-shadow: none !important; }
.auth-s3-pill .auth-logo-tile img { width: 14px !important; height: 14px !important; }
.auth-s3-pill .auth-brand-name { color: #fff !important; font-size: 12px !important; font-weight: 700 !important; }
.auth-s3-pill .auth-brand-sub { display: none; }
.auth-s3-pill .auth-logo-mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #fff; color: #7c3aed; box-shadow: none; }
.auth-s3-pill .auth-logo-mark svg { width: 13px; height: 13px; }
.auth-s3-pill-tag {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}
.auth-s3-headline { margin: 18px 0 0; font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05)); }
.auth-s3-copy { margin: 10px 0 0; max-width: 270px; font-size: 12px; line-height: 1.625; color: rgba(255, 255, 255, .85); }

.auth-s3-body { position: relative; z-index: 20; width: 100%; padding: 32px 24px; }
.auth-skin-3 .auth-header { margin-bottom: 24px; }
.auth-skin-3 .auth-title { margin: 0; font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; color: #0f172a; }
.auth-skin-3 .auth-subtitle { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #64748b; }
.auth-skin-3 .auth-subtitle a { color: #7c3aed; font-weight: 600; }
.auth-skin-3 .auth-alert { border-radius: 8px; font-size: 12px; padding: 10px 14px; margin-bottom: 18px; }
.auth-skin-3 .auth-form { gap: 16px; }
.auth-skin-3 .auth-field { gap: 6px; }
.auth-skin-3 .auth-label { font-size: 12px; font-weight: 600; color: #334155; }
.auth-skin-3 .auth-input { height: 43px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; font-size: 14px; color: #0f172a; padding: 0 42px 0 14px; }
.auth-skin-3 .auth-input::placeholder { color: #94a3b8; }
.auth-skin-3 .auth-input:focus { border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(168, 85, 247, .2); }
.auth-skin-3 .auth-pw-toggle { color: #94a3b8; }
.auth-skin-3 .auth-pw-toggle:hover { color: #475569; background: transparent; }
.auth-skin-3 .auth-check { font-size: 12px; font-weight: 400; color: #64748b; }
.auth-skin-3 .auth-check input { width: 14px; height: 14px; border-radius: 3px; accent-color: #7c3aed; }
.auth-skin-3 .auth-link { font-size: 12px; font-weight: 600; color: #7c3aed; }
.auth-skin-3 .auth-link:hover { color: #6d28d9; }
.auth-skin-3 .auth-btn {
    width: 100%;
    height: 40px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(to right, #8b3dff, #6d28d9);
    font-family: 'Plus Jakarta Sans', Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px -6px rgba(124, 58, 237, .55);
}
.auth-skin-3 .auth-btn:hover { background: linear-gradient(to right, #7c2ff0, #5b21b6); transform: none; }
.auth-skin-3 .auth-btn:active { transform: scale(.98); }
.auth-skin-3 .auth-btn--ghost { background: #fff; border: 1px solid #e2e8f0; color: #334155; box-shadow: none; }
.auth-skin-3 .auth-divider { font-size: 10px; font-weight: 600; letter-spacing: .05em; color: #94a3b8; }
.auth-skin-3 .auth-divider::before, .auth-skin-3 .auth-divider::after { background: #f1f5f9; }
.auth-skin-3 .auth-footnote { margin-top: 4px; font-size: 12px; font-weight: 400; color: #64748b; }
.auth-skin-3 .auth-hint { font-size: 11px; color: #94a3b8; }
.auth-skin-3 .auth-social { margin-top: 28px; padding-top: 16px; border-top: 1px solid #f1f5f9; max-width: 360px; }
.auth-skin-3 .auth-social-label { font-size: 11px; font-weight: 600; letter-spacing: .05em; color: #64748b; }
.auth-skin-3 .auth-social-btn {
    width: auto;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #8b3dff, #6d28d9);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.auth-skin-3 .auth-social-btn:hover { filter: brightness(1.1); background: linear-gradient(135deg, #8b3dff, #6d28d9); transform: translateY(-2px); }
.auth-skin-3 .auth-steps { margin-bottom: 20px; }
.auth-skin-3 .auth-step { font-size: 9.5px; color: #94a3b8; }
.auth-skin-3 .auth-step-dot { width: 24px; height: 24px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #94a3b8; }
.auth-skin-3 .auth-step.is-active { color: #7c3aed; }
.auth-skin-3 .auth-step.is-active .auth-step-dot { border-color: #7c3aed; color: #7c3aed; box-shadow: 0 0 0 3px rgba(168, 85, 247, .12); }
.auth-skin-3 .auth-step.is-done .auth-step-dot { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.auth-skin-3 .auth-step-line { background: #e2e8f0; }
.auth-skin-3 .auth-otp { gap: 8px; }
.auth-skin-3 .otp-box { height: 48px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 18px; font-weight: 600; }
.auth-skin-3 .otp-box:focus { border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(168, 85, 247, .2); }
.auth-skin-3 .auth-otp-single { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.auth-skin-3 .auth-otp-target { border: 1px solid #e9d5ff; border-radius: 8px; background: #faf5ff; }
.auth-skin-3 .auth-otp-email { font-size: 13px; color: #0f172a; }
.auth-skin-3 .auth-account-card { border-radius: 8px; border: 1px solid #e2e8f0; }
.auth-skin-3 .auth-account-card:hover { border-color: rgba(124, 58, 237, .4); background: #fbf8ff; }
.auth-skin-3 .auth-account-card.is-selected { border-color: #7c3aed; background: #faf5ff; box-shadow: 0 0 0 2px rgba(168, 85, 247, .15); }
.auth-skin-3 .auth-account-icon { border-radius: 8px; background: #faf5ff; color: #7c3aed; }
.auth-skin-3 .auth-resend-row { font-size: 12px; color: #94a3b8; }
.auth-skin-3 .auth-linkbtn { font-size: 12px; color: #7c3aed; }
html.auth-dark body.auth-skin-3 { background: #0b0f19; color: #f1f5f9; }
html.auth-dark body.auth-skin-3 ::selection { color: #d8b4fe; }
html.auth-dark .auth-skin-3 .auth-s3-card { background: #111827; border-color: #1e293b; box-shadow: 0 24px 70px -15px rgba(0, 0, 0, .75); }
html.auth-dark .auth-skin-3 .auth-title { color: #fff; }
html.auth-dark .auth-skin-3 .auth-subtitle { color: #94a3b8; }
html.auth-dark .auth-skin-3 .auth-subtitle a { color: #c084fc; }
html.auth-dark .auth-skin-3 .auth-label { color: #cbd5e1; }
html.auth-dark .auth-skin-3 .auth-input { background: rgba(15, 23, 42, .8); border-color: #334155; color: #f1f5f9; }
html.auth-dark .auth-skin-3 .auth-input::placeholder { color: #64748b; }
html.auth-dark .auth-skin-3 .auth-check { color: #94a3b8; }
html.auth-dark .auth-skin-3 .auth-footnote,
html.auth-dark .auth-skin-3 .auth-hint { color: #94a3b8; }
html.auth-dark .auth-skin-3 .auth-link { color: #c084fc; }
html.auth-dark .auth-skin-3 .auth-social { border-top-color: rgba(30, 41, 59, .8); }
html.auth-dark .auth-skin-3 .auth-divider::before, html.auth-dark .auth-skin-3 .auth-divider::after { background: rgba(30, 41, 59, .8); }
html.auth-dark .auth-skin-3 .otp-box { background: rgba(15, 23, 42, .8); border-color: #334155; color: #f1f5f9; }
html.auth-dark .auth-skin-3 .auth-otp-target { background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .3); }
html.auth-dark .auth-skin-3 .auth-otp-email { color: #f3e8ff; }
html.auth-dark .auth-skin-3 .auth-alert--info { background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .3); color: #e9d5ff; }
html.auth-dark .auth-skin-3 .auth-step-dot { background: #111827; border-color: #334155; color: #94a3b8; }
html.auth-dark .auth-skin-3 .auth-account-card { background: #111827; border-color: #334155; }
html.auth-dark .auth-skin-3 .auth-account-card.is-selected { background: rgba(168, 85, 247, .12); border-color: #7c3aed; }
html.auth-dark .auth-skin-3 .auth-btn--ghost { background: #111827; border-color: #334155; color: #e2e8f0; }
@media (min-width: 640px) {
    .auth-s3-main { padding-top: 64px; padding-bottom: 64px; }
    .auth-s3-hero { padding: 40px; }
    .auth-s3-headline { font-size: 36px; }
    .auth-s3-copy { font-size: 13px; }
    .auth-s3-body { padding: 40px; }
    .auth-skin-3 .auth-title { font-size: 26px; }
    .auth-skin-3 .auth-btn { width: auto; min-width: 140px; align-self: flex-end; padding: 0 28px; }
}
@media (min-width: 1024px) {
    .auth-s3-card { display: block; min-height: 560px; }
    .auth-s3-hero { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; padding: 44px 44px 44px 38%; justify-content: flex-start; align-items: flex-start; text-align: right; clip-path: polygon(0 0, 100% 0, 100% 100%); }
    .auth-s3-hero-in { display: flex; flex-direction: column; align-items: flex-end; }
    .auth-s3-headline { font-size: 38px; max-width: 300px; }
    .auth-s3-copy { max-width: 270px; }
    .auth-s3-body { width: 54%; min-height: 560px; padding: 44px 32px 44px 48px; display: flex; flex-direction: column; justify-content: space-between; }
    .auth-skin-3 .auth-title { font-size: 28px; }
}

/* ============================================================================
   SKIN 4 — periwinkle curved split (#7494ec), Poppins, 880px.
   ========================================================================== */
body.auth-skin-4 {
    --a-info-bg: rgba(116, 148, 236, .10); --a-info-border: rgba(116, 148, 236, .30); --a-info-fg: #334155;
    --a-err-bg: #fff1f2; --a-err-border: #fecdd3; --a-err-fg: #be123c;
    --a-ok-bg: #ecfdf5; --a-ok-border: #a7f3d0; --a-ok-fg: #047857;
    background: linear-gradient(to right, #e2e2e2 0%, #c9d6ff 100%);
    color: #1e293b;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}
body.auth-skin-4 ::selection { background: rgba(116, 148, 236, .25); color: #4f6fd8; }
.auth-s4-main { width: 100%; max-width: 880px; padding: 48px 16px; position: relative; z-index: 10; }
.auth-s4-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 55px -12px rgba(30, 41, 59, .18);
}
.auth-s4-hero {
    position: relative;
    background: #7494ec;
    color: #fff;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 100px 100px;
}
.auth-s4-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.auth-s4-pill .auth-logo-tile { width: 24px !important; height: 24px !important; flex: 0 0 24px !important; border-radius: 50%; background: #fff !important; border: 0 !important; box-shadow: none !important; }
.auth-s4-pill .auth-logo-tile img { width: 14px !important; height: 14px !important; }
.auth-s4-pill .auth-brand-name { color: #fff !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .025em; }
.auth-s4-pill .auth-brand-sub { display: none; }
.auth-s4-pill .auth-logo-mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #fff; color: #7494ec; box-shadow: none; }
.auth-s4-pill .auth-logo-mark svg { width: 13px; height: 13px; }
.auth-s4-pill-tag { padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .3); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.auth-s4-headline { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.auth-s4-copy { margin: 10px 0 0; max-width: 260px; font-size: 12px; line-height: 1.625; color: rgba(255, 255, 255, .9); }
.auth-s4-cta {
    display: inline-block;
    margin-top: 24px;
    min-width: 155px;
    padding: 10px 28px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.auth-s4-cta:hover { background: #fff; color: #7494ec; }
.auth-s4-cta:active { transform: scale(.98); }
.auth-s4-form { width: 100%; padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; }
.auth-s4-body { width: 100%; max-width: 360px; margin: 0 auto; }
.auth-skin-4 .auth-header { margin-bottom: 22px; text-align: center; }
.auth-skin-4 .auth-title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; color: #0f172a; }
.auth-skin-4 .auth-subtitle { margin: 6px 0 0; font-size: 12px; line-height: 1.625; color: #64748b; }
.auth-skin-4 .auth-subtitle strong { color: #1e293b; }
.auth-skin-4 .auth-alert { border-radius: 8px; font-size: 12px; padding: 10px 14px; margin-bottom: 18px; }
.auth-skin-4 .auth-form { gap: 16px; }
.auth-skin-4 .auth-field { gap: 6px; }
.auth-skin-4 .auth-label { font-size: 12px; font-weight: 600; color: #334155; }
.auth-skin-4 .auth-input { height: 46px; border: 1px solid transparent; border-radius: 8px; background: #efefef; font-size: 14px; color: #1e293b; padding: 0 42px 0 16px; }
.auth-skin-4 .auth-input::placeholder { color: #94a3b8; }
.auth-skin-4 .auth-input:focus { border-color: #7494ec; background: #fff; box-shadow: 0 0 0 2px rgba(116, 148, 236, .25); }
.auth-skin-4 .auth-pw-toggle { color: #64748b; }
.auth-skin-4 .auth-pw-toggle:hover { color: #7494ec; background: transparent; }
.auth-skin-4 .auth-check { font-size: 12px; font-weight: 400; color: #64748b; }
.auth-skin-4 .auth-check input { width: 16px; height: 16px; border-radius: 4px; accent-color: #7494ec; }
.auth-skin-4 .auth-link { font-size: 12px; font-weight: 500; color: #475569; }
.auth-skin-4 .auth-link:hover { color: #7494ec; }
.auth-skin-4 .auth-btn {
    height: 44px;
    margin-top: 4px;
    border-radius: 8px;
    background: #7494ec;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(116, 148, 236, .3), 0 2px 4px -2px rgba(116, 148, 236, .3);
}
.auth-skin-4 .auth-btn:hover { background: #5e81e3; transform: none; }
.auth-skin-4 .auth-btn:active { transform: scale(.99); }
.auth-skin-4 .auth-btn--ghost { background: #fff; border: 1px solid #cbd5e1; color: #334155; box-shadow: none; }
.auth-skin-4 .auth-divider { font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #64748b; }
.auth-skin-4 .auth-divider::before, .auth-skin-4 .auth-divider::after { background: #f1f5f9; }
.auth-skin-4 .auth-footnote { margin-top: 4px; font-size: 12px; font-weight: 400; color: #64748b; }
.auth-skin-4 .auth-hint { font-size: 11px; color: #94a3b8; }
.auth-skin-4 .auth-social { margin-top: 24px; padding-top: 16px; border-top: 1px solid #f1f5f9; text-align: center; }
.auth-skin-4 .auth-social-label { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #64748b; }
.auth-skin-4 .auth-social-btn { width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid #cbd5e1; color: #334155; }
.auth-skin-4 .auth-social-btn:hover { background: #fff; border-color: #7494ec; color: #7494ec; }
.auth-skin-4 .auth-steps { margin-bottom: 20px; }
.auth-skin-4 .auth-step { font-size: 9.5px; color: #94a3b8; }
.auth-skin-4 .auth-step-dot { width: 24px; height: 24px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #94a3b8; }
.auth-skin-4 .auth-step.is-active { color: #7494ec; }
.auth-skin-4 .auth-step.is-active .auth-step-dot { border-color: #7494ec; color: #7494ec; box-shadow: 0 0 0 3px rgba(116, 148, 236, .16); }
.auth-skin-4 .auth-step.is-done .auth-step-dot { background: #7494ec; border-color: #7494ec; color: #fff; }
.auth-skin-4 .auth-step-line { background: #e2e8f0; }
.auth-skin-4 .auth-otp { gap: 8px; }
.auth-skin-4 .otp-box { height: 46px; border: 1px solid transparent; border-radius: 8px; background: #efefef; color: #1e293b; font-size: 18px; font-weight: 600; }
.auth-skin-4 .otp-box:focus { background: #fff; border-color: #7494ec; box-shadow: 0 0 0 2px rgba(116, 148, 236, .25); }
.auth-skin-4 .auth-otp-single { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.auth-skin-4 .auth-otp-target { border: 1px solid rgba(116, 148, 236, .3); border-radius: 8px; background: rgba(116, 148, 236, .1); }
.auth-skin-4 .auth-otp-email { font-size: 13px; color: #1e293b; }
.auth-skin-4 .auth-account-card { border-radius: 8px; border: 1px solid #e2e8f0; }
.auth-skin-4 .auth-account-card:hover { border-color: rgba(116, 148, 236, .5); background: #f6f8ff; }
.auth-skin-4 .auth-account-card.is-selected { border-color: #7494ec; background: #f2f5ff; box-shadow: 0 0 0 2px rgba(116, 148, 236, .15); }
.auth-skin-4 .auth-account-icon { border-radius: 8px; background: #f2f5ff; color: #7494ec; }
.auth-skin-4 .auth-resend-row { font-size: 12px; color: #64748b; }
.auth-skin-4 .auth-linkbtn { font-size: 12px; color: #7494ec; }
html.auth-dark body.auth-skin-4 { background: linear-gradient(to right, #0b1020 0%, #16203a 100%); color: #f1f5f9; }
html.auth-dark body.auth-skin-4 ::selection { color: #93c5fd; }
html.auth-dark .auth-skin-4 .auth-s4-card { background: #111827; border-color: #1e293b; box-shadow: 0 24px 65px -12px rgba(0, 0, 0, .75); }
html.auth-dark .auth-skin-4 .auth-s4-hero { background: #4e6fd4; }
html.auth-dark .auth-skin-4 .auth-s4-cta:hover { color: #4e6fd4; }
html.auth-dark .auth-skin-4 .auth-title { color: #fff; }
html.auth-dark .auth-skin-4 .auth-subtitle { color: #94a3b8; }
html.auth-dark .auth-skin-4 .auth-subtitle strong { color: #e2e8f0; }
html.auth-dark .auth-skin-4 .auth-label { color: #cbd5e1; }
html.auth-dark .auth-skin-4 .auth-input { background: rgba(30, 41, 59, .9); color: #f1f5f9; }
html.auth-dark .auth-skin-4 .auth-input:focus { background: #0f172a; }
html.auth-dark .auth-skin-4 .auth-input::placeholder { color: #64748b; }
html.auth-dark .auth-skin-4 .auth-check { color: #94a3b8; }
html.auth-dark .auth-skin-4 .auth-footnote,
html.auth-dark .auth-skin-4 .auth-hint { color: #94a3b8; }
html.auth-dark .auth-skin-4 .auth-link { color: #94a3b8; }
html.auth-dark .auth-skin-4 .auth-link:hover { color: #60a5fa; }
html.auth-dark .auth-skin-4 .auth-btn { background: #597be0; }
html.auth-dark .auth-skin-4 .auth-btn:hover { background: #496bd4; }
html.auth-dark .auth-skin-4 .auth-social { border-top-color: #1e293b; }
html.auth-dark .auth-skin-4 .auth-social-btn { background: rgba(15, 23, 42, .7); border-color: #334155; color: #e2e8f0; }
html.auth-dark .auth-skin-4 .auth-divider::before, html.auth-dark .auth-skin-4 .auth-divider::after { background: #1e293b; }
html.auth-dark .auth-skin-4 .otp-box { background: rgba(30, 41, 59, .9); color: #f1f5f9; }
html.auth-dark .auth-skin-4 .otp-box:focus { background: #0f172a; }
html.auth-dark .auth-skin-4 .auth-otp-target { background: rgba(116, 148, 236, .15); }
html.auth-dark .auth-skin-4 .auth-otp-email { color: #e0e7ff; }
html.auth-dark .auth-skin-4 .auth-alert--info { background: rgba(116, 148, 236, .15); border-color: rgba(116, 148, 236, .3); color: #bfdbfe; }
html.auth-dark .auth-skin-4 .auth-step-dot { background: #111827; border-color: #334155; color: #94a3b8; }
html.auth-dark .auth-skin-4 .auth-account-card { background: #111827; border-color: #334155; }
html.auth-dark .auth-skin-4 .auth-account-card.is-selected { background: rgba(116, 148, 236, .12); border-color: #7494ec; }
html.auth-dark .auth-skin-4 .auth-btn--ghost { background: #111827; border-color: #334155; color: #e2e8f0; }
@media (min-width: 640px) {
    .auth-s4-main { padding-top: 64px; padding-bottom: 64px; }
    .auth-s4-hero { padding: 48px 32px; border-radius: 0 0 120px 120px; }
    .auth-s4-headline { font-size: 34px; }
    .auth-s4-copy { font-size: 14px; }
    .auth-s4-form { padding: 40px; }
    .auth-skin-4 .auth-title { font-size: 28px; }
}
@media (min-width: 1024px) {
    .auth-s4-card { flex-direction: row; min-height: 580px; }
    .auth-s4-reverse { flex-direction: row-reverse; }
    .auth-s4-hero { width: 48%; border-radius: 0 145px 145px 0; padding: 40px; }
    .auth-s4-reverse .auth-s4-hero { border-radius: 145px 0 0 145px; }
    .auth-s4-form { width: 52%; padding: 40px 44px; }
}

/* ============================================================================
   SKIN 5 — indigo/slate split brand slab + card (Inter, 448px card).
   ========================================================================== */
body.auth-skin-5 {
    --a-info-bg: #eef2ff; --a-info-border: #e5e7eb; --a-info-fg: #4338ca;
    --a-err-bg: #fff1f2; --a-err-border: #fecdd3; --a-err-fg: #be123c;
    --a-ok-bg: #ecfdf5; --a-ok-border: #a7f3d0; --a-ok-fg: #047857;
    background: #f8fafc;
    color: #0f172a;
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
}
.auth-s5-main { width: 100%; display: flex; min-height: 100vh; }
.auth-s5-hero {
    display: none;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    color: #fff;
    background: linear-gradient(to bottom right, #4f46e5 0%, #4338ca 55%, #0f172a 100%);
}
.auth-s5-blob { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(64px); }
.auth-s5-blob--a { top: -96px; left: -96px; background: rgba(99, 102, 241, .3); }
.auth-s5-blob--b { bottom: -96px; right: -96px; background: rgba(168, 85, 247, .2); }
.auth-s5-hero-top { position: relative; z-index: 1; }
.auth-s5-hero .auth-logo-tile { background: rgba(255, 255, 255, .15) !important; border: 1px solid rgba(255, 255, 255, .25) !important; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px !important; }
.auth-s5-hero .auth-logo-tile img { filter: brightness(0) invert(1); }
.auth-s5-hero .auth-logo-mark { background: rgba(255, 255, 255, .15); box-shadow: none; border-radius: 16px; }
.auth-s5-hero .auth-brand-name { color: #fff !important; font-weight: 700 !important; letter-spacing: -.025em; }
.auth-s5-hero .auth-brand-sub { color: rgba(199, 210, 254, .8); font-size: 10px; letter-spacing: .05em; }
.auth-s5-hero-note { position: relative; z-index: 1; margin: 0; font-size: 12px; color: rgba(199, 210, 254, .7); }
.auth-s5-col { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.auth-s5-card {
    width: 100%;
    max-width: 448px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(226, 232, 240, .6), 0 8px 10px -6px rgba(226, 232, 240, .6);
}
.auth-s5-card-head { display: flex; justify-content: center; margin-bottom: 22px; text-align: center; }
.auth-s5-card-head .auth-brand-lockup { flex-direction: column; gap: 10px; text-align: center; }
.auth-s5-card-head .auth-logo-tile { width: 48px !important; height: 48px !important; flex: 0 0 48px !important; border-radius: 16px; background: linear-gradient(to bottom right, #6366f1, #4338ca); border: 0; box-shadow: 0 10px 15px -3px rgba(79, 70, 229, .25), 0 4px 6px -4px rgba(79, 70, 229, .25); }
.auth-s5-card-head .auth-logo-tile img { width: 26px !important; height: 26px !important; filter: brightness(0) invert(1); }
.auth-s5-card-head .auth-logo-mark { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; background: linear-gradient(to bottom right, #6366f1, #4338ca); box-shadow: 0 10px 15px -3px rgba(79, 70, 229, .25); }
.auth-s5-card-head .auth-logo-mark svg { width: 24px; height: 24px; }
.auth-s5-card-head .auth-brand-name { color: #0f172a !important; font-size: 18px !important; font-weight: 700; letter-spacing: -.025em; }
.auth-s5-card-head .auth-brand-sub { margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .1em; color: #94a3b8; }
.auth-skin-5 .auth-header { margin-bottom: 20px; }
.auth-skin-5 .auth-title { margin: 0; font-size: 24px; line-height: 1.33; font-weight: 700; letter-spacing: -.025em; color: #0f172a; }
.auth-skin-5 .auth-subtitle { margin: 4px 0 0; font-size: 14px; line-height: 1.43; color: #64748b; }
.auth-skin-5 .auth-alert { border-radius: 12px; font-size: 12px; padding: 12px; margin-bottom: 18px; }
.auth-skin-5 .auth-form { gap: 16px; }
.auth-skin-5 .auth-field { gap: 6px; }
.auth-skin-5 .auth-label { font-size: 14px; line-height: 1.43; font-weight: 500; color: #334155; }
.auth-skin-5 .auth-input { height: 46px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; padding: 0 48px 0 16px; font-size: 14px; color: #0f172a; }
.auth-skin-5 .auth-input::placeholder { color: #94a3b8; }
.auth-skin-5 .auth-input:focus { border-color: transparent; box-shadow: 0 0 0 2px #6366f1; }
.auth-skin-5 .auth-pw-toggle { right: 6px; color: #94a3b8; border-radius: 10px; }
.auth-skin-5 .auth-pw-toggle:hover { color: #475569; background: transparent; }
.auth-skin-5 .auth-pw-toggle svg { width: 20px; height: 20px; }
.auth-skin-5 .auth-check { font-size: 14px; font-weight: 400; color: #475569; }
.auth-skin-5 .auth-check input { width: 16px; height: 16px; border-radius: 4px; accent-color: #4f46e5; }
.auth-skin-5 .auth-link { font-size: 12px; font-weight: 600; color: #4f46e5; }
.auth-skin-5 .auth-link:hover { color: #4338ca; }
.auth-skin-5 .auth-btn {
    height: 48px;
    border-radius: 12px;
    background: #4f46e5;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, .25), 0 4px 6px -4px rgba(79, 70, 229, .25);
}
.auth-skin-5 .auth-btn:hover { background: #4338ca; transform: none; }
.auth-skin-5 .auth-btn:active { transform: scale(.99); }
.auth-skin-5 .auth-btn--ghost { background: #fff; border: 1px solid #e2e8f0; color: #334155; box-shadow: none; }
.auth-skin-5 .auth-divider { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #94a3b8; }
.auth-skin-5 .auth-divider::before, .auth-skin-5 .auth-divider::after { background: rgba(226, 232, 240, .8); }
.auth-skin-5 .auth-footnote { margin-top: 8px; font-size: 14px; font-weight: 400; color: #64748b; }
.auth-skin-5 .auth-hint { font-size: 11px; color: #94a3b8; }
.auth-skin-5 .auth-social { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(226, 232, 240, .8); }
.auth-skin-5 .auth-social-label { font-size: 10px; color: #94a3b8; }
.auth-skin-5 .auth-social-btn { width: 40px; height: 40px; border-radius: 12px; background: #f1f5f9; border: 0; color: #475569; }
.auth-skin-5 .auth-social-btn:hover { background: #4f46e5; color: #fff; }
.auth-skin-5 .auth-steps { margin-bottom: 20px; }
.auth-skin-5 .auth-step { font-size: 9.5px; color: #94a3b8; }
.auth-skin-5 .auth-step-dot { width: 24px; height: 24px; border: 1px solid #e2e8f0; background: #f8fafc; color: #94a3b8; }
.auth-skin-5 .auth-step.is-active { color: #4f46e5; }
.auth-skin-5 .auth-step.is-active .auth-step-dot { border-color: #4f46e5; color: #4f46e5; box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }
.auth-skin-5 .auth-step.is-done .auth-step-dot { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.auth-skin-5 .auth-otp { gap: 8px; }
.auth-skin-5 .otp-box { height: 48px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: #0f172a; font-size: 18px; font-weight: 600; }
.auth-skin-5 .otp-box:focus { border-color: transparent; box-shadow: 0 0 0 2px #6366f1; }
.auth-skin-5 .auth-otp-single { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.auth-skin-5 .auth-otp-target { border: 1px solid #e5e7eb; border-radius: 12px; background: #eef2ff; }
.auth-skin-5 .auth-otp-email { font-size: 13px; color: #0f172a; }
.auth-skin-5 .auth-account-card { border-radius: 12px; border: 1px solid #e2e8f0; }
.auth-skin-5 .auth-account-card:hover { border-color: rgba(99, 102, 241, .4); background: #f8f9ff; }
.auth-skin-5 .auth-account-card.is-selected { border-color: #6366f1; background: #eef2ff; box-shadow: 0 0 0 2px rgba(99, 102, 241, .15); }
.auth-skin-5 .auth-account-icon { border-radius: 10px; background: #eef2ff; color: #4f46e5; }
.auth-skin-5 .auth-resend-row { font-size: 12px; color: #64748b; }
.auth-skin-5 .auth-linkbtn { font-size: 12px; color: #4f46e5; }
html.auth-dark body.auth-skin-5 { background: #020617; color: #f1f5f9; }
html.auth-dark .auth-skin-5 .auth-s5-card { background: #0f172a; border-color: #1e293b; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .4), 0 8px 10px -6px rgba(0, 0, 0, .4); }
html.auth-dark .auth-skin-5 .auth-s5-card-head .auth-brand-name { color: #fff !important; }
html.auth-dark .auth-skin-5 .auth-s5-card-head .auth-brand-sub { color: #64748b; }
html.auth-dark .auth-skin-5 .auth-title { color: #fff; }
html.auth-dark .auth-skin-5 .auth-subtitle { color: #94a3b8; }
html.auth-dark .auth-skin-5 .auth-label { color: #cbd5e1; }
html.auth-dark .auth-skin-5 .auth-input { background: rgba(30, 41, 59, .6); border-color: #334155; color: #fff; }
html.auth-dark .auth-skin-5 .auth-input::placeholder { color: #64748b; }
html.auth-dark .auth-skin-5 .auth-check { color: #94a3b8; }
html.auth-dark .auth-skin-5 .auth-footnote,
html.auth-dark .auth-skin-5 .auth-hint { color: #94a3b8; }
html.auth-dark .auth-skin-5 .auth-link { color: #6366f1; }
html.auth-dark .auth-skin-5 .auth-social { border-top-color: #1e293b; }
html.auth-dark .auth-skin-5 .auth-social-btn { background: rgba(30, 41, 59, .8); color: #cbd5e1; }
html.auth-dark .auth-skin-5 .auth-social-btn:hover { background: #4f46e5; color: #fff; }
html.auth-dark .auth-skin-5 .auth-divider::before, html.auth-dark .auth-skin-5 .auth-divider::after { background: #1e293b; }
html.auth-dark .auth-skin-5 .otp-box { background: rgba(30, 41, 59, .6); border-color: #334155; color: #fff; }
html.auth-dark .auth-skin-5 .auth-otp-target { background: rgba(99, 102, 241, .1); border-color: #1e293b; }
html.auth-dark .auth-skin-5 .auth-otp-email { color: #e0e7ff; }
html.auth-dark .auth-skin-5 .auth-alert--info { background: rgba(99, 102, 241, .1); border-color: #1e293b; color: #c7d2fe; }
html.auth-dark .auth-skin-5 .auth-step-dot { background: #0f172a; border-color: #334155; color: #94a3b8; }
html.auth-dark .auth-skin-5 .auth-account-card { background: #0f172a; border-color: #334155; }
html.auth-dark .auth-skin-5 .auth-account-card.is-selected { background: rgba(99, 102, 241, .12); border-color: #6366f1; }
html.auth-dark .auth-skin-5 .auth-btn--ghost { background: #0f172a; border-color: #334155; color: #e2e8f0; }
@media (min-width: 640px) {
    .auth-s5-col { padding: 32px; }
    .auth-s5-card { padding: 32px; }
}
@media (min-width: 1024px) {
    .auth-s5-hero { display: flex; width: 41.6667%; }
    .auth-s5-col { padding: 48px; }
}
@media (min-width: 1280px) {
    .auth-s5-hero { width: 50%; }
}

/* ---------- Small-screen polish shared by all skins ----------------------- */
@media (max-width: 640px) {
    .auth-mode-toggle { top: 10px; right: 10px; width: 38px; height: 38px; }
    .auth-skin-1 .auth-title,
    .auth-skin-2 .auth-title,
    .auth-skin-3 .auth-title,
    .auth-skin-4 .auth-title,
    .auth-skin-5 .auth-title { font-size: 22px; }
    .auth-s3-hero { border-radius: 16px 16px 0 0; }
    .auth-s4-hero { border-radius: 0 0 100px 100px; }
    .auth-skin-3 .auth-otp,
    .auth-skin-4 .auth-otp,
    .auth-skin-5 .auth-otp { gap: 6px; }
    .auth-skin-2 .auth-otp,
    .auth-skin-1 .auth-otp { gap: 5px; }
    .auth-skin-2 .otp-box,
    .auth-skin-3 .otp-box,
    .auth-skin-4 .otp-box,
    .auth-skin-5 .otp-box { height: 46px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-mode-toggle { transition: none; }
}
