body {
            background: linear-gradient(135deg, #1e68cfff,  #0284c7ff);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-card {
            width: 100%;
            max-width: 400px;
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0,0,0,.2);
            animation: fadeIn 0.8s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .login-card .card-header {
            background: none;
            border: none;
            text-align: center;
        }

        .login-card .card-header h4 {
            font-weight: 600;
            color: #1449daff;
        }

        .form-control {
            border-radius: 10px;
        }

        .btn-login {
            background-color: #2d68e8ff;
            border: none;
            border-radius: 10px;
        }

        .btn-login:hover {
            background-color: #1d83dcff;
        }
        
        /* Loading button animation */
.btn-login.loading {
    pointer-events: none;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.btn-login.loading span {
    display: none;
}

.btn-login.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form submit animation */
form.submitting {
    animation: formFade 0.4s ease forwards;
}

@keyframes formFade {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0.95;
        transform: scale(0.98);
    }
}