/* Start custom CSS for shortcode, class: .elementor-element-f895d49 *//* ==========================================================
   BIEN VIVRE CANCER
   Mise en page checkout Paid Memberships Pro
   ========================================================== */

/* Largeur générale */
#pmpro_level-1 {
    max-width: 1050px;
    margin: 0 auto;
}

#pmpro_form {
    position: relative;
}


/* ==========================================================
   TITRE CRÉÉ PAR LE JS
   ========================================================== */

#pmpro_form .bvc-checkout-title {
    margin: 0 0 35px;
}
.pmpro_card_actions {
    display : none!important;
}
.pmpro_card_content p {
    margin-top : 120px !important;
}


/* ==========================================================
   GRILLE PRINCIPALE
   Compte à gauche / Offre à droite
   ========================================================== */

#pmpro_form .bvc-checkout-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 70px;
    align-items: start;
    margin-bottom: 30px;
}
.bvc-checkout-title {
    text-align : center !important;
}


/* ==========================================================
   SUPPRESSION DU STYLE "CARTE" PMPRO
   ========================================================== */

#pmpro_form .pmpro_card {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#pmpro_form .pmpro_card_content {
    padding: 0 !important;
}

#pmpro_form .pmpro_card_title {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}


/* On masque les titres PMPro devenus inutiles */
#pmpro_user_fields-title,
#pmpro_form_fieldset-a-propos-de-vous-title,
#pmpro_pricing_fields > .pmpro_card_title {
    display: none !important;
}


/* ==========================================================
   COLONNE GAUCHE : CRÉATION DU COMPTE
   ========================================================== */

#pmpro_user_fields {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0;
}

#pmpro_user_fields .pmpro_form_fields {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
}

/* Les anciennes colonnes PMPro deviennent verticales */
#pmpro_user_fields .pmpro_cols-2 {
    display: contents !important;
}

/* Chaque champ */
#pmpro_user_fields .pmpro_form_field {
    margin: 0 !important;
    width: 100% !important;
}

/* Labels */
#pmpro_form .pmpro_form_label {
    margin-bottom: 6px;
}

/* Inputs */
#pmpro_user_fields input[type="text"],
#pmpro_user_fields input[type="email"],
#pmpro_user_fields input[type="password"] {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}


/* ==========================================================
   ORDRE DES CHAMPS
   ========================================================== */

/* E-mail */
#pmpro_user_fields .pmpro_form_field-bemail {
    order: 1;
}

/* Confirmation e-mail */
#pmpro_user_fields .pmpro_form_field-bconfirmemail {
    order: 2;
}

/* Mot de passe */
#pmpro_user_fields .pmpro_form_field-password:has(#password) {
    order: 3;
}

/* Confirmation mot de passe */
#pmpro_user_fields .pmpro_form_field-password:has(#password2) {
    order: 4;
}


/* ==========================================================
   PETITE MENTION SOUS LE MOT DE PASSE
   ========================================================== */

.bvc-password-help {
    display: block;
    margin-top: 5px;
}


/* ==========================================================
   BLOC OFFRE À DROITE
   ========================================================== */

#pmpro_pricing_fields {
    text-align: center;
    padding: 0 !important;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pmpro_pricing_fields .pmpro_card_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#pmpro_pricing_fields .pmpro_card_content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pmpro_pricing_fields .pmpro_level_name_text {
    margin: 0 0 8px !important;
}

/* Masqué car remplacé par le texte voulu */
#pmpro_pricing_fields .pmpro_level_description_text {
    display: none !important;
}

#pmpro_level_cost {
    margin: 0 !important;
}

#pmpro_level_cost p {
    margin: 0 !important;
}

#pmpro_level_cost strong {
    display: block;
    margin: 5px 0;
}


/* Texte ajouté sous le prix */
.bvc-duration {
    margin-top: 4px;
}


/* ==========================================================
   CONNEXION COMPTE EXISTANT
   ========================================================== */

#pmpro_user_fields .pmpro_card_actions {
    margin-top: 18px !important;
    padding: 10px 0 !important;
    background: transparent !important;
    border: 0 !important;
}


/* ==========================================================
   PRÉNOM / NOM
   ========================================================== */

#pmpro_form_fieldset-a-propos-de-vous {
    border: 0 !important;
    padding: 0 !important;
    margin: 20px 0 0 !important;
}

#pmpro_form_fieldset-a-propos-de-vous .pmpro_form_fields {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: end;
}

/* Prénom à gauche */
#pr_nom_div {
    grid-column: 1;
    grid-row: 1;
}

/* Nom à droite */
#nom_div {
    grid-column: 2;
    grid-row: 1;
}

#nom_div input,
#pr_nom_div input {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}


/* ==========================================================
   CONDITIONS GÉNÉRALES
   ========================================================== */

#conditions_div {
    grid-column: 1 / -1;
    margin-top: 10px !important;
}

#conditions_div .pmpro_form_label {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

#conditions_div input[type="checkbox"] {
    flex: 0 0 auto;
}


/* ==========================================================
   BOUTON
   ========================================================== */

#pmpro_form .pmpro_form_submit {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

#pmpro_submit_span {
    display: block;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    #pmpro_level-1 {
        width: 100%;
    }

    #pmpro_form .bvc-checkout-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Sur mobile : offre avant formulaire */
    #pmpro_pricing_fields {
        order: 1;
        width: 100%;
        padding-top: 0 !important;
    }

    #pmpro_user_fields {
        order: 2;
        width: 100%;
    }

    #pmpro_form_fieldset-a-propos-de-vous .pmpro_form_fields {
        grid-template-columns: 1fr;
    }

    #pr_nom_div,
    #nom_div,
    #conditions_div {
        grid-column: 1;
        grid-row: auto;
    }

    #pr_nom_div {
        order: 1;
    }

    #nom_div {
        order: 2;
    }

    #conditions_div {
        order: 3;
    }

}/* End custom CSS */