/**
 * =====================================================
 * Sosyotik Auth Pages v8.0 — LIGHT CLEAN
 * Register, Login, Forgot Password
 * Clean, modern, professional light theme
 * Date: 2026-02-19
 * =====================================================
 */

/* =====================================================
   0. DESIGN TOKENS — Light Theme
   ===================================================== */
:root {
    --auth-bg: #f8f9fb;
    --auth-bg-raised: #ffffff;
    --auth-bg-card: #ffffff;
    --auth-bg-card-hover: #f4f5f9;
    --auth-bg-glass: rgba(255,255,255,.8);
    --auth-border: #e2e5eb;
    --auth-border-hover: #cdd1d9;
    --auth-border-focus: rgba(99,102,241,.5);

    --auth-accent: #6366f1;
    --auth-accent-hover: #4f46e5;
    --auth-accent-active: #4338ca;
    --auth-accent-light: rgba(99,102,241,.06);
    --auth-accent-border: rgba(99,102,241,.2);
    --auth-accent-ring: rgba(99,102,241,.2);
    --auth-accent-glow: rgba(99,102,241,.1);
    --auth-accent-dim: rgba(99,102,241,.08);

    --auth-text: #111827;
    --auth-text-secondary: #4b5563;
    --auth-text-muted: #6b7280;
    --auth-text-dim: #9ca3af;

    --auth-white: #ffffff;
    --auth-black: #111827;

    --auth-success: #059669;
    --auth-success-light: rgba(5,150,105,.06);
    --auth-success-border: rgba(5,150,105,.2);

    --auth-danger: #dc2626;
    --auth-danger-light: rgba(220,38,38,.06);
    --auth-danger-border: rgba(220,38,38,.2);

    --auth-warning: #d97706;
    --auth-warning-light: rgba(217,119,6,.06);
    --auth-warning-border: rgba(217,119,6,.2);

    --auth-cyan: #0891b2;
    --auth-violet: #7c3aed;
    --auth-emerald: #059669;
    --auth-rose: #e11d48;

    --auth-radius-sm: 10px;
    --auth-radius-md: 14px;
    --auth-radius-lg: 18px;
    --auth-radius-xl: 24px;

    --auth-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --auth-shadow-md: 0 4px 12px rgba(0,0,0,.06);
    --auth-shadow-lg: 0 8px 30px rgba(0,0,0,.08);
    --auth-shadow-xl: 0 20px 50px rgba(0,0,0,.1);

    --auth-transition: 0.2s ease;
    --auth-transition-spring: 0.3s ease;
    --auth-ease: ease;
    --auth-ease-spring: cubic-bezier(.175,.885,.32,1.275);
}


/* =====================================================
   1. RESET & BASE
   ===================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--auth-bg);
    min-height: 100vh;
    color: var(--auth-text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* =====================================================
   1.5 CUSTOM CURSOR — DISABLED
   ===================================================== */
.auth-cursor,
.auth-cursor-dot,
.auth-cursor-ring { display: none !important; }


/* =====================================================
   1.6 NOISE GRAIN OVERLAY — hidden in light
   ===================================================== */
.auth-grain { display: none; }


/* =====================================================
   1.7 AURORA BACKGROUND — soft light version
   ===================================================== */
.auth-aurora {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0; pointer-events: none; overflow: hidden;
}
.auth-aurora-blob {
    position: absolute; border-radius: 50%;
    filter: blur(140px); opacity: .35;
    animation: auroraFloat 40s ease-in-out infinite;
}
.auth-aurora-blob:nth-child(1) {
    width: 600px; height: 600px; top: -15%; left: -10%;
    background: linear-gradient(135deg, #c7d2fe, #e0e7ff);
    animation-delay: 0s; animation-duration: 45s;
}
.auth-aurora-blob:nth-child(2) {
    width: 500px; height: 500px; top: 30%; right: -10%;
    background: linear-gradient(135deg, #a5f3fc, #bfdbfe);
    animation-delay: -10s; animation-duration: 50s;
}
.auth-aurora-blob:nth-child(3) {
    width: 400px; height: 400px; bottom: -10%; left: 25%;
    background: linear-gradient(135deg, #ddd6fe, #fce7f3);
    animation-delay: -20s; animation-duration: 55s;
}
@keyframes auroraFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, -20px) scale(1.03); }
    50%      { transform: translate(-15px, 15px) scale(.97); }
    75%      { transform: translate(20px, 30px) scale(1.01); }
}


