﻿/* ── Bin Card summary card ───────────────────────────── */
.bincard-summary {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(41, 71, 146, 0.10);
}


.bincard-summary-body {
    background: #fff;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.bincard-stat {
    flex: 1 1 45%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    transition: background 0.15s;
}

.bincard-stat:hover {
    background: #f0f4ff;
}

.bincard-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bincard-stat-icon i {
    font-size: 0.85rem;
    color: #294792;
}

.bincard-stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bincard-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.bincard-stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3a6e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bincard-stat-divider {
    width: 1px;
    background: #e5e7eb;
    align-self: stretch;
    margin: 0.5rem 0;
    flex-shrink: 0;
}
/* ────────────────────────────────────────────────────── */

/* ── Sidebar active-page highlight ───────────────────── */

/* Parent group links (href="#") — bold only, strip any background MetisMenu adds */
.vertical-nav-menu li.mm-active > a[href="#"],
.vertical-nav-menu li a.mm-active[href="#"] {
    background: transparent !important;
    color: inherit !important;
    font-weight: bold;
}

/* Leaf links — full hover-style highlight + brand color */
.vertical-nav-menu li.mm-active > a:not([href="#"]),
.vertical-nav-menu li a.mm-active:not([href="#"]) {
    background: #e0f3ff !important;
    color: #294792 !important;
    font-weight: bold;
}
/* ────────────────────────────────────────────────────── */

/* Expiry Banner */
.expiry-banner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.expired-banner {
    border: 1px solid #f9a8d4;
}

.expiring-banner {
    border: 1px solid #ffc107;
}

.expiry-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.expiry-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0;
}

.expired-color {
    color: #db2777;
}

.expiring-color {
    color: #d39e00;
}

.expiry-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expired-icon {
    background-color: #fce7f3;
}

.expiring-icon {
    background-color: #fff3cd;
}

.expiry-icon i {
    font-size: 1.2rem;
}
/* End Subscription Expiry Banner */






/* ── Item Expiry Report Table Rows ────────────────── */
.expiry-row-expired {
    background-color: #fef2f2 !important;
}

.expiry-row-critical {
    background-color: #fffbeb !important;
}

.expiry-row-warning {
    background-color: #eff6ff !important;
}


/* End Item Expiry */


.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.status-badge i {
    font-size: 1.1rem;
}

.valid-color {
    color: #28a745;
}

.deleted-color {
    color: #D20103;
}

/*Detail Modal*/
.addon-section {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.addon-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 400;
}

.detail-value {
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 500;
    text-align: right;
}

.section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.5rem 0 0.5rem 0;
}

/* ── Settings & Import Brand Styling ───────────────────── */
.settings-card .card-header {
    background: #f8f9ff;
    border-bottom: 2px solid #294792;
}

.settings-card .card-header .card-title {
    color: #294792;
    font-weight: 600;
}

.settings-card .card-footer .btn-primary {
    background-color: #294792;
    border-color: #294792;
}

.settings-card .card-footer .btn-primary:hover,
.settings-card .card-footer .btn-primary:focus {
    background-color: #1e3570;
    border-color: #1e3570;
}

.settings-sidebar .card-header {
    background: #f8f9ff;
    border-bottom: 2px solid #294792;
}

.settings-sidebar .card-header .card-title {
    color: #294792;
    font-weight: 600;
}

.settings-sidebar .list-group-item-action.active {
    background-color: #294792;
    border-color: #294792;
}

.settings-sidebar .list-group-item-action:hover:not(.active) {
    color: #294792;
}

.import-card .card-title {
    color: #294792;
    font-weight: 600;
    border-bottom: 2px solid #294792;
    padding-bottom: 0.5rem;
}

.import-card .btn-primary {
    background-color: #294792;
    border-color: #294792;
}

.import-card .btn-primary:hover,
.import-card .btn-primary:focus {
    background-color: #1e3570;
    border-color: #1e3570;
}
/* ────────────────────────────────────────────────────── */

/*Cart Modal*/
.cart-content {
    flex: 1;
}

.cart-item {
    position: relative;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item:last-of-type {
    border-bottom: none;
}

.discount-input {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
}

.discount-input input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
}

.btn-apply {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid #007bff;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-apply:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}

.discount-icon {
    color: #6c757d;
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-label {
    color: #6c757d;
}

.summary-value {
    color: #1a1a1a;
    font-weight: 500;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    border-top: 1px solid #e9ecef;
    margin-top: 0.5rem;
    color: #1a1a1a;
}

.button-container {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 1rem;
    margin-top: 1rem;
}

.btn-continue {
    background: transparent;
    color: #28a745;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1.5px solid #28a745;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background: #28a745;
    color: #fff;
}

.item-subtitle {
    color: #6c757d;
    font-size: 0.875rem;
}

.item-price {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: right;
}

.item-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}
/*Cart Modal End*/

.selected-row {
    color: red;
    background-color: yellow;
}

.pointer {
    cursor: pointer;
}

.upload-message {
    color: #adb5bd;
    font-size: 1.1rem;
    padding: 1.5rem;
    text-align: center;
}

.text-red {
    color: #d92550;
}

.total-cell {
    font-weight: bold;
    text-align: right;
}

.number-cell {
    text-align: right;
}

.scroller {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #00000020;
}

/* Item heading at the top of the attach-modifiers modal. */
.attach-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background-color: #29479208;
    border-left: 3px solid #294792; /* brand navy */
    border-radius: 6px;
}

.attach-item-head .attach-item-icon {
    color: #294792; /* brand navy */
}

.attach-item-head .attach-item-name {
    font-weight: 600;
    color: #294792; /* brand navy */
}

#lstAttachGroups {
    border-radius: 6px;
}

.attach-group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    border-left: 3px solid transparent;
    /* Smooth the highlight in/out; layout reorders stay instant. */
    transition: background-color 0.12s ease, opacity 0.12s ease, border-color 0.12s ease;
}

