body {
    --blanc: #ffffff;
    --bleu: #001B36;
    --jaune: #FFC633;
    --jaune-hover: #f2b400;
    --erreur: #e65050;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bleu);
}

.fs-11 {
    font-size: 11px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-25 {
    font-size: 25px !important;
}

.fs-9 {
    font-size: 9px !important;
}
.fs-12 {
    font-size: 12px !important;
}

body .form_public_container {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--bleu);
    background-image: url('img/bg-pozeo-club-mobile.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
body .form_log_flex {
    --input-hauteur: 44px;
    padding: 40px 20px;
}

body .form_log_flex form {
    width: 345px;
    max-width: 100%;
}

body .form_log_flex h1 {
    margin: 0 0 30px;
    line-height: 1.2;
    text-transform: none;
}

body .form_log_flex .input-group-login {
    position: relative;
    flex-wrap: nowrap;
    width: 100%;
}

body .form_log_flex .input_txt, body .form_log_flex .input_txt:focus,
body .form_log_flex select {
    box-sizing: border-box;
    width: 100%;
    height: var(--input-hauteur);
    margin: 0 0 11px;
    padding: 0 25px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.11) !important;
    color: var(--blanc) !important;
    font-size: 12px;
    font-weight: normal;
    outline: none;
    box-shadow: none;
}
body .form_log_flex .input_txt:-webkit-autofill,
body .form_log_flex .input_txt:-webkit-autofill:hover,
body .form_log_flex .input_txt:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--blanc);
    caret-color: var(--blanc);
    transition: background-color 0s 600000s;   /* le fond de Chrome n'arrive qu'après ~7 jours : le champ garde son rgba */

}
body .form_log_flex .input_txt::placeholder {
    color: var(--blanc);
    opacity: 1;
    text-align: left;
    font-weight: normal;
    font-size: 12px !important;
}

/* select : flèche native remplacée par une flèche blanche */
body .form_log_flex select {
    -webkit-appearance: none;
    appearance: none;
    padding: 0 45px 0 25px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    cursor: pointer;
    font-family: inherit;
}

body .form_log_flex select:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

/* liste déroulante : fond foncé, sinon le texte blanc est illisible sur le fond blanc du navigateur */
body .form_log_flex select option {
    background-color: var(--bleu);
    color: var(--blanc);
}

/* oeil du mot de passe (login + réinitialisation) : même hauteur que le champ, icône centrée */
body .form_log_flex #password_help,
body .form_log_flex #reset_password_password_first_help,
body .form_log_flex #reset_password_password_second_help {
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--input-hauteur);
    margin: 0 !important;
    padding: 0;
    border: none !important;
    background: transparent !important;
    color: var(--blanc);
    line-height: 1;
    cursor: pointer;
}

/* l'icône elle-même ne doit pas ajouter d'espace sous elle */
body .form_log_flex #password_help > *,
body .form_log_flex #reset_password_password_first_help > *,
body .form_log_flex #reset_password_password_second_help > * {
    display: block;
    line-height: 1;
}

body .input_submit,
body .input_submit2 {
    margin-top: 6px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 30px;
    background-color: var(--jaune);
    color: var(--blanc);
    cursor: pointer;
    font-size: 14px;
}

body .form_log_flex .input_submit,
body .form_log_flex .input_submit2 {
    box-sizing: border-box;
    width: 100%;
}

body .input_submit:hover,
body .input_submit2:hover {
    background-color: var(--jaune-hover);
}

