@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gradient-bg {
    background: linear-gradient(-45deg, #111827, #1f2937, #7f1d1d, #991b1b);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.glass-effect {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-glow:focus {
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
}

.text-glow {
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
}

/* Modal styles */
.modal {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

/* Ensure form is always visible */
.login-container {
    max-height: 100vh;
    overflow-y: auto;
    padding: 1rem;
}

.login-box {
    min-height: auto;
}