/*-------------------------- BEGIN MY ACCOUNT-------------------------------*/
div#content_my_account {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 4%;
}

#left_account_column .row .links a {
    display: block;
    width: 100%;
    padding: 2% 4%;
    color: black;
}

#left_account_column .row .links a:hover {
    font-weight: bold;
}


#addresses #main > header.page-header,
#address #main > header.page-header,
#identity #main > header.page-header,
#history #main > header.page-header,
#order-slip #main > header.page-header,
#wishlist #main > header.page-header,
#module-psgdpr-gdpr #main > header.page-header,
#order-detail #main > header.page-header,
#discount #main > header.page-header {
    display: none;
}


#addresses h1,
#address h1,
#identity h1,
#history h1,
#order-slip h1,
#wishlist h1,
#module-psgdpr-gdpr h1,
#order-detail h1,
#discount h1 {
    color: black;
}

#addresses #left_account_column .row .links a#addresses-link,
#address #left_account_column .row .links a#addresses-link,
#identity #left_account_column .row .links a#identity-link,
#history #left_account_column .row .links a#history-link,
#order-slip #left_account_column .row .links a#order-slips-link,
#wishlist #left_account_column .row .links a#wishlist-link,
#module-psgdpr-gdpr #left_account_column .row .links a#psgdpr-link,
#order-detail #left_account_column .row .links a#order-detail,
#discount #left_account_column .row .links a#discounts-link {
    color: black;
    font-weight: bold;
    border: 1px solid #7A7A7A;
}

#left_account_column .row .links a .link-item i.material-icons {
    display: none;
}


#identity label.required::after,
#addresses label.required::after,
#address label.required::after,
#history label.required::after,
#order-slip label.required::after,
#wishlist label.required::after,
#module-psgdpr-gdpr label.required::after {
    content: " *"; /* Ajoute une astérisque */
    color: red; /* Vous pouvez changer la couleur de l'astérisque si besoin */
    margin-left: 2px; /* Espace entre le texte et l'astérisque */
}

#left_account_column .row .links a#logout-link {
    display: block;
    width: 100%;
    padding: 2% 4%;
    color: white;
    border: 1px solid #7A7A7A;
    font-weight: bold;
    text-align: center;
    text-decoration: unset;
    margin-top: 10%;
    background: black;
}

#left_account_column .row .links a#logout-link:hover {
    background-color: white;
    color: black;
    border: 1px solid black;
}

#left_account_column .my-account-links {
    margin-top: 5%;
    width: 100%;
    display: grid;
    grid-template-columns: 60% 40%;
}

#my-account .picture_account_mnails img {
    width: 40%;
}

#my-account #main footer.page-footer {
    display: none;
}

/*--- MOBILE ---*/
@media (max-width: 1075px) {
    div#content_my_account {
        display: block;
    }

    #left_account_column i.material-icons.mobile_icon {
        position: absolute;
        right: 2%;
    }

    #left_account_column .row .links a {
        position: relative;
    }
}

/*-------------------------- END MY ACCOUNT-------------------------------*/


/*-------------------------- BEGIN AUTHENTICATION-------------------------------*/
#authentication .page-authentication #content, #authentication .page-registration #content {
    max-width: unset;
}

#authentication div#content {
    display: grid;
    grid-template-columns: 45% 45%;
    gap: 10%;
    width: 70%;
    max-width: unset;
}


#authentication {
    color: black;
}

#authentication form .form-control-label {
    font-size: .875rem;
    font-weight: 700;
    color: #232323;
    text-align: left;
}

#authentication #login-form .col-md-6.js-input-column {
    width: 100%;
}

.page-customer-account #content .forgot-password {
    text-align: left;
}

#authentication .form-footer.text-sm-center {
    text-align: left !important;
}

#authentication button#submit-login {
    width: 100%;
    text-transform: unset;
}

#authentication h2.title_authentication {
    color: black;
}

#authentication p.sub_title_authentication {
    color: black;
    font-size: 0.8rem;
}

#authentication #content .no-account a {
    border: 1px solid black;
    padding: 2%;
    width: 100%;
    display: block;
    text-align: center;
    font-weight: 600;
}

#authentication #content .no-account a:hover {
    background-color: black;
    color: #FFF;
}

#authentication #content .no-account a:focus {
    background-color: black;
    color: #FFF;
}

.page-customer-account #content .no-account {
    text-align: left;
}

#authentication .login-form {
    margin-top: unset;
}

.input-group .input-group-btn > .btn[data-action=show-password] {
    background: #000000;
    border-radius: unset;
}

.input-group .input-group-btn > .btn[data-action=show-password]:hover {
    background-color: #7A7A7A;
    border-radius: unset;
}

#identity .list_fields_customer {
    height: auto;
    min-height: 30vh;
}

/*--- MOBILE ---*/
@media (max-width: 1075px) {
    #authentication div#content {
        display: block;
        width: 100%;
    }

    #authentication #content .no-account a {
        font-weight: unset;
    }

    #authentication section.no-account {
        margin-top: 25%;
    }
}