/* =====================================================
   2. LAYOUT — Split Screen
   ===================================================== */
.register-page,
.login-page,
.auth-page {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}


/* =====================================================
   3. BRAND PANEL (Left Side) — Indigo gradient
   ===================================================== */
.brand-panel {
    width: 460px;
    background: linear-gradient(160deg, #312e81 0%, #4338ca 40%, #6366f1 100%);
    color: #ffffff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    overflow: hidden;
    z-index: 2;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    pointer-events: none;
}

.brand-panel::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    pointer-events: none;
}

.brand-panel-inner {
    position: relative; z-index: 2;
}

.brand-logo {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 56px; text-decoration: none;
    position: relative; z-index: 2;
}
.brand-logo img {
    height: 28px;
    transition: opacity var(--auth-transition);
}
.brand-logo:hover img { opacity: .85; }

/* ═══ Brand Pill ═══ */
.brand-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px 6px 6px; border-radius: 100px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 10px; font-weight: 700; color: rgba(255,255,255,.9);
    letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 20px;
}
.brand-pill-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #a5b4fc; animation: brandPulse 3s ease infinite;
}
@keyframes brandPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(.85); }
}

.brand-content { position: relative; z-index: 2; }
.brand-content h1 {
    font-size: 28px; font-weight: 800;
    letter-spacing: -.03em; line-height: 1.15;
    margin-bottom: 16px; color: #ffffff;
}

/* ═══ Shimmer text ═══ */
.brand-shimmer {
    background: linear-gradient(90deg, #c7d2fe, #e0e7ff, #a5b4fc, #c7d2fe);
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandShimmer 8s linear infinite;
}
@keyframes brandShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.brand-content p {
    color: rgba(255,255,255,.7);
    font-size: 14px; line-height: 1.7;
}

/* Brand Stats (login.php) */
.brand-stats {
    display: flex; gap: 32px;
    margin-top: 36px; position: relative; z-index: 2;
}
.brand-stat h3 {
    font-size: 28px; font-weight: 800;
    letter-spacing: -.02em;
    color: #c7d2fe;
}
.brand-stat p {
    font-size: 12px; color: rgba(255,255,255,.5);
    margin-top: 2px;
    text-transform: uppercase; letter-spacing: .05em;
}

/* Brand Features (register) */
.brand-features {
    margin-top: 40px;
    position: relative; z-index: 2;
    display: flex; flex-direction: column; gap: 10px;
}
.brand-feature {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px; border-radius: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .25s ease;
}
.brand-feature:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.15);
}
.brand-feature-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all .25s ease;
}
.brand-feature:hover .brand-feature-icon {
    background: rgba(255,255,255,.18);
}
.brand-feature-icon i {
    font-size: 17px; color: #c7d2fe;
}
.brand-feature-text h4 {
    font-size: 13px; font-weight: 600;
    color: #ffffff; margin-bottom: 1px;
}
.brand-feature-text p {
    font-size: 11px; color: rgba(255,255,255,.5);
    margin: 0; line-height: 1.4;
}

