/* ============================================================
   GemHoldings — auth.css  v2.0
   Premium Split-Panel Auth Design | Dark + Light Themes
   ============================================================ */

/* ── Variables ── */
:root {
    --auth-bg:           #080F1E;
    --auth-panel-bg:     #0A1628;
    --auth-card-bg:      #0F1E36;
    --auth-input-bg:     #111D30;
    --auth-input-bg-h:   #162540;
    --auth-border:       rgba(255,255,255,0.08);
    --auth-border-focus: #0EA5E9;

    --auth-primary:      #0EA5E9;
    --auth-primary-h:    #38BDF8;
    --auth-primary-glow: rgba(14,165,233,0.25);
    --auth-secondary:    #14B8A6;
    --auth-accent:       #6366F1;
    --auth-gold:         #F59E0B;
    --auth-danger:       #EF4444;
    --auth-success:      #14B8A6;
    --auth-warning:      #F59E0B;

    --auth-text:         #F1F5F9;
    --auth-text-muted:   #64748B;
    --auth-text-sub:     #94A3B8;

    --auth-radius:       14px;
    --auth-radius-sm:    8px;
    --auth-radius-lg:    20px;
    --auth-font:         'Inter', -apple-system, sans-serif;
    --auth-transition:   all 0.22s cubic-bezier(.4,0,.2,1);

    /* Panel sizing */
    --auth-brand-width:  44%;
    --auth-form-width:   56%;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
    font-family: var(--auth-font);
    background: var(--auth-bg);
    color: var(--auth-text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--auth-primary); text-decoration: none; transition: var(--auth-transition); }
a:hover { color: var(--auth-primary-h); }

/* ============================================================
   PAGE SHELL — Split layout
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
}

/* ── LEFT BRAND PANEL ── */
.auth-brand {
    width: var(--auth-brand-width);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 52px;
    background: linear-gradient(145deg, #061225 0%, #0A1E40 50%, #071830 100%);
    flex-shrink: 0;
}

/* Animated mesh background */
.auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 30%, rgba(14,165,233,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(99,102,241,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(20,184,166,0.1) 0%, transparent 50%);
    animation: authGlowShift 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes authGlowShift {
    0%   { transform: scale(1) translateY(0); opacity: 1; }
    100% { transform: scale(1.05) translateY(-10px); opacity: 0.85; }
}

/* Grid overlay */
.auth-brand::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.auth-brand__header {
    position: relative;
    z-index: 2;
}

/* Brand logo */
.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.auth-brand-logo__gem   { color: #F1F5F9; }
.auth-brand-logo__trade { color: var(--auth-primary); }

/* Trust badges row */
.auth-brand__badges {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.25);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--auth-primary-h);
    letter-spacing: 0.3px;
}
.auth-badge--green {
    background: rgba(20,184,166,0.1);
    border-color: rgba(20,184,166,0.25);
    color: #5EEAD4;
}

/* Center content block */
.auth-brand__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.auth-brand__tagline {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #F1F5F9;
    margin-bottom: 16px;
}
.auth-brand__tagline em {
    font-style: normal;
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-brand__desc {
    font-size: 0.95rem;
    color: var(--auth-text-sub);
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 36px;
}

/* Floating stats cards */
.auth-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.auth-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--auth-radius);
    padding: 16px 18px;
    backdrop-filter: blur(10px);
    transition: var(--auth-transition);
}
.auth-stat:hover {
    background: rgba(14,165,233,0.08);
    border-color: rgba(14,165,233,0.2);
    transform: translateY(-2px);
}
.auth-stat__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--auth-text);
    line-height: 1;
    margin-bottom: 4px;
}
.auth-stat__value span {
    color: var(--auth-primary);
}
.auth-stat__label {
    font-size: 0.72rem;
    color: var(--auth-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

/* Testimonial */
.auth-brand__testimonial {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--auth-radius);
    padding: 20px 22px;
    backdrop-filter: blur(8px);
}
.auth-brand__testimonial p {
    font-size: 0.85rem;
    color: var(--auth-text-sub);
    line-height: 1.65;
    margin-bottom: 14px;
    font-style: italic;
}
.auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-testimonial-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}
.auth-testimonial-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--auth-text);
}
.auth-testimonial-role {
    font-size: 0.72rem;
    color: var(--auth-text-muted);
}

/* Stars */
.auth-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}
.auth-stars span {
    color: var(--auth-gold);
    font-size: 0.85rem;
}

