/* ===========================
   LOGIN AVEC VIDÉO NETWORK CYAN
   ===========================*/

body.login {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Vidéo avec filtres pour obtenir CYAN */
.video-background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    /* Transformer en CYAN (pas rouge !) */
    filter: 
        hue-rotate(190deg) 
        saturate(1.5) 
        brightness(0.95) 
        contrast(1.2) !important;
}

/* Overlay cyan pour renforcer */
body.login::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(14, 116, 144, 0.35)) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Card login glassmorphism */
.login-form {
    position: relative !important;
    z-index: 10 !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    padding: 40px 35px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    animation: cardPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes cardPop {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Logo */
.form-title {
    margin-bottom: 35px !important;
}

.form-title img {
    filter: drop-shadow(0 4px 16px rgba(6, 182, 212, 0.8)) !important;
    animation: logoFloat 3s ease-in-out infinite !important;
}

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

/* Retirer les icônes */
.lf--label {
    display: none !important;
}

/* Inputs */
.flex-row {
    margin-bottom: 18px !important;
}

.lf--input {
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.lf--input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.lf--input:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #00e5ff !important;
    box-shadow: 
        0 0 0 3px rgba(0, 229, 255, 0.2),
        0 4px 12px rgba(6, 182, 212, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Bouton */
.lf--submit {
    width: 100% !important;
    padding: 14px !important;
    background: linear-gradient(135deg, #06b6d4 0%, #00e5ff 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #0c4a6e !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 
        0 6px 20px rgba(6, 182, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.lf--submit::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s !important;
}

.lf--submit:hover::before {
    left: 100% !important;
}

.lf--submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 10px 30px rgba(6, 182, 212, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.lf--submit:active {
    transform: translateY(-1px) !important;
}

/* Copyright */
.copyright {
    position: fixed !important;
    bottom: 20px !important;
    text-align: center !important;
    width: 100% !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    z-index: 10 !important;
    display: block !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .login-form {
        max-width: 85% !important;
        padding: 35px 25px !important;
    }
}
