/* Auth Pages CSS - Professional Look */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow-x: hidden;
}

/* Animated Background - Moving Waves Effect */
.auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(99,102,241,0.15)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x;
    background-size: cover;
    animation: wave 20s linear infinite;
    opacity: 0.5;
}

.wave:nth-child(2) {
    bottom: 10px;
    opacity: 0.3;
    animation: wave 15s linear infinite reverse;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Floating Bubbles */
.bubble {
    position: absolute;
    background: rgba(99,102,241,0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-100px) scale(1.2); }
}

/* Navbar */
.auth-navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
    position: relative;
    z-index: 10;
}

.auth-navbar .nav-link {
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-navbar .nav-link:hover {
    color: white;
}

.btn-auth-nav {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
}

/* Main Container */
.auth-container {
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

/* Form Card */
.auth-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s;
}

.auth-card:hover {
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 0 30px rgba(99,102,241,0.1);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

/* Form Controls */
.auth-form .form-control {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
}

.auth-form .form-control:focus {
    background: rgba(15, 23, 42, 1);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
    color: white;
}

.auth-form .form-control::placeholder {
    color: #64748b;
}

.auth-form label {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

/* CAPTCHA Box */
.captcha-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #a78bfa;
}

/* Need Help Box */
.help-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
}

.help-box i {
    font-size: 2rem;
    color: #a78bfa;
    margin-bottom: 1rem;
}

.help-box h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-box p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.help-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.help-contact:hover {
    background: #6366f1;
    color: white;
}

/* Footer */
.auth-footer {
    background: #0f172a;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 10;
}

.auth-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .help-box {
        margin-top: 1rem;
    }
    
    .auth-title {
        font-size: 1.4rem;
    }
}