:root {
    --primary: #3D65B3;
    --success: #52C083;
    --danger: #D9082E;
    --light: #EEF2FC;
    --dark: #34495e;
    --grey-font: #28282D;
    --border: #E4E4E4;
    --blue-light: #EEF2FC;
}

* {
    box-sizing: border-box;
}
body {
    font-family: "Montserrat", sans-serif!important;
    height: 100vh!important;
}
h1 {
    font-size: 1.7rem;
}
.titleh2 {
    color: #0047bb!important;
}
.titleH3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.block-content p, 
.block-content legend, 
.block-content tr, 
.block-content li, 
.block-content h5, 
.block-content h6 {
    font-size: .8rem;
}
.block-content {
    margin-top: 3.5rem;
}

.site-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

body {
    --site-top-bar-height: 4.375rem;
}

body.return-product-banner-active {
    --site-top-bar-height: 7.25rem;
}

.return-product-banner {
    width: 100%;
    padding: 0.65rem 1rem;
    background-color: #fff3cd;
    border-bottom: 1px solid #ffecb5;
    color: #664d03;
    text-align: center;
    font-size: 0.9rem;
}

body.return-product-banner-active .block-content {
    margin-top: calc(var(--site-top-bar-height) - 1rem);
}

body.return-product-banner-active .table-sticky-header thead th {
    top: var(--site-top-bar-height);
}
.block-content h4 {
    font-size: 1.2rem;
}
/****** COLOR BODY *******/
.color-blue {
    color:#0047bb!important;
}
.bg-grey {
    background-color: #ebebeb;
}
.bg-white {
    background-color: #ffffff;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.20);
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.20);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.20);
}
/****** COLOR BTN SUBMIT ******/
.btn-primary {
    background-color: #000000!important;
    border-color: #000000!important;
}
.btn-primary:active {
    background-color: #0047bb!important;
    border-color: #0047bb!important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-primary:hover {
    background-color: #0047bb!important;
    border-color: #0047bb!important;
}
.btn-primary:disabled {
    background-color: #0047bb!important;
    border-color: #0047bb!important;
}
.form-control:focus {
    border-color: #0047bb!important;
    box-shadow: 0 0 0 0.25rem rgba(2,60,209,.25)!important;
}
.btn-disable {
    background-color: #9bb5f7!important;
    width: 9rem;
    color: #ffffff;
}
.btn-disable:hover {
    color: #ffffff!important;
    width: 9rem;
    background-color: #9bb5f7!important;
    cursor: auto;
}
.btn-disable:focus, .btn-disable:active {
    box-shadow: none!important;
}
.btn-back {
    border: solid 1px #000000!important;
}
.btn-back:hover {
    background-color: #0047bb;
    border: solid 1px #0047bb!important;
    color: #ffffff;
}
/*
* TOAST
*/
.flash-container-alerte {
    border-color: #dc3545!important;
    /* background-color: #f8d7da!important; */
    color: #000000!important;
}
.flash-header-alerte {
    color: #ffffff!important;
    background-color: #dc3545!important;
}
.flash-container-success {
    border-color: #198754!important;
    color: #000000!important;
}
.flash-header-success {
    color: #ffffff!important;
    background-color: #198754!important;
}

.positionToastDH {
    position: fixed;
    top: 10%;
    right: 0%;
    z-index: 1100;
}

/*************  DASHBOARD  ***************/
.bloc-name-user h4 {
    color: #ffffff;
    margin-bottom: 0;;
}
.text-cancelled { 
    color: #6f42c1!important;
}

/*
* Sidebar
*/
.sidebar {
    position: fixed;
    top: 0;
    /* rtl:raw:
    right: 0;
    */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: var(--site-top-bar-height, 4.375rem) 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #000000;
    font-size: 14px;
    line-height: normal;
}

.sidebar .nav-link.active {
    background-color: #0047bb!important;
    font-weight: bold;
}

.sidebar .nav-link.active:hover {
    color: #ffffff!important;
}