.attach-group-item:hover {
    background-color: #35a59c10; /* brand teal, very light */
}

/* Checked rows read as attached: navy accent bar + faint navy tint. */
.attach-group-item:has(.attach-group-check:checked) {
    border-left-color: #294792; /* brand navy */
    background-color: #29479208;
}

.attach-group-item .attach-drag-handle {
    cursor: grab;
    /* Claim the touch gesture for dragging instead of letting it scroll the list. */
    touch-action: none;
    padding: 0 4px;
    color: #294792; /* brand navy */
}

.attach-group-item .attach-group-check {
    margin: 0;
    flex: 0 0 auto;
}

.attach-group-item .form-check-label {
    margin: 0;
    flex: 1 1 auto;
}

.attach-group-item.attach-dragging {
    opacity: 0.6;
    background-color: #2947921a;
    border-left-color: #294792;
    box-shadow: 0 2px 6px rgba(41, 71, 146, 0.2);
}

.popup-form-body {
    margin: 0px 16px 0px 16px;
}

.input-validation-error {
    border-color: #d92550;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23d92550'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23d92550' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input.number-field {
    text-align: right;
}

.text-danger {
    font-size: 0.8em;
}

.field-validation-valid:empty:before {
    content: "\200b";
}

td.dt-body-right {
    text-align: right;
}

td.dt-right, th.dt-right {
    text-align: right;
}

td.dt-body-center, th.dt-body-center {
    text-align: center;
}

td.dt-center, th.dt-center {
    text-align: center;
}

/* ── Right / Left Slide Modal ───────────────────────────── */
.modal.left_modal,
.modal.right_modal {
    position: fixed;
    z-index: 99999;
}

/* Dialog panel */
.modal.left_modal .modal-dialog,
.modal.right_modal .modal-dialog {
    position: fixed;
    margin: 0;
    top: 61px;
    bottom: 0;
    width: 430px;
    max-width: 100vw;
    transform: translate3d(0, 0, 0);
}

/* Full-screen on small devices */
@media (max-width: 575.98px) {
    .modal.left_modal .modal-dialog,
    .modal.right_modal .modal-dialog {
        top: 0;
        width: 100vw;
    }
}

/* Content fills the full panel height and stacks header/body/footer */
.modal.left_modal .modal-content,
.modal.right_modal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border: none;
    overflow: hidden;
}

/* Header — brand accent */
.modal.right_modal .modal-header,
.modal.left_modal .modal-header {
    flex-shrink: 0;
    background-color: #294792;
    color: #fff;
    border-bottom: none;
    padding: 0.85rem 1.25rem;
    border-radius: 0;
}

.modal.right_modal .modal-header .modal-title,
.modal.left_modal .modal-header .modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.modal.right_modal .modal-header .btn-close,
.modal.left_modal .modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.85;
}

/* Branded navy header for centered confirmation modals */
.confirm-modal-header {
    background-color: #294792;
    color: #fff;
    border-bottom: none;
}

.confirm-modal-header .modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Form wrapper inside modal must also flex so content fills height */
.modal.left_modal .modal-dialog > form,
.modal.right_modal .modal-dialog > form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Body — scrollable, grows to fill available space */
.modal.left_modal .modal-body,
.modal.right_modal .modal-body,
.modal_outer .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 1.5rem;
}

/* Footer — always pinned at the bottom, never hidden */
.modal.right_modal .modal-footer,
.modal.left_modal .modal-footer {
    flex-shrink: 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Brand color for primary buttons inside modals */
.modal.right_modal .btn-primary,
.modal.left_modal .btn-primary {
    background-color: #294792;
    border-color: #294792;
}
.modal.right_modal .btn-primary:hover,
.modal.left_modal .btn-primary:hover,
.modal.right_modal .btn-primary:focus,
.modal.left_modal .btn-primary:focus {
    background-color: #1e3670;
    border-color: #1e3670;
}

.modal-backdrop {
    display: none;
}

/* Slide-in animations */
.modal.left_modal.fade .modal-dialog {
    left: -100%;
    transition: opacity 0.25s linear, left 0.25s ease-out;
}
.modal.left_modal.fade.show .modal-dialog {
    left: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
}

.modal.right_modal.fade .modal-dialog {
    right: -100%;
    transition: opacity 0.25s linear, right 0.25s ease-out;
}
.modal.right_modal.fade.show .modal-dialog {
    right: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,.18);
}

/* ── Dashboard Cards ──────────────────────────────────── */
.dash-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(41, 71, 146, 0.10);
    overflow: hidden;
}

.dash-card-header {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background-color: #294792;
    border-bottom: none;
}

.dash-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-card-icon {
    font-size: 0.85rem;
    color: #35a59c;
}

.dash-table thead th {
    background-color: #f0f3fb;
    color: #294792;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #dce3f5;
    padding: 0.65rem 0.9rem;
    white-space: nowrap;
}

.dash-table tbody tr td {
    font-size: 0.875rem;
    padding: 0.6rem 0.9rem;
    color: #374151;
    border-bottom: 1px solid #f0f3fb;
    vertical-align: middle;
}

.dash-table tbody tr:last-child td {
    border-bottom: none;
}

.dash-table tbody tr:hover td {
    background-color: #f5f7ff;
}

.dash-table-footer th {
    background-color: #eef1fb;
    color: #294792;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.65rem 0.9rem;
    border-top: 2px solid #dce3f5;
}

/* ── Dashboard KPI Cards ─────────────────────────────── */
.dash-kpi-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(41, 71, 146, 0.10);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: stretch;
    min-height: 90px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.dash-kpi-card:hover {
    box-shadow: 0 6px 24px rgba(41, 71, 146, 0.18);
    transform: translateY(-2px);
}

.dash-kpi-accent {
    width: 5px;
    flex-shrink: 0;
}

