body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('/images/Fond_d-ecran.jpeg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    height: 80vh;
    margin: 0 auto;
}

/* Section de bienvenue (gauche) */
.welcome-section {
    flex: 1;
    margin-right: 50px;
    text-align: left;
}

.welcome-section h1 {
    font-size: 70px;
    margin-bottom: 70px;
}

.welcome-section p {
    font-size: 20px;
    line-height: 1.6;
}

/* Conteneur pour le formulaire et les boutons (droite) */
.form-section {
    flex: 1;
    display: flex;
    justify-content: center; /* Centre le contenu horizontalement */
}

.container {
    width: 100%;
    max-width: 450px; /* Limite la largeur du formulaire */
}

form {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box; /* Assure que le padding n'augmente pas la largeur */
}

button {
    background-color: rgb(9, 58, 148);
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s;
}

button:hover {
    background-color: rgb(6, 75, 213);
}

a {
    color: #f0f0f0; /* Couleur plus visible sur le fond */
    text-decoration: none;
    font-size: 15px;
    text-align: left;
    margin-bottom: 25px; /* Espace après le lien */
}

a:hover {
    text-decoration: underline;
}

.error {
    color: #ff4d4d; /* Rouge plus vif */
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}

/* ✨ NOUVEAU STYLE POUR LE SÉPARATEUR "ou" ✨ */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #ccc;
    margin: 20px 0; /* Augmente l'espace vertical */
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.separator:not(:empty)::before {
    margin-right: .5em;
}

.separator:not(:empty)::after {
    margin-left: .5em;
}

/* ✨ STYLE AMÉLIORÉ POUR LE BOUTON GOOGLE ✨ */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #444;
    border: none; /* Enlève la bordure pour un look plus plat */
    border-radius: 5px; /* Cohérent avec les autres éléments */
    padding: 12px; /* Même padding que le bouton principal */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.google-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.google-btn img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

/* 📱 STYLES POUR LES PETITS ÉCRANS 📱 */
@media (max-width: 768px) {
    .wrapper {
        flex-direction: column;
        justify-content: center;
        width: 90%;
        height: auto;
    }

    .welcome-section {
        margin: 0 0 30px 0;
        text-align: center;
    }

    .welcome-section h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .welcome-section p {
        font-size: 18px;
    }

    .form-section {
        width: 100%;
    }
}