/* ── RIGHT FORM PANEL ── */
.auth-form-panel {
    width: var(--auth-form-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 48px;
    background: var(--auth-bg);
    position: relative;
    overflow-y: auto;
    min-height: 100vh;
}

/* Subtle top glow */
.auth-form-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Form Wrap ── */
.auth-form-wrap {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

/* Mobile-only logo (hidden on desktop) */
.auth-mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 32px;
}
.auth-mobile-logo .auth-brand-logo {
    font-size: 1.6rem;
}

/* ── Form Header Row (← Login + theme toggle) ── */
.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.auth-back {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-text);
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.4px;
}
.auth-back__arrow {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--auth-text-muted);
    transition: var(--auth-transition);
}
.auth-back:hover .auth-back__arrow { color: var(--auth-primary); transform: translateX(-3px); }
.auth-back:hover { color: var(--auth-text); }

.auth-theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    color: var(--auth-text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--auth-transition);
}
.auth-theme-btn:hover {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
    background: rgba(14,165,233,0.08);
}

/* ── Titles & Subtitles ── */
.auth-title-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--auth-text);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.auth-subtitle {
    font-size: 0.92rem;
    color: var(--auth-text-sub);
    margin-bottom: 28px;
    line-height: 1.5;
}
.auth-subtitle a {
    font-weight: 600;
    color: var(--auth-primary);
}
.auth-subtitle a:hover { color: var(--auth-primary-h); }

.auth-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--auth-text);
    margin-bottom: 8px;
    line-height: 1.2;
}

/* ── Form Section Heading ── */
.auth-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--auth-text-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
    margin-top: 4px;
}

/* ── Inputs ── */
.auth-input-group {
    margin-bottom: 14px;
    position: relative;
}

.auth-input-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--auth-text-sub);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
}

.auth-input {
    width: 100%;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    padding: 15px 18px;
    color: var(--auth-text);
    font-size: 0.93rem;
    font-family: var(--auth-font);
    outline: none;
    transition: var(--auth-transition);
}
.auth-input::placeholder { color: var(--auth-text-muted); }
.auth-input:hover:not(:focus) {
    border-color: rgba(255,255,255,0.14);
    background: var(--auth-input-bg-h);
}
.auth-input:focus {
    border-color: var(--auth-border-focus);
    background: var(--auth-input-bg-h);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.13);
}
.auth-input.is-invalid {
    border-color: var(--auth-danger);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.auth-input-error {
    font-size: 0.75rem;
    color: var(--auth-danger);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.auth-input-error::before { content: '⚠'; font-size: 0.7rem; }

/* Password wrapper */
.auth-pw-wrap { position: relative; }
.auth-pw-wrap .auth-input { padding-right: 52px; }
.auth-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--auth-text-muted);
    padding: 4px;
    transition: var(--auth-transition);
    display: flex;
    align-items: center;
    border-radius: 6px;
}
.auth-pw-toggle:hover {
    color: var(--auth-text);
    background: rgba(255,255,255,0.06);
}
.auth-pw-toggle svg { width: 17px; height: 17px; }

/* Grid inputs (First + Last name side by side) */
.auth-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

/* ── Forgot link ── */
.auth-forgot {
    display: block;
    text-align: right;
    font-size: 0.82rem;
    color: var(--auth-primary);
    margin-bottom: 20px;
    font-weight: 500;
}
.auth-forgot:hover {
    color: var(--auth-primary-h);
    text-decoration: underline;
}

/* ── Primary Button ── */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--auth-primary) 0%, #0284C7 100%);
    color: white;
    border: none;
    border-radius: var(--auth-radius);
    font-size: 0.97rem;
    font-weight: 700;
    font-family: var(--auth-font);
    cursor: pointer;
    transition: var(--auth-transition);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.auth-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--auth-transition);
}
.auth-btn:hover {
    box-shadow: 0 8px 24px rgba(14,165,233,0.35);
    transform: translateY(-1px);
}
.auth-btn:hover::after { opacity: 1; }
.auth-btn:active { transform: translateY(0); box-shadow: none; }
.auth-btn:disabled { opacity: 0.6; pointer-events: none; }

/* Loading spinner inside button */
.auth-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: authSpin 0.7s linear infinite;
    display: inline-block;
}
@keyframes authSpin { to { transform: rotate(360deg); } }

/* ── Divider ── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--auth-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border);
}

/* ── Google Button ── */
.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    color: var(--auth-text);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--auth-font);
    cursor: pointer;
    transition: var(--auth-transition);
    text-decoration: none;
    margin-bottom: 22px;
}
.auth-google-btn:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
    color: var(--auth-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.auth-google-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

/* ── Footer link ── */
.auth-footer-link {
    text-align: center;
    font-size: 0.87rem;
    color: var(--auth-text-sub);
    margin-bottom: 8px;
}
.auth-footer-link a { font-weight: 600; color: var(--auth-primary); }
.auth-footer-link a:hover { color: var(--auth-primary-h); text-decoration: underline; }

/* auth-footer (used in forgot-password) */
.auth-footer {
    margin-top: 24px;
    text-align: center;
}
.auth-footer a {
    font-size: 0.87rem;
    color: var(--auth-text-sub);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--auth-radius-sm);
    transition: var(--auth-transition);
}
.auth-footer a:hover {
    color: var(--auth-primary);
    background: rgba(14,165,233,0.06);
}