.brand-footer {
    font-size: 11px;
    color: rgba(255,255,255,.35);
    position: relative; z-index: 2;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.brand-footer-inner {
    display: flex; align-items: center; gap: 6px;
}
.brand-footer-sep { opacity: .4; }


/* =====================================================
   4. FORM PANEL (Right Side)
   ===================================================== */
.form-panel {
    flex: 1;
    margin-left: 460px;
    padding: 48px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.login-page .form-panel {
    max-width: 520px;
    margin-left: 460px;
    padding-left: 64px;
}


/* =====================================================
   5. FORM HEADER
   ===================================================== */
.form-header {
    margin-bottom: 32px;
}
.form-header h2 {
    font-size: 26px; font-weight: 800;
    letter-spacing: -.03em; color: var(--auth-text);
    margin-bottom: 6px;
}
.form-header p {
    font-size: 14px; color: var(--auth-text-secondary);
}
.form-header a {
    color: var(--auth-accent);
    text-decoration: none; font-weight: 600;
    transition: color var(--auth-transition);
}
.form-header a:hover { color: var(--auth-accent-hover); }


/* =====================================================
   6. ALERTS
   ===================================================== */
.alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 18px; border-radius: var(--auth-radius-md);
    font-size: 13px; line-height: 1.6;
    margin-bottom: 20px;
    border: 1px solid;
}
.alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success {
    background: var(--auth-success-light);
    border-color: var(--auth-success-border);
    color: var(--auth-success);
}
.alert-error {
    background: var(--auth-danger-light);
    border-color: var(--auth-danger-border);
    color: var(--auth-danger);
}
.alert-warning {
    background: var(--auth-warning-light);
    border-color: var(--auth-warning-border);
    color: var(--auth-warning);
}


/* =====================================================
   7. FORM SECTIONS
   ===================================================== */
.form-section {
    margin-bottom: 20px;
}

.form-section-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--auth-text-muted);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--auth-border);
}
.form-section-title i { color: var(--auth-accent); opacity: .6; }


/* =====================================================
   8. FORM CONTROLS
   ===================================================== */
.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--auth-text-secondary);
    margin-bottom: 6px;
}
.form-label .required-indicator {
    color: var(--auth-danger); font-size: 10px;
    vertical-align: top;
}
.form-label .optional {
    font-weight: 400; color: var(--auth-text-dim);
    font-size: 11px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.input-group {
    display: flex;
}
.input-group-text {
    display: flex; align-items: center; justify-content: center;
    width: 44px; flex-shrink: 0;
    background: #f3f4f6;
    border: 1px solid var(--auth-border);
    border-right: none;
    border-radius: var(--auth-radius-sm) 0 0 var(--auth-radius-sm);
    color: var(--auth-text-dim);
    font-size: 16px;
    transition: all var(--auth-transition);
}
.input-group:focus-within .input-group-text {
    border-color: var(--auth-border-focus);
    color: var(--auth-accent);
    background: rgba(99,102,241,.04);
}

.form-control {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    background: var(--auth-white);
    font-family: inherit;
    font-size: 14px;
    color: var(--auth-text);
    transition: all .2s ease;
    outline: none;
}
.input-group .form-control {
    border-radius: 0 var(--auth-radius-sm) var(--auth-radius-sm) 0;
}
.form-control::placeholder { color: var(--auth-text-dim); }
.form-control:focus {
    border-color: var(--auth-border-focus);
    box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}

.form-hint {
    font-size: 11px; color: var(--auth-text-dim);
    margin-top: 6px;
    display: flex; align-items: center; gap: 4px;
}


/* =====================================================
   9. PHONE INPUT
   ===================================================== */
.phone-input-wrapper {
    display: flex;
}
.phone-prefix {
    display: flex; align-items: center; justify-content: center;
    padding: 0 14px;
    background: #f3f4f6;
    border: 1px solid var(--auth-border);
    border-right: none;
    border-radius: var(--auth-radius-sm) 0 0 var(--auth-radius-sm);
    font-size: 13px; font-weight: 600;
    color: var(--auth-text-muted);
    transition: all var(--auth-transition);
}
.phone-input-wrapper:focus-within .phone-prefix {
    border-color: var(--auth-border-focus);
    color: var(--auth-accent);
    background: rgba(99,102,241,.04);
}
.phone-masked {
    border-radius: 0 var(--auth-radius-sm) var(--auth-radius-sm) 0;
}


/* =====================================================
   10. PASSWORD
   ===================================================== */
.password-input-wrapper {
    flex: 1; position: relative;
}
.password-toggle {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--auth-text-dim);
    cursor: pointer; font-size: 16px;
    padding: 4px;
    transition: color var(--auth-transition);
}
.password-toggle:hover { color: var(--auth-accent); }

