/* ===== AURORA AUTH — UNIFIED AUTH DESIGN SYSTEM ===== */
/* Single source of truth for all auth pages */

:root {
    --aurora-1: #00f5d4;
    --aurora-2: #7b2ff7;
    --aurora-3: #f72585;
    --aurora-4: #4cc9f0;
    --aurora-card-bg: rgba(255,255,255,0.03);
    --aurora-border: rgba(255,255,255,0.07);
    --aurora-text-muted: rgba(255,255,255,0.45);
    --aurora-text-dim: rgba(255,255,255,0.25);
    --aurora-text-label: rgba(255,255,255,0.6);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body.aurora-auth {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: #050510;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== NEBULA BACKGROUND ===== */
.nebula-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, #0d0b2e 0%, #050510 60%);
}

.nebula-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(ellipse 600px 400px at 25% 30%, rgba(123, 47, 247, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 75% 60%, rgba(0, 245, 212, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 50% 80%, rgba(247, 37, 133, 0.08) 0%, transparent 70%);
    animation: nebulaDrift 25s ease-in-out infinite alternate;
}

@keyframes nebulaDrift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-3%, 2%) rotate(3deg); }
}

/* ===== AURORA STREAMS ===== */
.aurora-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.aurora-stream {
    position: absolute;
    width: 150%;
    height: 2px;
    left: -25%;
    opacity: 0;
    filter: blur(1px);
    animation: auroraFlow 8s ease-in-out infinite;
}

.aurora-stream::before {
    content: '';
    position: absolute;
    inset: -40px 0;
    background: inherit;
    filter: blur(40px);
    opacity: 0.6;
}

.aurora-stream:nth-child(1) {
    top: 15%;
    background: linear-gradient(90deg, transparent, var(--aurora-1), var(--aurora-2), transparent);
    animation-delay: 0s;
    animation-duration: 7s;
}
.aurora-stream:nth-child(2) {
    top: 35%;
    background: linear-gradient(90deg, transparent, var(--aurora-3), var(--aurora-4), transparent);
    animation-delay: -2s;
    animation-duration: 9s;
}
.aurora-stream:nth-child(3) {
    top: 60%;
    background: linear-gradient(90deg, transparent, var(--aurora-2), var(--aurora-1), transparent);
    animation-delay: -4s;
    animation-duration: 11s;
}
.aurora-stream:nth-child(4) {
    top: 82%;
    background: linear-gradient(90deg, transparent, var(--aurora-4), var(--aurora-3), transparent);
    animation-delay: -6s;
    animation-duration: 8s;
}

@keyframes auroraFlow {
    0% { transform: translateX(-60%) scaleY(0.5); opacity: 0; }
    20% { opacity: 0.8; }
    50% { transform: translateX(10%) scaleY(1.5); opacity: 1; }
    80% { opacity: 0.8; }
    100% { transform: translateX(60%) scaleY(0.5); opacity: 0; }
}

/* ===== STARS ===== */
.stars { position: absolute; inset: 0; }

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.4); }
}

/* ===== FLOATING CRYSTALS ===== */
.crystal-field { position: absolute; inset: 0; pointer-events: none; }

.crystal {
    position: absolute;
    width: var(--size, 40px);
    height: var(--size, 40px);
    opacity: 0.12;
    animation: crystalFloat var(--dur, 12s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.crystal::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--color, rgba(255,255,255,0.3));
    transform: rotate(45deg);
    border-radius: 4px;
}

.crystal::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid var(--color, rgba(255,255,255,0.15));
    transform: rotate(45deg);
    border-radius: 2px;
}

@keyframes crystalFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(15deg); }
    50% { transform: translateY(-10px) rotate(-10deg); }
    75% { transform: translateY(-25px) rotate(8deg); }
}

/* ===== GRID OVERLAY ===== */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

/* ===== ANIMATED OWL ===== */
.owl-scene {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
    pointer-events: none;
}

.owl-tree {
    position: relative;
    width: 120px;
    height: 160px;
}

.owl-tree .trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 80px;
    background: linear-gradient(180deg, #2d1b4e, #1a0f2e);
    border-radius: 4px;
}

.owl-tree .branch {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2d1b4e, transparent);
    border-radius: 2px;
}

.owl-tree .branch::before {
    content: '';
    position: absolute;
    right: 12px;
    top: -30px;
    width: 3px;
    height: 32px;
    background: #2d1b4e;
    border-radius: 2px;
    transform: rotate(-15deg);
}