/*--------------------------END AUTHENTICATION-------------------------------*/


/*-------------------------- BEGIN REGISTRATION-------------------------------*/
#registration .page-registration #content {
    max-width: unset;
}

#registration label.col-md-3.form-control-label {
    width: 100%;
    text-align: left;
}

#registration .form-control-comment {
    color: black;
}

#registration form#customer-form {
    width: fit-content;
}

#registration button.btn.btn-primary.form-control-submit.float-xs-right {
    float: unset !important;
}

#registration .col-md-3.form-control-comment {
    width: 100%;
    font-style: italic;
    font-size: 0.7rem;
}

#registration .form-group.row {
    display: grid;
}

#registration .col-md-6.js-input-column {
    width: 100%;
}

#registration h1.h1_title_registration {
    color: black;
}

#registration #field-siret {
    padding-right: 30px; /* Laisser de la place pour l'icône */
    transition: background-color 0.3s, border 0.3s; /* Animation fluide */
}


/*--------------------------END REGISTRATION-------------------------------*/

/*-------------------------- BEGIN RETOURS -------------------------------*/
.page-customer-account #content {
    color: #000;
}

/*--------------------------END RETOURS-------------------------------*/

/*-------------------------- BEGIN IDENTITY-------------------------------*/

#identity label.col-md-3.form-control-label {
    width: 100%;
    text-align: left;
}

#identity .col-md-3.form-control-comment {
    width: 100%;
    font-style: italic;
    font-size: 0.7rem;
}


#identity .field-radio-buttons-mnails .form-group.row, #identity .field-checkbox-mnails .form-group.row {
    display: block;
    width: 100%;
}

#identity .form-group.row {
    width: 50%;
    box-sizing: border-box;
    float: left;
    margin-bottom: unset;
}

#customer-form .form-group.row .col-md-6.js-input-column {
    width: 90%;
}


.page-customer-account #content {
    padding: unset;
}

/*--------------------------END IDENTITY-------------------------------*/

/*--------------------------BEGIN ADDRESS-------------------------------*/
.page-addresses .address .address-footer a {
    margin-right: .5rem;
    color: #FFF;
    width: 100%;
    display: block;
    text-align: center;
    background-color: black;
    margin-bottom: 1%;
    padding: 1%;
    font-weight: bold;
}

.page-addresses .address .address-footer a:hover, .page-addresses .address .address-footer a:focus {
    color: #000000;
    background-color: #FFF;
    border: 1px solid #7A7A7A;
}

.page-addresses .address .address-footer a .material-icons {
    display: none;
}

.page-addresses .address .address-footer {
    padding: unset;
    border-top: 1px solid #7a7a7a;
}

.js-address-form form .form-fields {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0%;
}

#address label.col-md-3.form-control-label {
    width: 100%;
    text-align: left;
}

#address .col-md-3.form-control-comment {
    width: 100%;
}

#address .col-md-6.js-input-column {
    width: 90%;
}

#address h1 {
    color: black;
}

#address input#field-phone_mobile {
    margin-bottom: 2%;
}

span#span_tva_valid {
    align-content: center;
    margin-right: 2%;
    margin-top: 5%;
}

.custom_tva {
    width: 100%;
}

#div_custom_tva .col-md-6.js-input-column {
    width: 100%;
}

span#span_tel_valid {
    margin-top: 9.5%;
    margin-right: 2%;
}

#div_custom_tel .col-md-6.js-input-column {
    width: 100%;
}

div#div_custom_tel {
    margin-top: 2.6%;
}

input#field-phone_mobile {
    margin-top: 0.3%;
}

div#div_custom_tva {
    margin-top: 1.6%;
}

label#label_phone_mobile {
    display: contents;
}

label#label_tva {
    display: contents;
}

.help-text {
    display: none; /* Masquer le texte par défaut */
    position: absolute;
    background-color: #f9f9f9;
    color: #333;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 200px;
    top: 30px;
    left: 0;
}

input#field-vat_number {
    margin-top: 1%;
}


@media (max-width: 1300px) {
    .js-address-form form .form-fields {
        display: block;
        grid-template-columns:unset;
        gap: unset;
    }

    .field-checkbox-mnails {
        width: 250%;
    }

    .custom_tva {
        width: 100%;
    }

    span#span_tva_valid {
        margin-left: -5%;
        margin-top: 5%;
    }

    #div_custom_tva .col-md-6.js-input-column {
        width: 100%;
        display: block;
    }

    #div_custom_tva label.col-md-3.form-control-label {
        width: fit-content;
        padding-left: unset;
    }

    span#span_tel_valid {
        margin-top: 45%;
        margin-right: 4%;
    }

    #div_custom_tel .col-md-6.js-input-column {
        width: 100%;
        display: block;
    }

    #div_custom_tel label.col-md-3.form-control-label {
        width: fit-content;
        padding-left: unset;
    }

    span#span_indic_tel {
        font-size: 9px;
    }
}