.password-strength {
    margin-top: 8px;
}
.strength-bars {
    display: flex; gap: 4px;
}
.strength-bar {
    flex: 1; height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    transition: background .3s;
}
.strength-bar.active.very-weak { background: #ef4444; }
.strength-bar.active.weak { background: #f97316; }
.strength-bar.active.medium { background: #eab308; }
.strength-bar.active.strong { background: #22c55e; }
.strength-bar.active.very-strong { background: #06b6d4; }

.strength-text {
    font-size: 11px; font-weight: 600;
    margin-top: 4px; display: block;
}
.strength-text.very-weak { color: #ef4444; }
.strength-text.weak { color: #f97316; }
.strength-text.medium { color: #eab308; }
.strength-text.strong { color: #22c55e; }
.strength-text.very-strong { color: #06b6d4; }

.password-match {
    font-size: 11px; margin-top: 6px;
    display: flex; align-items: center; gap: 4px;
}
.password-match.match { color: var(--auth-success); }
.password-match.no-match { color: var(--auth-danger); }


/* =====================================================
   11. FORM CHECK (Checkbox)
   ===================================================== */
.form-check {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer;
}
.form-check-input {
    width: 18px; height: 18px; border-radius: 5px;
    border: 1.5px solid var(--auth-border-hover);
    background: var(--auth-white);
    appearance: none; -webkit-appearance: none;
    cursor: pointer; position: relative;
    transition: all .2s ease;
}
.form-check-input:checked {
    background: var(--auth-accent);
    border-color: var(--auth-accent);
}
.form-check-input:checked::after {
    content: '✓'; position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px; font-weight: 700;
    color: #fff;
}
.form-check-label {
    font-size: 13px; color: var(--auth-text-secondary);
}
.form-check-label a {
    color: var(--auth-accent);
    text-decoration: none; font-weight: 600;
    transition: color var(--auth-transition);
}
.form-check-label a:hover { color: var(--auth-accent-hover); }


/* =====================================================
   12. SUBMIT BUTTON
   ===================================================== */
.btn-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 14px 24px;
    font-size: 15px; font-weight: 700;
    border: none; border-radius: var(--auth-radius-md);
    font-family: inherit; cursor: pointer;
    color: #fff; background: var(--auth-accent);
    box-shadow: 0 1px 3px rgba(99,102,241,.2), 0 4px 12px rgba(99,102,241,.15);
    transition: all .2s ease;
    position: relative; overflow: hidden;
    margin-top: 8px;
    text-decoration: none;
}
.btn-submit:hover {
    background: var(--auth-accent-hover);
    box-shadow: 0 2px 6px rgba(99,102,241,.25), 0 8px 20px rgba(99,102,241,.2);
    transform: translateY(-1px);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
    opacity: .4; cursor: not-allowed;
    box-shadow: none; transform: none;
}
.btn-submit:disabled:hover {
    transform: none; box-shadow: none;
    background: var(--auth-accent);
}
.btn-submit.ready { opacity: 1; }
.btn-submit.loading { opacity: .7; pointer-events: none; }

/* Secondary / danger variants */
.btn-submit.btn-secondary {
    background: var(--auth-white);
    color: var(--auth-text-secondary);
    box-shadow: var(--auth-shadow-sm);
    border: 1px solid var(--auth-border);
}
.btn-submit.btn-secondary:hover {
    background: #f9fafb;
    border-color: var(--auth-border-hover);
    box-shadow: var(--auth-shadow-md);
    color: var(--auth-text);
}
.btn-submit.btn-danger {
    background: var(--auth-danger-light);
    color: var(--auth-danger);
    box-shadow: none;
    border: 1px solid var(--auth-danger-border);
}
.btn-submit.btn-danger:hover {
    background: rgba(220,38,38,.1);
}

/* Forgot link & register link */
.forgot-link {
    font-size: 13px; font-weight: 600;
    color: var(--auth-accent);
    text-decoration: none;
    transition: color var(--auth-transition);
}
.forgot-link:hover { color: var(--auth-accent-hover); }

.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--auth-text-secondary);
}
.register-link a {
    color: var(--auth-accent);
    text-decoration: none; font-weight: 600;
    transition: color var(--auth-transition);
}
.register-link a:hover { color: var(--auth-accent-hover); }


/* =====================================================
   13. PACKAGE GRID
   ===================================================== */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.package-option {
    padding: 20px;
    border-radius: var(--auth-radius-lg);
    background: var(--auth-white);
    border: 1.5px solid var(--auth-border);
    cursor: pointer;
    transition: all .2s ease;
    position: relative; overflow: hidden;
}
.package-option:hover {
    border-color: var(--auth-border-hover);
    background: var(--auth-bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--auth-shadow-md);
}
.package-option.selected {
    border-color: var(--auth-accent);
    background: rgba(99,102,241,.03);
    box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.package-option.selected::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--auth-accent);
}
.package-option.popular { border-color: rgba(99,102,241,.3); }

.package-selected-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 10px; border-radius: 100px;
    background: var(--auth-accent-dim);
    color: var(--auth-accent);
    font-size: 10px; font-weight: 700;
    opacity: 0; transform: scale(.8);
    transition: all .2s ease;
}
.package-option.selected .package-selected-badge {
    opacity: 1; transform: scale(1);
}
.package-name {
    font-size: 15px; font-weight: 700;
    color: var(--auth-text); margin-bottom: 6px;
    position: relative; z-index: 1;
}
.package-price {
    font-size: 22px; font-weight: 800;
    color: var(--auth-text);
    letter-spacing: -.02em;
    position: relative; z-index: 1;
}
.package-price span {
    font-size: 12px; font-weight: 500;
    color: var(--auth-text-muted);
}
.package-monthly-eq {
    font-size: 11px; color: var(--auth-success);
    font-weight: 600; margin-top: 2px;
    position: relative; z-index: 1;
}
.package-desc {
    font-size: 12px; color: var(--auth-text-muted);
    margin-top: 8px; line-height: 1.5;
    position: relative; z-index: 1;
}


/* =====================================================
   14. AUTH STEPS
   ===================================================== */
.auth-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 32px;
}
.auth-step {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.auth-step-number {
    width: 32px; height: 32px; border-radius: 50%;
    background: #f3f4f6;
    border: 1.5px solid var(--auth-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    color: var(--auth-text-dim);
    transition: all .3s ease;
}
.auth-step.active .auth-step-number {
    background: var(--auth-accent-light);
    border-color: var(--auth-accent);
    color: var(--auth-accent);
}
.auth-step.completed .auth-step-number {
    background: var(--auth-success-light);
    border-color: var(--auth-success);
    color: var(--auth-success);
}
.auth-step span {
    font-size: 10px; font-weight: 600;
    color: var(--auth-text-dim);
    text-transform: uppercase; letter-spacing: .05em;
}
.auth-step.active span { color: var(--auth-accent); }
.auth-step.completed span { color: var(--auth-success); }

.auth-step-line {
    width: 40px; height: 1.5px;
    background: var(--auth-border);
    margin: 0 8px; margin-bottom: 18px;
    transition: background .3s;
}
.auth-step-line.completed {
    background: var(--auth-success);
}


/* =====================================================
   15. VERIFICATION CODE
   ===================================================== */
.verification-email-box {
    display: flex; align-items: center; gap: 14px;
    padding: 16px; border-radius: var(--auth-radius-md);
    background: var(--auth-accent-light);
    border: 1px solid var(--auth-accent-border);
}
.verification-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--auth-accent-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--auth-accent);
    flex-shrink: 0;
}
.verification-email {
    font-size: 14px; font-weight: 700; color: var(--auth-text);
}
.verification-hint {
    font-size: 12px; color: var(--auth-text-muted); margin-top: 1px;
}

.verification-code-container {
    position: relative;
}
.verification-code-input {
    width: 100%; padding: 18px;
    text-align: center; font-size: 28px;
    font-weight: 700; letter-spacing: 1.5em;
    font-family: 'SF Mono', 'Fira Code', monospace;
    background: var(--auth-white);
    border: 1.5px solid var(--auth-border);
    border-radius: var(--auth-radius-md);
    color: var(--auth-text);
    outline: none;
    transition: all .2s ease;
}
.verification-code-input:focus {
    border-color: var(--auth-border-focus);
    box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}

.code-boxes {
    position: absolute; inset: 0;
    display: flex; justify-content: center; align-items: center;
    gap: 12px; pointer-events: none;
    display: none;
}
.code-box {
    width: 36px; height: 36px;
    border: 1.5px dashed var(--auth-border);
    border-radius: 8px;
}

.verification-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 20px;
}
.verification-action-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--auth-radius-sm);
    font-size: 12px; font-weight: 600;
    color: var(--auth-accent);
    background: var(--auth-accent-light);
    border: 1px solid var(--auth-accent-border);
    cursor: pointer; font-family: inherit;
    text-decoration: none;
    transition: all .2s ease;
}
.verification-action-btn:hover {
    background: rgba(99,102,241,.1);
}
.verification-action-btn.secondary {
    color: var(--auth-text-muted);
    background: #f9fafb;
    border-color: var(--auth-border);
}
.verification-action-btn.secondary:hover {
    background: #f3f4f6;
    color: var(--auth-text-secondary);
}
.verification-divider {
    width: 1px; height: 20px;
    background: var(--auth-border);
}

.spam-notice {
    display: flex; align-items: center; gap: 8px;
    margin-top: 16px; padding: 12px 16px;
    border-radius: var(--auth-radius-sm);
    background: var(--auth-warning-light);
    border: 1px solid var(--auth-warning-border);
    font-size: 12px; color: var(--auth-warning);
}
.spam-notice strong { color: var(--auth-warning); }

.resend-form { display: inline; }


/* =====================================================
   16. SLIDER — Package Detail
   ===================================================== */
.package-slider {
    position: fixed; top: 0; right: -400px; bottom: 0;
    width: 380px; z-index: 1000;
    background: var(--auth-white);
    border-left: 1px solid var(--auth-border);
    box-shadow: -8px 0 30px rgba(0,0,0,.08);
    display: flex; flex-direction: column;
    transition: right .35s ease;
    overflow: hidden;
}
.package-slider.active { right: 0; }

.slider-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--auth-border);
}
.slider-header h3 { font-size: 16px; font-weight: 700; color: var(--auth-text); }
.slider-close {
    width: 32px; height: 32px; border-radius: 8px;
    background: #f3f4f6; border: 1px solid var(--auth-border);
    color: var(--auth-text-muted);
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--auth-transition);
}
.slider-close:hover {
    background: #e5e7eb;
    color: var(--auth-text);
}

