.wv_logo_lg {
    height: 55px;
    border-radius: 5px;
}

.wv_logo_sm {
    height: 45px;
    border-radius: 5px;
}


.wvCardHeaderRight {
    text-align: right;
    padding: 10px;
}

.wvCardHeaderLeft {
    text-align: left;
    padding: 10px;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mt-100 {
    margin-top: 100px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.col-actions {
    width: 50px;
    text-align: center;
}

.table-responsive {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.dropdown-menu {
    z-index: 9999;
}

.dropdown-menu .delete {
    color: red;
}

.wvMenuEmpty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* ou 100%, ou ce que tu veux selon la hauteur de ta carte */
    text-align: center;
    padding: 40px 20px;

}

table tbody tr:hover {
    --bs-table-bg: #f2f2f2;
    cursor: pointer;
}


.day-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.day-circle.active {
    border-color: #22C55E;
    background-color: #22C55E;
    color: white;
}

.text-red {
    color: red !important;
}

.bg-white {
    background-color: #FFF !important;
}

.menu-container {
    margin-left: auto;
    margin-right: auto;
}

.br-15 {
    border-radius: 15px !important;
}

/* input, textarea, select { font-size: 16px !important; } */

.wvSelectDay {
    max-width: 500px;
    margin-right: auto;
}

.uploader {
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: .2s border-color, .2s background;
}

.uploader:hover {
    border-color: #c7cdd6;
    background: #fafafa;
}

.uploader.dragover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.uploader__icon {
    font-size: 28px;
    color: #9aa3af;
    margin-bottom: 6px;
}

.uploader__title {
    color: #2563eb;
    font-weight: 600;
}

.uploader__hint {
    color: #6b7280;
    font-size: 12px;
}

.uploader__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.uploader__img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.uploader__actions {
    display: flex;
    gap: 8px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.chip {
    border: 1px solid #e5e7eb;
    /* gris clair */
    background: #fff;
    color: #374151;
    /* gris foncé */
    border-radius: 9999px;
    /* pilule */
    padding: .35rem .75rem;
    font-size: var(--bs-body-font-size);
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
    user-select: none;
}

.chip:hover {
    border-color: #cbd5e1;
}

.chip.active {
    background: #556ee6;
    /* primaire bootstrap */
    color: #fff;
    border-color: #556ee6;
}

.cursor-default {
    cursor: default !important;
}


.drag-handle {
    cursor: grab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.drag-handle:hover {
    background: #f1f3f5;
}

.sortable-ghost {
    opacity: .5;
}

.sortable-chosen {
    background: #fafafa;
}

.product-tile {
    display: block;
    cursor: pointer;
    user-select: none;
    position: relative;
}

/* cache la checkbox mais garde l’accessibilité et le toggle via le label */
.product-tile .product-check {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    /* clic sur la carte */
}

.product-tile .tile-body {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    transition: background .15s, border-color .15s, box-shadow .15s;
}

.product-tile:hover .tile-body {
    background: #f8f9fa;
}

.product-tile .product-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #f1f3f5;
}

.product-tile .product-thumb.placeholder {
    background: #f8f9fa;
}

/* état sélectionné quand l'input est coché */
.product-tile .product-check:checked+.tile-body {
    background: #e6f4ea;
    border-color: rgba(25, 135, 84, .35);
    box-shadow: 0 0 0 2px rgba(25, 135, 84, .15) inset;
}

/* petit badge check en haut à droite quand sélectionné (facultatif) */
.product-tile .product-check:checked+.tile-body::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #198754;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="white" d="M13.485 1.929a1 1 0 0 1 .086 1.412l-7 8a1 1 0 0 1-1.497.03l-3-3.25a1 1 0 1 1 1.452-1.375l2.23 2.417 6.28-7.176a1 1 0 0 1 1.45-.058z"/></svg>') center / 12px 12px no-repeat;
}

.settings-tab-menu {
    min-height: 80px;
    background-color: #FFF;
    border-bottom: 1px solid #e4e4e4;
    padding-top: 25px;
}

tr.is-locked {
    opacity: .2;
    background-image: linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(0, 0, 0, .03) 100%);
}

tr.is-locked .drag-handle.disabled {
    opacity: .4;
    cursor: not-allowed;
}

tr.is-locked .form-check-input {
    cursor: not-allowed;
}

.comparator-price {
    font-size: 18px;
    padding-bottom: 20px;
}

.top-bar-info {
    color: #FFF;
    background-color: #2e3e8c;
    padding-left: 30px;
    padding-right: 30px;
}

.top-bar-info.green {
    color: #FFF;
    background-color: #309230;
}

.top-bar-info.orange {
    color: #FFF;
    background-color: #DBA12E;
}

.top-bar-info.black {
    color: #FFF;
    background-color: #000;
}

.top-bar-info.grey {
    color: #000;
    background-color: #92929214;
}

/* bouton masqué par défaut */
.row-quick-edit {
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .15s ease, transform .15s ease;
    padding: .25rem .5rem;
    line-height: 1;
}

/* afficher quand on survole la ligne OU quand un élément de la ligne a le focus */
tr.clickable-row:hover .row-quick-edit,
tr.clickable-row:focus-within .row-quick-edit {
    opacity: 1;
    transform: none;
}

/* sur terminaux sans hover (mobile/tablette), on l'affiche directement */
@media (hover: none) {
    .row-quick-edit {
        opacity: 1;
        transform: none;
    }
}

.mobile-card {
    border-radius: 10px;
    padding: 10px;
}

.fs-14 {
    font-size: 14px !important;
}

.options {
    cursor: pointer;
    font-size: 18px;
}

.plan-limit-banner {
    background: var(--bs-primary-bg-subtle, #eef4ff);
    margin-bottom: 30px;
    color: #080808;
}

.plan-limit-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(53, 89, 232, .12);
    /* soft */
    color: #3559e8;
    font-size: 1.1rem;
}

@media (max-width: 767.98px) {
    .plan-limit-banner {
        padding: .75rem .75rem;
    }
}

@media (max-width: 991.98px) {
    .mobile-card {
        border-radius: 14px;
    }

    .drag-handle {
        padding: .35rem;
        border-radius: .5rem;
    }

    .drag-handle:not(.disabled) {
        cursor: grab;
    }

    .drag-handle.disabled {
        cursor: not-allowed;
        opacity: .5;
    }

    .clickable-card.is-locked {
        opacity: .6;
    }
}

.ov-hidden {
    overflow: hidden !important;
}

.mqm-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0 .75rem 0;
}

.mqm-back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    color: #6b7280;
    border-radius: .6rem;
    padding: .25rem .35rem;
    min-height: 44px;
    /* cible tactile */
}

.mqm-back i {
    font-size: 17px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: .5px;
}

.mqm-back span {
    font-size: .95rem;
    line-height: 1.1;
}

.mqm-back:hover {
    background: #f3f4f6;
    color: #111827;
}

.mqm-sep {
    color: #111827;
}

.mqm-current {
    color: #111827;
    font-weight: 600;
    font-size: 17px;
}