.owl-tree .branch::after {
    content: '';
    position: absolute;
    left: 10px;
    top: -25px;
    width: 3px;
    height: 28px;
    background: #2d1b4e;
    border-radius: 2px;
    transform: rotate(12deg);
}

.leaf {
    position: absolute;
    width: 12px;
    height: 8px;
    background: var(--aurora-1);
    border-radius: 0 50% 50% 0;
    opacity: 0.3;
    animation: leafSway var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transform-origin: bottom left;
}
.leaf:nth-child(1) { top: -32px; left: 52px; --dur: 3.2s; --delay: 0s; transform: rotate(-20deg); }
.leaf:nth-child(2) { top: -28px; right: 16px; --dur: 2.8s; --delay: 0.5s; transform: rotate(15deg) scaleX(-1); }
.leaf:nth-child(3) { top: -26px; left: 28px; --dur: 3.5s; --delay: 1s; transform: rotate(-30deg); }
.leaf:nth-child(4) { top: -30px; right: 30px; --dur: 2.6s; --delay: 0.3s; transform: rotate(25deg) scaleX(-1); }

@keyframes leafSway {
    0%, 100% { transform: rotate(var(--r, -20deg)); }
    50% { transform: rotate(calc(var(--r, -20deg) + 12deg)); }
}

.owl-body {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 36px;
    background: radial-gradient(ellipse at 50% 40%, #4a3578, #2d1b4e);
    border-radius: 50% 50% 45% 45%;
    animation: owlBreathe 3s ease-in-out infinite;
}

.owl-head {
    position: absolute;
    bottom: 92px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 30px;
    background: radial-gradient(ellipse at 50% 60%, #5a4388, #3d2660);
    border-radius: 50% 50% 40% 40%;
    z-index: 1;
}

.owl-head::before, .owl-head::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 8px;
    height: 10px;
    background: #5a4388;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.owl-head::before { left: 4px; transform: rotate(-15deg); }
.owl-head::after { right: 4px; transform: rotate(15deg); }

.owl-eyes {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 2;
}

.owl-eye {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 50% 50%, var(--aurora-1), #00c4a7);
    border-radius: 50%;
    position: relative;
    animation: owlBlink 4s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0, 245, 212, 0.5);
}

.owl-eye::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 5px;
    height: 5px;
    background: #0a0a0f;
    border-radius: 50%;
    animation: owlLook 6s ease-in-out infinite;
}

.owl-eye:nth-child(2)::after { animation-delay: 0.1s; }

.owl-beak {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 5px;
    background: var(--aurora-3);
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    z-index: 3;
}

.owl-wing {
    position: absolute;
    bottom: 68px;
    width: 14px;
    height: 24px;
    background: #3d2660;
    border-radius: 50% 0 50% 50%;
    transform-origin: top center;
}

.owl-wing.left {
    left: 2px;
    animation: wingFlutter 3s ease-in-out infinite;
}

.owl-wing.right {
    right: 2px;
    border-radius: 0 50% 50% 50%;
    animation: wingFlutter 3s ease-in-out infinite 0.5s;
}

@keyframes owlBreathe {
    0%, 100% { transform: translateX(-50%) scaleY(1); }
    50% { transform: translateX(-50%) scaleY(1.03); }
}

@keyframes owlBlink {
    0%, 42%, 46%, 100% { transform: scaleY(1); }
    44% { transform: scaleY(0.1); }
}

@keyframes owlLook {
    0%, 30% { transform: translate(0, 0); }
    35%, 50% { transform: translate(1px, -1px); }
    55%, 70% { transform: translate(-1px, 0); }
    75%, 100% { transform: translate(0, 0); }
}

@keyframes wingFlutter {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* ===== FIREFLIES ===== */
.fireflies {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.firefly {
    position: absolute;
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--color, #00f5d4);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color, #00f5d4), 0 0 12px var(--color, #00f5d4);
    animation: fireflyFloat var(--dur, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0;
}

@keyframes fireflyFloat {
    0% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 0.8; }
    25% { transform: translate(var(--tx1, 30px), var(--ty1, -40px)); }
    50% { opacity: 1; transform: translate(var(--tx2, -20px), var(--ty2, -60px)); }
    75% { opacity: 0.6; transform: translate(var(--tx3, 10px), var(--ty3, -30px)); }
    90% { opacity: 0.8; }
    100% { opacity: 0; transform: translate(0, 0); }
}

/* ===== AUTH WRAPPER ===== */
.aurora-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* ===== CARD STYLES ===== */
.aurora-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--aurora-card-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    padding: 48px 44px;
    position: relative;
    z-index: 2;
    animation: cardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    overflow: hidden;
}

.aurora-auth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,245,212,0.2), rgba(123,47,247,0.2), rgba(247,37,133,0.15), rgba(76,201,240,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes borderGlow {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== LOGO ===== */
.aurora-logo { text-align: center; margin-bottom: 28px; }

.aurora-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aurora-logo:hover img { transform: scale(1.05) translateY(-2px); }

/* ===== FORM ICON ===== */
.aurora-form-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,245,212,0.15), rgba(123,47,247,0.15));
    border: 1px solid rgba(255,255,255,0.08);
}