.dash-kpi-body {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem 1.15rem;
    gap: 1rem;
}

.dash-kpi-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-kpi-icon-wrap i {
    font-size: 1.15rem;
    display: block;
}

.dash-kpi-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

.dash-kpi-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a6e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* colour variants */
.dash-kpi-navy  { background-color: #294792; }
.dash-kpi-teal  { background-color: #35a59c; }
.dash-kpi-green { background-color: #22a06b; }
.dash-kpi-amber { background-color: #d97706; }
.dash-kpi-red   { background-color: #dc2626; }

.dash-kpi-icon-wrap.dash-kpi-icon-navy  { background-color: #eef1fb; }
.dash-kpi-icon-wrap.dash-kpi-icon-navy i  { color: #294792 !important; }
.dash-kpi-icon-wrap.dash-kpi-icon-teal  { background-color: #e0f5f4; }
.dash-kpi-icon-wrap.dash-kpi-icon-teal i  { color: #35a59c !important; }
.dash-kpi-icon-wrap.dash-kpi-icon-green { background-color: #d1fae5; }
.dash-kpi-icon-wrap.dash-kpi-icon-green i { color: #22a06b !important; }
.dash-kpi-icon-wrap.dash-kpi-icon-amber { background-color: #fef3c7; }
.dash-kpi-icon-wrap.dash-kpi-icon-amber i { color: #d97706 !important; }
.dash-kpi-icon-wrap.dash-kpi-icon-red   { background-color: #fef2f2; }
.dash-kpi-icon-wrap.dash-kpi-icon-red i   { color: #dc2626 !important; }
/* ────────────────────────────────────────────────────── */

/* ── Sidebar Brand Accent ──────────────────────────────── */
.app-sidebar__inner {
    border-top: 3px solid #294792;
}

.vertical-nav-menu i.metismenu-icon {
    font-size: 1.0rem;
    color: #294792;
    opacity: 1;
}

.vertical-nav-menu i.metismenu-state-icon {
    font-size: 1.0rem;
    color: #294792;
    opacity: 1;
}

.app-sidebar__heading {
    color: #294792;
}
/* ────────────────────────────────────────────────────── */

/* ── Date Picker Brand Colors ───────────────────────────── */
#btnDropDown.btn-primary {
    background-color: #294792;
    border-color: #294792;
}

#btnDropDown.btn-primary:hover,
#btnDropDown.btn-primary:focus {
    background-color: #1e3570;
    border-color: #1e3570;
}

.dropdown-menu-header-inner.bg-primary {
    background-color: #294792 !important;
}
/* ────────────────────────────────────────────────────── */

/* ── Page Title Icon Brand Override ────────────────────── */
.page-title-icon {
    background: #294792 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.page-title-icon i {
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}
/* ────────────────────────────────────────────────────── */

/* ── List Card Header ──────────────────────────────────── */
.list-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #f8f9ff;
    border-bottom: 2px solid #294792;
}

.list-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #294792;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-card-icon {
    color: #294792;
    font-size: 0.9rem;
}

.list-card-header .btn-primary {
    background-color: #294792;
    border-color: #294792;
}

.list-card-header .btn-primary:hover,
.list-card-header .btn-primary:focus {
    background-color: #1e3570;
    border-color: #1e3570;
}
/* ────────────────────────────────────────────────────── */

/* ── Export dropdown relocated into the page-title actions ── */
.page-title-actions .dt-export-actions {
    display: inline-flex;
    margin-bottom: 0;
}

.page-title-actions .dt-export-actions .dt-export-toggle {
    background-color: #294792;
    border-color: #294792;
    color: #fff;
}

.page-title-actions .dt-export-actions .dt-export-toggle:hover,
.page-title-actions .dt-export-actions .dt-export-toggle:focus {
    background-color: #1e3570;
    border-color: #1e3570;
    color: #fff;
}
/* ────────────────────────────────────────────────────── */

/* ── Login Page ─────────────────────────────────────────── */
body.login-page-body {
    margin: 0;
    padding: 0;
}

/* Turn app-container into the login flex row — removes background bleed and nesting issues */
body.login-page-body .app-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background: none;
}

/* Collapse .login-root so its children (.login-brand-panel, .login-form-panel)
   become direct flex children of .app-container */
.login-root {
    display: contents;
}

/* Left brand panel */
.login-brand-panel {
    width: 50%;
    background-color: #294792;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.login-brand-panel::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(53, 165, 156, 0.15);
    pointer-events: none;
}

.login-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.login-brand-inner {
    position: relative;
    z-index: 1;
}


.login-brand-logo {
    height: 72px;
    width: 72px;
    background: url("../../images/logo/white-blue-icon.png") no-repeat center / contain;
    margin-bottom: 0.75rem;
}

.login-brand-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.login-brand-title span {
    color: #35a59c;
}

.login-brand-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.login-brand-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

.login-feature-item i {
    color: #35a59c;
    font-size: 1rem;
    flex-shrink: 0;
}

.login-brand-footer {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Right form panel */
.login-form-panel {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7ff;
    padding: 2rem 1.5rem;
}

.login-form-inner {
    width: 100%;
    max-width: 420px;
}

.login-mobile-logo {
    height: 30px;
    width: 130px;
    background: url("../../images/logo/logo.png") no-repeat left center / contain;
    margin: 0 auto 1.5rem;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(41, 71, 146, 0.10);
    padding: 2.5rem 2.25rem;
}

.login-card-header {
    margin-bottom: 2rem;
}

.login-welcome {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1e3a6e;
    margin-bottom: 0.35rem;
    letter-spacing: -0.3px;
}

.login-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.login-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-forgot-link {
    font-size: 0.8rem;
    color: #294792;
    text-decoration: none;
    font-weight: 500;
}

.login-forgot-link:hover {
    color: #35a59c;
    text-decoration: underline;
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 2;
}

.login-input {
    padding-left: 2.5rem !important;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    height: 44px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9fafb;
}

.login-input:focus {
    border-color: #294792;
    box-shadow: 0 0 0 3px rgba(41, 71, 146, 0.10);
    background: #fff;
    outline: none;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #294792;
    cursor: pointer;
    flex-shrink: 0;
}

.login-checkbox-label {
    font-size: 0.85rem;
    color: #6b7280;
    cursor: pointer;
    margin-bottom: 0;
}

.login-btn-submit {
    width: 100%;
    height: 46px;
    background-color: #294792;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn-submit:hover,
.login-btn-submit:focus,
.login-btn-submit:active {
    color: #fff;
}

.login-input-with-toggle {
    padding-right: 2.75rem !important;
}

.login-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    z-index: 3;
}

.login-password-toggle:hover {
    color: #294792;
}

.login-footer-note {
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 1.5rem;
}

.login-footer-note a {
    color: #294792;
    text-decoration: none;
}

.login-back-link {
    text-align: center;
    margin-top: 0.25rem;
}

.login-confirm-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.login-confirm-icon {
    width: 64px;
    height: 64px;
    background: #eef1fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #294792;
    margin-bottom: 0.5rem;
}

.login-confirm-icon--success {
    background: #edfaf4;
    color: #35a59c;
}

.login-confirm-hint {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 991.98px) {
    body.login-page-body .app-container {
        flex-direction: column;
    }
    .login-form-panel {
        width: 100%;
        min-height: 100vh;
        padding: 2rem 1rem;
    }
}
/* ────────────────────────────────────────────────────── */

/* ── Brand Border Bottom Card ───────────────────────────── */
.border-brand {
    border-color: #294792 !important;
}

/* ── DataTables Pagination Brand Colors ────────────────── */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #294792 !important;
    border-color: #294792 !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eef1fb !important;
    border-color: #294792 !important;
    color: #294792 !important;
}
/* ────────────────────────────────────────────────────── */

/* ── DataTables Empty State ────────────────────────────── */
.dt-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    color: #adb5bd;
}

.dt-empty-state i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #c8d0e0;
}

.dt-empty-state span {
    font-size: 0.9rem;
}

/* ── Pricing Page ─────────────────────────────────────── */

.pricing-section {
    padding: 40px 0 60px;
}

.pricing-section .section-title {
    text-align: center;
    margin-bottom: 12px;
}

.pricing-section .section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #294792;
}

.pricing-section .section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.pricing-toggle .toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
}

.pricing-toggle .toggle-label.active {
    color: #294792;
    font-weight: 600;
}

.pricing-toggle .toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.pricing-toggle .toggle-switch.yearly {
    background: #35a59c;
}

.pricing-toggle .toggle-switch .toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.pricing-toggle .toggle-switch.yearly .toggle-knob {
    transform: translateX(22px);
}

.pricing-card {
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 32px 28px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    box-shadow: 0 8px 30px rgba(41, 71, 146, 0.12);
}

.pricing-card.featured {
    border-color: #294792;
    box-shadow: 0 8px 30px rgba(41, 71, 146, 0.15);
    position: relative;
}

.pricing-card.featured .featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #294792;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #294792;
    margin-bottom: 6px;
}

.pricing-card .plan-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
    min-height: 40px;
}

.pricing-card .plan-price {
    margin-bottom: 4px;
}

.pricing-card .plan-price .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #294792;
    vertical-align: top;
    position: relative;
    top: 6px;
}

.pricing-card .plan-price .amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #294792;
}

.pricing-card .plan-price .period {
    font-size: 0.9rem;
    color: #6c757d;
}

.pricing-card .plan-price-sub {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 24px;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.pricing-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.92rem;
    color: #495057;
}

.pricing-card .plan-features li i.included {
    color: #35a59c;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.pricing-card .plan-features li i.excluded {
    color: #ccc;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.pricing-card .plan-features li.excluded-feature {
    color: #b0b8c5;
}

.pricing-card .btn-plan {
    display: block;
    width: 100%;
    padding: 12px;
    border: 2px solid #294792;
    border-radius: 8px;
    background: transparent;
    color: #294792;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    margin-top: auto;
}

.pricing-card .btn-plan:hover {
    background: #294792;
    color: #fff;
}

.pricing-card.featured .btn-plan {
    background: #294792;
    color: #fff;
}

.pricing-card.featured .btn-plan:hover {
    background: #1e3570;
    border-color: #1e3570;
}

/* ── Onboarding Pages (public-facing layout) ──────────── */

/* CSS Variables for onboarding pages */
.onboarding-page {
    --default-font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --nav-font: 'Poppins', sans-serif;
    --background-color: #ffffff;
    --default-color: #212529;
    --heading-color: #32353a;
    --accent-color: #1e4591;
    --secondary-color: #00a69c;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --nav-color: #3a3939;
    --nav-hover-color: #1e4591;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #3a3939;
    --nav-dropdown-hover-color: #1e4591;
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

.onboarding-page h1,
.onboarding-page h2,
.onboarding-page h3,
.onboarding-page h4,
.onboarding-page h5,
.onboarding-page h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.onboarding-page p {
    font-size: 16px;
    color: var(--default-color);
    line-height: 24px;
}

.onboarding-page .dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Header */
.onboarding-page .header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
}

.onboarding-page .header .logo {
    line-height: 1;
}

.onboarding-page .header .logo img {
    max-height: 36px;
    margin-right: 8px;
}

.onboarding-page .header .btn-getstarted,
.onboarding-page .header .btn-getstarted:focus {
    font-family: var(--heading-font);
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 26px;
    margin: 0;
    border-radius: 4px;
    transition: 0.3s;
    text-decoration: none;
}

.onboarding-page .header .btn-getstarted:hover,
.onboarding-page .header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
    text-decoration: none;
}

/* Remove underline from all buttons on onboarding pages */
.onboarding-page a.btn,
.onboarding-page a.btn:hover,
.onboarding-page a.btn:focus {
    text-decoration: none;
}

@media (max-width: 1200px) {
    .onboarding-page .header .logo {
        order: 1;
    }
    .onboarding-page .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 20px;
    }
    .onboarding-page .header .navmenu {
        order: 3;
    }
}