.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}
.logoBL {
    width: 100%;
}
.icone {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}
.small {
    width: 24px;
    height: 24px;
}
.medium {
    width: 48px;
    height: 48px;
}
.large {
    width: 96px;
    height: 96px;
}
.icone-home {
    background-image: url("/assets/img/icon-home.svg");
}
.icone-users {
    background-image: url("/assets/img/icon-users.png");
}
.icone-logout {
    background-image: url("/assets/img/icon-logout.png");
}
.icone-reception {
    background-image: url("/assets/img/icon-reception.png");
}
.icone-return {
    background-image: url("/assets/img/icon-return.png");
}
.icone-check {
    background-image: url("/assets/img/check-icon.png");
}
.icone-croix {
    background-image: url("/assets/img/croix-icon.png");
}
.icone-badge {
    background-image: url("/assets/img/icon-badge.png");
}
.icone-eye {
    background-image: url("/assets/img/icon-eye.png");
}
.icone-export {
    background-image: url("/assets/img/icon-export.png");
}
.icone-import {
    background-image: url("/assets/img/icon-import.png");
}
.icone-download {
    background-image: url("/assets/img/icon-download.png");
}
.icone-cancel {
    background-image: url("/assets/img/icon-cancel.png");
}
.icone-vip {
    background-image: url("/assets/img/icon-vip.png");
}
.icone-payment {
    background-image: url("/assets/img/icon-link-payment.png");
}
.icone-price {
    background-image: url("/assets/img/icon-price.png");
}
.icone-star {
    background-image: url("/assets/img/icon-star.png");
}
.white {
    filter: invert(100%) sepia(94%) saturate(23%) hue-rotate(357deg) brightness(106%) contrast(107%);
}

/* .sidebar .nav-link:hover .icone-price, */
.sidebar .nav-link:hover .icone-home,
.sidebar .nav-link:hover .icone-users, 
.sidebar .nav-link:hover .icone-badge, 
.sidebar .nav-link:hover .icone-logout,
.sidebar .nav-link:hover .icone-reception,
.sidebar .nav-link:hover .icone-return,
.sidebar .nav-link:hover .icone-export,
.sidebar .nav-link:hover .icone-import,
.sidebar .nav-link:hover .icone-download,
.sidebar .nav-link:hover .icone-cancel,
.sidebar .nav-link:hover .icone-vip,
.sidebar .nav-link:hover .icone-payment,
.sidebar .nav-link:hover .icone-star {
    filter: invert(20%) sepia(81%) saturate(3618%) hue-rotate(222deg) brightness(78%) contrast(114%)!important;
}

.sidebar .nav-link.active:hover .icone-home,
.sidebar .nav-link.active:hover .icone-users, 
.sidebar .nav-link.active:hover .icone-badge, 
.sidebar .nav-link.active:hover .icone-logout,
.sidebar .nav-link.active:hover .icone-reception,
.sidebar .nav-link.active:hover .icone-return,
.sidebar .nav-link.active:hover .icone-export,
.sidebar .nav-link.active:hover .icone-import,
.sidebar .nav-link.active:hover .icone-download,
.sidebar .nav-link.active:hover .icone-cancel,
.sidebar .nav-link.active:hover .icone-vip,
.sidebar .nav-link.active:hover .icone-payment,
.sidebar .nav-link.active:hover .icone-star {
    filter: invert(100%) sepia(94%) saturate(23%) hue-rotate(357deg) brightness(106%) contrast(107%)!important;
}
/*
* Navbar
*/
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: 0.75rem;
    right: 1.5rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}
.sidebar .nav-link:hover {
    color: #0047bb!important;
}
/*
* CONTENT
*/

