/* ============================================
   LOGIN PAGE CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #4c1d95 50%, #7e22ce 75%, #a855f7 100%);
    position: relative;
    overflow: hidden;
}

/* Animated wave background */
.wave-bg {
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 0;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(147, 51, 234, 0.3) 25%,
        rgba(236, 72, 153, 0.3) 50%,
        rgba(59, 130, 246, 0.3) 75%,
        rgba(147, 51, 234, 0.3) 100%);
    border-radius: 45%;
    animation: wave 15s infinite linear;
}

.wave:nth-child(2) {
    animation: wave 20s infinite linear reverse;
    opacity: 0.5;
}

.wave:nth-child(3) {
    animation: wave 25s infinite linear;
    opacity: 0.3;
}

@keyframes wave {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-container {
    position: relative;
    z-index: 10;
}

.login-box {
    background: rgba(30, 27, 75, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-box input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-box input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.btn-login {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

.error-box {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
}
