.login-container {
    animation: fadeIn 0.6s ease-out;
}

.form-container {
    animation: slideUp 0.5s ease-out 0.3s both;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* Logo animations */
.logo-container {
    animation: logoEntrance 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Shake animation for invalid form */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

/* Input wave effect */
.input-group input:focus::after {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: rgba(114, 47, 55, 0.2);
    top: -20px;
    left: -500px;
    animation: wave 1s ease-out;
    border-radius: 40%;
}

@keyframes wave {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(1);
        opacity: 0;
    }
}

/* Forgot password pulse */
.forgot-password {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading .spinner {
    display: inline-block;
}

.loading .btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Input styles */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.3s;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    padding: 0 0.25rem;
    color: #6b7280;
    transition: all 0.3s;
    pointer-events: none;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-color: #722F37;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.875rem;
    color: #722F37;
}

/* Button styles */
.btn-login {
    background-color: #722F37;
    transition: all 0.3s;
    position: relative;
}

.btn-login:hover {
    background-color: #5a252c;
    transform: translateY(-1px);
}

.welcome-text {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.welcome-text h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.05em;
}

.welcome-text .h-0.5 {
    animation: expandWidth 0.6s ease-out 1.2s both;
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 3rem;
    }
}

/* Particle effect customization */
#particles-js {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1517 100%);
} 