/*************  HOME  ***************/
.blockHome .iconeBlock {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    box-shadow: 0 12px 26px rgba(16, 24, 40, .14);
    display: flex;
    justify-content: center;
    width: 100%;
    height: 175px;
    overflow: hidden;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.blockHome .iconeBlock::before {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, .28), transparent 38%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.blockHome .iconeBlock:hover {
    box-shadow: 0 16px 32px rgba(16, 24, 40, .22);
    color: #ffffff!important;
    filter: saturate(1.08);
    transform: translateY(-3px);
}
.blockHome .iconeBlock:focus-visible {
    outline: 3px solid rgba(0, 71, 187, .28);
    outline-offset: 3px;
}
.blockHome .iconeBlock > .d-flex {
    gap: .6rem;
    position: relative;
    z-index: 1;
}
.blockHome .large {
    height: 64px;
    width: 64px;
}
.blockHome .text-center {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    max-width: 12rem;
}
.iconeBlock {
    background: linear-gradient(135deg, #5B3F8C 0%, #7C5BB8 100%);
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;
}
#product-of-the-month-home {
    background: linear-gradient(135deg, #F97316 0%, #FDBA3B 100%);
}
.product-month-home-card {
    text-transform: none;
    cursor: default;
}
.product-month-home-card > .d-flex {
    min-width: 0;
    width: 100%;
}
.product-month-home-card__eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .85;
    text-transform: uppercase;
}
.product-month-home-card__reference {
    display: -webkit-box;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: .25rem;
    overflow: hidden;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.product-month-home-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
    margin-top: auto;
    padding-top: .45rem;
}
.product-month-home-card__metrics div {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    padding: .35rem;
}
.product-month-home-card__metrics span {
    display: block;
    font-size: .72rem;
    opacity: .85;
}
.product-month-home-card__metrics strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}
.product-month-home-card__message {
    font-size: .72rem;
    line-height: 1.2;
    margin: .4rem 0 0;
    opacity: .9;
}
.home-menu-wrapper #reception-index {
    background: linear-gradient(135deg, #4F1787 0%, #7B2CBF 100%);
}
.home-menu-wrapper #return-index {
    background: linear-gradient(135deg, #D9256C 0%, #F85F98 100%);
}
.home-menu-wrapper #franchise-users-index {
    background: linear-gradient(135deg, #F56B2A 0%, #FF9A5A 100%);
}
.home-menu-wrapper #movement-to {
    background: linear-gradient(135deg, #00712D 0%, #18A558 100%);
}
.home-menu-wrapper #movement-from {
    background: linear-gradient(135deg, #D88A00 0%, #FABC3F 100%);
}
.home-menu-wrapper #franchise-rate-index {
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
}
.home-menu-wrapper #handler-index {
    background: linear-gradient(135deg, #5B3F8C 0%, #8B5CF6 100%);
}
.home-menu-wrapper #vip-subscription {
    background: linear-gradient(135deg, #0047bb 0%, #4F8CFF 100%);
}
.home-menu-wrapper #link-payment {
    background: linear-gradient(135deg, #00796B 0%, #00A884 100%);
}

/*************  PRODUCT OF THE MONTH  ***************/
.product-month-admin-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    font-size: .8rem;
    max-width: 820px;
    padding: 1.5rem;
}
.product-month-admin-card h2 {
    font-size: 1rem;
}
.product-month-admin-card__header {
    align-items: flex-start;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.product-month-reference {
    background: var(--blue-light);
    border-radius: 999px;
    color: #0047bb;
    flex: 0 0 auto;
    font-size: .8rem;
    font-weight: 700;
    padding: .4rem .85rem;
}
.product-month-form {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.home-menu-wrapper #vip-subscription {
    background: linear-gradient(135deg, #0047bb 0%, #4F8CFF 100%);
}
.home-menu-wrapper #link-payment {
    background: linear-gradient(135deg, #00796B 0%, #00A884 100%);
}
.home-menu-wrapper #franchise-rate-index {
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
}

/* VIP subscription - modern error box */
.error-box.vip-error {
    max-width: 760px;
    margin: 0 auto;
}
.error-box.vip-error #error-message {
    font-weight: 600;
    white-space: pre-line;
}
.error-box.vip-error .btn {
    padding-left: 1rem;
    padding-right: 1rem;
}
.vip-error__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.18);
    flex: 0 0 auto;
}
.vip-error__icon img {
    display: block;
}
/*************  HANDLER COLLAB  ***************/
.btn-none {
    background-color: transparent!important;
    border: none!important;
}
/************** RECEPTION ******************/
/**** NAVBAR ****/
.nav-reception .nav-link {
    color: #495057;
}
.nav-reception .nav-link.active {
    color: #0047bb!important;
    font-weight: bold;
}
/**** TABLE ****/
.table-reception td, .table-reception th {
    text-align: center;
}

