:root {
    --bg-page: #080a10;
    --surface: #0f1322;
    --primary: #818cf8;
    --primary-600: #6366f1;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.auth-shell {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, #0d1224 0%, #070913 100%);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Ambient neon background glows */
.auth-shell::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.auth-shell::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.auth-shell-inner {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
}

@media (max-height: 760px) {
    .auth-shell-inner {
        justify-content: flex-start;
    }
}

.auth-container {
    max-width: 28rem;
}

.auth-logo {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
}

.auth-card {
    background: rgba(15, 19, 34, 0.65) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.auth-brand {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

.auth-title {
    color: #ffffff !important;
    font-size: clamp(1.55rem, 2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: .95rem;
}

.auth-link {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.auth-shell .form-control {
    min-height: 3.1rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    padding: 0.85rem 1rem;
    box-shadow: none;
}

.auth-shell .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.auth-shell .form-check-input {
    border-radius: 0.4rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.auth-shell .form-check-input:checked {
    background-color: var(--primary-600);
    border-color: var(--primary);
}

.auth-shell label {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.auth-shell .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%) !important;
    border: 0 !important;
    min-height: 3.1rem;
    border-radius: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transition: all 0.2s ease;
}

.auth-shell .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
    filter: brightness(1.08);
}
