.main {
    display: flex;
    padding-top: 5rem;
    height: calc(100% - 5rem);
    align-items: center;
}

.imageLogo {
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.imageLogo img {
    height: 75%;
}

.form {
    width: 50%;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

h2 {
    font-family: 'Abril Fatface';
    font-size: 2.5rem;
    color: #FFAEAA;
    font-weight: 400;
    margin: 1rem 0 1rem 0;
}

input::placeholder {
    color: #8A8784;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Raleway';
}

form {
    width: 70%;
    padding: 1rem;
    border: #FFAEAA 1px solid;
}

.hide, label {
    font-weight: 700;
    font-family: 'Raleway';
    display: none;
}

/* Style des champs input */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: #D0CBC5 1px solid;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    color: #666;
    height: 5vh;
    outline: none;
}

/* Style pour les champs côte à côte */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
    margin-bottom: 0;
}

/* Style du bouton */
.submit-button {
    width: 40%;
    padding: 12px;
    background-color: rgb(142, 201, 210);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 50%;
    transform: translateX(-50%);
    font-family: 'Raleway';
}

.submit-button:hover {
    background-color: rgb(122, 181, 190);
}

/* Style de la checkbox CGU */
.cgu-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    margin-bottom: 10px;
    color: #65625E;
    width: 100%;
    justify-content: center;
    /* margin-left: 50%;
    transform: translateX(-50%); */
}

.cgu-container a {
    color: #F5C362;
}

.cgu-container input[type="checkbox"] {
    margin: 0;
}

#geocoder {
    position: relative;
}

#geocoder::after {
    content: "Nécessaire pour réfléxologie à domicile";
    font-size: 0.7rem;
    color: #666;
    margin-left: 2px;
}

.login, .passwdForget {
    text-align: center;
    color: #65625E;
    font-size: 0.8rem;
}

.passwdForget a {
    color: #FFAEAA;
    font-weight: 700;
}

.login a {
    color: #F5C362;
    font-weight: 700;
}

.mapboxgl-ctrl-geocoder {
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
    background-color: transparent !important;
}

.mapboxgl-ctrl-geocoder svg {
    display: none;
}

.mapboxgl-ctrl-geocoder--input {
    margin-bottom: 0 !important;
}

#errorMsg {
    color: red;
    padding: 10px 0;
    margin: 0;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container-signup {
    width: 100%;
}

.toggle-password {
    opacity: 60%;
    position: absolute;
    right: 10px;
    cursor: pointer;
}

#id_password {
    padding-right: 40px;
}

.email-login #id_email, .email-login .password-container {
    width: calc(50% - 10px);
}

@media (max-width: 1024px) {

    .main {
        min-height: calc(100% - 5rem);
        height: min-content;
    }

    .imageLogo {
        display: none;
    }

    .main {
        justify-content: center;
    }

    .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
        width: 100%;
    }

    .form-row input, .password-container {
        width: 100% !important;
    }

    form {
        width: 80%;
    }
}