/* Override theme — load sau style.css (config.php) */

#admin_bar {
    display: none !important;
}

.notification-section {
    margin-bottom: 20px;
    padding: 28px;
}
.notification-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.notification-section__head h3 {
    color: #102f66;
    font-size: 18px;
    margin: 0 0 3px;
}
.notification-section__head p {
    color: #667085;
    font-size: 13px;
    margin: 0;
}
.notification-section__icon {
    align-items: center;
    background: #eaf2fb;
    border-radius: 10px;
    color: #225d95;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.notification-levels {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}
.notification-level-card,
.notification-timing-card {
    align-items: center;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 14px;
}
.notification-level-card input,
.notification-timing-card input {
    position: absolute;
    opacity: 0;
}
.notification-level-card__check,
.notification-timing-card__radio {
    border: 1px solid #aebdcd;
    border-radius: 5px;
    color: transparent;
    flex: 0 0 20px;
    height: 20px;
    text-align: center;
}
.notification-timing-card__radio {
    border-radius: 50%;
}
.notification-level-card input:checked + .notification-level-card__check {
    background: #225d95;
    border-color: #225d95;
    color: #fff;
}
.notification-timing-card input:checked + .notification-timing-card__radio {
    background: #225d95;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px #225d95;
}
.notification-level-card:has(input:checked),
.notification-timing-card:has(input:checked) {
    background: #f4f8fc;
    border-color: #225d95;
}
.notification-level-card strong,
.notification-timing-card strong {
    color: #102f66;
    display: block;
    font-size: 14px;
}
.notification-level-card small,
.notification-timing-card small {
    color: #667085;
    display: block;
    font-size: 12px;
    margin-top: 2px;
}
.notification-timing {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}
.notification-schedule-field[hidden] {
    display: none;
}
.notification-form__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 36px;
}
@media (max-width: 575px) {
    .notification-section {
        padding: 20px;
    }
    .notification-timing {
        grid-template-columns: 1fr;
    }
    .notification-form__actions {
        justify-content: stretch;
    }
    .notification-form__actions > * {
        flex: 1;
        text-align: center;
    }
}

body.show-admin-bar {
    margin-top: 0 !important;
}

.result-card .result-person img {
    width: auto !important;
}

.contact-form-alert {
    display: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-averta-regular);
    font-size: 14px;
    line-height: 22px;
}
.contact-form-alert.is-visible {
    display: block;
}
.contact-form-alert.is-success {
    background: #e8f6ee;
    color: #0b5c32;
}
.contact-form-alert.is-error {
    background: #fdecea;
    color: #b33a1b;
}

.cam-nang-lead-form .cam-nang-lead-note {
    margin: 0;
}

.cam-nang-lead .contact-form-alert.is-success {
    background: rgba(77, 191, 217, 0.18);
    color: #fff;
}

.cam-nang-lead .contact-form-alert.is-error {
    background: rgba(179, 58, 27, 0.45);
    color: #fff;
}

.contact-consent:not(:has(input:checked)) .contact-consent-icon {
    opacity: 0.28;
}

/* Keep Choices.js dropdowns inside the address fields. */
.address-field--select:has(.choices.is-open) {
    z-index: 30;
}