/* Navigation - Desktop */
@media (min-width: 1200px) {
    .onboarding-page .navmenu {
        padding: 0;
    }
    .onboarding-page .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }
    .onboarding-page .navmenu li {
        position: relative;
    }
    .onboarding-page .navmenu a,
    .onboarding-page .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }
    .onboarding-page .navmenu li:hover > a,
    .onboarding-page .navmenu .active,
    .onboarding-page .navmenu .active:focus {
        color: var(--nav-hover-color);
    }
    .onboarding-page .navmenu .active {
        border-bottom: 2px solid var(--nav-hover-color);
    }
}

/* Navigation - Mobile */
@media (max-width: 1199px) {
    .onboarding-page .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        cursor: pointer;
        transition: color 0.3s;
    }
    .onboarding-page .navmenu {
        padding: 0;
        z-index: 9997;
    }
    .onboarding-page .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }
    .onboarding-page .navmenu a,
    .onboarding-page .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }
    .onboarding-page .navmenu a:hover,
    .onboarding-page .navmenu .active,
    .onboarding-page .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }
    .onboarding-page.mobile-nav-active {
        overflow: hidden;
    }
    .onboarding-page.mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        z-index: 9999;
    }
    .onboarding-page.mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }
    .onboarding-page.mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/* Footer */
