/* CSS Variables for Modern Tech Vibe */
:root {
    --bg-dark: #0f172a;
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.6);
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.text-light-50 {
    color: var(--text-muted) !important;
}

.text-primary-glow {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-glow);
}

/* --- Animated Background Settings for Login Page --- */
.login-body {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
}

.blob-c {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    border-radius: 50%;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob1 {
    width: 40vw;
    height: 40vw;
    background: var(--primary-glow);
    top: -10%;
    left: -10%;
}

.blob2 {
    width: 30vw;
    height: 30vw;
    background: rgba(139, 92, 246, 0.4); /* Secondary */
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob3 {
    width: 20vw;
    height: 20vw;
    background: rgba(6, 182, 212, 0.3); /* Accent */
    top: 40%;
    left: 40%;
    animation-duration: 25s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- Glassmorphism Cards & Inputs --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.glass-input-group {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
    background: rgba(15, 23, 42, 0.6);
}

.glass-input, .glass-input:focus {
    background: transparent !important;
    border: none;
    color: white;
    box-shadow: none;
    padding: 12px 15px;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
}

/* --- Buttons --- */
.btn-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-glow:active {
    transform: translateY(1px);
}

#loginBtn:hover .transition-icon {
    transform: translateX(5px);
}
.transition-icon {
    transition: transform 0.3s ease;
}

.glass-alert {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    backdrop-filter: blur(10px);
}
