@charset 'utf-8';

/* =============================================================================
   Pages Mon profil & Mes commandes (espace client)
   CSS d origine (PROD) restaure apres refonte 2026 — classes du widget
   plugins/backoffice_gestion_softaneo_liaison/includ/chaque_widget/{mon_profil,mes_commandes}.php
   Charge apres refonte_2026.css grace au prefixe z_ (ordre alphabetique).
   ============================================================================= */

/* --- Polices Futura utilisees par le widget (completent celles de refonte_2026.css) --- */
@font-face { font-family: "FuturaPTBook";  src: url('futura/FuturaPTBook.otf');  font-display: swap; }
@font-face { font-family: "FuturaPTHeavy"; src: url('futura/FuturaPTHeavy.otf'); font-display: swap; }
@font-face { font-family: "FuturaPTDemi";  src: url('futura/FuturaPTDemi.otf');  font-display: swap; }

/* --- Styles de base (tous viewports) --- */
.contenu_page_mon-profil,
.contenu_page_mes-commandes {
    margin-top: 68px;
}

.heaver_menu_profil_commande {
    padding: 10px;
    text-align: center;
}

.cadre_menu_profil_commande {
    display: inline-block;
}

.un_ele_menu_profil_commande,
.btn_deconnexion {
    font-family: "FuturaPTBook";
    font-size: 15px;
    color: #1B2330;
    padding-left: 13px;
    padding-right: 13px;
    display: inline-block;
    cursor: pointer;
}

.un_ele_menu_profil_commande_actif {
    color: #004A93;
}

.cadre_faux_ariane_retour_accueil {
    display: none;
}

/* Bouton "Retour boutique en ligne" affiche au-dessus du titre Mon profil */
.cadre_faux_ariane_retour_accueil .autour_lien_page_precedente {
    width: auto;
    margin: 0;
    padding-top: 15px;
}

.cadre_faux_ariane_retour_accueil .lien_page_precedente {
    display: inline-block;
    font-family: "FuturaPTMedium";
    font-size: 12px;
    color: #000034;
    margin: 0;
    padding-left: 20px;
    background-image: url('../images/ariane_noir.png');
    background-repeat: no-repeat;
    background-position: 0 3px;
    cursor: pointer;
}

.cadre_principale_section_profil_commande {
    background-color: #F6F6F6;
    padding-bottom: 40px;
    position: relative;
}

.titre_pricnipale_section_profil_commande {
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    font-family: "FuturaPTHeavy";
    font-size: 20px;
    color: #1B2330;
}

