/* css/style.css */

/* Styles généraux */
body {
    background: linear-gradient(135deg, #f70000, #f70000);
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    position: relative;
}

/* Overlay optionnel pour améliorer la lisibilité */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Header */
header.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Conteneur de connexion */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding: 20px;
    position: relative;
}

/* Images décoratives */
.decorative-image {
    position: absolute;
    opacity: 1;
    z-index: 0;
}

.decorative-left {
    left: -350px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 250px;
}

.decorative-right {
    right: -350px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 250px;
}

.login-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in;
    position: relative;
    z-index: 1;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        max-height: 50px;
    }
    
    .login-card {
        padding: 20px;
    }
    
    /* Cacher les images décoratives sur mobile */
    .decorative-image {
        display: none;
    }
}

@media (max-width: 1200px) {
    .decorative-left {
        left: -150px;
        max-width: 120px;
    }
    
    .decorative-right {
        right: -150px;
        max-width: 120px;
    }
}
