/* Appliquer un fond sombre à toute la page */
body, html {
    height: 100%;
    margin: 0;
    background-color: #333; /* Couleur de fond sombre */
    font-family: Arial, sans-serif; /* Choisir une police moderne */
}

/* Conteneur principal du formulaire centré */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Remplir toute la hauteur de l'écran */
}

/* Formulaire de connexion */
form {
    background-color: #444; /* Fond gris pour le formulaire */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px; /* Largeur fixe du formulaire */
}

/* Style des labels et des champs de saisie */
label {
    color: white;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

/* Bouton de soumission */
input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #ff6347; /* Couleur orange du bouton */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* Couleur du bouton au survol */
input[type="submit"]:hover {
    background-color: #ff4500;
}

/* Message d'erreur */
.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}
