.login-container {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f3e5f5, #e1f5fe);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* plein écran */
}

/* Carte de connexion */
form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    animation: fadeInUp 0.5s ease forwards;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titre */
h1.h3.mb-3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Labels */
label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #34495e;
}

/* Champs */
input.form-control {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input.form-control:focus {
    border-color: #1976d2;
    box-shadow: 0 0 5px rgba(25,118,210,0.35);
    outline: none;
}

/* Bouton */
button.btn.btn-lg.btn-primary {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    background: #1976d2;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.btn.btn-lg.btn-primary:hover {
    background: #125a9c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25,118,210,0.3);
}

/* Messages d’erreur */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alert-danger {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e6ffed;
    color: #2e7d32;
    border: 1px solid #b9f6ca;
}

/* Lien mot de passe oublié */
p a {
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    color: #1976d2;
    transition: color 0.2s ease;
}

p a:hover {
    color: #125a9c;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    form {
        padding: 0.5rem;
    }
    input.form-control{
        width: 90%;

    }

    h1.h3.mb-3 {
        font-size: 1.5rem;
    }
}