/* Authentication Pages - Liquid Glass Design */

/* Base Styles */
body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(90deg, #3B82F6, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Liquid Glass Background */
.auth-liquid-glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(30, 30, 30, 0.8) 25%, 
        rgba(0, 0, 0, 0.9) 50%, 
        rgba(20, 20, 20, 0.8) 75%, 
        rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(20px);
    z-index: -1;
}

/* Animated Glass Orbs */
.auth-glass-orb {
    position: fixed;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2), 
        rgba(16, 185, 129, 0.15));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: authFloatOrb 20s infinite ease-in-out;
}

.auth-glass-orb:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.auth-glass-orb:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: -3%;
    animation-delay: -7s;
}

.auth-glass-orb:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 80%;
    animation-delay: -14s;
}

/* Sparkle Effects */
.auth-sparkle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #60a5fa, #a78bfa);
    border-radius: 50%;
    animation: authSparkle 3s ease-in-out infinite;
}

.auth-sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.auth-sparkle:nth-child(2) { top: 40%; right: 20%; animation-delay: 1s; }
.auth-sparkle:nth-child(3) { bottom: 30%; left: 25%; animation-delay: 2s; }
.auth-sparkle:nth-child(4) { top: 70%; right: 15%; animation-delay: 0.5s; }
.auth-sparkle:nth-child(5) { bottom: 20%; right: 30%; animation-delay: 1.5s; }

/* Form Container */
.form-container {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.9) 0%, 
        rgba(31, 41, 55, 0.8) 50%, 
        rgba(17, 24, 39, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.5), 
        rgba(16, 185, 129, 0.5), 
        transparent);
}

/* Glass Input Fields */
.auth-glass-input {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    transform: translateZ(0) !important;
    will-change: background-color, border-color, box-shadow !important;
}

.auth-glass-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1) !important;
}

/* Glass Button */
.auth-glass-button {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.auth-glass-button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

.auth-button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.auth-glass-button:hover .auth-button-glow {
    left: 100%;
}

/* Animations */
@keyframes authFloatOrb {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

@keyframes authSparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .auth-glass-orb:nth-child(1) {
        width: 120px;
        height: 120px;
    }
    
    .auth-glass-orb:nth-child(2) {
        width: 100px;
        height: 100px;
    }
    
    .auth-glass-orb:nth-child(3) {
        width: 80px;
        height: 80px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}