.une_section_profil_commande {
    background-color: #FFFFFF;
    border-radius: 8px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.titre_pour_une_section_profil_commande {
    font-family: "FuturaPTMedium";
    font-size: 20px;
    color: #000034;
    background-image: url('../images/fleche_deploiement_simule2.png');
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.une_section_profil_commande .interieur_section_profil_commande {
    display: none;
}

.une_section_profil_commande_actif .interieur_section_profil_commande {
    display: block;
    padding-top: 35px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.une_section_profil_commande_actif .titre_pour_une_section_profil_commande {
    background-image: url('../images/fleche_deploiement_simule.png');
}

.btn_action_profil_commande {
    background-color: #003989;
    color: #fff;
    width: 235px;
    margin: auto;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: "FuturaPTDemi";
    font-size: 12px;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.btn_action_profil_commande:hover {
    transform: scale(1.2);
}

.btn_action_profil_commande.btn_action_profil_commande_actif {
    background-color: #0B1956;
    color: transparent;
    position: relative;
}

.btn_action_profil_commande.btn_action_profil_commande_actif:after {
    content: "Enregistrer les modifications";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: "FuturaPTDemi";
    font-size: 12px;
    white-space: nowrap;
}

.receptacle_gestionnaire_adresse_mon_profil {
    text-align: center;
}

.contenu_adresse_annexe {
    text-align: left;
}

.un_champs_cible_section_profil_commande {
    width: 296px;
    margin: auto;
    padding-bottom: 15px;
    position: relative;
}

.input_un_champs_cible_section_profil_commande {
    border: 1px solid #6C6C6C;
    background-color: transparent;
    border-radius: 8px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 8px;
    padding-bottom: 7px;
    padding-left: 12px;
    padding-right: 12px;
    font-family: "FuturaPTBook";
    font-size: 15px;
    color: #6C6C6C;
}

.une_section_profil_commande_actif .input_un_champs_cible_section_profil_commande {
    background-image: url('../images/crayon_discret.png');
    background-repeat: no-repeat;
    background-position: 95% center;
}

.input_un_champs_cible_section_profil_commande:focus {
    border: 1px solid #000000;
    background-image: none;
    outline: none;
}

.label_un_champs_cible_section_profil_commande {
    position: absolute;
    padding-left: 5px;
    padding-right: 5px;
    top: -8px;
    left: 25px;
    font-family: "FuturaPTBook";
    font-size: 12px;
    color: #707070;
    z-index: 1;
    background-color: #fff;
}

.un_champs_cible_section_profil_commande .pass_eye {
    position: absolute;
    right: 10px;
    top: 5px;
}

.un_champs_cible_section_profil_commande .pass_eye img {
    height: 25px;
    width: auto;
}

/* --- Page mes commandes (base) --- */
.filtrage_commande {
    display: none; /* affiche via .filtrage_commande_visible quand il y a des commandes */
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
}

.filtrage_commande select {
    padding: 6px;
    border: 1px solid #707070;
    border-radius: 6px;
}

.btn_classement_commande_par_anne {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #707070;
    font-family: "FuturaPTHeavy";
    font-size: 20px;
    color: #1B2330;
    text-align: left;
    background-image: url('../images/fleche_deploiement_simule.png');
    background-repeat: no-repeat;
    background-position: 96% 11px;
    margin-bottom: 20px;
    cursor: pointer;
}

.btn_classement_commande_par_anne_actif {
    border-bottom: 1px solid #000000;
    background-image: url('../images/fleche_deploiement_simule2.png');
    background-repeat: no-repeat;
    background-position: 96% 11px;
}

.receptacle_gestionnaire_commande {
    width: 100%;
}

.cadre_block_commande_front {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.titre_block_commande_front {
    font-family: "FuturaPTMedium";
    font-size: 20px;
    text-decoration: underline;
    color: #242727;
    padding-bottom: 15px;
}

.date_commande,
.tarif_commande {
    padding-bottom: 10px;
    font-family: "FuturaPTBook";
    font-size: 15px;
    color: #242727;
}

.cadre_produit_dans_commande {
    padding-top: 10px;
    padding-bottom: 10px;
}

.img_produit_dans_commande {
    width: 98px;
    display: inline-block;
    vertical-align: top;
}

.img_produit_dans_commande img {
    max-width: 100%;
    height: auto;
}

.encadre_info_produit_dans_commande_front {
    width: calc(100% - 110px);
    display: inline-block;
    vertical-align: top;
    padding-left: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.designation_produit_dans_commande {
    font-family: "FuturaPTMedium";
    font-size: 15px;
    text-decoration: underline;
    color: #242727;
    padding-bottom: 10px;
}

.qut_produit_dans_commande {
    padding-bottom: 10px;
    font-family: "FuturaPTBook";
    font-size: 15px;
    color: #242727;
}

.mnt_produit_dans_commande {
    padding-top: 20px;
    font-family: "FuturaPTHeavy";
    font-size: 20px;
    color: #4A4A4A;
}

.statut_commande_front {
    padding-top: 20px;
    font-family: "FuturaPTHeavy";
    font-size: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.btn_dl_commande_front {
    width: 236px;
    margin: auto;
    border-radius: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #003989;
    cursor: pointer;
    color: #fff;
    font-family: "FuturaPTBook";
    font-size: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.btn_dl_commande_front:hover {
    transform: scale(1.2);
}

/* --- Tablette et plus : grille des sections en cards --- */
@media screen and (min-width: 730px) {
    .cadre_faux_ariane_retour_accueil {
        display: block;
    }

    .cadre_principale_section_profil_commande {
        background-color: #fff;
        text-align: center;
        margin-top: -15px;
    }

    .titre_pricnipale_section_profil_commande {
        padding-top: 10px;
    }

    .une_section_profil_commande {
        background-color: #EFEFEF;
        border-radius: 8px;
        -webkit-box-shadow: 0 6px 6px 0 rgba(161, 161, 161, 0.5);
        box-shadow: 0 6px 6px 0 rgba(161, 161, 161, 0.5);
        display: inline-block;
        vertical-align: top;
        height: 400px;
        width: 320px;
        margin: 15px;
        text-align: left;
        border: 1px solid #edf0f5;
        position: relative;
    }

    .une_section_profil_commande_des_adresses {
        width: 670px;
        margin: auto;
        margin-top: 15px;
        height: auto;
    }

    .une_section_profil_commande_actif {
        background-color: #fff;
    }

    .interieur_section_profil_commande,
    .une_section_profil_commande .interieur_section_profil_commande {
        display: block;
        padding-top: 35px;
    }

    .label_un_champs_cible_section_profil_commande {
        background-color: #EFEFEF;
    }

    .une_section_profil_commande_actif .label_un_champs_cible_section_profil_commande {
        background-color: #fff;
    }

    .cadre_btn_action_profil_commande {
        position: absolute;
        width: 236px;
        bottom: 30px;
        left: 50%;
        margin-left: -117px;
    }

    /* Page mes commandes */
    .cadre_principale_section_profil_commande .contenu_centre {
        position: relative;
    }

    /* Filtre masque par defaut, rendu visible par JS quand des commandes existent */
    .filtrage_commande {
        display: none;
        position: absolute;
        right: 24px;
        top: 12px;
        width: 197px;
    }

    .filtrage_commande.filtrage_commande_visible {
        display: block;
    }

    .cadre_block_commande_front {
        margin-bottom: 25px;
        border: 1px solid #707070;
        border-radius: 8px;
        padding-left: 30px;
        padding-right: 0px;
        text-align: left;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .liste_produit_et_cadre_btn_dl_dans_commande_front {
        padding-top: 15px;
    }

    .date_commande,
    .tarif_commande {
        display: inline-block;
        vertical-align: middle;
        padding-bottom: 0px;
    }

    .date_commande {
        padding-right: 20px;
    }

    .tarif_commande {
        padding-left: 20px;
        border-left: 1px solid #707070;
    }

    .liste_produit_dans_commande_front {
        width: 60%;
        box-sizing: border-box;
        display: inline-block;
        vertical-align: middle;
        border-right: 1px solid #707070;
        position: relative;
    }

    .cadre_btn_dl_commande_front {
        width: 39%;
        box-sizing: border-box;
        text-align: center;
        display: inline-block;
        vertical-align: middle;
    }

    /* Adresse annexe */
    .btn_activation_adresse_annexe {
        display: none;
    }

    .present_adresse_active,
    .present_adresse_inactive {
        display: flex;
        align-items: stretch;
    }

    .contenu_adresse_annexe {
        padding-left: 20px;
        width: 70%;
        display: inline-block;
        vertical-align: middle;
        border-bottom: 0px;
    }

    .action_adresse_annexe {
        float: right;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: auto;
    }

    .btn_action_adresse_annexe {
        display: block;
        margin: 10px 0;
        padding-right: 20px;
        text-align: right;
    }

    .logo_de_btn_action_adresse_annexe {
        display: none;
    }

    .btn_action_adresse_annexe_modifier {
        background-image: url('../images/btn_action_adresse_annexe_modifier.png');
        background-repeat: no-repeat;
        background-position: right;
    }

    .btn_action_adresse_annexe_supprimer {
        background-image: url('../images/btn_action_adresse_annexe_supprimer.png');
        background-repeat: no-repeat;
        background-position: right;
    }

    .zone_titre_individuel_adresse_annexe {
        margin-bottom: 10px;
    }
}

/* --- Desktop large (>=1000px) --- */
@media screen and (min-width: 1000px) {
    .une_section_profil_commande {
        width: 424px;
    }

    .une_section_profil_commande_des_adresses {
        width: 878px;
    }

    .contenu_page_mon-profil,
    .contenu_page_mes-commandes {
        margin-top: 90px;
    }

    .heaver_menu_profil_commande {
        border-bottom: 1px solid #edf0f5;
    }

    .bouton_de_creation_nouvelle_adresse {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* --- Validations formulaire --- */
.cadre_formulaire_adresse_interne .champ-invalide-adresse-annexe {
    border-color: #ff0000 !important;
}

.champ-invalide-global {
    border-color: #ff0000 !important;
}
