/* 🌟 Styles Généraux 🌟 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* 🌟 Conteneur de la page de connexion 🌟 */
.container {
    width: 100%;
    max-width: 350px; /* Réduction de la largeur du formulaire */
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

/* 🌟 Titre de la page 🌟 */
h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* 🌟 Formulaire de connexion 🌟 */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 🌟 Styles des champs de formulaire 🌟 */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
}

/* 🌟 Styles du bouton de soumission 🌟 */
button[type="submit"] {
    background-color: #3498db;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* 🌟 Lien d'inscription 🌟 */
a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* 🌟 Message d'erreur 🌟 */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

/* 🌟 Styles Responsives 🌟 */
@media screen and (max-width: 768px) {
    .container {
        width: 90%; /* Ajustement pour les écrans plus petits */
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }
}