.slider-body {
    flex: 1; overflow-y: auto; padding: 24px;
}
.slider-price {
    text-align: center; padding-bottom: 20px;
    border-bottom: 1px solid var(--auth-border);
    margin-bottom: 20px;
}
.slider-price .price-amount {
    font-size: 36px; font-weight: 800;
    letter-spacing: -.02em; color: var(--auth-text);
}
.slider-price .price-period {
    font-size: 13px; color: var(--auth-text-muted);
}
.slider-price .price-monthly-eq {
    font-size: 12px; color: var(--auth-success);
    font-weight: 600; margin-top: 4px;
}

.slider-section { margin-bottom: 16px; }
.slider-section-title {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--auth-text-muted); margin-bottom: 10px;
}
.slider-features {
    list-style: none;
}
.slider-features li {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0; font-size: 13px;
    color: var(--auth-text-secondary);
}
.slider-features li i { font-size: 15px; color: var(--auth-accent); }
.slider-features li.disabled { opacity: .4; }
.slider-features li.disabled i { color: var(--auth-danger); }
.slider-features li .core-badge {
    padding: 1px 6px; border-radius: 4px;
    background: var(--auth-accent-dim);
    font-size: 9px; font-weight: 700;
    color: var(--auth-accent);
    text-transform: uppercase; letter-spacing: .05em;
}

