/* ✅ Mise en page principale */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.login-container {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 800px;
}

/* ✅ Partie gauche : Formulaire */
.login-form {
    flex: 1;
    padding: 40px;
    text-align: center;
}

.login-form h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.login-form p {
    font-size: 14px;
    color: #666;
}

/* ✅ Champs de saisie */
.input-group {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.input-group i {
    margin-right: 10px;
    color: #666;
}

.input-group input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 16px;
}

/* ✅ Mot de passe oublié */
.remember-me {
    text-align: right;
    font-size: 14px;
    margin-bottom: 15px;
}

.remember-me a {
    color: #007bff;
    text-decoration: none;
}

.remember-me a:hover {
    text-decoration: underline;
}

/* ✅ Boutons */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
}

/* ✅ Lien inscription */
.register-link {
    margin-top: 15px;
    font-size: 14px;
}

/* ✅ Partie droite : Illustration avec image en arrière-plan */
.login-illustration {
    flex: 1;
    background: url('../img/illustration.png') no-repeat center / cover; /* Image en fond */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    background-color: transparent; /* 🔥 Supprime le fond gris */
}

/* ❌ Supprime cette partie qui ajoutait un filtre blanc/gris */
.login-illustration::before {
    content: none; /* 🔥 Désactive le pseudo-élément */
}

/* ✅ Avis client en avant-plan (sans fond gris) */
.review-box {
    background: rgba(255, 255, 255, 0.9); /* Ajoute un fond blanc très léger pour la lisibilité */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    width: 80%;
    font-size: 14px;
    position: relative; /* Reste au-dessus de l'image */
    z-index: 2;
}

/* ✅ Responsive : Supprimer l'image sur mobile */
@media (max-width: 768px) {
    .login-illustration {
        display: none; /* Masquer l'illustration sur mobile */
    }
}




/* INSCRIPTION /

/* ✅ Mise en page principale */
.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.register-container {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 900px;
}

/* ✅ Partie gauche : Formulaire */
.register-form {
    flex: 1;
    padding: 40px;
    text-align: center;
}

.register-form h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.register-form p {
    font-size: 14px;
    color: #666;
}

/* ✅ Champs de saisie */
.input-group {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.input-group i {
    margin-right: 10px;
    color: #666;
}

.input-group input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 16px;
}

/* ✅ Boutons */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: #007bff;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
}

/* ✅ Bouton Google */
.btn-google {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-google img {
    width: 20px;
}

.btn-google:hover {
    background: #f1f1f1;
}

/* ✅ Lien connexion */
.login-link {
    margin-top: 15px;
    font-size: 14px;
}

/* ✅ Partie droite : Illustration avec image en arrière-plan */
.register-illustration {
    flex: 1;
    background: url('../img/illustration.png') no-repeat center / cover; /* Image en fond */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    background-color: transparent; /* 🔥 Supprime le fond gris */
}

/* ✅ Supprime l'effet de superposition */
.register-illustration::before {
    content: none;
}

/* ✅ Message d'accueil */
.welcome-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    width: 80%;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* ✅ Responsive : Supprimer l'image sur mobile */
@media (max-width: 768px) {
    .register-illustration {
        display: none; /* Masquer l'illustration sur mobile */
    }
}
