/* static/css/auth/login_styles.css */

/* ========== RESET & BASE ========== */

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #569def 50%, #0f0445 100%);
    color: #ffffff;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    justify-content: space-between;
    align-items: stretch;
   

}


main{
    margin-bottom: 0;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
}
footer {
   
    margin-top: 0rem;
}
/* ========== GRADIENT OVERLAY ========== */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(59,130,246,0.15), rgba(15,23,42,0.95));
    z-index: 0;
    pointer-events: none;
}

/* ========== PARTICULES ANIMÉES ========== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(96, 165, 250, 0.4);
    border-radius: 50%;
    animation: floatParticle linear infinite;
    filter: blur(1px);
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* ========== GLASSMORPHISM CARD ========== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

/* ========== FEATURE CARDS ========== */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    box-shadow: 0 8px 20px -5px rgba(59, 130, 246, 0.4);
}

/* ========== BOUTON GLOW ========== */
.btn-glow {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.btn-glow:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 20px 35px -8px rgba(59, 130, 246, 0.7);
    transform: translateY(-2px);
}

/* ========== GRADIENT TEXT ANIMÉ ========== */
.gradient-text {
    background: linear-gradient(135deg, #ffffff, #93c5fd, #3b82f6, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s ease infinite;
}

.gradient-text-sm {
    background: linear-gradient(135deg, #93c5fd, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== ANIMATIONS GLOBALES ========== */
.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-pulse-slow {
    animation: pulseSlow 3s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* ========== MODAL DAISYUI CUSTOM ========== */
.modal-box {
    background: rgba(72, 107, 158, 0.488);
    
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(1rem);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    transition: transform 0.3s ease;
}

.modal-open-animation {
    animation: modalPop 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== FORMULAIRE MODAL ========== */
.input {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(1rem);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.2s ease;
}

.input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .btn-glow {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .modal-box {
        width: 92%;
        margin: 0 auto;
        border-radius: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2rem;
    }
    
    .glass-card h2 {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}