/*******************/
/* Rewards account */
/*******************/
.rewards {
    margin-bottom: 20px;
}

.rewards #aior_buttons {
    text-align: center;
}

.rewardsBlock {
    padding-top: 10px;
}

.rewards h2 {
    margin: 50px 0 0 0;
    font-size: 14px;
    padding-bottom: 10px !important;
    border-bottom: none;
}

.rewards p {
    margin: 0 0 0.5em 0 !important;
    padding: 0 !important;
    width: 100%;
    border: none;
}

.rewards table.std {
    border-style: none !important;
    margin-bottom: 20px;
}

.rewards table.std thead {
    border-collapse: collapse;
    border: solid 1px #BBBBBB !important;
}

.rewards table.std th {
    font-size: 10px;
    font-weight: bold;
    line-height: 13px;
    height: 13px !important;
    padding: 5px !important;
    text-shadow: none !important;
    /*background: url("../img/bg_table_th.png") repeat-x scroll 0 0 #999999;*/
    /*background: url("../../../../../../modules/allinone_rewards/img/bg_table_th.png") repeat-x scroll 0 0 #999999;*/
    color: #FFFFFF;
    text-transform: uppercase;
}

.rewards table.std td {
    border: 1px solid #E9E9E9 !important;
    font-size: 11px;
    line-height: 13px;
    padding: 5px !important;
}

.rewards div.pagination {
    padding: 0;
    margin: 0;
}

.rewards form.pagination {
    display: none;
}

.rewards div#transform, .rewards div#payment, .rewards div#gift_list {
    padding-top: 20px;
    padding-right: 4px;
    text-align: center;
    display: inline-block;
}

.rewards div#transform a, .rewards div#payment a, .rewards div#gift_list a {
    /*background: url("../img/bg_bt.gif") repeat-x scroll 0 0 #F4B61B;*/
    /*background: url("../../../../../../modules/allinone_rewards/img/bg_bt.gif") repeat-x scroll 0 0 #F4B61B;*/
    border: 1px solid #CC9900;
    border-radius: 3px 3px 3px 3px;
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    padding: 5px 7px;
    position: relative;
    text-decoration: none;
}

.rewards div#transform a span, .rewards div#payment a span {
    color: red;
}

.rewards #payment_txt {
    padding-bottom: 10px;
}

.rewards #payment_form {
    margin-top: 20px;
    text-align: left;
}

.rewards #payment_form fieldset {
    padding: 10px;
    background: none repeat scroll 0 0 #F8F8F8;
    border: 1px solid #CCCCCC;
    margin: 0;
}

.rewards #payment_form p {
    margin: 0;
    padding: 0 0 10px;
}
.rewards #payment_form p.required {
    color: #222222;
}

.rewards #payment_form p.required sup {
    color: #990000;
}

.rewards #payment_form p label {
    display: inline-block;
    float: left;
    font-size: 12px;
    width: 25%;
    clear: both;
}

.rewards #payment_form p.textarea textarea {
    border: 1px solid #CCCCCC;
    color: #666666;
    font-size: 12px;
    width: 74%;
}

.rewards .uploader {
    width: 74%;
}

.rewards #payment_form label {
    text-align: left;
}

.rewards #payment_form .button {
    margin: 20px auto 0;
    display: block;
}

.rewards p.success {
    background: none repeat scroll 0 0 #A5FC9F;
    border: 1px solid green;
    color: green;
    font-size: 13px;
    margin: 0 0 10px;
    padding: 10px !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.rewards p.error, #module-allinone_rewards-rewards_account p.error {
    background: none repeat scroll 0 0 #FFDDDD;
    border: 1px solid #DA0F00;
    color: #DA0F00;
    font-size: 13px;
    margin: 0 0 10px;
    padding: 10px !important;
    width: auto !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.rewards .pagination {
    margin: 0;
}

.rewards .block_hidden_only_for_screen {
    display: none !important;
}

/***************/
/* Sponsorship */
/***************/

#sms_form #phone {
    display: inline;
    width: 120px;
}

.checker {
    padding-top: 0 !important;
}

.sponsorship_nok {
    border-color: #D52525 !important;
}

.rewards div.sheets {
    padding: 0 10px 30px 10px;
    overflow: auto;
    border: solid 1px #DDDDDD;
}

.rewards .idTabs {
    margin-top: 10px !important;
    margin-bottom: 0px;
    width: 100%;
    display: table;
}

