/* Style global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::before {
    content: "";
    position: fixed; /* Fixe le pseudo-élément pour simuler l'effet */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../Images/background.png") no-repeat center center;
    background-size: cover; /* Ajuste la taille de l'image */
    z-index: -1; /* Place derrière le contenu */
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    z-index: 0; /* Garde un z-index neutre pour le contenu */
}

/* Conteneur du formulaire */
.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */
    width: 95%;
    max-width: 400px; /* Largeur maximale du formulaire */
    text-align: center;
}

/* Titre */
h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Champ du formulaire */
label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

/* Changement de couleur des bordures au focus */
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Bouton de connexion */
button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff; /* Couleur du bouton */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3; /* Couleur au survol */
}

/* Message d'erreur */
p[style="color: red;"] {
    color: red;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* Styles pour les petits écrans */
@media (max-width: 600px) {
    .login-container {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    input[type="email"],
    input[type="password"],
    button[type="submit"] {
        font-size: 14px;
    }
}