/*
* TABLE HEADER STICKY (utile quand la page scroll)
* Ajouter la classe "table-sticky-header" sur le <table>
*/
.table-sticky-header thead th {
    position: sticky;
    top: 56px; /* hauteur navbar fixed-top */
    z-index: 2;
    background-color: #f8f9fa;
    background-clip: padding-box;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
/**** BTN ACTION ****/
.btn-reception {
    color: #ffffff;
    width: 9rem;
}
.btn-reception:hover {
    color: #ffffff;
    background-color: #000000;
}
.btn-delivery {
    background-color: #4F1787;
}
.btn-pickup {
    background-color: #EB3678;
}
/**** CONFIRMATION & ORDER DETAILS ****/
.content-confirmation {
    overflow-y: auto;
    max-height: 550px;
    background-color: #f8f8f8;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.bloc-confirmation, .bloc-loyalty, .bloc-pdt-reco, .bloc-info-cmd, .bloc-content-cmd {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1.5rem;
}
.btn-generate-pdf, .btn-generate-coupon {
    color: #000000!important;
    text-decoration: underline!important;
    font-size: 12px!important;
    border: none;
    background-color: transparent;
}
.btn-generate-pdf:hover, .btn-generate-coupon:hover {
    color: #0047bb!important;
    border: none;
    background-color: transparent;
}
/**** PRODUCT RECOMMENDATION ****/
/* CARTES PRODUITS */
.item-card {
    background: #FFFFFF;
    box-shadow: var(--shadow);
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
/* PLACEHOLDER IMAGE (skeleton) */
.item-image-placeholder {
    width: 100%;
    height: 180px;
    background: #EEEEEE;
}
.item-image {
    max-height: 100px;
    object-fit: contain;
}
/* INFOS PRODUIT */
.item-info {
    padding: 1rem;
}
.item-title {
    font-weight: 700;
    text-transform: uppercase;
    color: #28282D;
    margin-bottom: .5rem;
}
.item-brand {
    font-weight: 700;
    text-transform: uppercase;
    color: #EC2676;
    margin-bottom: .5rem;
}
.bloc-ref-stock {
    margin-bottom: .5rem;
}
.item-ref {
    color: #666666;
    line-height: 1.4;
}
.item-stock {
    color: #666666;
}
.qty-int {
    font-weight: 700;
}
.item-prices {
    color: #666666;
    display: flex;
    flex-direction: column;
}
.price-33CA {
    color: #EC2676;
}
.price-22VIP, .price-11VIP {
    color: #0065FF;
}
.argumentaire-title {
    text-transform: uppercase;
    font-weight: 700;
}
.argumentaire-content {
    color: #666666;
}
/* BANDEAUX RECO */
.item-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 5;
}
.item-badge--recommended {
    /* Reco prioritaire : vert soutenu (nouvelle couleur, hors charte actuelle) */
    background-color: #6A348C;
    color: #ffffff;
}
.item-badge--basket {
    /* Complément panier : orange chaud */
    background-color: #E71E84;
    color: #ffffff;
}
.item-badge--similar {
    /* Alternative pertinente : violet doux */
    background-color: #69C5DE;
    color: #ffffff;
}
.item-badge--vip {
    background-color: #0065FF;
    color: #ffffff;
}
/* SKELETON UTILISÉ SUR TOUTES LES CARTES AU DÉMARRAGE */
.skeleton-card .placeholder {
    display: block;
    background: #EEEEEE;
    height: 1rem;
    margin-bottom: .75rem;
    border-radius: 0 !important;
}
.skeleton-card .item-image-placeholder {
    background: #EEEEEE;
}
/**** LOYALTY ****/
.loyalty-points {
    font-size: 45px!important;
    font-weight: 600;
}
.progress-bar {
    background-color: #E71E84!important;
}
.pro .progress-bar {
    background-color: #0065FF!important;
}
/**** ORDER DETAILS ****/
.p-important {
    color: #ff0000;
    font-weight: 800;
}
/**************** RETURN ********************/
.list-order {
    list-style: none;
    padding-left: 0rem;
}
/****** RETURN *******/
.btn-return-product {
    background-color: #0047bb;
    color: #ffffff;
    width: 9rem;
}
.btn-return-product:hover {
    background-color: #000000;
    color: #ffffff;
}
.inputQuantity::-webkit-inner-spin-button {
    transform: scale(2.5);
}
.inputQuantity {
    height: 2.5rem;
    text-align: center;
}
.inputConf  {
    display: flex!important;
    flex-direction: row!important;
    justify-content: space-around!important;
    align-items: center!important;
}
.inputConf .form-check {
    display: flex!important;
    flex-direction: row!important;
    align-items: center!important;
}
.inputConf .form-check-input {
    margin-right: 1rem;
}
.inputConf .form-check-input {
    width: 2rem;
    height: 2rem;
}

/************************ USER COLLAB ***************************************************/
.btn-trash {
    border: none;
    background-color: transparent;
}

/************************ FRANCHISE USER ***********************************/
.sizeForm legend {
    font-size: inherit;
    font-weight: inherit;
    float: none;
    width: auto;
    padding: 0;
    margin-bottom: 0.5rem;
    line-height: inherit;
}
.cdd-type-choices .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.cdd-type-choices .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/****** ACCOUNTS_CREATED *******/
.bloc-user {
    padding: 1rem;
    background-color: #ebebeb;
}
.bloc-title-user {
    padding-bottom: .5rem;
    padding-top: .5rem;
}

/************* FRANCHISEE RATE ***************/
.franchisee-rate-filters {
    background: #EEF2FC;
    border: 1px solid #E4E4E4;
}
/************************ LINK PAYMENT ***********************************/
.btn-send-link {
    color: #000000!important;
    text-decoration: underline!important;
    font-size: 12px!important;
    border: none;
    background-color: transparent;
}
.btn-send-link:hover {
    color: #0047bb!important;
    border: none;
    background-color: transparent;
}
#modal-confirmation-phone, 
#modal-confirmation-phone p, 
#modal-confirmation-phone input,
#modal-confirmation-phone button {
    font-size: 14px!important;
}