.slider-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--auth-border);
    text-align: center;
}
.slider-footer-info {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--auth-success);
    font-size: 13px; font-weight: 600;
    margin-bottom: 4px;
}
.slider-footer p {
    font-size: 11px; color: var(--auth-text-dim);
}


/* =====================================================
   17. MODALS
   ===================================================== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all .3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--auth-white);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-xl);
    width: 540px; max-width: 90vw; max-height: 80vh;
    overflow: hidden;
    transform: scale(.96) translateY(10px);
    transition: transform .3s ease;
    box-shadow: var(--auth-shadow-xl);
}
.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--auth-border);
}
.modal-header h3 { font-size: 16px; font-weight: 700; color: var(--auth-text); }
.modal-close {
    width: 32px; height: 32px; border-radius: 8px;
    background: #f3f4f6; border: 1px solid var(--auth-border);
    color: var(--auth-text-muted);
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--auth-transition);
}
.modal-close:hover { background: #e5e7eb; color: var(--auth-text); }
.modal-body {
    padding: 24px; overflow-y: auto; max-height: 60vh;
}
.modal-body h4 {
    font-size: 14px; font-weight: 700; color: var(--auth-text);
    margin-top: 20px; margin-bottom: 8px;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p {
    font-size: 13px; color: var(--auth-text-secondary);
    line-height: 1.7;
}


/* =====================================================
   18. LOGGED-IN CARD
   ===================================================== */