.onboarding-page .footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.onboarding-page .footer .footer-top {
    padding-top: 50px;
}

.onboarding-page .footer .footer-about .logo {
    margin-bottom: 25px;
}

.onboarding-page .footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.onboarding-page .footer .footer-about p {
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    padding-right: 80px;
    font-size: 14px;
}

.onboarding-page .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-right: 10px;
    transition: 0.3s;
}

.onboarding-page .footer .social-links a:hover {
    color: var(--default-color);
    border-color: var(--default-color);
}

.onboarding-page .footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.onboarding-page .footer .footer-links {
    margin-bottom: 30px;
}

.onboarding-page .footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.onboarding-page .footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.onboarding-page .footer .footer-links ul li:first-child {
    padding-top: 0;
}

.onboarding-page .footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    display: inline-block;
    line-height: 1;
}

.onboarding-page .footer .footer-links ul a:hover {
    color: var(--default-color);
}

.onboarding-page .footer .footer-contact p {
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    padding: 10px 0;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 5px;
}

.onboarding-page .footer .footer-contact a {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    line-height: 1;
}

.onboarding-page .footer .footer-contact a:hover {
    color: var(--default-color);
}

.onboarding-page .footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.onboarding-page .footer .copyright p {
    font-size: 14px !important;
    margin-bottom: 0;
}

.onboarding-page .footer .copyright span {
    font-size: 14px !important;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

@media screen and (max-width: 768px) {
    .onboarding-page .footer .footer-about p {
        padding-right: 0;
    }
}

/* Preloader */
.onboarding-page #preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

.onboarding-page #preloader:before {
    content: '';
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: onboarding-preloader 1.5s linear infinite;
}

@keyframes onboarding-preloader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Top */
.onboarding-page .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.onboarding-page .scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.onboarding-page .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.onboarding-page .scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* Page Title & Breadcrumbs */
.onboarding-page .page-title {
    --default-color: var(--contrast-color);
    --background-color: var(--accent-color);
    --heading-color: var(--contrast-color);
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
}

.onboarding-page .page-title .heading {
    padding: 80px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.onboarding-page .page-title .heading h1 {
    font-size: 38px;
    font-weight: 700;
}

.onboarding-page .page-title nav {
    background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
    padding: 20px 0;
}

.onboarding-page .page-title nav a {
    color: var(--default-color);
}

.onboarding-page .page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.onboarding-page .page-title nav ol li + li {
    padding-left: 10px;
}

.onboarding-page .page-title nav ol li + li::before {
    content: '/';
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Sections */
.onboarding-page section,
.onboarding-page .section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 98px;
    overflow: clip;
}

@media (max-width: 1199px) {
    .onboarding-page section,
    .onboarding-page .section {
        scroll-margin-top: 64px;
    }
}

/* Disable AOS delay on mobile */
@media screen and (max-width: 768px) {
    .onboarding-page [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/* Pricing */
.onboarding-page .pricing {
    padding: 40px 0 180px 0;
}

.onboarding-page .pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
    padding: 36px 28px 32px;
    height: 100%;
    position: relative;
    border-radius: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.onboarding-page .pricing .row.g-4 {
    padding-top: 20px;
}

.onboarding-page .pricing .pricing-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px -4px rgba(41, 71, 146, 0.18);
}

.onboarding-page .pricing h3 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 22px;
    text-align: center;
    color: var(--accent-color);
    letter-spacing: 0.3px;
}

.onboarding-page .pricing .pricing-item > p {
    font-size: 13px;
    color: #6c757d;
    min-height: 36px;
}

.onboarding-page .pricing .icon {
    margin: 18px auto 14px auto;
    width: 58px;
    height: 58px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    transform-style: preserve-3d;
}

.onboarding-page .pricing .icon i {
    color: var(--background-color);
    font-size: 24px;
    transition: ease-in-out 0.3s;
    line-height: 0;
}

.onboarding-page .pricing .icon::before {
    position: absolute;
    content: '';
    height: 72px;
    width: 72px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 80%);
    transition: all 0.3s ease-out 0s;
    transform: translateZ(-1px);
}

.onboarding-page .pricing .icon::after {
    position: absolute;
    content: '';
    height: 86px;
    width: 86px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    transition: all 0.3s ease-out 0s;
    transform: translateZ(-2px);
}