#handler-franchise-modal .handler-franchise-modal-list {
    width: 100%;
}

#handler-franchise-modal .handler-franchise-establishment {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    padding: 1rem;
    background-color: #fff;
    white-space: normal;
    text-align: left;
    overflow: hidden;
}

#handler-franchise-modal .handler-franchise-establishment-body {
    width: 100%;
    overflow: hidden;
}

#handler-franchise-modal .handler-franchise-establishment-details {
    font-size: 0.875rem;
}

#handler-franchise-modal .handler-franchise-establishment-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-top: 1px solid #f1f3f5;
}

#handler-franchise-modal .handler-franchise-establishment-details li:first-child {
    border-top: none;
    padding-top: 0;
}

#handler-franchise-modal .handler-franchise-establishment-details .detail-label {
    flex: 0 0 7.5rem;
    font-weight: 600;
    color: #495057;
}

#handler-franchise-modal .handler-franchise-establishment-details .detail-value {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

#handler-franchise-modal .handler-franchise-establishment-details .detail-address .detail-value {
    line-height: 1.45;
}

#handler-franchise-modal .handler-franchise-establishment:last-child {
    margin-bottom: 0;
}

#handler-franchise-modal .handler-franchise-establishment:hover,
#handler-franchise-modal .handler-franchise-establishment:focus {
    background-color: #f8f9fa;
    border-color: #0047bb;
}

#handler-collab-form label.required::after {
    content: " *";
    color: var(--danger);
}