.rewards .idTabs li {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    padding-right: 1px;
    margin-right: 0;
    margin-bottom: -1px;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.rewards .idTabs a {
    width: 100%;
    padding: 8px 0;
    background-image: none;
    background-color: #f6f6f6;
    border: solid 1px #DDDDDD;
    border-radius: 2px 2px 0 0;
    font-size: 11px;
    line-height: 16px;
    color: #555454;
    text-transform: uppercase;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Comment these 2 blocks if you want to keep the standart style of your theme for the tabs */
.rewards .idTabs .selected {
    background-color: #FFFFFF;
    background-image: none;
    border-bottom: 1px solid #ffffff;
    text-decoration: none;
}
/* end */

.sponsorshipBlock div {
    padding-top: 10px;
    vertical-align: top !important;
    font-size: 12px;
}

.sponsorshipBlock li img {
    height: 20px !important;
}

.sponsorshipBlock a {
    text-decoration: underline;
}

.sponsorshipBlock input[type=text],
.sponsorshipBlock input[type=password],
.sponsorshipBlock textarea,
.sponsorshipBlock select {
    border: 1px solid #BDC2C9;
}

.sponsorshipBlock input[type=text],
.sponsorshipBlock input[type=password] {
    height: 18px !important;
    width: 90%;
}

.sponsorshipBlock textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.sponsorshipBlock ul {
    padding-left: 25px !important;
}

.sponsorshipBlock li {
    padding-top: 10px;
    list-style-type: disc;
}

.sponsorshipBlock div.submit {
    padding-bottom: 10px;
}

.sponsorshipBlock form.std p.submit {
    padding-left: 0px !important;
}

.sponsorshipBlock #sponsorship_text p {
    padding: 0px !important;
    margin: 0 !important;
}

#sponsorship_rules {
    width: auto;
    max-width: 550px;
}

/* sponsorship statistics */
.sponsorshipBlock tr.total {
    font-weight: bold;
    background-color: #EEEEEE;
}

.sponsorshipBlock td.total {
    font-weight: bold;
    background-color: #EEEEEE;
}

.sponsorshipBlock div.title {
    font-weight: bold;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.sponsorshipBlock .left {
    text-align: left;
    float: none !important;
}

.sponsorshipBlock .center {
    text-align: center;
}

.sponsorshipBlock .right {
    text-align: right;
    float: none !important;
}

/*********/
/* Popup */
/*********/
.sponsorshipPopup {
    width: auto;
    max-width: 550px;
    text-align: left;
}

.sponsorshipPopup #invite, .sponsorshipPopup #noinvite {
    display: inline;
}

.rewards p.popup {
    text-align: center;
    padding: 10px 0 0 !important;
}


/************/
/* Facebook */
/************/
.rewards_facebook_button {
    margin-top: 10px;
    text-align: right;
    clear: both;
    z-index: 1000;
}
nav .reward_facebook_block {
    float: right;
    clear: none;
    margin-top: 8px;
    padding-right: 15px;
    width: auto;
}

#facebookblock .block_content {
    padding-top: 3px;
}
.reward_facebook_block_button {
    margin-top: 10px;
    text-align: center;
}
#reward_facebook_cart {
    padding-bottom: 10px;
}
#reward_facebook_cart p, #reward_facebook_cart .reward_facebook_cart_button {
    display: inline;
}
#rewards_facebook_code {
    font-weight: bold;
}
#rewards_facebook_confirm {
    display: none;
}

/******************/
/* authentication */
/******************/
.account_creation.aior_sponsor label {
    display: block;
}
.account_creation #sponsorship {
    display: inline-block;
}

/***********/
/* product */
/***********/
#product #loyalty {
    /* display: none; */
}
#product #sponsorship_link a::before {
    content: "\f0c0";
}

#product #sponsorship_link.sponsorship_link a::before {
    content: none;
}

#product #sponsorship_link.sponsorship_link {
    padding-left: 20px;
    background: url("../img/group_link.png") no-repeat 0 0;
}

#product #aior_product_button {
    display: none;
}

/* version 1.5 */
#product #aior_add_to_cart {
    font-weight: 700;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: transparent;
    border-color: transparent;
    margin: auto;
    outline: 0;
    cursor: pointer;
}

/* version 1.6 */
#product #aior_add_to_cart.version16:before {
    content: "\f06b";
    font: 400 15px/31px "FontAwesome";
    color: #fff;
    background: #929292;
    width: 30px;
    text-align: center;
    display: inline-block;
    height: 30px;
    margin: 0 6px 0 0;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
}