.onboarding-page .pricing h4 {
    font-size: 36px;
    color: var(--accent-color);
    font-weight: 700;
    font-family: var(--heading-font);
    margin-bottom: 4px;
    text-align: center;
}

.onboarding-page .pricing h4 sup {
    font-size: 22px;
}

.onboarding-page .pricing h4 span {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    font-weight: 400;
}

.onboarding-page .pricing .info {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    font-family: var(--heading-font);
    margin-bottom: 10px;
    text-align: center;
}

.onboarding-page .pricing .info span {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 13px;
    font-weight: 400;
}

.onboarding-page .pricing ul {
    padding: 12px 0;
    list-style: none;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    text-align: left;
    line-height: 20px;
}

.onboarding-page .pricing ul li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.onboarding-page .pricing ul i {
    color: var(--secondary-color);
    font-size: 20px;
    padding-right: 6px;
    flex-shrink: 0;
}

.onboarding-page .pricing ul .na {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.onboarding-page .pricing ul .na i {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.onboarding-page .pricing ul .na span {
    text-decoration: line-through;
}

.onboarding-page .pricing .buy-btn {
    color: var(--accent-color);
    display: inline-block;
    padding: 10px 36px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--heading-font);
    transition: all 0.3s;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.onboarding-page .pricing .buy-btn:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 4px 14px rgba(41, 71, 146, 0.3);
}

.onboarding-page .pricing .featured {
    z-index: 10;
    border: 2px solid var(--accent-color);
    background-color: var(--surface-color);
}

.onboarding-page .pricing .featured .buy-btn {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
}

.onboarding-page .pricing .featured .buy-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 14px rgba(53, 165, 156, 0.3);
}

@media (min-width: 1200px) {
    .onboarding-page .pricing .featured {
        margin-top: -12px;
        padding-top: 44px;
        padding-bottom: 40px;
        box-shadow: 0 8px 30px -4px rgba(41, 71, 146, 0.22);
    }
}

@media (max-width: 1440px) {
    .onboarding-page .pricing h4 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .onboarding-page .pricing {
        padding: 30px 0 120px 0;
    }

    .onboarding-page .pricing .pricing-item {
        padding: 28px 22px 24px;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .onboarding-page .pricing {
        padding: 20px 0 100px 0;
    }

    .onboarding-page .pricing .pricing-item {
        padding: 24px 18px 22px;
    }

    .onboarding-page .pricing h3 {
        font-size: 20px;
    }

    .onboarding-page .pricing h4 {
        font-size: 26px;
    }

    .onboarding-page .pricing h4 sup {
        font-size: 18px;
    }

    .onboarding-page .pricing ul li {
        font-size: 13px;
    }

    .onboarding-page .pricing .buy-btn {
        padding: 9px 30px;
        font-size: 14px;
    }
}

/* Pricing — Billing toggle */
.pricing-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.25s, font-weight 0.25s;
    user-select: none;
}

.pricing-toggle-label.active {
    color: var(--heading-color);
    font-weight: 600;
}

.pricing-toggle-switch {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

.pricing-toggle-switch:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.pricing-toggle-switch:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(53, 165, 156, 0.25);
}

/* Pricing — Popular badge */
.pricing-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 20px;
    border-radius: 0 0 8px 8px;
}

/* Pricing — Feature check icons */
.onboarding-page .pricing ul i.bi-check-circle-fill {
    color: var(--secondary-color);
}

.onboarding-page .pricing ul .na i.bi-x-circle {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Pricing — display flex for card layout */
.onboarding-page .pricing .pricing-item {
    display: flex;
    flex-direction: column;
}

/* Pricing — CTA section */
.pricing-cta {
    padding: 60px 0 80px;
    background: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.pricing-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.pricing-cta-text {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 24px;
    line-height: 1.7;
}

.pricing-cta-btn {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.pricing-cta-btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(41, 71, 146, 0.3);
}

@media (max-width: 575px) {
    .pricing-cta-title {
        font-size: 22px;
    }

    .pricing-cta-text {
        font-size: 14px;
    }

    .pricing-cta {
        padding: 40px 0 60px;
    }
}

/* ── Signup / Register Page ──────────────────────────── */
.signup-section {
    padding: 40px 0 100px;
}

/* Partner discount banner */
.signup-partner-banner {
    background: #35a59c;
    color: #fff;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.signup-partner-banner i {
    font-size: 18px;
}

/* Summary — Discount bar */
.summary-discount-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0faf9;
    border: 1px solid rgba(53, 165, 156, 0.2);
    border-radius: 10px;
    padding: 14px 24px;
    margin-bottom: 8px;
}

.summary-discount-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #35a59c;
}

.summary-discount-bar-left i {
    font-size: 16px;
    color: #35a59c;
}

.summary-discount-bar-amount {
    font-size: 18px;
    font-weight: 700;
    color: #35a59c;
}

.summary-coupon-bar {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 24px;
    margin-bottom: 8px;
}

.summary-coupon-bar .input-group {
    max-width: 400px;
}

/* Plan summary bar */
.signup-plan-summary {
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--secondary-color);
    border-radius: 10px;
    padding: 16px 24px;
    margin-bottom: 28px;
}

.signup-plan-label {
    font-size: 13px;
    color: #6c757d;
    display: block;
    margin-bottom: 2px;
}

.signup-plan-name {
    font-size: 18px;
    color: var(--accent-color);
    margin-right: 8px;
}

.signup-plan-cycle.badge {
    background: var(--secondary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    vertical-align: middle;
}

.signup-plan-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--heading-font);
}

/* Step indicators */
.signup-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.signup-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #adb5bd;
    transition: color 0.3s;
}

.signup-step.active {
    color: var(--accent-color);
    font-weight: 600;
}

.signup-step.completed {
    color: var(--secondary-color);
}