/* ── Copyright ── */
.auth-copyright {
    margin-top: 40px;
    font-size: 0.77rem;
    color: var(--auth-text-muted);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ── Alerts ── */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--auth-radius-sm);
    font-size: 0.875rem;
    margin-bottom: 20px;
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.auth-alert p + p { margin-top: 4px; }
.auth-alert--danger  { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.25);  color: #FCA5A5; }
.auth-alert--success { background: rgba(20,184,166,0.08); border-color: rgba(20,184,166,0.25); color: #5EEAD4; }
.auth-alert--info    { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.25); color: #7DD3FC; }
.auth-alert--warning { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); color: #FCD34D; }

/* Shared alert/btn classes used in some auth pages (for backward compat) */
.alert { padding: 12px 16px; border-radius: var(--auth-radius-sm); font-size: 0.875rem; border: 1px solid; }
.alert--danger  { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.25);  color: #FCA5A5; }
.alert--success { background: rgba(20,184,166,0.08); border-color: rgba(20,184,166,0.25); color: #5EEAD4; }
.alert--info    { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.25); color: #7DD3FC; }

/* Shared btn classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--auth-radius);
    font-family: var(--auth-font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--auth-transition);
    border: 1px solid transparent;
    text-decoration: none;
}
.btn--primary {
    background: linear-gradient(135deg, var(--auth-primary) 0%, #0284C7 100%);
    color: white;
    border-color: transparent;
}
.btn--primary:hover {
    box-shadow: 0 6px 20px rgba(14,165,233,0.35);
    transform: translateY(-1px);
    color: white;
}
.btn--outline {
    background: transparent;
    border-color: var(--auth-border);
    color: var(--auth-text);
}
.btn--outline:hover {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
    background: rgba(14,165,233,0.06);
}
.btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--auth-text-sub);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.05);
    color: var(--auth-text);
}
.btn--full { width: 100%; }
.btn--lg { padding: 15px 24px; font-size: 0.97rem; }
.btn:disabled { opacity: 0.6; pointer-events: none; }

/* Form classes (used in some auth pages for backward compat) */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--auth-text-sub);
    margin-bottom: 7px;
}
.form-input {
    width: 100%;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    padding: 14px 18px;
    color: var(--auth-text);
    font-size: 0.93rem;
    font-family: var(--auth-font);
    outline: none;
    transition: var(--auth-transition);
}
.form-input::placeholder { color: var(--auth-text-muted); }
.form-input:focus {
    border-color: var(--auth-border-focus);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

/* ── Country select ── */
select.auth-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
select.auth-input option {
    background: #0F1E36;
    color: var(--auth-text);
}

/* ── Password requirements ── */
.pw-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    margin-bottom: 20px;
    margin-top: -2px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
}
.pw-rule {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.77rem;
    color: var(--auth-text-muted);
    transition: var(--auth-transition);
}
.pw-rule::before {
    content: '○';
    color: var(--auth-text-muted);
    font-size: 0.65rem;
    flex-shrink: 0;
}
.pw-rule.valid { color: var(--auth-secondary); }
.pw-rule.valid::before { color: var(--auth-secondary); content: '✓'; font-size: 0.78rem; }

/* ── Icon wrap on forgot/reset/verify pages ── */
.auth-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(14,165,233,0.12);
    border: 1px solid rgba(14,165,233,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}
.auth-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(14,165,233,0.1);
    animation: authPulseRing 2.5s ease-in-out infinite;
}
@keyframes authPulseRing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%       { transform: scale(1.08); opacity: 0; }
}
.auth-icon-wrap i, .auth-icon-wrap svg {
    width: 32px;
    height: 32px;
    color: var(--auth-primary);
}

/* Centered text block styles */
.auth-center {
    text-align: center;
    margin-bottom: var(--auth-space, 24px);
}

/* ============================================================
   RESPONSIVE — Stack vertically on mobile
   ============================================================ */
@media (max-width: 900px) {
    .auth-brand { display: none; }
    .auth-form-panel {
        width: 100%;
        padding: 40px 24px;
    }
    .auth-mobile-logo { display: block; }
    .auth-form-wrap { max-width: 480px; }
}