#product #aior_product_button span {
    display: none;
}

.aior_unvisible {
    display: none !important;
}

/****************/
/* product list */
/****************/
span#aior_add_to_cart_available_display, span#aior_add_to_cart_available_real {
    display: none;
}
.button.aior_add_to_cart {
    margin-top: 5px;
    font-size: 10px;
}
.button.aior_add_to_cart.exclusive {
    font-size: 13px;
    margin: 0 6px 10px 0;
}

ul.grid .button.aior_add_to_cart.exclusive {
    display: block;
    width: 200px;
    margin: 0 auto 10px;
    text-align: center;
}

ul.list .button.aior_add_to_cart.exclusive {
    float: left;
}

/********/
/* cart */
/********/
#HOOK_SHOPPING_CART #reward_loyalty, #HOOK_SHOPPING_CART #reward_facebook_cart {
    margin-bottom: 10px;
}


#product #loyalty {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ececec;
    padding: 10px;
}

#product #loyalty p {
    margin: 0;
}

#product #loyalty p #loyalty_credits {
    color: #6bb941;
}

#product #loyalty img, .cagnote_details img, .v_rew img{
    width: 27px;
}

#order .reward_cart_bloc {
    background: #fff;
    border: 1px solid #dfdfdf;
    padding: 15px;
    font-family: 'Montserrat';
    margin-top: 20px;
}

#order .reward_cart_bloc .cagnote_details {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    flex-wrap: nowrap;
}

#order .reward_cart_bloc .cagnote_details div#reward_use>strong.title {
    display: block;
}

#order .reward_cart_bloc .cagnote_details div#reward_use b.price {
    font-size: 20px;
}

#order .reward_cart_bloc .cagnote_details div#reward_use {
    flex: 1;
}

#order .reward_cart_bloc .cagnote_details div#reward_use>span {
    font-size: 12.5px;
    display: block;
    margin-bottom: 10px;
}
div#empty_cagotte div#reward_loyalty:before {
    display: none;
}

#order .reward_cart_bloc div#empty_cagotte div#reward_loyalty {
    margin-top: -38px;
    padding-left: 40px;
}

#order .reward_cart_bloc .cagnote_details div#reward_use a {
    border: 1px solid;
    padding: 8px 12px;
    display: inline-block;
    color: #b42d22;
    font-weight: 600;
    margin-bottom: 10px;
}
#order .reward_cart_bloc div#display_cart_vouchers span.voucher_name {
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

#order .reward_cart_bloc div#display_cart_vouchers {
    font-size: 12.5px;
    line-height: 21px;
}

#order .reward_cart_bloc div#reward_loyalty:before {
    content: '';
    width: 70px;
    height: 1px;
    background: #dfdfdf;
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
}
#order .reward_cart_bloc:has(div#empty_cagotte) .cagnote_details:has(#reward_use .title), #order .reward_cart_bloc:has(div#empty_cagotte) .cagnote_details:has(#reward_use #display_cart_vouchers)  {
    margin-bottom: 60px;
}

#order .reward_cart_bloc:has(div#empty_cagotte) .cagnote_details:has(#reward_use .title):after, #order .reward_cart_bloc:has(div#empty_cagotte) .cagnote_details:has(#reward_use #display_cart_vouchers):after {
    content: '';
    width: 70px;
    height: 1px;
    background: #dfdfdf;
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
}
#order .reward_cart_bloc div#reward_loyalty {
    position: relative;
    margin-top: 24px;
}

#order .reward_cart_bloc div#reward_loyalty span.price {
    font-weight: bold;
    color: #6bb941;
}

#order .reward_cart_bloc div#reward_loyalty .rea-content {
    font-size: 12.5px;
    display: block;
    margin-top: 5px;
    text-decoration: underline;
}
#order .total_de_votre_commande {
    align-items: initial;
}
#order .total_de_votre_commande>div {
    justify-content: end;
}

#order .total_de_votre_commande>div.v_rew {
    justify-content: left;
    align-items: center;
}

#order .total_de_votre_commande>div.products_total {
    margin-top: -45px;
}

#order .total_de_votre_commande>div.v_rew .rea-content {
    display: none;
}

@media (max-width: 768px) {
    #order .reward_cart_bloc .price {
        float: none;
        text-align: left;
        color: inherit;
    }
    body#order .total_de_votre_commande>div.products_total {
        margin-top: 0;
    }
    #order .total_de_votre_commande>div.v_rew {
        border-bottom: 1px solid #ececec;
        padding-bottom: 10px;
    }
    #order .total_de_votre_commande>div.v_rew div#reward_loyalty {
        text-align: left;
        padding-left: 10px;
        font-weight: normal;
    }
}