/************************ VIP SUBSCRIPTION ***************************************************/
#vip-subscription-create .card {
    background: #fff;
    margin-bottom: 1rem;
    padding: 1rem!important;
}
#vip-subscription-create .card-header {
    border-bottom: 1px solid var(--border);
    background-color: transparent!important;
    padding: 0!important;
    margin-bottom: .5rem!important;
}
#vip-subscription-create .card-header h3 {
    font-size: 16px;
    margin-bottom: 0px!important;
}
#vip-subscription-create .card-header .icon {
    width: 28px;
    margin-right: .5rem;
    vertical-align: middle;
}
#vip-subscription-create .card-body {
    padding: 0!important;
    font-size: 14px!important;
}
#vip-subscription-create .btn-action {
    background: none;
    border: none;
    padding: .2rem;
    cursor: pointer;
}
#vip-subscription-create .btn-action img {
    width: 1.5rem;
}
#vip-subscription-create .info-card .card-body dt {
    font-weight: 500!important;
}
#vip-subscription-create .addresses-wrapper {
    position: relative;
}
#vip-subscription-create .addresses-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 0;
    scroll-padding-left: 0;
    scroll-snap-type: none;
}
#vip-subscription-create .addresses-list::-webkit-scrollbar {
    height: 6px;
}
#vip-subscription-create .addresses-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
#vip-subscription-create .address-card {
    flex: 0 0 260px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: .5rem;
    padding: 1rem;
    margin: 1rem .5rem;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#vip-subscription-create .address-card.checked {
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 10px rgba(61, 101, 179, 0.2);
}
#vip-subscription-create .address-card .bloc-addr {
    flex: 1;
}
#vip-subscription-create .address-card h6 {
    font-size: .85rem;
    text-transform: uppercase;
    margin-bottom: .3rem;
}
#vip-subscription-create .address-card p {
    font-size: .8rem;
    line-height: 1.2;
    margin: 0;
}
#vip-subscription-create .recap-card .card-body dt, #vip-subscription-create .recap-card .card-body dd {
    border-bottom: 1px dotted var(--border)!important;
}
#vip-subscription-create .recap-card .card-body dd {
    margin-bottom: 0px!important;
}
#vip-subscription-create .form-check-input:checked {
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
}
#vip-subscription-create .btn-scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
#vip-subscription-create .btn-scroll-left {
    left: 5px;
}
#vip-subscription-create .btn-scroll-right {
    right: 5px;
}
#vip-subscription-create .btn-pay {
    background: var(--primary)!important;
    color: #ffffff!important;
    border: 1px solid var(--primary)!important;
    padding: .75rem 2rem!important;
    font-size: 1rem;
    border-radius: 0px!important;
    transition: background .2s;
}
#vip-subscription-create .btn-pay:disabled {
    opacity: .6;
}
#vip-subscription-create .btn-pay:not(:disabled):hover {
    background: darken(var(--primary), 10%);
}
#vip-subscription-create .btn-secondary {
    background-color: transparent!important;
    color: var(--grey-font)!important;
    border: 1px solid var(--grey-font)!important;
    padding: .75rem 2rem!important;
    border-radius: 0px!important;
}
#vip-subscription-create .form-card p span {
    color: var(--danger);
}
#vip-subscription-create .kr-smart-form .kr-payment-button {
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
    border-radius: 0px!important;
}
.bloc-address-form {
    border: none!important;
    margin-bottom: 2rem!important;
}
.confirmation-vip-subscription .small-text {
    font-size: 12px;
}

/* ---- Address add/update forms: reduce vertical spacing between fields ---- */
.bloc-address-form .row {
    --bs-gutter-y: .5rem;
}
.bloc-address-form .mb-3,
.bloc-address-form .mb-4 {
    margin-bottom: .5rem !important;
}
.bloc-address-form .form-label {
    margin-bottom: .25rem;
}
/* ---- VIP subscription loader overlay (templates/vip_subscription/create.html.twig) ---- */
.loader-overlay {
    display: none; /* toggled by JS via element.style.display */
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

/* Scope spinner styling to the overlay to avoid impacting other ".loader" usages */
.loader-overlay .loader {
    width: 44px;
    height: 44px;
    display: block !important;
    border: 4px solid rgba(61, 101, 179, 0.25);
    border-top-color: rgba(61, 101, 179, 1);
    border-radius: 50%;
    animation: loader-spin 0.9s linear infinite;
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

/************* FRANCHISEE RATE ***************/
.franchisee-rate-filters {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
}

.franchisee-rate-toolbar .search-form {
    min-width: 280px;
}

.franchisee-rate-toolbar .input-group {
    max-width: 460px;
}

@media (max-width: 576px) {
    .franchisee-rate-toolbar .search-form,
    .franchisee-rate-toolbar .input-group {
        width: 100%;
        max-width: 100%;
    }
}

/*
* MEDIA QUERIES
*/
@media (max-width: 900px) {
    .logoutDesktop {
        display: none;
    }
    .logoBL {
        width: 80%;
    }
    .titleh2 {
        text-align: center;
    }
    .blocTitle {
        justify-content: space-around!important;
    }
    h1 {
        font-size: 1.5rem!important;
    }
    .btn-back {
        border: solid 1px #000000!important;
    }
    /* RETURN */
    /* VIEW ORDER */
    .block-info-cmd {
        width: 100%;
    }
    /*********** FRANCHISE USER *************/
    /****** ACCOUNTS_CREATED *******/
    .bloc-user {
        margin-bottom: 1rem;
    }
}

@media (min-width: 901px) {
    .containerLogin {
        max-width: 800px!important;
    }
    .sizeForm {
        max-width: 500px;
    }
    .logoutMobile {
        display: none;
    }
}