.aurora-form-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,245,212,0.1), transparent);
    border-radius: inherit;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.aurora-form-icon i {
    font-size: 26px;
    color: var(--aurora-1);
    position: relative;
    z-index: 1;
}

/* ===== TEXT ===== */
.aurora-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.aurora-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--aurora-text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== INPUT GROUP ===== */
.aurora-input-group { margin-bottom: 18px; position: relative; }

.aurora-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--aurora-text-label);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aurora-input-wrap { position: relative; }

.aurora-input-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.aurora-input-wrap:focus-within::before {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
    opacity: 1;
    animation: inputBorderFlow 3s linear infinite;
}

@keyframes inputBorderFlow {
    0% { background: linear-gradient(0deg, var(--aurora-1), var(--aurora-2), var(--aurora-3)); }
    33% { background: linear-gradient(120deg, var(--aurora-2), var(--aurora-3), var(--aurora-1)); }
    66% { background: linear-gradient(240deg, var(--aurora-3), var(--aurora-1), var(--aurora-2)); }
    100% { background: linear-gradient(360deg, var(--aurora-1), var(--aurora-2), var(--aurora-3)); }
}

.aurora-input-wrap:focus-within::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10%;
    right: 10%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
    filter: blur(6px);
    opacity: 0.5;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; filter: blur(6px); }
    50% { opacity: 0.6; filter: blur(8px); }
}

.aurora-input-wrap i.field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--aurora-text-dim);
    transition: color 0.3s;
    pointer-events: none;
    z-index: 3;
}

.aurora-input-wrap input:focus ~ i.field-icon,
.aurora-input-wrap input:focus + i.field-icon { color: var(--aurora-1); }

.aurora-form-control {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 46px;
    border-radius: 14px;
    border: 1.5px solid var(--aurora-border);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.35s ease;
}

.aurora-form-control::placeholder { color: var(--aurora-text-dim); }

.aurora-form-control:focus {
    border-color: transparent;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 20px rgba(0,245,212,0.08), 0 0 40px rgba(123,47,247,0.05);
}

.aurora-form-control.is-invalid {
    border-color: rgba(239,68,68,0.5);
}

.aurora-toggle-pw {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: var(--aurora-text-dim);
    transition: color 0.3s;
    z-index: 3;
    background: none;
    border: none;
    padding: 0;
}

.aurora-toggle-pw:hover { color: var(--aurora-1); }

/* ===== OTP INPUT ===== */
.aurora-otp-input {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 2px solid var(--aurora-border);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 12px;
    font-family: inherit;
    outline: none;
    transition: all 0.35s ease;
}

.aurora-otp-input::placeholder { color: var(--aurora-text-dim); letter-spacing: 6px; font-size: 16px; }

.aurora-otp-input:focus {
    border-color: transparent;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 20px rgba(0,245,212,0.08), 0 0 40px rgba(123,47,247,0.05);
}

/* ===== PRIMARY BUTTON (LOGIN) — Interactive Glow Button ===== */
.aurora-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--aurora-2), var(--btn, #6366f1));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 24px rgba(123,47,247,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.aurora-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2), var(--aurora-3), var(--aurora-4));
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s;
    animation: auroraBtn 4s ease-in-out infinite;
}

@keyframes auroraBtn {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.aurora-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,245,212,0.25), 0 8px 24px rgba(123,47,247,0.2);
}

.aurora-btn:hover::before { opacity: 1; }

.aurora-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 16px rgba(123,47,247,0.3);
}

.aurora-btn:focus-visible {
    outline: 2px solid var(--aurora-1);
    outline-offset: 2px;
}

.aurora-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.aurora-btn span,
.aurora-btn i { position: relative; z-index: 1; }

/* Button loading state */
.aurora-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.aurora-btn.loading span { opacity: 0; }

.aurora-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
    z-index: 2;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ===== ALERTS ===== */
.aurora-alert {
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    padding: 12px 16px;
}

.aurora-alert-danger {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.18);
    color: #fca5a5;
}