#reward_loyalty .fancy-rea{
    cursor: pointer;
}


.total_de_votre_commande .v_rew{
    gap: 0 14px!important;
}

.total_de_votre_commande .v_rew .price{
    font-weight: 700;
}


body#module-allinone_rewards-rewards .fancybox-wrap .fancybox-inner {
    min-height: auto!important;
    height: auto!important;
    width: auto!important;
}

body#module-allinone_rewards-rewards .fancybox-wrap .fancybox-skin {
    border-radius: 0;
    border-top: 5px solid #B42D22;
    padding: 30px 24px 24px!important;
}

body#module-allinone_rewards-rewards .fancybox-wrap  .aior_fancyconfirm_message {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;
    padding-right: 50px;
}

body#module-allinone_rewards-rewards .fancybox-wrap .aior_fancyconfirm_button {
    display: flex;
    justify-content: end;
    gap: 10px;
}

body#module-allinone_rewards-rewards .fancybox-wrap .aior_fancyconfirm_button button {
    font-family: 'Montserrat';
    font-size: 16px;
    padding: 13px 25px;
}

body#module-allinone_rewards-rewards .fancybox-wrap .aior_fancyconfirm_button button#fancyConfirm_ok {
    background: #B42D22;
    border-color: #B42D22;
    text-transform: uppercase;
}

body#module-allinone_rewards-rewards .fancybox-wrap .aior_fancyconfirm_button button#fancyconfirm_cancel:before {
    content: 'x';
    position: absolute;
    top: 0px;
    right: 0;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    body#module-allinone_rewards-rewards .fancybox-wrap .aior_fancyconfirm_button{
        flex-direction: column-reverse;
    }
}

/*Page mon compte*/

/* ====== .box existant ====== */
#module-allinone_rewards-rewards_account .box {
    background: #fbfbfb; border: 1px solid #ececec;
    padding: 32px; margin: 0 0 24px 0; line-height: 23px;
}

/* ====== .page-subheading existant ====== */
#module-allinone_rewards-rewards_account .page-subheading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #484848;
    font-size: 18px;
    margin: 48px 0 20px;
    line-height: normal;
    text-align: left;
    border: 0;
    padding-bottom: 0;
}
#module-allinone_rewards-rewards_account .page-subheading:first-of-type { margin-top: 0; }

#module-allinone_rewards-rewards_account .intro {
    font-style: italic; color: #777;
    margin: -4px 0 32px; font-size: 13.5px; line-height: 1.6;
}

/* ====== SOLDES ====== */
#module-allinone_rewards-rewards_account .solde-grid { display: flex; gap: 16px; margin-bottom: 20px; }
#module-allinone_rewards-rewards_account .solde-card { flex: 1; border: 1px solid #ececec; background: #fff; padding: 24px; }
#module-allinone_rewards-rewards_account .solde-card.dispo { border-top: 3px solid #6bb941; }
#module-allinone_rewards-rewards_account .solde-card.attente { border-top: 3px solid #b5b5b5; }
#module-allinone_rewards-rewards_account .solde-label {
    font-family: "Montserrat", sans-serif; font-weight: 600;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px;
    color: #777; margin: 0 0 8px;
    display: flex; align-items: center; gap: 8px;
}
#module-allinone_rewards-rewards_account .solde-label svg { width: 18px; height: 18px; flex-shrink: 0; }
#module-allinone_rewards-rewards_account .solde-amount {
    font-family: "Montserrat", sans-serif; font-weight: 700;
    font-size: 30px; line-height: 1; color: #484848; margin: 0 0 8px;
}
#module-allinone_rewards-rewards_account .solde-card.dispo .solde-amount { font-size: 46px; color: #4c862e; }
#module-allinone_rewards-rewards_account .solde-note { font-size: 12.5px; color: #777; margin: 0; line-height: 1.5; }

/* ====== EXPIRATION GLOBALE (rolling 18 mois) ====== */
#module-allinone_rewards-rewards_account .expiration-globale {
    font-size: 13px; color: #777;
    background: #f9f9f9; border: 1px solid #ececec;
    padding: 11px 16px; margin-bottom: 40px;
    display: flex; align-items: center; gap: 9px;
}
#module-allinone_rewards-rewards_account .expiration-globale svg { width: 17px; height: 17px; flex-shrink: 0; }
#module-allinone_rewards-rewards_account .expiration-globale strong { color: #484848; }

