/* Fond dégradé bleu avec des effets modernes */
body {
    /*background: linear-gradient(135deg, #6a11cb, #2575fc); /* dégradé bleu */
    background: url('/images/fondnoel.jpg') no-repeat center center fixed;
    background-size: 100% 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

/* Conteneur du formulaire */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-form {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Avatar de l'utilisateur */
.avatar img {
    width: 100px;
    height: 80px;
    border-radius: 20%;
    margin-bottom: 20px;
}

/* Titre */
h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

/* Champs de saisie */
.form-control {
    border-radius: 10px;
    padding: 15px;
    border: none;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: border 0.3s ease;
}

/* Effet de focus sur les champs de saisie */
.form-control:focus {
    border: 2px solid #2575fc;
    box-shadow: 0 0 8px rgba(37, 117, 252, 0.5);
}

/* Bouton de connexion */
button[type="submit"] {
    background-color: #2575fc;
    color: white;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #6a11cb;
}

/* Lien mot de passe oublié */
.text-white {
    color: #fff;
}

.text-white:hover {
    text-decoration: underline;
}

/* Effet de mise en forme dynamique */
input, button {
    transition: all 0.3s ease-in-out;
}

input:focus, button:hover {
    transform: scale(1.05);
}