/*--------------------------END ADDRESS-------------------------------*/
/*--------------------------BEGIN HISTORY-------------------------------*/
#history .thead-default th {
    background-color: black;
    color: white;
    border: unset;
}

table.table.table-striped.table-bordered.table-labeled.hidden-sm-down {
    color: black;
}

.page-customer-account #content .order-actions a.view-order-details-link {
    background-color: black;
    padding: 2%;
    color: white;
}

.page-customer-account #content .order-actions a.reorder-link {
    background-color: black;
    padding: 2%;
    margin-left: 1%;
    color: white;
}

.page-customer-account #content .order-actions a.view-order-details-link:hover, .page-customer-account #content .order-actions a.reorder-link:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}

/*--------------------------END HISTORY-------------------------------*/
/*--------------------------BEGIN ORDER-SLIP -------------------------------*/
#order-slip #main .page-content h6 {
    margin-bottom: 1.125rem;
    color: black;
}

#order-slip .thead-default th {
    background-color: black;
    color: white;
    border: unset;
}

#order-slip tbody td a {
    font-weight: bold;
}

#order-slip .table-bordered, .table-bordered td, .table-bordered th {
    border: 1px solid #f6f6f6;
    color: black;
}


span#nb_vouchers, span#nb_order_slip {
    font-size: 0.5rem;
    vertical-align: top;
    background-color: black;
    padding: 1%;
    border-radius: 34%;
    color: white;
    margin: unset;
    display: inline-block;
    width: 2em;
    height: 2em;
    padding: unset;
    text-align: center;
    font-size: 10px;
    border-radius: 100%;
    margin-left: 1%;
}

/*--------------------------END  ORDER-SLIP -------------------------------*/
/*--------------------------BEGIN ORDER-DETAIL -------------------------------*/
#order-detail .btn-right-order-detail a.button-primary {
    padding: 1%;
    background-color: black;
    color: white;
    margin-left: auto;
    display: block;
    width: fit-content;
}

#order-detail .btn-right-order-detail a.button-primary:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}

#order-detail .box.primary-informations-box {
    display: grid;
    grid-template-columns: 50% 50%;
}

#order-detail .btn-right-order-detail {
    margin-bottom: 2%;
}

#order-detail .thead-default th {
    background-color: black;
    color: white;
    border: unset;
}

#order-detail label.col-md-3.form-control-label {
    width: 100%;
    text-align: left;
}

#order-detail .form-footer button.btn.btn-primary.form-control-submit {
    background-color: black;
    color: white;
    font-weight: bold;
}

#order-detail .form-footer button.btn.btn-primary.form-control-submit:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}
@media (max-width: 1300px) {
    #order-detail .box.primary-informations-box {
        display: block;
    }
    #order-detail .btn-right-order-detail a.button-primary {
        padding: 1%;
        background-color: black;
        color: white;
        margin-left: unset;
        display: block;
        width: 100%;
    }
}
/*--------------------------END  ORDER-DETAIL -------------------------------*/
/*--------------------------BEGIN DISCOUNT -------------------------------*/
#discount .thead-default th {
    background-color: black;
    color: white;
    border: unset;
}

/*--------------------------END DISCOUNT -------------------------------*/
/*--------------------------BEGIN WISHLIST LIST -------------------------------*/
#module-blockwishlist-lists .wishlist-footer-links > a {
    font-size: 0.875rem;
    letter-spacing: 0;
    line-height: 1.1875rem;
    color: black !important;
}

#module-blockwishlist-lists a.wishlist-add-to-new.text-primary {
    background-color: black;
    color: white !important;
    padding: 1%;
}

#module-blockwishlist-lists a.wishlist-add-to-new.text-primary:hover {
    background-color: white;
    border: 1px solid black;
    color: black !important;
}


#module-blockwishlist-lists p.wishlist-list-item-title {
    color: black !important;
}

#module-blockwishlist-lists p.wishlist-list-item-title:hover {
    color: #7A7A7A !important;
}

#module-blockwishlist-lists .wishlist-list-item-right > button i {
    color: black !important;
}

#module-blockwishlist-lists .wishlist-list-item-right > button i:hover {
    color: #7A7A7A !important;
}

/*--------------------------END WISHLIST LIST -------------------------------*/
/*--------------------------BEGIN GDPR -------------------------------*/
#module-psgdpr-gdpr .psgdprinfo17 {
    background: unset;
}

#module-psgdpr-gdpr .psgdprinfo17 h2 {
    color: black;
}

#module-psgdpr-gdpr #exportDataToCsv, #module-psgdpr-gdpr #exportDataToPdf {
    margin-right: 10px;
    margin-left: 10px;
    font-weight: bold;
}

#module-psgdpr-gdpr #exportDataToCsv:hover, #module-psgdpr-gdpr #exportDataToPdf:hover {
    background-color: white;
    border: 1px solid black;
    color: black !important;
}


/*--------------------------END GDPR -------------------------------*/