/* ====== CTA + rappel utilisation ====== */
#module-allinone_rewards-rewards_account .cta-row {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 12px; margin-bottom: 32px;
}
#module-allinone_rewards-rewards_account .btn-cta {
    display: inline-block; font: 400 14px/21px "Open Sans", sans-serif;
    color: #fff; background: #b42d22; border: 1px solid #b42d22;
    text-transform: uppercase; text-decoration: none; padding: 11px 20px;
}
#module-allinone_rewards-rewards_account .btn-cta:hover { background: #9a261c; border-color: #9a261c; }
#module-allinone_rewards-rewards_account .btn-cta .chev { margin-left: 6px; }
#module-allinone_rewards-rewards_account .cta-note { font-size: 13px; color: #777; line-height: 1.5; }
#module-allinone_rewards-rewards_account .cta-note strong { color: #484848; font-weight: 700; }

/* ====== HISTORIQUE ====== */
#module-allinone_rewards-rewards_account .histo-wrap { overflow-x: auto; }
#module-allinone_rewards-rewards_account table.histo { width: 100%; border-collapse: collapse; font-size: 13.5px; }
#module-allinone_rewards-rewards_account table.histo thead th {
    background: #484848; color: #fff;
    font-family: "Montserrat", sans-serif; font-weight: 600;
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px;
    text-align: left; padding: 11px 14px; white-space: nowrap;
}
#module-allinone_rewards-rewards_account table.histo thead th.num { text-align: right; }
#module-allinone_rewards-rewards_account table.histo tbody td { padding: 13px 14px; border-bottom: 1px solid #ececec; vertical-align: middle; }
#module-allinone_rewards-rewards_account table.histo tbody td.num { text-align: right; white-space: nowrap; font-weight: 600; }
#module-allinone_rewards-rewards_account table.histo tbody tr:last-child td { border-bottom: none; }
#module-allinone_rewards-rewards_account table.histo tbody tr:hover { background: #f9f9f9; }

#module-allinone_rewards-rewards_account .op-date { color: #777; white-space: nowrap; }
#module-allinone_rewards-rewards_account .op-label { color: #484848; }
#module-allinone_rewards-rewards_account .op-sub { display: block; color: #777; font-size: 12px; margin-top: 2px; }
#module-allinone_rewards-rewards_account .gain { color: #4c862e; }
#module-allinone_rewards-rewards_account .conso { color: #b42d22; }

#module-allinone_rewards-rewards_account .badge {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    line-height: 23px;
    white-space: nowrap;
    border-radius: 0;
}
#module-allinone_rewards-rewards_account .badge-dispo { background: #e8f3e0; color: #4c862e; }
#module-allinone_rewards-rewards_account .badge-attente { background: #f0f0f0; color: #777; }
#module-allinone_rewards-rewards_account .badge-used { background: #f7e7e5; color: #b42d22; }

/* ====== COMMENT GAGNER PLUS ====== */
#module-allinone_rewards-rewards_account .gagner-plus { display: flex; gap: 20px; flex-wrap: wrap; }
#module-allinone_rewards-rewards_account .gp-card {
    flex: 1; min-width: 200px; border: 1px solid #ececec;
    background: #fff; padding: 22px;
}
#module-allinone_rewards-rewards_account .gp-icon {
    width: 34px; height: 34px; margin-bottom: 10px;
    color: #484848;
}
#module-allinone_rewards-rewards_account .gp-title {
    font-family: "Montserrat", sans-serif; font-weight: 700;
    font-size: 14px; color: #484848; margin: 0 0 4px;
}
#module-allinone_rewards-rewards_account .gp-amount { color: #4c862e; font-weight: 700; }
#module-allinone_rewards-rewards_account .gp-text { font-size: 12.5px; color: #777; line-height: 1.55; margin: 0 0 10px; }
#module-allinone_rewards-rewards_account .gp-link { font-size: 12.5px; color: #b42d22; text-decoration: none; font-weight: 600; }
#module-allinone_rewards-rewards_account .gp-link:hover { text-decoration: underline; }

/* ====== CONDITIONS ====== */
#module-allinone_rewards-rewards_account .conditions {
    font-size: 12.5px; color: #777; line-height: 1.7;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid #ececec;
}
#module-allinone_rewards-rewards_account .conditions strong { color: #484848; }
#module-allinone_rewards-rewards_account .conditions a { color: #b42d22; text-decoration: none; }
#module-allinone_rewards-rewards_account .conditions a:hover { text-decoration: underline; }