.auth-logged-in-card {
    max-width: 480px;
}
.auth-action-buttons {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 20px;
}


/* =====================================================
   19. SUCCESS SCREEN
   ===================================================== */
.auth-success-screen { text-align: center; max-width: 420px; margin: 0 auto; }
.auth-success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--auth-success-light);
    border: 2px solid var(--auth-success-border);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.auth-success-icon i { font-size: 28px; color: var(--auth-success); }


/* =====================================================
   20. TRIAL NOTE
   ===================================================== */
.trial-note {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--auth-radius-sm);
    background: var(--auth-accent-light);
    border: 1px solid var(--auth-accent-border);
    font-size: 12px; color: var(--auth-accent);
}
.trial-note strong { color: var(--auth-accent-hover); }


/* =====================================================
   21. USERNAME STATUS
   ===================================================== */
.form-status {
    font-size: 12px; margin-top: 6px;
    font-weight: 500;
}
.form-status.success { color: var(--auth-success); }
.form-status.error { color: var(--auth-danger); }
.form-status.loading { color: var(--auth-text-muted); }

/* Protected username badge */
.protected-username-badge {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    margin-top: 10px;
    border-radius: var(--auth-radius-md);
    background: var(--auth-warning-light);
    border: 1px solid var(--auth-warning-border);
}
.protected-badge-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(217,119,6,.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.protected-badge-icon i { font-size: 16px; color: var(--auth-warning); }
.protected-badge-title {
    font-size: 13px; font-weight: 700;
    color: var(--auth-warning);
}
.protected-badge-text {
    font-size: 11px; color: var(--auth-text-secondary);
    margin-top: 2px; line-height: 1.4;
}
.protected-badge-btn {
    display: flex; align-items: center; gap: 4px;
    padding: 6px 12px; border-radius: 8px;
    background: rgba(217,119,6,.08);
    color: var(--auth-warning);
    font-size: 11px; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    margin-left: auto;
    transition: all var(--auth-transition);
}
.protected-badge-btn:hover { background: rgba(217,119,6,.12); }


/* =====================================================
   22. SPIN ANIMATION
   ===================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; display: inline-block; }

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.shake { animation: shake .5s ease; }


/* =====================================================
   23. MOBILE HEADER
   ===================================================== */
.auth-mobile-header {
    display: none;
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 20px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--auth-border);
}
.auth-mobile-header a { display: flex; }
.auth-mobile-header img { height: 22px; }


/* =====================================================
   24. RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .brand-panel { display: none; }
    .form-panel {
        margin-left: 0 !important;
        padding: 80px 32px 40px;
        max-width: 560px !important;
        margin: 0 auto;
    }
    .login-page .form-panel {
        margin: 0 auto;
        padding-left: 32px;
    }
    .auth-mobile-header { display: flex; }
}

@media (max-width: 640px) {
    .form-panel { padding: 80px 20px 32px; }
    .form-row { grid-template-columns: 1fr; }
    .package-grid { grid-template-columns: 1fr; }
    .package-slider { width: 100%; right: -100%; }
    .verification-actions { flex-direction: column; }
    .verification-divider { display: none; }
    .brand-stats { gap: 20px; }
}


/* =====================================================
   25. REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .auth-aurora-blob { animation: none; }
    .brand-shimmer {
        -webkit-text-fill-color: #c7d2fe;
        background: none;
    }
}