.signup-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.signup-step.active .signup-step-number {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.signup-step.completed .signup-step-number {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.signup-step-line {
    flex: 0 0 40px;
    height: 2px;
    background: #dee2e6;
    margin: 0 12px;
}

/* Card */
.signup-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    padding: 32px;
    margin-bottom: 20px;
}

.signup-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.signup-card-title i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Labels */
.signup-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

/* Phone code input group */
.signup-phone-code-select {
    font-size: 14px;
    border-color: #dee2e6;
    flex: 0 0 auto;
    width: auto;
    max-width: 100px;
}

/* Actions */
.signup-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.signup-btn-next {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.signup-btn-next:hover {
    background: color-mix(in srgb, var(--accent-color), black 10%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(41, 71, 146, 0.25);
}

.signup-btn-back {
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.2s;
}

.signup-btn-back:hover {
    color: #fff;
    background: var(--secondary-color);
}

.signup-btn-submit {
    background: var(--accent-color);
    color: #fff;
    padding: 12px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.signup-btn-submit:hover {
    background: color-mix(in srgb, var(--accent-color), black 10%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(41, 71, 146, 0.3);
}

/* Terms Checkbox */
.signup-terms-check {
    padding-top: 8px;
}

.signup-terms-check .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.signup-terms-check .form-check-input {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.signup-terms-check .form-check-input:checked {
    background-color: #294792;
    border-color: #294792;
}

.signup-terms-check .form-check-input.is-invalid {
    border-color: #dc3545;
}

.signup-terms-check .form-check-label {
    font-size: 13px;
    color: #6c757d;
    cursor: pointer;
}

.signup-terms-check a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.signup-terms-check .invalid-feedback {
    display: none;
    font-size: 12px;
    margin-top: 4px;
    padding-left: 30px;
}

/* Legal Modal */
.legal-modal-header {
    background: #294792;
    color: #fff;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.legal-modal-header .modal-title {
    font-family: var(--heading-font, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.legal-modal-body {
    padding: 1.5rem;
    max-height: 70vh;
}

.legal-modal-body .legal-document {
    padding: 0;
}

.legal-modal-footer {
    border-top: 1px solid #eef1fb;
    padding: 0.75rem 1.5rem;
    justify-content: space-between;
}

.legal-modal-btn-print {
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.2s;
    background: transparent;
}

.legal-modal-btn-print:hover {
    color: #fff;
    background: var(--secondary-color);
    text-decoration: none;
}

.legal-modal-btn-close {
    background: #294792;
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
}

.legal-modal-btn-close:hover {
    background: #1e3a6e;
    color: #fff;
    text-decoration: none;
}

/* Summary — Plan banner */
.summary-plan-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.summary-plan-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.summary-plan-banner-info {
    flex: 1;
}

.summary-plan-banner-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.summary-plan-banner-cycle {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}

.summary-plan-banner-price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Summary — Detail cards */
.summary-detail-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.summary-detail-card-header {
    background: #f4f6fb;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
}

.summary-detail-card-header i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.summary-detail-card-body {
    padding: 16px 20px;
}

.summary-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-detail-row:not(:last-child) {
    border-bottom: 1px dashed #eef0f3;
}

.summary-detail-label {
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
}

.summary-detail-value {
    color: #2d3436;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

/* Summary — Total bar */
.summary-total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f6fb;
    border: 1px solid rgba(41, 71, 146, 0.12);
    color: var(--accent-color);
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 12px;
}

.summary-total-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.summary-total-bar-left i {
    font-size: 18px;
    color: var(--accent-color);
}

.summary-total-bar-price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--accent-color);
}

/* Summary — Secure note */
.summary-secure-note {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    padding: 8px 0 0;
}

.summary-secure-note i {
    margin-right: 4px;
    color: var(--secondary-color);
}

/* Onboarding success page */
.onboarding-success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 24px;
}

.onboarding-success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.onboarding-success-text {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 28px;
}

.onboarding-success-steps {
    text-align: left;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.onboarding-success-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 14px;
    color: #495057;
}

.onboarding-success-step:not(:last-child) {
    border-bottom: 1px dashed #e9ecef;
}

.onboarding-success-step-num {
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Form control focus override for signup */
.signup-section .form-control:focus,
.signup-section .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 71, 146, 0.15);
}

/* Responsive */
@media (max-width: 767px) {
    .signup-card {
        padding: 22px 18px;
    }

    .signup-plan-summary {
        padding: 14px 16px;
    }

    .signup-plan-price {
        font-size: 18px;
    }

    .signup-step span {
        display: none;
    }

    .signup-step-line {
        flex: 0 0 24px;
        margin: 0 6px;
    }

    .signup-card-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .signup-btn-next,
    .signup-btn-submit {
        width: 100%;
        text-align: center;
    }

    .signup-btn-back {
        width: 100%;
        text-align: center;
    }
}
/* ────────────────────────────────────────────────────── */


/* ── Legal Pages (Terms, Privacy) ─────────────────────── */
.legal-document {
    padding: 0 0 2rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0.85rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    border-bottom: 1px solid #dee2e6;
}

.legal-content-body {
    background: #fafbfc;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem 2.5rem;
}

.legal-intro {
    padding: 1.25rem 1.5rem;
    border-left: 3px solid #294792;
    margin-bottom: 2rem;
    background: #fff;
}

.legal-intro p {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 1.75rem;
}

.legal-section > h2 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1e3a6e;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.legal-section-body {
    padding-left: 0;
}

.legal-section-body p {
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-section-body a {
    color: #294792;
    text-decoration: underline;
    font-weight: 500;
}

.legal-section-body a:hover {
    color: #35a59c;
}

.legal-subsection {
    margin-bottom: 1.25rem;
}

.legal-subsection h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #32353a;
    margin-bottom: 0.5rem;
}

.legal-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.legal-list li {
    padding: 0.3rem 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Block */
.legal-contact-block {
    margin-top: 0.5rem;
}

.legal-contact-block p {
    margin-bottom: 0.5rem;
}

/* Cookie Table (Privacy) */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table thead {
    background: #294792;
    color: #fff;
}

.legal-table th {
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: left;
}

.legal-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    color: #495057;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover {
    background: #f0f2f5;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content-body {
        padding: 1.25rem 1rem;
    }

    .legal-section > h2 {
        font-size: 0.9rem;
    }

    .legal-intro {
        padding: 1rem 1.25rem;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ── Item Barcodes (inline edit) ─────────────────────── */
.bc-primary-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: #eef1fb;
    border-radius: 8px;
    border-left: 4px solid #294792;
}

.bc-primary-icon {
    font-size: 1.25rem;
    color: #294792;
}

.bc-primary-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.bc-primary-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c757d;
}

.bc-primary-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #294792;
    font-family: 'Courier New', monospace;
}

.bc-add-row {
    display: flex;
    gap: 0.5rem;
}

.bc-add-input {
    flex: 1;
    min-width: 0;
}

.bc-add-btn {
    white-space: nowrap;
}

.bc-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.bc-card:hover {
    border-color: #c5cee6;
    box-shadow: 0 2px 8px rgba(41, 71, 146, 0.08);
}

.bc-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #f4f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.bc-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.bc-card-barcode {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-card-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.bc-card-actions {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.bc-card-actions a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.15s;
    font-size: 0.8rem;
    color: #6c757d;
    cursor: pointer;
}

.bc-card-actions a:hover {
    background: #f4f6fa;
}

.bc-card-actions .btn-edit-barcode:hover {
    color: #294792;
}

.bc-card-actions .btn-delete-barcode:hover {
    color: #dd4b39;
}

.bc-card.bc-editing {
    border-color: #294792;
    box-shadow: 0 2px 12px rgba(41, 71, 146, 0.12);
}

.bc-edit-form {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.bc-edit-form input {
    flex: 1;
    min-width: 0;
}

.bc-edit-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.bc-edit-actions button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    font-size: 0.8rem;
    padding: 0;
}

.bc-btn-save {
    background: #294792;
    color: #fff;
}

.bc-btn-save:hover {
    background: #1e3670;
}

.bc-btn-cancel {
    background: #f4f6fa;
    color: #6c757d;
}

.bc-btn-cancel:hover {
    background: #e4e7ec;
}

.bc-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #adb5bd;
    font-size: 0.85rem;
}