/* ====== LIENS BAS DE PAGE ====== */
#module-allinone_rewards-rewards_account .footer-links { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
#module-allinone_rewards-rewards_account .btn-nav {
    display: inline-block; font: 600 14px/17px "Open Sans", sans-serif;
    color: #fff; background: #484848; text-transform: uppercase;
    text-decoration: none; padding: 10px 15px;
}
#module-allinone_rewards-rewards_account .btn-nav:hover { text-decoration: underline; }
#module-allinone_rewards-rewards_account .btn-nav .chev { margin-right: 5px; }

#module-allinone_rewards-rewards_account .page-transition {
    margin-top: 28px; border: 1px dashed #d5d5d5;
    background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f3f3f3 10px, #f3f3f3 20px);
    color: #9a9a9a; text-align: center; font-size: 12.5px; padding: 16px; font-style: italic;
}

#module-allinone_rewards-rewards_account .solde-card.conso {
    border-top: 3px solid #b42d22;
}


/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    #module-allinone_rewards-rewards_account .page-heading { font-size: 22px; line-height: 24px; }
    #module-allinone_rewards-rewards_account .box { padding: 18px 16px; }
    #module-allinone_rewards-rewards_account .solde-grid { flex-direction: column; gap: 12px; }
    #module-allinone_rewards-rewards_account .solde-amount { font-size: 28px; }
    #module-allinone_rewards-rewards_account .cta-row { flex-direction: column; align-items: stretch; }
    #module-allinone_rewards-rewards_account .btn-cta { text-align: center; }
    #module-allinone_rewards-rewards_account table.histo thead { display: none; }
    #module-allinone_rewards-rewards_account table.histo, table.histo tbody, table.histo tr, table.histo td { display: block; width: 100%; }
    #module-allinone_rewards-rewards_account table.histo tbody tr { border: 1px solid #ececec; margin-bottom: 12px; padding: 6px 0; }
    #module-allinone_rewards-rewards_account table.histo tbody tr:hover { background: transparent; }
    #module-allinone_rewards-rewards_account table.histo tbody td {
        border-bottom: 1px solid #f3f3f3; padding: 9px 14px;
        display: flex; justify-content: space-between; align-items: center;
        gap: 14px; text-align: right;
    }
    #module-allinone_rewards-rewards_account table.histo tbody td:last-child { border-bottom: none; }
    #module-allinone_rewards-rewards_account table.histo tbody td::before {
        content: attr(data-label); font-family: "Montserrat", sans-serif;
        font-weight: 600; font-size: 11px; text-transform: uppercase;
        letter-spacing: 0.3px; color: #777; text-align: left; flex-shrink: 0;
    }
    #module-allinone_rewards-rewards_account table.histo tbody td.op-cell .op-sub { text-align: right; }
    #module-allinone_rewards-rewards_account .footer-links { flex-direction: column; }
    #module-allinone_rewards-rewards_account .btn-nav { text-align: center; }
}


body#module-allinone_rewards-rewards_account .fancybox-wrap .fancybox-inner {
    min-height: auto!important;
    height: auto!important;
    width: auto!important;
}

body#module-allinone_rewards-rewards_account .fancybox-wrap .fancybox-skin {
    border-radius: 0;
    border-top: 5px solid #B42D22;
    padding: 30px 23px 23px!important;
}

body#module-allinone_rewards-rewards_account .fancybox-wrap  .aior_fancyconfirm_message {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;
    padding-right: 50px;
}

body#module-allinone_rewards-rewards_account .fancybox-wrap .aior_fancyconfirm_button {
    display: flex;
    justify-content: end;
    gap: 10px;
}

body#module-allinone_rewards-rewards_account .fancybox-wrap .aior_fancyconfirm_button button {
    font-family: 'Montserrat';
    font-size: 16px;
    padding: 13px 25px;
}

body#module-allinone_rewards-rewards_account .fancybox-wrap .aior_fancyconfirm_button button#fancyConfirm_ok {
    background: #B42D22;
    border-color: #B42D22;
    text-transform: uppercase;
}

body#module-allinone_rewards-rewards_account .fancybox-wrap .aior_fancyconfirm_button button#fancyconfirm_cancel:before {
    content: 'x';
    position: absolute;
    top: 0px;
    right: 0;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    body#module-allinone_rewards-rewards_account .fancybox-wrap .aior_fancyconfirm_button {
        flex-direction: column-reverse;
    }
}