/* erreurs Bootstrap 5 (inscription libre) : le titre est ajouté par ::before */
body .invalid-feedback {
    box-sizing: border-box;
    width: 100%;
    margin: 4px 0 15px;
    padding: 12px 20px;
    border: 1px solid var(--erreur);
    border-radius: 8px;
    background-color: #FFFFFF1C;
    color: var(--blanc);
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

body .invalid-feedback::before {
    content: "Inscription impossible";
    display: block;
    margin-bottom: 8px;
    padding-left: 16px;
    background: url('../../img/icon/icone_triangle.svg') no-repeat left center / 10px;
    width: fit-content;
    margin-inline: auto;
    color: var(--blanc);
    font-size: 12px;
    font-weight: bold;
}

/* page de renvoi du lien de confirmation : titre de l'encadré adapté */
body .pzc_renvoi .invalid-feedback::before {
    content: "Envoi impossible";
}

body .pzc_alerte {
    box-sizing: border-box;
    width: 345px;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 12px 20px;
    border: 1px solid var(--erreur);
    border-radius: 8px;
    background-color: #FFFFFF1C;
}

body .pzc_alerte_titre {
    margin: 0 0 8px;
}

body .pzc_alerte_titre .fa {
    color: var(--erreur);
}

body .pzc_alerte_txt {
    margin: 0 0 8px;
    line-height: 1.4;
}

body .pzc_alerte_txt:last-child {
    margin-bottom: 0;
}

body .pzc_alerte_lien {
    font-weight: bold;
    text-decoration: underline;
    color: var(--blanc);
}

body .pzc_alerte_lien:hover {
    color: var(--jaune);
}

/* ---------- Liens ---------- */
body .form_links {
    margin-top: 20px;
    font-weight: normal;
    text-decoration: none;
    font-size: 11px;
}

body .form_links:hover {
    text-decoration: underline;
}
body .lien-inscription{
    font-size: 11px;
}

body .lien-inscription:hover {
    color: var(--blanc);
}

/* ---------- Pages message (mot de passe oublié, réinitialisation, liens expirés...) ---------- */
/* valid_txt est en couleur foncée dans style.css : illisible sur le fond bleu */
body .pzc_message .valid_h1,
body .pzc_message .valid_txt,
body .pzc_message .iconbig {
    color: var(--blanc);
}

body .pzc_message .valid_txt {
    font-size: 13px;
}

body .pzc_message .invalid_h1 {
    color: var(--erreur);
}

body .pzc_message .valid_txt a {
    color: var(--jaune);
}

body .pzc_message .btn_container {
    width: 345px;
    max-width: 100%;
    margin: 20px auto 0;
}
/* ---------- Logo Pozeo Club ---------- */
body .pzc_logo {
    flex-shrink: 0;
    margin: 20px auto 0;
}

/* écart entre le logo et le titre ; mobile : formulaire centré verticalement sous le logo */
body .pzc_logo ~ .form_log_flex {
    padding-top: 15px;
    margin-block: auto;
}

body .form_log_flex .form_inputs > div:has(> .form-switch) {
    align-self: stretch;
    padding-left: 25px;
}

body .form_log_flex .form-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 0;
    margin-bottom: 8px;
    padding-left: 0;
    text-align: left;
}

body .form_log_flex .form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    flex-shrink: 0;
    float: none;
    width: 28px;
    height: 13px;
    margin: 0;
    border: none;
    border-radius: 29px;
    background-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
    cursor: pointer;
}

body .form_log_flex .form-switch .form-check-input:checked {
    background-color: var(--jaune) !important;
    border-color: var(--jaune) !important;
}

body .form_log_flex .form-switch .form-check-label {
    margin: 0;
    color: var(--blanc);
    cursor: pointer;
}

body .form_log_flex .form-switch .form-check-label a {
    color: var(--jaune);
    text-decoration: underline !important;
}


.marge-inscription{
    margin-top: 16px !important;
    margin-bottom: 8px !important;
}
@media (min-width: 992px) {
    /* login : formulaire à droite (fe_option LOGIN_FORM_DROITE) */
    body .form_public_container.pzc_container--droite {
        justify-content: flex-end;
        padding-right: 12vw;
    }

    /* img bg pour le formulaire au centre comme à droite */
    body .form_public_container {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        height: 100%;
        background-image: url('img/bg-pozeo-club-desktop.png');
    }

    body .pzc_logo {
        position: absolute;
        top: 20px;
        left: 8%;
        transform: translateX(-50%);
        z-index: 2;
        margin: 0;
    }

    body .pzc_logo ~ .form_log_flex {
        padding-top: 40px;
        margin-block: 0;
    }

    body .pzc_container--droite .form_log_flex {
        width: auto;
    }

    body .form_log_flex {
        height: auto;
        max-height: 100%;
        overflow-y: hidden;
    }

    /* desktop : pas de scroll vertical*/
    body {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow-y: hidden;
    }

    body .page_publique {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        width: 100%;
    }
}