@media (max-width: 520px) {
    .auth-form-panel { padding: 32px 20px; }
    .auth-input-row { grid-template-columns: 1fr; }
    .auth-title-large { font-size: 1.7rem; }
    .auth-title { font-size: 1.4rem; }
    .pw-rules { grid-template-columns: 1fr; }
    .auth-stats { grid-template-columns: 1fr 1fr; }
    .auth-brand__tagline { font-size: 1.9rem; }
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] body {
    background: #F4F6FA;
    color: #0F172A;
}

[data-theme="light"] .auth-form-panel {
    background: #F4F6FA;
}

[data-theme="light"] .auth-form-panel::before {
    background: radial-gradient(circle, rgba(14,165,233,0.06) 0%, transparent 70%);
}

[data-theme="light"] .auth-brand {
    background: linear-gradient(145deg, #061225 0%, #0A1E40 50%, #071830 100%);
}

[data-theme="light"] .auth-back { color: #0F172A; }
[data-theme="light"] .auth-back:hover { color: var(--auth-primary); }
[data-theme="light"] .auth-back__arrow { color: #9CA3AF; }

[data-theme="light"] .auth-title-large,
[data-theme="light"] .auth-title { color: #0F172A; }

[data-theme="light"] .auth-subtitle { color: #6B7280; }

[data-theme="light"] .auth-theme-btn {
    background: #FFFFFF;
    border-color: #E5E7EB;
    color: #6B7280;
}
[data-theme="light"] .auth-theme-btn:hover {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
    background: rgba(14,165,233,0.06);
}

[data-theme="light"] .auth-input {
    background: #FFFFFF;
    border-color: #E5E7EB;
    color: #0F172A;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
[data-theme="light"] .auth-input::placeholder { color: #9CA3AF; }
[data-theme="light"] .auth-input:hover:not(:focus) {
    border-color: #CBD5E1;
    background: #FFFFFF;
}
[data-theme="light"] .auth-input:focus {
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
    background: #FFFFFF;
}

[data-theme="light"] select.auth-input option { background: #FFFFFF; color: #0F172A; }

[data-theme="light"] .form-input {
    background: #FFFFFF;
    border-color: #E5E7EB;
    color: #0F172A;
}
[data-theme="light"] .form-input:focus {
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
[data-theme="light"] .form-input::placeholder { color: #9CA3AF; }

[data-theme="light"] .auth-divider { color: #9CA3AF; }
[data-theme="light"] .auth-divider::before,
[data-theme="light"] .auth-divider::after { background: #E5E7EB; }

[data-theme="light"] .auth-google-btn {
    background: #FFFFFF;
    border-color: #E5E7EB;
    color: #0F172A;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
[data-theme="light"] .auth-google-btn:hover {
    background: #F9FAFB;
    border-color: #CBD5E1;
}

[data-theme="light"] .auth-footer-link { color: #6B7280; }
[data-theme="light"] .auth-copyright   { color: #9CA3AF; }

[data-theme="light"] .pw-rules {
    background: rgba(0,0,0,0.03);
    border-color: #E5E7EB;
}
[data-theme="light"] .pw-rule { color: #9CA3AF; }
[data-theme="light"] .pw-rule.valid { color: #0D9488; }

[data-theme="light"] .auth-stat {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .auth-section-label { color: #9CA3AF; }

[data-theme="light"] .auth-alert--info    { background: rgba(14,165,233,0.06);  border-color: rgba(14,165,233,0.25); color: #0284C7; }
[data-theme="light"] .auth-alert--success { background: rgba(20,184,166,0.06);  border-color: rgba(20,184,166,0.25); color: #0D9488; }
[data-theme="light"] .auth-alert--danger  { background: rgba(239,68,68,0.06);   border-color: rgba(239,68,68,0.25);  color: #B91C1C; }
[data-theme="light"] .auth-alert--warning { background: rgba(245,158,11,0.06);  border-color: rgba(245,158,11,0.25); color: #D97706; }
[data-theme="light"] .alert--danger  { background: rgba(239,68,68,0.06);   border-color: rgba(239,68,68,0.25);  color: #B91C1C; }
[data-theme="light"] .alert--success { background: rgba(20,184,166,0.06);  border-color: rgba(20,184,166,0.25); color: #0D9488; }
[data-theme="light"] .alert--info    { background: rgba(14,165,233,0.06);  border-color: rgba(14,165,233,0.25); color: #0284C7; }

[data-theme="light"] .btn--outline {
    border-color: #E5E7EB;
    color: #374151;
}
[data-theme="light"] .btn--outline:hover {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
}
[data-theme="light"] .btn--ghost { color: #6B7280; }
[data-theme="light"] .btn--ghost:hover { background: rgba(0,0,0,0.04); color: #374151; }