.aurora-alert-success {
    background: rgba(0,245,212,0.1);
    border: 1px solid rgba(0,245,212,0.18);
    color: #a7f3d0;
}

/* ===== TIMER / EMAIL BADGES ===== */
.aurora-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(0,245,212,0.08);
    border: 1px solid rgba(0,245,212,0.15);
    color: var(--aurora-1);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 28px;
}

.aurora-badge i { font-size: 14px; }

/* ===== LINKS ===== */
.aurora-link { text-align: center; margin-top: 24px; }
.aurora-link a {
    color: var(--aurora-1);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.aurora-link a:hover { color: var(--aurora-4); }

.aurora-resend { text-align: center; margin-top: 22px; font-size: 14px; color: var(--aurora-text-muted); }
.aurora-resend a { color: var(--aurora-1); font-weight: 600; text-decoration: none; cursor: pointer; }
.aurora-resend a:hover { color: var(--aurora-4); }

.aurora-footer-text { text-align: center; margin-top: 16px; font-size: 12px; color: var(--aurora-text-dim); }

/* ===== AUTH OPTIONS (Remember Me / Forgot) ===== */
.aurora-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.aurora-auth-options label {
    font-size: 13px;
    color: var(--aurora-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.aurora-auth-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--aurora-2);
    cursor: pointer;
}

.aurora-auth-options a {
    font-size: 13px;
    color: var(--aurora-1);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.aurora-auth-options a:hover { color: var(--aurora-4); text-decoration: underline; }

/* ===== DIVIDER ===== */
.aurora-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.aurora-divider::before, .aurora-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.aurora-divider span {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== SOCIAL BUTTONS ===== */
.aurora-social-login { display: flex; flex-direction: column; gap: 10px; }

.aurora-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 48px;
    border-radius: 14px;
    border: 1.5px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.025);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.aurora-social-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0,245,212,0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.aurora-social-btn img { width: 20px; height: 20px; }

/* ===== SWITCH (Login/Register Toggle) ===== */
.aurora-switch {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--aurora-text-muted);
}

.aurora-switch a {
    color: var(--aurora-1);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.aurora-switch a:hover { color: var(--aurora-4); }

/* ===== TERMS ===== */
.aurora-terms {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.aurora-terms a {
    color: var(--aurora-2);
    font-weight: 600;
    text-decoration: none;
}

.aurora-terms a:hover { text-decoration: underline; }

/* ===== PASSWORD STRENGTH ===== */
.aurora-strength-meter {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    margin: 10px 0 8px;
    overflow: hidden;
}

.aurora-strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: all 0.4s;
}

.aurora-strength-text {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ===== PASSWORD RULES ===== */
.aurora-password-rules {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.aurora-password-rules li {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    padding: 3px 0;
    transition: color 0.3s;
}

.aurora-password-rules li.valid { color: #4ade80; }
.aurora-password-rules li.invalid { color: #f87171; }

/* ===== PASSWORD REQUIREMENTS BOX ===== */
.aurora-requirements {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.aurora-requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s;
}

.aurora-requirement .req-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.aurora-requirement.met { color: #4ade80; }
.aurora-requirement.met .req-icon { border-color: #4ade80; background: #4ade80; color: #000; }

.aurora-requirements-divider {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    font-weight: 600;
}

/* ===== FORM FLIP ANIMATION ===== */
.aurora-auth-card .form-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.aurora-auth-card .form-card.flipping-out {
    opacity: 0;
    transform: rotateY(8deg) scale(0.96);
}

.aurora-auth-card .form-card.flipping-in {
    animation: flipIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flipIn {
    0% { opacity: 0; transform: rotateY(-8deg) scale(0.96); }
    100% { opacity: 1; transform: rotateY(0) scale(1); }
}

/* ===== HIDDEN UTILITY ===== */
.aurora-hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .aurora-auth-card { padding: 36px 24px; border-radius: 24px; }
    .aurora-auth-card::before { border-radius: 24px; }
    .owl-scene { display: none; }
    .aurora-title { font-size: 20px; }
    .aurora-form-icon { width: 52px; height: 52px; border-radius: 14px; }
    .aurora-form-icon i { font-size: 22px; }
}

@media (max-width: 360px) {
    .aurora-auth-card { padding: 28px 18px; }
    .aurora-form-control { height: 46px; font-size: 13px; }
    .aurora-btn { height: 48px; font-size: 14px; }
}

/* ===== FORM EXIT ANIMATION ===== */
@keyframes formExit {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(30px) scale(0.95); }
}
