/* ===================== LOGIN PAGE ===================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Animated background */
.login-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
}

.login-bg .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: float 20s infinite ease-in-out;
}

.login-bg .circle:nth-child(1) {
    width: 500px; height: 500px;
    background: var(--accent);
    top: -100px; right: -100px;
    animation-delay: 0s;
}

.login-bg .circle:nth-child(2) {
    width: 300px; height: 300px;
    background: #42a5f5;
    bottom: -50px; left: -50px;
    animation-delay: -5s;
}

.login-bg .circle:nth-child(3) {
    width: 200px; height: 200px;
    background: #ffa726;
    top: 50%; left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    animation: cardIn 0.6s ease;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), #00b894);
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-primary);
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.3);
}

.login-logo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #60dfcd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-logo p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 4px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-control {
    padding: 12px 16px;
    font-size: 0.95rem;
}

.login-form .btn-primary {
    width: 100%;
    padding: 13px;
    font-size: 1rem;
    border-radius: var(--radius-md);
    margin-top: 8px;
}

.login-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--danger);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: none;
}
.login-error.show { display: block; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        border-radius: var(--radius-lg);
        margin: 0 16px;
    }
    .login-logo .logo-icon {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
    .login-logo h2 {
        font-size: 1.4rem;
    }
}