.bc-empty i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

@media (max-width: 576px) {
    .bc-add-row {
        flex-wrap: wrap;
    }

    .bc-add-input {
        flex: 1 1 100%;
    }

    .bc-add-btn {
        flex: 1 1 100%;
    }

    .bc-edit-form {
        flex-wrap: wrap;
    }

    .bc-edit-form input {
        flex: 1 1 100%;
    }
}

/* Sales Analytics tables — extra horizontal padding on first/last cells */
.table-padded > thead > tr > th:first-child,
.table-padded > tbody > tr > td:first-child {
    padding-left: 1.25rem;
}

.table-padded > thead > tr > th:last-child,
.table-padded > tbody > tr > td:last-child {
    padding-right: 1.25rem;
}

/* Sales Analytics tables — cap height at ~10 rows, scroll vertically beyond */
.table-scroll-10 {
    max-height: 420px;
    overflow-y: auto;
}

.table-scroll-10 > .table > thead > tr > th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

/* Mirror card-header left padding on the right-side actions pane */
.card-header-padded-right .btn-actions-pane-right {
    padding-right: 1.5rem;
}

/* ── Onboarding header language selector ── */
.ob-lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid rgba(41, 71, 146, 0.25);
    border-radius: 20px;
    padding: 5px 11px 5px 9px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #294792;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    line-height: 1;
}
.ob-lang-btn:hover, .ob-lang-dropdown.show .ob-lang-btn {
    border-color: #294792;
    background: rgba(41, 71, 146, 0.06);
}
.ob-lang-flag {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
    background-size: 18px 18px !important;
}
.ob-lang-code {
    letter-spacing: 0.03em;
    vertical-align: middle;
}
.ob-lang-caret {
    font-size: 0.6rem;
    opacity: 0.65;
    margin-left: 1px;
}
.ob-lang-menu {
    min-width: 170px;
    border-radius: 10px;
    border: 1px solid rgba(41, 71, 146, 0.15);
    box-shadow: 0 6px 24px rgba(41, 71, 146, 0.12);
    padding: 0;
    overflow: hidden;
    margin-top: 6px !important;
}
.ob-lang-menu-header {
    background: #294792;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 14px;
    list-style: none;
}
.ob-lang-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 9px 14px;
    font-size: 0.84rem;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
}
.ob-lang-option:hover {
    background: rgba(41, 71, 146, 0.07);
}
.ob-lang-option.active {
    background: rgba(41, 71, 146, 0.1);
    color: #294792;
    font-weight: 600;
}
.ob-lang-option-flag {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}
.general-lang-switcher {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 1050;
}
.general-lang-switcher .dropdown-menu {
    right: 0;
    left: auto;
}
/* ────────────────────────────────────────────────────── */

/* Larger form-switch toggle (brand blue) */
.form-switch.form-switch-lg {
    padding-left: 3.5em;
    min-height: 1.75rem;
    margin-bottom: 0.5rem;
}
.form-switch.form-switch-lg .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.15em;
    margin-left: -3.5em;
}
.form-switch.form-switch-lg .form-check-input:checked {
    background-color: #294792;
    border-color: #294792;
}
.form-switch.form-switch-lg .form-check-input:focus {
    border-color: #294792;
    box-shadow: 0 0 0 0.2rem rgba(41, 71, 146, 0.25);
}
.form-switch.form-switch-lg .form-check-label {
    padding-left: 0.5rem;
    padding-top: 0.25rem;
    font-size: 1rem;
}
