/* ============================================================================
   LOGIN PAGE STYLES - Jovan AI Tutor (Zenith v3.0 — Indigo Cosmos Theme)
   ============================================================================ */

/* === Login-Specific Variables === */
:root {
    --login-accent: #6C63FF;
    --login-accent-dark: #5A52D5;
    --login-bg: hsl(220, 30%, 98%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(108, 99, 255, 0.12);
    --glass-blur: 24px;
    --premium-gradient: linear-gradient(135deg, #6C63FF 0%, #5A52D5 100%);
    --shadow-premium: 0 25px 50px -12px rgba(108, 99, 255, 0.08);
}

/* === Zenith Background === */
.cosmos-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, hsl(220, 30%, 98%), hsl(230, 25%, 95%));
    z-index: -1;
    overflow: hidden;
}

/* Dot-grid texture overlay */
.cosmos-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(108, 99, 255, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Floating Shapes Animation */
.nebula {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: nebulaFloat 40s infinite alternate ease-in-out;
    pointer-events: none;
    background: hsla(242, 80%, 85%, 0.3);
}

.nebula.pink {
    background: hsla(280, 70%, 80%, 0.2);
    animation-delay: -10s;
    right: -10%;
    top: -20%;
}

.nebula.yellow {
    background: hsla(200, 80%, 80%, 0.2);
    animation-delay: -20s;
    left: 20%;
    bottom: -20%;
}

.nebula.blue {
    top: -20%;
    left: -10%;
    background: hsla(242, 100%, 85%, 0.2);
}

/* Corner Glows */
.corner-glow-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.corner-glow-br {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(90, 82, 213, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Feature pill icons */
.fp-icon-bolt {
    background: rgba(108, 99, 255, 0.1);
    color: #6C63FF;
}

.fp-icon-book {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.fp-icon-lang {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Base resets */
.mb-0 {
    margin-bottom: 0;
}

/* Enhanced Sentient Motion */
@keyframes nebulaFloat {
    0% { transform: translate(-20%, -20%) scale(1) rotate(0deg); }
    50% { transform: translate(10%, 5%) scale(1.1) rotate(15deg); }
    100% { transform: translate(-5%, 15%) scale(0.9) rotate(-10deg); }
}

.low-perf-mode .nebula {
    animation: none;
    opacity: 0.08;
    filter: blur(80px);
}

.cosmos-star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
}

.low-perf-mode .cosmos-star {
    opacity: 0.3;
}

/* === Login Body Override === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

body {
    background: var(--login-bg);
    color: var(--text-primary, hsl(222, 47%, 11%));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}

/* === Login Wrapper Layout === */
.login-wrapper {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* === Info Section === */
.info-section {
    min-width: 0;
    overflow: hidden;
}

/* === Logo Area === */
.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-area>div:first-child {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

/* === Auth Section === */
.auth-section {
    min-width: 0;
}

@media (max-width: 900px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-section {
        order: 2;
        text-align: center;
    }

    .auth-section {
        order: 1;
    }

    .brand-row {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .feature-pills {
        display: none;
    }

    .glass-panel {
        padding: 28px 20px;
        border-radius: 24px;
    }
}

/* ============================================================
   PREMIUM INFO SECTION COMPONENTS
   ============================================================ */

/* Brand Row */
.brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-wrap {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brand-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 2rem;
    font-weight: 900;
    color: hsl(222, 47%, 11%);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6C63FF;
}

/* Headline Block */
.headline-block {
    margin-bottom: 36px;
}

.headline-text {
    font-size: 3rem;
    font-weight: 900;
    color: hsl(222, 47%, 11%);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.headline-accent {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline-sub {
    font-size: 0.95rem;
    color: hsl(215, 16%, 47%);
    line-height: 1.7;
    max-width: 430px;
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.stats-row .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(215, 16%, 47%);
}

.stat-divider {
    width: 2px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* Feature Pills */
.feature-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(108, 99, 255, 0.08);
    border-left: 4px solid #6C63FF;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.feature-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(108, 99, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.feature-pill:nth-child(2) {
    border-left-color: #a855f7;
}

.feature-pill:nth-child(2)::after {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

.feature-pill:nth-child(3) {
    border-left-color: #10b981;
}

.feature-pill:nth-child(3)::after {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
}

.feature-pill:hover {
    background: #ffffff;
    border-color: #6C63FF;
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-pill:nth-child(2):hover {
    border-color: #a855f7;
}

.feature-pill:nth-child(3):hover {
    border-color: #10b981;
}

.fp-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.fp-title {
    font-size: 13px;
    font-weight: 800;
    color: hsl(222, 47%, 11%);
    margin-bottom: 2px;
}

.fp-desc {
    font-size: 10px;
    color: hsl(215, 16%, 47%);
    font-weight: 600;
}

/* ============================================================
   PREMIUM AUTH PANEL COMPONENTS
   ============================================================ */

/* Accent gradient bar at top of panel */
.panel-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--premium-gradient);
    border-radius: 32px 32px 0 0;
}

/* Input label */
.input-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: hsl(215, 16%, 47%);
    margin-bottom: 8px;
}

/* Input wrapper */
.input-wrap {
    position: relative;
}

.input-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(215, 16%, 47%);
    font-size: 12px;
    pointer-events: none;
    z-index: 2;
}

.input-icon-right {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(215, 16%, 47%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    z-index: 2;
}

.input-icon-right:hover {
    color: #6C63FF;
}

/* Login input */
.login-input {
    width: 100%;
    background: hsl(225, 25%, 97%);
    border: 1.5px solid rgba(108, 99, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    font-size: 14px;
    color: hsl(222, 47%, 11%);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input:focus {
    border-color: #6C63FF;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.login-input::placeholder {
    color: #a0aec0;
}

/* Forgot link */
.forgot-link {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6C63FF;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #5A52D5;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 13px;
    background: var(--premium-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
}

.login-btn:hover {
    background: var(--premium-gradient);
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 6px 18px rgba(108, 99, 255, 0.4);
}

.login-btn:active {
    transform: scale(0.98);
}

.login-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Trial Key Box */
.trial-key-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: rgba(108, 99, 255, 0.04);
    border: 1px dashed rgba(108, 99, 255, 0.25);
    border-radius: 12px;
    text-align: center;
}

.trial-key-label {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(215, 16%, 47%);
}

.trial-key-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 800;
    color: #6C63FF;
    letter-spacing: 0.1em;
}


/* === Login Card - Clean & Simple === */
.glass-panel {
    background: #ffffff;
    border: 1px solid rgba(108, 99, 255, 0.1);
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.06);
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

/* Simplified — no heavy pseudo-element animations */
.glass-panel::before,
.glass-panel::after,
.auth-box::before,
.auth-box::after {
    display: none;
}

.stagger-in {
    opacity: 0;
    transform: translateY(30px);
    animation: premiumFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

@keyframes pulseGlow {
    from {
        opacity: 0.3;
        transform: scale(1);
    }
    to {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.low-perf-mode .glass-panel {
    background: #f8fafc;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.auth-tabs button {
    color: hsl(215, 16%, 47%);
    font-size: 0.85rem;
}

.auth-tabs button.active {
    background: #6C63FF;
    color: white;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* === Form Components === */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(215, 16%, 47%);
    margin-left: 4px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(226, 232, 240, 0.8);
    color: hsl(222, 47%, 11%);
    border-radius: 14px;
    padding: 16px 16px 16px 50px !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-field:focus {
    border-color: #6C63FF;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transform: translateY(-1px);
}

.input-field:focus+i,
.input-group:focus-within label {
    color: #6C63FF;
}

/* Placeholder Mastery */
.input-field::placeholder {
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 40px;
    color: hsl(215, 16%, 47%);
    transition: color 0.3s;
    z-index: 2;
}

/* === Auth Button === */
.auth-btn {
    width: 100%;
    padding: 20px;
    background: var(--premium-gradient);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px -5px rgba(108, 99, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.auth-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    animation: buttonShimmer 4s infinite;
}

@keyframes buttonShimmer {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.auth-btn:hover {
    transform: scale(1.02) translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 20px 30px -5px rgba(108, 99, 255, 0.35);
}

.auth-btn:active {
    transform: scale(0.98);
}

/* === Tab Navigation === */
.tab-nav {
    display: flex;
    background: rgba(108, 99, 255, 0.04);
    padding: 6px;
    border-radius: 16px;
    margin-bottom: 32px;
    border: 2px solid rgba(108, 99, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tab-nav a {
    flex: 1;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    color: hsl(215, 16%, 47%);
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.tab-nav a.active {
    background: #6C63FF;
    color: white;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* === Credential Hint === */
.credential-hint {
    background: rgba(108, 99, 255, 0.05);
    border: 2px dashed rgba(108, 99, 255, 0.2);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 32px;
}

/* === Feature Card (Login Info Section) === */
.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    background: #ffffff;
    border-color: #6C63FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.08);
}

.low-perf-mode .feature-card {
    background: #f8fafc;
    transform: none !important;
}

/* === Shake Animation === */
.shake {
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Google Auth Separator */
.google-auth-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: rgba(108, 99, 255, 0.1);
}

.separator-text {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(215, 16%, 47%);
    white-space: nowrap;
}

/* Google Button */
.google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================================
   TAILWIND UTILITY POLYFILLS
   (login.html does NOT load Tailwind CDN — these provide the needed classes)
   ============================================================================ */

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.text-center { text-align: center; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }

.space-y-4>*+* { margin-top: 16px; }
.space-y-5>*+* { margin-top: 20px; }
.space-y-6>*+* { margin-top: 24px; }
.space-y-8>*+* { margin-top: 32px; }
.space-y-10>*+* { margin-top: 40px; }
.-space-x-2>*+* { margin-left: -8px; }

.w-4 { width: 16px; }
.h-4 { height: 16px; }
.w-6 { width: 24px; }
.h-6 { height: 24px; }
.w-8 { width: 32px; }
.h-8 { height: 32px; }
.w-10 { width: 40px; }
.h-10 { height: 40px; }
.w-12 { width: 48px; }
.h-12 { height: 48px; }
.w-16 { width: 64px; }
.h-16 { height: 64px; }
.w-20 { width: 80px; }
.h-20 { height: 80px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-7 { margin-bottom: 28px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.px-3 { padding-left: 12px; padding-right: 12px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-3xl { border-radius: 24px; }

.text-white { color: white; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-5xl { font-size: 3rem; }
.\text-\[9px\] { font-size: 9px; }
.\text-\[10px\] { font-size: 10px; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.\tracking-\[0\.2em\] { letter-spacing: 0.2em; }

/* Zenith-aligned color utilities */
.text-stone-400 { color: hsl(215, 16%, 47%); }
.text-stone-500 { color: hsl(215, 16%, 47%); }
.text-stone-800 { color: hsl(222, 47%, 11%); }
.text-slate-400 { color: #94a3b8; }
.text-slate-700 { color: #334155; }
.text-amber-600 { color: #6C63FF; }
.text-pink-400 { color: #ec4899; }

.bg-amber-50 { background: rgba(108, 99, 255, 0.06); }
.border { border-width: 1px; border-style: solid; }
.border-amber-200 { border-color: rgba(108, 99, 255, 0.2); }

.accent-amber-500 { accent-color: #6C63FF; }

.bg-blue-500\/10 { background: rgba(59, 130, 246, 0.1); }
.bg-purple-500\/10 { background: rgba(168, 85, 247, 0.1); }
.bg-emerald-500\/10 { background: rgba(16, 185, 129, 0.1); }
.bg-red-500\/10 { background: rgba(239, 68, 68, 0.1); }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.relative { position: relative; }
.absolute { position: absolute; }
.transition { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease; }

.hover\:text-primary:hover { color: #6C63FF; }

/* Stagger animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================================================
   LOGIN UX ENHANCEMENTS
   ============================================================================ */

.google-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.input-help {
    margin-top: 8px;
    margin-left: 2px;
    font-size: 10px;
    font-weight: 700;
    color: hsl(215, 16%, 47%);
}

.caps-warning {
    margin-top: 8px;
    margin-left: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #b45309;
}

.form-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-msg {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    border: 1px solid transparent;
}

.login-msg--error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

.login-msg--success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #047857;
}

.login-msg--info {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #1d4ed8;
}

.login-input.is-invalid {
    border-color: rgba(220, 38, 38, 0.55);
    background: rgba(254, 242, 242, 0.8);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.input-icon-right:focus-visible,
.forgot-link:focus-visible,
.google-btn:focus-visible,
.login-btn:focus-visible {
    outline: 2px solid rgba(108, 99, 255, 0.45);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    body {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .login-wrapper {
        gap: 20px;
    }

    .glass-panel {
        padding: 24px 16px;
        border-radius: 20px;
        margin-bottom: 14px;
    }

    .tab-nav {
        margin-bottom: 22px;
    }

    .tab-nav a {
        font-size: 0.82rem;
        padding: 10px;
    }

    .login-input {
        padding: 11px 12px 11px 38px;
        font-size: 13px;
    }

    .login-btn,
    .google-btn {
        padding: 12px;
    }

    .trial-key-box {
        padding: 10px 12px;
    }
}