.address-field--select .choices {
    position: absolute;
    inset: 0;
    width: auto;
    min-width: 0;
    margin: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.address-field--select .choices.is-open {
    overflow: visible;
}

.address-field--select select.choices__input {
    display: none !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    inset: auto !important;
}

.address-field--select .choices__inner {
    width: 100%;
    min-height: 24px;
    padding: 0 40px 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
    line-height: 24px;
}

.address-field--select .choices__list--single {
    padding: 0;
}

.address-field--select .choices__list--dropdown,
.address-field--select .choices__list[aria-expanded] {
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 0;
    z-index: 20;
    border: 1px solid #dce5ee;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(1, 7, 9, 0.12);
}

.address-field--select .choices.is-flipped .choices__list--dropdown,
.address-field--select .choices.is-flipped .choices__list[aria-expanded] {
    top: auto;
    bottom: calc(100% + 8px);
}

.address-field--select .choices__input {
    margin: 8px;
    width: calc(100% - 16px);
    border: 1px solid #dce5ee;
    border-radius: 8px;
}

.address-field--select .choices[data-type*="select-one"]::after {
    content: none;
}
/* Dynamic cart and checkout states */
.cart-toast {
    position: fixed;
    z-index: 1100;
    right: 24px;
    bottom: 24px;
    max-width: 360px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #236092;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: 0.2s ease;
}

.cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cart-toast.is-error {
    background: #b42318;
}
.pdp-fbt [data-fbt-add]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.cart-added {
    position: fixed;
    z-index: 1100;
    top: 96px;
    right: 24px;
    width: 376px;
    max-width: calc(100vw - 32px);
    padding: 16px 20px 20px;
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: 0 12px 32px rgba(2, 13, 18, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.2s ease;
}
.cart-added.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.cart-added__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}
.cart-added__title {
    font-size: 16px;
    line-height: 24px;
}
.cart-added__close {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.cart-added__body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}
.cart-added__img {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.cart-added__name {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
}
.cart-added__price {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
}
.cart-added__btn {
    display: block;
    width: 200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 16px;
    text-align: center;
}
.cart-added__btn:hover,
.cart-added__btn:focus {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.9;
}
.cart-item.is-loading {
    opacity: 0.6;
    pointer-events: none;
}
.cart-item.is-unavailable {
    opacity: 0.65;
}
.cart-item-variant .js-cart-variant {
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    background: transparent;
    color: #005788;
}
.cart-submit.is-disabled {
    opacity: 0.5;
    pointer-events: auto;
    cursor: not-allowed;
}

/* Empty cart */
.cart-layout.is-empty {
    display: block;
}
.cart-layout.is-empty .cart-panel {
    overflow: hidden;
}
.cart-layout.is-empty .cart-panel-body {
    padding: 0;
}
.cart-empty {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 56px 24px;
    text-align: center;
    background:
        radial-gradient(
            circle at 50% 22%,
            rgba(219, 238, 248, 0.88),
            transparent 28%
        ),
        linear-gradient(135deg, #fff 0%, #f8fbfd 100%);
}
.cart-empty::before,
.cart-empty::after {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(0, 87, 136, 0.08);
    border-radius: 50%;
    content: "";
}
.cart-empty::before {
    top: -176px;
    left: -104px;
}
.cart-empty::after {
    right: -138px;
    bottom: -188px;
}
.cart-empty-illustration {
    position: relative;
    z-index: 1;
    width: 168px;
    height: 168px;
    margin: 0 auto 16px;
    flex-shrink: 0;
}
.cart-empty-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-empty-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #005788;
    font-family: var(--font-averta-semibold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 18px;
}
.cart-empty h2 {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0;
    color: #010709;
    font-family: var(--font-averta-semibold);
    font-size: 30px;
    line-height: 38px;
}
.cart-empty-description {
    position: relative;
    z-index: 1;
    max-width: 490px;
    margin: 12px 0 24px;
    color: #4c5b65;
    font-family: var(--font-averta-regular);
    font-size: 16px;
    line-height: 24px;
}
.cart-empty-action {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 22px;
    padding-left: 24px;
}
.cart-empty-action img {
    width: 16px;
    height: 16px;
}

@media (max-width: 767px) {
    .cart-toast {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
    }
    .cart-added {
        top: 72px;
        right: 16px;
        left: 16px;
        width: auto;
    }
    .cart-empty {
        min-height: 350px;
        padding: 40px 20px;
    }
    .cart-empty h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .cart-empty-description {
        font-size: 15px;
        line-height: 22px;
    }
}

.noti-content-cell {
    min-width: 320px;
}
.noti-title {
    color: #102f66;
    font-weight: 700;
    text-transform: uppercase;
}
.noti-desc {
    color: #667085;
    margin: 6px 0;
    line-height: 1.5;
}

.b2b-admin-table-card {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(24, 54, 93, 0.05);
}
.b2b-agent-table th {
    background: #eef3fa;
    color: #173b68;
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.b2b-agent-table td {
    vertical-align: middle;
}
.action-btn-group,
.staff-action-btns {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.action-btn,
.btn-action-eye,
.btn-action-view,
.btn-action-edit {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 13px;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.action-btn:hover,
.btn-action-eye:hover,
.btn-action-view:hover,
.btn-action-edit:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}
.action-btn--view,
.btn-action-eye,
.btn-action-view {
    background: rgba(184, 226, 236, 0.4) !important;
    color: #0069A4 !important;
}
.action-btn--edit,
.btn-action-edit {
    background: #DFF6EC !important;
    color: #038B5C !important;
    font-size: 12px;
}
.action-btn--wallet {
    background: #FFF1CC !important;
    color: #8C6207 !important;
}
.action-btn--delete {
    background: #FFE4E0 !important;
    color: #E63A46 !important;
}
.action-btn--delete:hover {
    background: #FECACA !important;
    color: #B91C1C !important;
    opacity: 1;
}
.product-name-main {
    font-weight: 600;
    color: #173b68;
}
.product-cell-wrap small {
    color: #64748b;
}
.btn-b2b-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd8e7;
    background: #fff;
    color: #1f568c;
    border-radius: 8px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 600;
}
.b2b-order-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}
.b2b-order-create__main {
    min-width: 0;
}
.b2b-product-picker__search {
    margin: 0 0 12px;
    position: relative;
}
.b2b-product-picker__search i {
    color: #8aa0b5;
    left: 14px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.b2b-product-picker__search input {
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    color: #173b68;
    font-size: 14px;
    height: 44px;
    padding: 0 14px 0 40px;
    width: 100%;
}
.b2b-product-picker__search input:focus {
    border-color: #1f5b96;
    box-shadow: 0 0 0 1px #1f5b96;
    outline: 0;
}
.b2b-product-picker__list {
    display: grid;
    gap: 10px;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 4px;
}
.b2b-product-picker__item {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    padding: 10px;
    text-align: left;
    width: 100%;
}
.b2b-product-picker__item:hover,
.b2b-product-picker__item.is-selected {
    background: #f4f8fc;
    border-color: #1f5b96;
    box-shadow: 0 0 0 1px #1f5b96;
}
.b2b-product-picker__item img {
    border-radius: 8px;
    height: 56px;
    object-fit: cover;
    width: 56px;
}
.b2b-product-picker__copy {
    min-width: 0;
}
.b2b-product-picker__copy strong,
.b2b-product-picker__copy small {
    display: block;
}
.b2b-product-picker__copy strong {
    color: #173b68;
    font-size: 14px;
}
.b2b-product-picker__copy small {
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}
.b2b-product-picker__price {
    color: #1f568c;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.b2b-order-back {
    color: #1f568c;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-decoration: none;
}
.b2b-order-back:hover {
    text-decoration: underline;
}
.b2b-order-create .b2b-form-card + .b2b-form-card {
    margin-top: 16px;
}
.b2b-multi-order-items {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}
.b2b-multi-order-item {
    align-items: center;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding-bottom: 10px;
}
.b2b-multi-order-item strong,
.b2b-multi-order-item small {
    display: block;
}
.b2b-multi-order-item strong {
    color: #173b68;
    font-size: 13px;
}
.b2b-multi-order-item small {
    color: #64748b;
    font-size: 12px;
    margin-top: 3px;
}
.b2b-global-discount {
    margin: 0 0 16px;
}
.b2b-global-discount .form-label {
    margin-bottom: 6px;
}
.b2b-global-discount .form-control-custom {
    max-width: 220px;
}
.b2b-global-discount .form-card-subtitle {
    color: #64748b;
    font-size: 12px;
    margin-top: 6px;
}
.b2b-multi-order-item__actions {
    align-items: center;
    display: flex;
    gap: 7px;
}
.b2b-multi-order-item__actions button {
    background: #eef4fb;
    border: 1px solid #d8e1ec;
    border-radius: 4px;
    color: #1f568c;
    cursor: pointer;
    height: 26px;
    width: 26px;
}
.b2b-multi-order-item__actions .b2b-multi-order-item__remove {
    background: #fff1f1;
    border-color: #f2caca;
    color: #c62828;
    margin-left: 4px;
}
.b2b-product-picker__list [data-multi-current] {
    background: #f8fbff;
    border: 1px solid #cbd8e7;
    border-radius: 10px;
    display: grid;
    gap: 12px;
    padding: 16px;
}
.b2b-product-picker__list [data-multi-current] > strong {
    color: #173b68;
    font-size: 16px;
}

/* Product picker: keep the selected row and its options as one continuous card. */
.b2b-product-picker__item.is-selected {
    border-radius: 10px 10px 0 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}
.b2b-product-picker__item.is-selected:has(+ [data-multi-current]) {
    border-bottom-color: #cbd8e7;
}
.b2b-product-picker__list [data-multi-current] {
    background: #fff;
    border-color: #1f5b96;
    border-radius: 0 0 10px 10px;
    border-top: 0;
    gap: 16px;
    margin-top: -10px;
    padding: 18px 16px 16px;
}
.b2b-product-picker__list [data-multi-current] > strong {
    display: none;
}
.b2b-product-picker__list [data-multi-current] .form-label {
    color: #173b68;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}
.b2b-product-picker__list [data-multi-current] .form-control-custom {
    background: #f6f8fb;
    border-color: #dde5ef;
    min-height: 44px;
}
.b2b-product-picker__list [data-multi-current] .quantity-row {
    align-items: end;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(140px, 1fr) minmax(110px, 140px) auto;
    justify-content: initial;
    margin-top: 0;
}
.b2b-product-picker__list [data-multi-current] .quantity-row:not(:has(.b2b-multi-discount-field)) {
    grid-template-columns: minmax(150px, 1fr) auto;
}
.b2b-product-picker__list [data-multi-current] .b2b-multi-discount-field .form-control-custom {
    max-width: 140px;
    min-height: 42px;
}
.b2b-product-picker__list
[data-multi-current]
.quantity-row
> .btn-b2b-primary {
    align-self: end;
    min-height: 42px;
    padding: 10px 20px;
    white-space: nowrap;
}
.b2b-product-picker__list [data-multi-current] .quantity-control {
    width: 150px;
}
@media (max-width: 575px) {
    .b2b-product-picker__list [data-multi-current] .quantity-row,
    .b2b-product-picker__list [data-multi-current] .quantity-row:not(:has(.b2b-multi-discount-field)) {
        grid-template-columns: 1fr;
    }
    .b2b-product-picker__list
    [data-multi-current]
    .quantity-row
    > .btn-b2b-primary {
        width: 100%;
    }
    .b2b-product-picker__list [data-multi-current] .b2b-multi-discount-field .form-control-custom {
        max-width: none;
    }
}

/* Compact order summary, especially in the narrow right rail. */
.b2b-order-create__summary {
    padding: 20px !important;
}
.b2b-order-create__summary .form-card-title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 14px;
    padding-bottom: 14px;
    white-space: nowrap;
}
.b2b-order-create__summary .b2b-multi-order-items {
    margin: 4px 0 14px;
}
.b2b-order-create__summary .b2b-multi-order-item {
    align-items: flex-start;
    display: block;
    gap: 10px;
    padding: 12px 0;
}
.b2b-order-create__summary .b2b-multi-order-item:first-child {
    padding-top: 4px;
}
.b2b-order-create__summary .b2b-multi-order-item strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.b2b-order-create__summary .b2b-multi-order-item small {
    font-size: 12px;
}
.b2b-order-create--stock {
    grid-template-columns: minmax(0, 1fr) clamp(360px, 34vw, 460px);
}
.b2b-order-create__summary {
    min-width: 0;
}
.b2b-order-create--stock .b2b-order-create__summary .b2b-multi-order-items {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 0 16px;
}
.b2b-order-create__summary .b2b-multi-order-item--compact {
    align-items: stretch;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    min-width: 0;
    padding: 14px 0;
}
.b2b-order-create__summary .b2b-multi-order-item--compact:first-child {
    padding-top: 2px;
}
.b2b-multi-order-item__head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
}
.b2b-multi-order-item__title {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
}
.b2b-order-create__summary .b2b-multi-order-item__title strong {
    color: #173b68;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.b2b-variant-pill {
    background: #eef4fb;
    border-radius: 999px;
    color: #1f568c;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    white-space: nowrap;
}
.b2b-multi-order-item__price {
    align-items: baseline;
    display: flex;
    flex-shrink: 0;
    gap: 6px;
    white-space: nowrap;
}
.b2b-multi-order-item__price s {
    color: #a0aec0;
    font-size: 12px;
}
.b2b-multi-order-item__price b {
    color: #173b68;
    font-size: 15px;
    font-weight: 700;
}
.b2b-multi-order-item__foot {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: space-between;
    min-height: 32px;
    min-width: 0;
}
.b2b-order-create__summary .b2b-multi-order-item__foot .b2b-multi-order-item__actions {
    gap: 6px;
    margin: 0 0 0 auto;
}
.b2b-qty-stepper {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e1ec;
    border-radius: 999px;
    display: inline-flex;
    height: 32px;
    overflow: hidden;
}
.b2b-multi-order-item__actions .b2b-qty-stepper button {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #1f568c;
    font-size: 16px;
    height: 30px;
    line-height: 1;
    width: 30px;
}
.b2b-multi-order-item__actions .b2b-qty-stepper button:hover {
    background: #eef4fb;
}
.b2b-qty-stepper span {
    color: #173b68;
    font-size: 13px;
    font-weight: 700;
    min-width: 26px;
    text-align: center;
}
.b2b-order-create__summary .b2b-multi-order-item__actions .b2b-multi-order-item__remove {
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #94a3b8;
    font-size: 14px;
    height: 32px;
    margin-left: 0;
    width: 32px;
}
.b2b-order-create__summary .b2b-multi-order-item__actions .b2b-multi-order-item__remove:hover {
    background: #fff1f1;
    color: #c62828;
}
.b2b-multi-order-item__discount {
    align-items: center;
    color: #64748b;
    display: inline-flex;
    font-size: 12px;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
}
.b2b-multi-order-item__discount-label {
    font-weight: 600;
}
.b2b-discount-field {
    align-items: stretch;
    background: #fff;
    border: 1px solid #d8e1ec;
    border-radius: 8px;
    display: inline-flex;
    height: 32px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.b2b-discount-field:focus-within {
    border-color: #1f568c;
    box-shadow: 0 0 0 3px rgba(31, 86, 140, 0.12);
}
.b2b-discount-field input {
    -moz-appearance: textfield;
    background: transparent;
    border: 0;
    color: #173b68;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    padding: 0 4px 0 10px;
    width: 56px;
}
.b2b-discount-field input::-webkit-inner-spin-button,
.b2b-discount-field input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.b2b-discount-field > span:not(.b2b-discount-type) {
    align-items: center;
    background: #f1f5f9;
    border-left: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    font-weight: 600;
    padding: 0 10px;
}
.b2b-discount-type {
    align-items: center;
    background: #f1f5f9;
    border-left: 1px solid #e2e8f0;
    display: flex;
    gap: 2px;
    padding: 3px;
}
.b2b-discount-type button {
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    height: 100%;
    min-width: 24px;
    padding: 0 6px;
    transition: background 0.15s, color 0.15s;
}
.b2b-discount-type button:hover {
    color: #1f568c;
}
.b2b-discount-type button.is-active {
    background: #1f568c;
    color: #fff;
}
.b2b-discount-type button:focus-visible {
    outline: 2px solid rgba(31, 86, 140, 0.35);
}
.b2b-discount-field input.is-amount {
    width: 84px;
}
.stock-order-discount {
    align-items: center;
    gap: 12px;
}
.stock-order-discount label {
    color: #334155;
    font-weight: 600;
    margin: 0;
}
.stock-order-discount label small {
    color: #94a3b8;
    font-weight: 500;
}
.stock-order-discount .b2b-discount-field {
    flex-shrink: 0;
    height: 36px;
}
.stock-order-discount .b2b-discount-field input {
    width: 96px;
}
.stock-order-discount .b2b-discount-field input.is-amount {
    width: 120px;
}
.b2b-multi-order-item__discount em {
    color: #d64545;
    font-style: normal;
    font-weight: 600;
}
.b2b-multi-order-item__discount.is-overridden .b2b-discount-field {
    background: #fffaf0;
    border-color: #f0b429;
}
.b2b-multi-order-item__discount.is-overridden .b2b-discount-type button.is-active {
    background: #d69e2e;
}
.b2b-multi-order-item__discount.is-overridden .b2b-discount-field > span {
    background: #fff1d6;
    border-left-color: #f6d58c;
    color: #b7791f;
}
.stock-gift-box {
    background: #fffaf5;
    border: 1px solid #fde3cf;
    border-radius: 12px;
    margin: 0 0 18px;
    padding: 14px 16px;
}
.stock-gift-box__head {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}
.stock-gift-box__head > span {
    align-items: center;
    color: #173b68;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
}
.stock-gift-box__head > span i {
    align-items: center;
    background: #ffe8d6;
    border-radius: 50%;
    color: #d9480f;
    display: inline-flex;
    font-size: 13px;
    height: 28px;
    justify-content: center;
    width: 28px;
}
.stock-gift-box__add {
    background: #fff;
    border: 1px solid #f5c9a8;
    border-radius: 999px;
    color: #d9480f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    transition: background 0.15s, color 0.15s;
}
.stock-gift-box__add:hover {
    background: #d9480f;
    border-color: #d9480f;
    color: #fff;
}
.stock-gift-box > p {
    color: #a0928a;
    font-size: 12px;
    margin: 10px 0 0;
}
.b2b-order-create--stock .stock-gift-box .b2b-multi-order-items {
    margin: 8px 0 0;
}
.b2b-order-create__summary .stock-gift-box .b2b-multi-order-item--compact {
    border-bottom: 1px dashed #f5d5bd;
    padding: 12px 0;
}
.b2b-order-create__summary .stock-gift-box .b2b-multi-order-item--compact:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.stock-gift-box .b2b-multi-order-item__price b {
    color: #2f9e44;
}
.stock-gift-box .b2b-variant-pill {
    background: #ffefe3;
    color: #c2410c;
}
.stock-gift-badge {
    align-items: center;
    background: #ffe8d6;
    border-radius: 999px;
    color: #d9480f;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 5px;
    padding: 4px 10px;
    vertical-align: middle;
}
.stock-gift-modal .modal-content {
    max-height: 90vh;
}
.stock-gift-modal .b2b-product-picker__search {
    margin-bottom: 12px;
}
.stock-gift-modal__list {
    display: grid;
    gap: 8px;
    max-height: 50vh;
    overflow-y: auto;
    width: 100%;
}
.stock-gift-option {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 8px 12px;
    text-align: left;
    width: 100%;
}
.stock-gift-option[hidden] {
    display: none;
}
.stock-gift-option:hover,
.stock-gift-option.is-selected {
    border-color: #1f568c;
}
.stock-gift-option.is-selected {
    background: #f1f6fc;
}
.stock-gift-option img {
    border-radius: 6px;
    flex-shrink: 0;
    height: 40px;
    object-fit: cover;
    width: 40px;
}
.stock-gift-option__copy {
    flex: 1;
    min-width: 0;
}
.stock-gift-option__copy strong,
.stock-gift-option__copy small {
    display: block;
}
.stock-gift-option__copy strong {
    color: #173b68;
    font-size: 13px;
}
.stock-gift-option__copy small {
    color: #64748b;
    font-size: 12px;
}
.stock-gift-option__qty.quantity-control {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0;
    margin: 0;
}
.stock-gift-option__qty button {
    background: #eef4fb;
    border: 1px solid #d8e1ec;
    color: #1f568c;
    cursor: pointer;
    height: 30px;
    width: 30px;
}
.stock-gift-option__qty button:first-child {
    border-radius: 6px 0 0 6px;
}
.stock-gift-option__qty button:last-child {
    border-radius: 0 6px 6px 0;
}
.stock-gift-option__qty input {
    -moz-appearance: textfield;
    border: 1px solid #d8e1ec;
    border-left: 0;
    border-right: 0;
    color: #173b68;
    font-size: 13px;
    height: 30px;
    padding: 0;
    text-align: center;
    width: 44px;
}
.stock-gift-option__qty input::-webkit-inner-spin-button,
.stock-gift-option__qty input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.stock-gift-option.is-selected .stock-gift-option__qty input {
    background: #fff;
    font-weight: 700;
}
.b2b-order-create__summary .b2b-multi-order-item__actions {
    flex-shrink: 0;
    gap: 5px;
    justify-content: flex-start;
    margin-top: 10px;
}
.b2b-order-create__summary .summary-total {
    border-top: 1px solid #e4eaf1;
    margin-top: 4px;
    padding-top: 16px;
}
.b2b-order-create__summary .summary-total strong {
    font-size: 20px;
}
.b2b-order-create__summary .btn-order-submit {
    margin-top: 16px;
    min-height: 42px;
}
@media (max-width: 575px) {
    .b2b-order-create__summary .form-card-title {
        font-size: 21px;
    }
}

/* Give variant selection and purchase controls clear, balanced desktop columns. */
@media (min-width: 901px) {
    .b2b-product-picker__list [data-multi-current] {
        column-gap: 24px;
        grid-template-columns: minmax(0, 1fr) 450px;
        padding: 20px 16px 16px;
    }
    .b2b-product-picker__list [data-multi-current] > .form-label,
    .b2b-product-picker__list [data-multi-current] > .form-control-custom {
        grid-column: 1;
    }
    .b2b-product-picker__list [data-multi-current] > .quantity-row {
        align-self: end;
        grid-column: 2;
        grid-row: 1 / span 2;
        grid-template-columns: minmax(0, 1fr) minmax(96px, 120px) auto;
    }
    .b2b-product-picker__list [data-multi-current] > .quantity-row:not(:has(.b2b-multi-discount-field)) {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .b2b-product-picker__list
    [data-multi-current]
    > .quantity-row
    > .btn-b2b-primary {
        padding-left: 16px;
        padding-right: 16px;
    }
}
.b2b-order-create .checkout-pay {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.b2b-order-create .form-card-header {
    margin-bottom: 20px;
}
.quantity-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
}
.quantity-row__actions {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
}
.quantity-row__actions .btn-b2b-primary {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
}
.b2b-order-create--stock .b2b-product-picker__list [data-multi-current] .quantity-control {
    width: 124px;
}
.b2b-order-create--stock .b2b-product-picker__list [data-multi-current] .quantity-control button {
    flex-shrink: 0;
    width: 34px;
}
.b2b-order-create--stock .b2b-product-picker__list [data-multi-current] .quantity-control input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}
@media (min-width: 576px) {
    .b2b-order-create--stock
        .b2b-product-picker__list
        [data-multi-current]
        > .quantity-row:not(:has(.b2b-multi-discount-field)) {
        gap: 12px;
        grid-template-columns: auto minmax(0, 1fr);
    }
}
@media (max-width: 575px) {
    .quantity-row__actions {
        justify-content: stretch;
    }
    .quantity-row__actions > button {
        flex: 1 1 0;
    }
}
.quantity-control {
    display: flex;
    align-items: center;
    width: 150px;
}
.quantity-control button {
    width: 38px;
    height: 42px;
    border: 1px solid #d8e1ec;
    background: #eef4fb;
    color: #1f568c;
    font-size: 20px;
    cursor: pointer;
}
.quantity-control input {
    width: 74px;
    height: 42px;
    border: 1px solid #d8e1ec;
    border-left: 0;
    border-right: 0;
    text-align: center;
}

.b2b-profile-tabs-header {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}
.b2b-profile-nav-tabs {
    display: flex;
    gap: 24px;
}
.b2b-profile-nav-tabs .nav-tab-item {
    color: #667085;
    font-weight: 600;
    padding: 0 2px 12px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.b2b-profile-nav-tabs .nav-tab-item.active {
    color: #0d3470;
    border-bottom-color: #1f5b96;
}
.b2b-order-create__summary {
    position: sticky;
    top: 20px;
}
.b2b-order-create__summary .form-card-title {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef1f5;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    color: #64748b;
    border-bottom: 1px solid #f0f3f7;
}
.summary-line strong {
    color: #173b68;
    text-align: right;
}
.summary-total {
    margin-top: 8px;
    border: 0;
    align-items: center;
    font-weight: 600;
}
.summary-total strong {
    color: #1f568c;
    font-size: 20px;
}
.btn-order-submit,
.btn-order-cancel {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
}
.field-error {
    display: block;
    color: #c62828;
    margin-top: 6px;
}
@media (max-width: 900px) {
    .b2b-order-create {
        grid-template-columns: 1fr;
    }
    .b2b-order-create__summary {
        position: static;
    }
}

/* Admin wallet management */
.wallet-admin-page__header {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.wallet-admin-table-card__head p {
    color: #667085;
    font-size: 14px;
    margin: 6px 0 0;
}

.wallet-admin-alert {
    align-items: center;
    display: flex;
    gap: 10px;
}

.wallet-admin-filter {
    align-items: center;
}

.wallet-admin-reset {
    color: #667085;
    font-size: 14px;
    font-weight: 600;
    padding: 8px;
}

.wallet-admin-table-card__head {
    align-items: center;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 20px 24px;
}

.wallet-admin-table-card__head .table-card-title {
    margin: 0;
}

.wallet-admin-table-card__hint {
    color: #157f3e;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.wallet-balance-value {
    color: #067647;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.wallet-balance-value i {
    color: #12b76a;
    font-size: 13px;
    margin-right: 7px;
}

.wallet-adjustment {
    display: inline-block;
    position: relative;
    text-align: left;
}

.wallet-adjustment summary {
    align-items: center;
    background: #eff8ff;
    border: 1px solid #b2ddff;
    border-radius: 8px;
    color: #175cd3;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
    padding: 8px 12px;
}

.wallet-adjustment summary::-webkit-details-marker {
    display: none;
}
.wallet-adjustment summary i {
    margin-right: 5px;
}
.wallet-adjustment[open] summary {
    background: #175cd3;
    color: #fff;
}
.wallet-adjustment[open]::before {
    background: rgba(16, 24, 40, 0.36);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 999;
}

.wallet-adjustment__form {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.16);
    display: grid;
    gap: 10px;
    min-width: 290px;
    padding: 14px;
    margin-top: 0;
    min-width: 0;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    z-index: 9999;
}
.wallet-adjustment__title {
    color: #101828;
    font-size: 16px;
    font-weight: 800;
    padding-right: 28px;
}
.wallet-adjustment__close {
    align-items: center;
    background: #f2f4f7;
    border: 0;
    border-radius: 50%;
    color: #667085;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 30px;
}
.wallet-adjustment__close:hover {
    background: #fee4e2;
    color: #d92d20;
}

.wallet-adjustment__form label {
    color: #344054;
    display: grid;
    font-size: 12px;
    font-weight: 700;
    gap: 5px;
}

.wallet-adjustment__form input,
.wallet-adjustment__form select {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    color: #101828;
    font-size: 14px;
    min-height: 38px;
    padding: 8px 10px;
}

.wallet-adjustment__form .btn-filter-submit {
    align-items: center;
    background: linear-gradient(135deg, #175cd3, #0b6ca8);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(23, 92, 211, 0.22);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    margin-top: 3px;
    min-height: 42px;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.wallet-adjustment__form .btn-filter-submit:hover {
    box-shadow: 0 6px 14px rgba(23, 92, 211, 0.3);
    transform: translateY(-1px);
}
.wallet-adjustment__form .btn-filter-submit:focus-visible {
    box-shadow: 0 0 0 3px rgba(23, 92, 211, 0.2);
    outline: 0;
}

@media (max-width: 767px) {
    .wallet-admin-page__header,
    .wallet-admin-table-card__head {
        align-items: flex-start;
        flex-direction: column;
    }
    .wallet-adjustment__form {
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: calc(100vw - 32px);
    }
}
fieldset.register-gender-field {
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.b2b-dashboard-main {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    width: auto;
    display: flex;
    flex-direction: column;
}

.b2b-dashboard-layout {
    max-width: 100%;
}

.b2b-dashboard-body {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .b2b-dashboard-main {
        width: 100%;
        max-width: 100%;
    }
    .b2b-topbar {
        padding: 0 12px;
        gap: 8px;
    }
    .b2b-topbar__left {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
    }
    .b2b-topbar__left .topbar-welcome {
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .b2b-topbar__right {
        min-width: 0;
        flex-shrink: 1;
        gap: 8px;
    }
    .b2b-topbar .btn-b2b-primary span,
    .b2b-topbar .btn-b2b-outline span {
        display: none;
    }
    .b2b-topbar .btn-b2b-primary,
    .b2b-topbar .btn-b2b-outline {
        padding: 0 10px;
        height: 36px;
    }
    .b2b-topbar .topbar-user .user-info {
        display: none;
    }
    .b2b-dashboard-content {
        padding: 12px !important;
        max-width: 100%;
        min-width: 0;
        overflow-x: clip;
    }
    .b2b-referral-card {
        padding: 16px;
        max-width: 100%;
        overflow: hidden;
    }
    .b2b-referral-card > .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 12px;
    }
    .chart-total {
        flex-direction: column;
        gap: 6px;
    }
}
/* B2B dashboard date filter */
.b2b-topbar .topbar-notifications {
    position: relative;
}
.b2b-topbar .topbar-notifications-menu {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
    min-width: 320px;
    max-width: min(380px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
}
.b2b-topbar .topbar-notifications-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f2f4f7;
    color: #0a293a;
    font-size: 14px;
}
.b2b-topbar .topbar-notifications-list {
    max-height: 360px;
    overflow-y: auto;
}
.b2b-topbar .topbar-notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f2f4f7;
}
.b2b-topbar .topbar-notification-item:last-child {
    border-bottom: 0;
}
.b2b-topbar a.topbar-notification-item {
    display: block;
    text-decoration: none;
}
.b2b-topbar a.topbar-notification-item:hover {
    background: #f8fafc;
}
.b2b-topbar .topbar-notification-item.is-unread {
    background: #eff8ff;
}
.b2b-topbar .topbar-notification-item.is-unread .topbar-notification-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #ef4444;
    vertical-align: middle;
}
.b2b-topbar .topbar-notification-item.is-read .topbar-notification-title {
    font-weight: 500;
    color: #475467;
}
.b2b-topbar .topbar-notifications-readall {
    padding: 0;
    border: 0;
    background: none;
    color: #005788;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.b2b-notification-tabs {
    gap: 8px;
    margin-bottom: 16px;
}
.b2b-notification-tab {
    padding: 6px 14px;
    border: 1px solid #eaecf0;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.b2b-notification-tab:hover,
.b2b-notification-tab.active {
    border-color: #005788;
    color: #005788;
    text-decoration: none;
}
.b2b-notification-tab__count {
    display: inline-block;
    min-width: 18px;
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}
.b2b-notification-item.is-unread {
    background: #f5faff;
}
.b2b-notification-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #ef4444;
    vertical-align: middle;
}
.b2b-notification-toggle {
    flex-shrink: 0;
    margin-left: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #005788;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}
.b2b-topbar .topbar-notification-title {
    margin: 0 0 4px;
    color: #0a293a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
.b2b-topbar .topbar-notification-time {
    display: block;
    margin-bottom: 6px;
    color: #98a2b3;
    font-size: 11px;
}
.b2b-topbar .topbar-notification-desc {
    margin: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}
.b2b-topbar .topbar-notifications-empty {
    padding: 28px 16px;
    color: #98a2b3;
    font-size: 13px;
    text-align: center;
}
.b2b-topbar .topbar-notifications-footer {
    display: block;
    padding: 12px 16px;
    border-top: 1px solid #f2f4f7;
    color: #005788;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.b2b-topbar .topbar-notifications-footer:hover {
    background: #f8fafc;
    color: #0a293a;
    text-decoration: none;
}

.b2b-topbar .topbar-account {
    position: relative;
}
.b2b-topbar .topbar-user {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0 4px;
    text-align: left;
}
.b2b-topbar .topbar-account-arrow {
    color: #667085;
    font-size: 11px;
    margin-left: 12px;
    transition: transform 0.2s ease;
}
.b2b-topbar .topbar-account.show .topbar-account-arrow {
    transform: rotate(180deg);
}
.b2b-topbar .topbar-account-menu {
    border: 1px solid #eaecf0;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
    min-width: 190px;
    padding: 8px;
}
.b2b-topbar .topbar-account-menu .dropdown-item {
    align-items: center;
    border-radius: 7px;
    color: #344054;
    display: flex;
    gap: 10px;
    padding: 10px 12px;
}
.b2b-topbar .topbar-account-menu .dropdown-item i {
    color: #667085;
    width: 16px;
}
.b2b-topbar .topbar-account-menu .dropdown-item:hover {
    background: #f2f4f7;
    color: #005788;
}
.b2b-topbar .topbar-account-menu .topbar-logout {
    color: #d92d20;
    width: 100%;
}
.b2b-topbar .topbar-account-menu .topbar-logout i {
    color: #d92d20;
}

.b2b-dashboard-content .ref-action-btn.is-copied {
    background: #12b76a;
    border-color: #12b76a;
    color: #fff;
}

.b2b-page-header .b2b-date-filter .btn-dashboard-filter {
    align-items: center;
    align-self: stretch;
    background: #005788;
    border: 1px solid #005788;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    line-height: 1;
    min-height: 40px;
    padding: 0 20px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.b2b-page-header .b2b-date-filter .btn-dashboard-filter:hover {
    background: #004267;
    border-color: #004267;
}

.b2b-page-header .b2b-date-filter .btn-dashboard-filter:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 87, 136, 0.22);
    outline: 0;
}

@media (max-width: 767px) {
    .b2b-page-header .b2b-date-filter .btn-dashboard-filter {
        align-self: auto;
        width: 100%;
    }
}

.table-status-select {
    min-width: 148px;
    max-width: 180px;
    border: 0;
    border-radius: 999px;
    padding: 6px 28px 6px 12px;
    font-size: 12px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23173b68' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
}
.table-status-select.status-badge {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.3;
}
.b2b-table .table-status-select.status-badge.status-badge--processing,
.b2b-admin-table-card .table-status-select.status-badge.status-badge--processing,
.b2b-agent-table .table-status-select.status-badge.status-badge--processing,
.table-status-select.status-badge.status-badge--processing {
    background-color: #FFF1CC !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238C6207' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    color: #8C6207 !important;
}
.b2b-table .table-status-select.status-badge.status-badge--delivering,
.b2b-admin-table-card .table-status-select.status-badge.status-badge--delivering,
.b2b-agent-table .table-status-select.status-badge.status-badge--delivering,
.table-status-select.status-badge.status-badge--delivering {
    background-color: rgba(184, 226, 236, 0.4) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23005788' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    color: #005788 !important;
}
.b2b-table .table-status-select.status-badge.status-badge--delivered,
.b2b-admin-table-card .table-status-select.status-badge.status-badge--delivered,
.b2b-agent-table .table-status-select.status-badge.status-badge--delivered,
.table-status-select.status-badge.status-badge--delivered {
    background-color: #DFF6EC !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23038B5C' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    color: #038B5C !important;
}
.b2b-table .table-status-select.status-badge.status-badge--cancelled,
.b2b-admin-table-card .table-status-select.status-badge.status-badge--cancelled,
.b2b-agent-table .table-status-select.status-badge.status-badge--cancelled,
.table-status-select.status-badge.status-badge--cancelled {
    background-color: #FFE4E0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23E63A46' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    color: #E63A46 !important;
}
.b2b-admin-table-card .b2b-table-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-order-detail__meta {
    color: #667085;
    font-size: 13px;
}

.b2b-order-detail__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
}

.b2b-order-detail__main,
.b2b-order-detail__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.b2b-order-detail .b2b-form-card {
    margin-bottom: 0;
}

.b2b-order-detail__aside .b2b-form-card {
    padding: 16px 18px;
}

.b2b-order-detail__aside .form-card-title {
    font-size: 15px;
    margin: 0 0 10px;
}

.b2b-order-agent {
    border-bottom: 1px solid #eef1f4;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.b2b-order-agent__label {
    color: #667085;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.b2b-order-agent__name {
    color: #101828;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 2px;
}

.b2b-order-agent__meta {
    color: #667085;
    font-size: 13px;
    margin: 0;
}

.b2b-order-detail__aside .summary-line {
    padding: 6px 0;
}

.b2b-order-detail__note {
    margin-top: 8px;
}

.b2b-order-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.b2b-order-info__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.b2b-order-info__item span {
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.b2b-order-info__item strong {
    color: #101828;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.b2b-order-info__item--full {
    grid-column: 1 / -1;
}

.b2b-order-products {
    display: flex;
    flex-direction: column;
}

.b2b-order-product {
    align-items: center;
    border-bottom: 1px solid #eef1f4;
    display: flex;
    gap: 14px;
    padding: 14px 0;
}

.b2b-order-product:first-child {
    padding-top: 0;
}

.b2b-order-product:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.b2b-order-product__thumb {
    background: #f2f4f7;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    flex-shrink: 0;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.b2b-order-product__info {
    min-width: 0;
    flex: 1;
}

.b2b-order-product__name {
    color: #101828;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}

.b2b-order-product__meta {
    color: #667085;
    font-size: 13px;
    margin: 0;
}

.b2b-order-product__total {
    color: #005788;
    flex-shrink: 0;
    font-size: 15px;
    white-space: nowrap;
}

.b2b-order-detail__note {
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    margin: 12px 0 0;
}

@media (max-width: 1199px) {
    .b2b-order-detail__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .b2b-order-info {
        grid-template-columns: 1fr;
    }

    .b2b-order-product {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .b2b-order-product__total {
        margin-left: 86px;
        width: calc(100% - 86px);
    }
}

.checkout-pay-row .checkout-pay-radio-on,
.checkout-terms .checkout-terms-on {
    display: none;
}
.checkout-pay-row input:checked ~ .checkout-pay-radio-off,
.checkout-terms input:checked ~ .checkout-terms-off {
    display: none;
}
.checkout-pay-row input:checked ~ .checkout-pay-radio-on,
.checkout-terms input:checked ~ .checkout-terms-on {
    display: block;
}

/* Account personal: lock form until "Chỉnh sửa" */
.account-form.is-locked {
    pointer-events: none;
}
.account-form.is-locked .account-form-actions {
    display: none;
}

/* B2B sidebar: Font Awesome icon for Đơn hàng */
.b2b-sidebar__link .nav-icon i {
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* B2B sidebar toggle (chỉ nút topbar) — thu nhỏ còn icon */
.b2b-sidebar__close,
#btnCloseSidebar {
    display: none !important;
}
.b2b-sidebar {
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.28s cubic-bezier(0.4, 0, 0.2, 1), padding 0.28s ease, transform 0.3s ease, box-shadow 0.28s ease;
}
.b2b-sidebar .sidebar-nav__name,
.b2b-sidebar .sidebar-section-title,
.b2b-sidebar .b2b-sidebar__balance,
.b2b-sidebar .b2b-sidebar__footer-cta .cta-content {
    white-space: nowrap;
}
.b2b-topbar__left .b2b-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.b2b-topbar__left .b2b-sidebar-toggle i {
    transition: transform 0.28s ease;
}
.b2b-topbar__left .b2b-sidebar-toggle:hover {
    background: rgba(0, 87, 136, 0.08);
    transform: scale(1.06);
}
.b2b-topbar__left .b2b-sidebar-toggle:active {
    transform: scale(0.94);
}
.b2b-topbar__left .b2b-sidebar-toggle.is-open {
    color: #005788;
    background: rgba(0, 87, 136, 0.1);
}

@media (min-width: 992px) {
    /* Desktop: khi đóng và KHÔNG hover -> thu nhỏ */
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) {
        width: 76px !important;
        min-width: 76px !important;
        padding: 16px 10px 20px !important;
        overflow-x: hidden !important;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__brand {
        padding: 4px 0 12px;
        display: flex;
        justify-content: center;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__brand img {
        height: 28px;
        width: 100%;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__balance-box {
        justify-content: center;
        padding: 8px 0;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__balance,
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .sidebar-nav__name,
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .sidebar-section-title,
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .nav-arrow,
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__footer-cta .cta-content,
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__footer-cta .cta-arrow {
        display: none !important;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__balance-box .balance-icon {
        margin: 0;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__link {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
        gap: 0;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__link .nav-icon {
        margin: 0;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__footer-cta {
        justify-content: center;
        padding: 10px;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__footer-cta .cta-icon-img {
        margin: 0;
    }
    .b2b-sidebar.is-collapsed:not(:hover):not(.is-hovered) .b2b-sidebar__submenu {
        display: none !important;
    }

    /* Khi hover mở ra hoặc khi mở hẳn: hiệu ứng bóng và mở rộng kích thước */
    .b2b-sidebar.is-collapsed:hover,
    .b2b-sidebar.is-collapsed.is-hovered {
        width: 264px !important;
        min-width: 264px !important;
        padding: 20px 16px 24px 16px !important;
        box-shadow: 6px 0 30px rgba(0, 29, 60, 0.25);
    }
}

.b2b-unassigned-banner {
    margin-bottom: 1.5rem;
}

/* B2B commissions: clickable month rows */
.b2b-history-table-card .month-detail-link,
.b2b-table-card .month-detail-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.b2b-history-table-card .month-detail-link:hover,
.b2b-table-card .month-detail-link:hover {
    color: #005788;
    text-decoration: underline;
}
.b2b-history-table-card tr.is-clickable:hover td,
.b2b-table-card tr.is-clickable:hover td {
    background: #F7FAFC;
}

/* CTV referral products */
.b2b-page-subtitle {
    color: #667085;
    font-size: 14px;
}
.b2b-referral-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.b2b-referral-product-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: #f2f4f7;
    flex-shrink: 0;
}
.b2b-referral-product-name {
    color: #102f66;
    font-weight: 600;
    text-decoration: none;
}
.b2b-referral-product-name:hover {
    color: #005788;
    text-decoration: underline;
}
.b2b-referral-link-input {
    width: 100%;
    min-width: 220px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #475467;
    background: #f9fafb;
}
.b2b-referral-copy-btn {
    min-width: 42px;
    padding: 8px 12px;
}
.b2b-referral-copy-btn.is-copied,
.b2b-referral-link-card .ref-action-btn.is-copied {
    background: #12b76a;
    border-color: #12b76a;
    color: #fff;
}
.b2b-referral-products-table td {
    vertical-align: middle;
}

/* Checkout: cửa hàng gần tôi */
.checkout-nearby-stores {
    margin-bottom: 24px;
}
.checkout-nearby-stores__status {
    font-size: 13px;
    color: #667085;
    margin-bottom: 12px;
}
.checkout-nearby-stores__list {
    display: grid;
    gap: 10px;
}
.checkout-nearby-store {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.checkout-nearby-store:hover {
    border-color: #98a2b3;
}
.checkout-nearby-store.is-selected {
    border-color: #005788;
    background: #f0f7fc;
}
.checkout-nearby-store__radio {
    margin-top: 3px;
    flex-shrink: 0;
}
.checkout-nearby-store__body {
    flex: 1;
    min-width: 0;
}
.checkout-nearby-store__name {
    margin: 0 0 4px;
    font-weight: 600;
    color: #102f66;
    font-size: 15px;
}
.checkout-nearby-store__meta {
    margin: 0;
    font-size: 13px;
    color: #667085;
}
.checkout-nearby-store__distance {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #005788;
    white-space: nowrap;
}

.stock-badge {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}
.stock-badge--out {
    background: #eef4ff;
    color: #005788;
}
.stock-badge--in {
    background: #fff7e6;
    color: #b54708;
}

.b2b-alert,
.b2b-flash {
    align-items: flex-start;
    border-radius: 12px;
    display: flex;
    font-size: 14px;
    gap: 10px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 14px 16px;
}
.b2b-alert i,
.b2b-flash i {
    flex-shrink: 0;
    margin-top: 2px;
}
.b2b-flash--success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}
.b2b-alert.b2b-error,
.b2b-flash--error {
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
}

.stock-table-card .table-card-title {
    margin-bottom: 0;
}
.stock-table-card__head {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}
.stock-table-card__hint {
    color: #667085;
    font-size: 13px;
    margin: 6px 0 0;
}
.stock-table-card .b2b-custom-table,
.stock-table-card .b2b-history-table {
    min-width: 0;
}
.stock-intake-table .b2b-custom-table,
.stock-intake-table .b2b-history-table {
    min-width: 720px;
}
.stock-table-card .b2b-custom-table tbody td,
.stock-table-card .b2b-history-table tbody td {
    white-space: normal;
}
.stock-source-link {
    text-decoration: none;
}
.stock-empty {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 36px 20px 28px;
    text-align: center;
}
.stock-empty--compact {
    padding: 24px 20px;
}
.stock-empty i {
    color: #98a2b3;
    font-size: 28px;
    /*margin-bottom: 12px;*/
}
.stock-empty__title {
    color: #102f66;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}
.stock-empty__text {
    color: #667085;
    font-size: 13px;
    margin: 0 0 16px;
    max-width: 420px;
}

.stock-wallet-chip {
    align-items: center;
    background: #f0f7fc;
    border: 1px solid #d6e6f2;
    border-radius: 12px;
    color: #667085;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 12px 14px;
}
.stock-wallet-chip strong {
    color: #005788;
    font-size: 16px;
}
.stock-shortfall-banner {
    align-items: flex-start;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 14px;
    color: #b42318;
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px 18px;
}
.stock-shortfall-banner__icon {
    align-items: center;
    background: #fee4e2;
    border-radius: 12px;
    color: #b42318;
    display: flex;
    flex-shrink: 0;
    font-size: 18px;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.stock-shortfall-banner__body strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}
.stock-shortfall-banner__body p {
    color: #7a271a;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px;
}
.stock-shortfall-banner__cta {
    margin-bottom: 0 !important;
}
.stock-shortfall-banner a {
    color: #b42318;
    font-weight: 700;
    text-decoration: underline;
}
.stock-shortfall {
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 12px;
    color: #b42318;
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 12px;
    padding: 12px 14px;
}
.stock-shortfall strong {
    display: block;
    margin-bottom: 4px;
}
.stock-shortfall p {
    margin: 0;
}
.btn-b2b-primary:disabled,
.btn-b2b-primary[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}

.register-type-icon--agent {
    mask-image: url("../assets/login/register-agent.png");
    -webkit-mask-image: url("../assets/login/register-agent.png");
}
.register-type-icon--person {
    mask-image: url("../assets/login/register-person.png");
    -webkit-mask-image: url("../assets/login/register-person.png");
}

.contact-hero .title-sub {
    font-family: var(--font-averta-regular);
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
}

.b2b-panel__form .login-modal-alert {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
}
.b2b-panel__form .login-modal-alert.is-error {
    color: #b42318;
    background: #fef3f2;
}

.absolute .dropdown-menu-right a.dropdown-item {
    color: #101828;
}

.agent-cell .agent-avatar-circle {
    background: var(--linear, linear-gradient(0deg, rgba(0, 29, 60, 0) 60.54%, rgba(0, 29, 60, 0.55) 78.74%, rgba(0, 29, 60, 0.7) 83.02%, #001D3C 100%), #002F65);
}

.checkout-card .checkout-info-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.checkout-card .checkout-info-grid > * {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
}
@media (max-width: 768px) {
    .checkout-card .checkout-info-grid {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }
    .checkout-card .checkout-info-grid > * {
        flex: 1 1 auto;
        width: 100%;
    }
}

.pdp-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.pdp-reviews-head .pdp-reviews-title {
    margin: 0;
}
.pdp-reviews-write {
    flex-shrink: 0;
}
.review-modal .review-input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #dce5ee;
    background: #fff;
    font-family: var(--font-averta-regular);
    font-size: 14px;
    line-height: 22px;
    color: #020d12;
    outline: none;
    transition: border-color 0.2s;
}
.review-modal .review-input:focus {
    border-color: #005788;
}
.review-modal-alert {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
}
.review-modal-alert.is-error {
    background: #fdecea;
    color: #b33a1b;
}
.review-modal-alert.is-success {
    background: #e8f6ef;
    color: #1e7a46;
}
@media (max-width: 768px) {
    .pdp-reviews-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .pdp-reviews-head .pdp-reviews-title {
        font-size: 32px;
        line-height: 40px;
    }
    .pdp-reviews-write {
        width: 100%;
    }
}

.confirm-modal .modal-dialog {
    max-width: 480px;
    margin: 1.75rem auto;
}
.confirm-modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 32px 32px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.confirm-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}
.confirm-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFE4E0;
    color: #E63A46;
    font-size: 24px;
}
.confirm-modal-intro {
    text-align: center;
}
.confirm-modal-intro h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.3;
    color: #101828;
    font-weight: 700;
}
.confirm-modal-intro p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #667085;
}
.confirm-modal-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
}
.confirm-modal-actions .btn-pill {
    flex: 1;
    min-width: 0;
}
.confirm-modal-actions--refund .btn-pill {
    flex: 1 1 calc(50% - 4px);
}
.btn-pill--danger {
    background: #E63A46;
    color: #fff;
    border: 1px solid #E63A46;
    box-shadow: 0 8px 10px rgba(230, 58, 70, 0.15);
}
.btn-pill--danger:hover {
    background: #C52F39;
    color: #fff;
    border-color: #C52F39;
}
.btn-pill--secondary {
    background: #F2F4F7;
    color: #344054;
    border: 1px solid #D0D5DD;
    box-shadow: none;
}
.btn-pill--secondary:hover {
    background: #E4E7EC;
    color: #1D2939;
}
@media (max-width: 575.98px) {
    .confirm-modal .modal-content {
        padding: 24px 20px 28px;
    }
    .confirm-modal-actions,
    .confirm-modal-actions--refund .btn-pill {
        flex-direction: column;
        flex: 1 1 100%;
    }
}

.topup-modal__icon {
    background: #e0f2fe;
    color: #005788;
}
.topup-modal__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.topup-modal__form .form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    text-align: left;
}
.topup-modal__form .form-control-custom {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 15px;
    color: #101828;
    background: #fff;
}
.topup-modal__form .form-control-custom:focus {
    outline: none;
    border-color: #005788;
    box-shadow: 0 0 0 3px rgba(0, 87, 136, 0.12);
}
.topup-modal__submit {
    background: #005788;
    color: #fff;
    border: 1px solid #005788;
    box-shadow: 0 8px 10px rgba(0, 87, 136, 0.15);
}
.topup-modal__submit:hover {
    background: #0a293a;
    border-color: #0a293a;
    color: #fff;
}
#revenueChart{
    width: 100% !important;
    height: 100% !important;
}
.b2b-referral-card .chart-container {
    height: 500px;
    max-height: 500px;
    flex: 0 0 auto;
}
@media (max-width: 767.98px) {
    .b2b-referral-card .chart-container {
        height: 280px;
        max-height: 280px;
    }
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 15px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    height: 100%;
}

.b2b-form-card .js-product-rate-select + .select2-container .select2-selection--multiple {
    min-height: 44px;
    background: #F5F6F8;
    border: 1px solid #E7EBF2;
    border-radius: 8px;
    padding: 4px 8px;
}
.b2b-form-card .js-product-rate-select + .select2-container .select2-selection--multiple .select2-selection__choice {
    background: #E8F1F7;
    border: 1px solid #C5D9E6;
    border-radius: 6px;
    color: #0C0C0C;
    font-size: 13px;
    padding: 2px 8px;
    margin-top: 4px;
}
.b2b-form-card .js-product-rate-select + .select2-container .select2-selection--multiple .select2-search__field {
    margin-top: 4px;
    font-size: 14px;
}
.b2b-form-card .js-product-rate-select + .select2-container.select2-container--focus .select2-selection--multiple,
.b2b-form-card .js-product-rate-select + .select2-container.select2-container--open .select2-selection--multiple {
    background: #FFFFFF;
    border-color: #005788;
    box-shadow: 0 0 0 3px rgba(0, 87, 136, 0.1);
}

.b2b-select2.select2-container--default .select2-selection--single {
    align-items: center;
    background: #f5f6f8;
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    display: flex;
    height: 44px;
    outline: none;
}
.b2b-select2--filter.select2-container--default .select2-selection--single {
    background: #fff;
    height: 40px;
}
.b2b-select2--filter.select2-container {
    min-width: 200px;
}
.b2b-select2.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1d2a5c;
    font-size: 14px;
    line-height: 1.3;
    padding-left: 14px;
    padding-right: 52px;
}
.b2b-select2.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6f767c;
}
.b2b-select2.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 8px;
    top: 0;
}
.b2b-select2.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #94a3b8;
    font-size: 18px;
    font-weight: 400;
    height: auto;
    margin-right: 22px;
}
.b2b-select2.select2-container--default.select2-container--focus .select2-selection--single,
.b2b-select2.select2-container--default.select2-container--open .select2-selection--single {
    background: #fff;
    border-color: #005788;
    box-shadow: 0 0 0 3px rgba(0, 87, 136, 0.1);
}
.b2b-select2 ~ .select-chevron {
    display: none;
}
.b2b-select2-dropdown.select2-dropdown {
    border: 1px solid #e7ebf2;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}
.b2b-select2-dropdown .select2-search--dropdown {
    padding: 8px;
}
.b2b-select2-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid #d8e1ec;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    padding: 7px 10px;
}
.b2b-select2-dropdown .select2-search--dropdown .select2-search__field:focus {
    border-color: #005788;
}
.b2b-select2-dropdown .select2-results__option {
    font-size: 14px;
    padding: 8px 12px;
}
.b2b-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background: #005788;
}
.modal .b2b-select2-dropdown {
    z-index: 1060;
}

.badge-status--pending {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    background: #FFFAEB;
    color: #B54708;
    font-size: 12.5px;
    font-weight: 500;
}