body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
}

.container {
    display: flex;
    height: 100vh;
}

.welcome-section {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligne le contenu en haut */
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center; /* Centre le texte */

}

.welcome-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ajuste l'opacité selon tes besoins */
    z-index: 1;
}

.welcome-section h1,
.welcome-section p,
.welcome-section .images {
    position: relative;
    z-index: 2;
}

.welcome-section h1 {
    font-size: 1,1em; /* Taille du titre */
    margin-bottom: 0px;
}

.welcome-section p {
    font-size: 1,8em; /* Taille du sous-titre */
    margin-bottom: 40px;
    text-align: center; /* Centre le texte du sous-titre */

}

.welcome-section .images img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.form-section {
    flex: 1;
    max-width: 40%; /* Ajuste cette valeur pour changer la largeur maximale */
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centre le contenu horizontalement */
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%; /* Prendre toute la hauteur de l'écran */
    overflow: hidden; /* Assurer que le contenu ne déborde pas */
}

/* Onglets de navigation */
.form-header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.form-header a {
    color: #999;
    text-decoration: none;
    font-size: 1em;
    font-family: 'Roboto', sans-serif; /* Utiliser la même police que les box */
    padding: 10px 20px;
    margin: 0 10px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-bottom 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-header a.active {
    color: #333;
    border-bottom: 2px solid #333;
}

.form-header a:hover {
    color: #333;
}

.gsi-material-button {
    margin-bottom: 20px;
}

.or {
    margin: 20px 0;
    font-size: 1.2em;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%; /* Utilise toute la largeur disponible du conteneur parent */
    max-width: 500px; /* Largeur maximale pour les champs de saisie */
    height: 55px; /* Ajuste cette valeur pour changer la hauteur des champs */
    padding: 0 15px; /* Ajuste le padding horizontal */
    border: 1px solid #ccc;
    border-radius: 25px; /* Bords arrondis */
    box-sizing: border-box;
    background-color: #f7f7f7; /* Couleur de fond */
    color: #333; /* Couleur du texte */
    font-size: 16px; /* Ajuste la taille du texte */
    line-height: 55px; /* Assure que le texte est centré verticalement */
    margin: 10px auto; /* Centre les champs de saisie avec une marge */
}

.form-group input::placeholder {
    color: #999; /* Couleur du placeholder */
}





.btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    width: 100%;
}

.btn:hover {
    background-color: #002244;
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}



/* Style pour le bouton de fermeture */
.close-button {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100; /* Assurer que le bouton est au-dessus des autres éléments */
}

.close-button:hover {
    background-color: #f0f0f0;
    border-color: #999;
}


.text-danger {
    color: red;
    font-size: 0.875em; /* Taille légèrement plus petite pour les messages d'erreur */
    margin-top: 5px; /* Un petit espace au-dessus des messages d'erreur */
}

.form-group .form-control-lg {
    margin-bottom: 5px; /* Réduit la marge inférieure des champs de saisie pour compenser les messages d'erreur */
}
