/*.grecaptcha-badge {
    left: 4px !important;
    right: unset !important;
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}*/



.sprogressBar{
    width:100%;
    height:20px;
    background:#ddd;
    margin-top:15px;
    display:none;
}

.sprogress{
    width:0%;
    height:100%;
    background:#006699;
    color:#fff;
    text-align:center;
    line-height:20px;
    font-size:12px;
}

.warehouse-return-section {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--default-border, #e5e7eb);
}

.courier-error-raw {
    font-family: monospace;
    font-size: 12px;
    white-space: pre;
    min-height: 260px;
    max-height: 65vh;
    resize: vertical;
}

.courier-service-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.courier-service-status .form-switch {
    padding-left: 2.5em;
}

.admin-courier-product.admin-courier-product-assignment { grid-template-columns:2rem minmax(0,1fr) auto auto; }
.courier-service-label { font-size:12px; color:#9b4b3c; }
.courier-service-label.is-active { color:#16835c; }

.warehouse-return-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
}

.warehouse-return-summary {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--default-border, #e5e7eb);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.warehouse-modal-dialog {
    max-width: 620px;
}

.warehouse-modal .modal-header,
.warehouse-modal .modal-footer {
    padding: 0.65rem 1rem;
}

.warehouse-modal .modal-body {
    padding: 0.75rem 1rem;
}

.warehouse-modal .form-label {
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
}

.warehouse-modal .form-control {
    min-height: 32px;
    padding: 0.3rem 0.55rem;
    font-size: 0.82rem;
}

.warehouse-modal textarea.form-control {
    min-height: 54px;
}

.warehouse-modal .form-text,
.warehouse-modal .form-check-label {
    font-size: 0.75rem;
}

@media (max-width: 575.98px) {
    .warehouse-modal-dialog {
        margin: 0.5rem;
    }
}

.bulk-product-rate-charts {
    display: grid;
    gap: 18px;
}

.bulk-product-rate-chart {
    overflow: hidden;
    border: 1px solid #eadfd7;
    border-radius: 10px;
    background: #fff;
}

.bulk-product-rate-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee6df;
    background: #fff9f2;
}

.bulk-product-rate-heading strong,
.bulk-product-rate-heading small {
    display: block;
}

.bulk-product-rate-heading small {
    margin-top: 2px;
    color: #8c7b70;
}

.bulk-product-rate-save {
    position: sticky;
    z-index: 5;
    bottom: 0;
    margin-top: 16px;
    padding: 10px;
    border-top: 1px solid #eee4dc;
    background: rgba(255, 255, 255, .96);
    text-align: right;
}

/* Admin workspace navigation */
.admin-workspace-sidebar { --admin-rail:3rem; --admin-panel:12.75rem; top:3rem; display:flex; width:15.75rem; height:calc(100vh - 3rem); overflow:visible; border:0; background:transparent; box-shadow:none; }
.admin-module-rail { display:flex; width:var(--admin-rail); height:100%; flex:0 0 var(--admin-rail); flex-direction:column; align-items:center; gap:.42rem; padding:.65rem .35rem; overflow-y:auto; background:#df760b; }
.admin-rail-button { position:relative; display:inline-flex; width:2.25rem; height:2.25rem; flex:0 0 2.25rem; align-items:center; justify-content:center; padding:0; border:0; border-radius:.55rem; color:rgba(255,255,255,.82); background:transparent; font-size:.92rem; cursor:pointer; }
.admin-rail-button:hover,.admin-rail-button:focus { color:#fff; background:rgba(255,255,255,.16); }
.admin-rail-button.is-active,.admin-rail-button.active { color:#d96e07; background:#fff; }
.admin-rail-toggle { color:#fff; background:rgba(128,57,0,.18); border:1px solid rgba(255,255,255,.18); }
.admin-rail-logout { margin-top:auto; }
.admin-rail-logout:hover,.admin-rail-logout:focus { background:rgba(154,35,22,.72); }
.admin-rail-hover-label { position:fixed; z-index:1200; padding:.5rem .65rem; border-radius:.4rem; color:#fff; background:#7a3d05; box-shadow:0 .4rem 1rem rgba(15,23,42,.2); font-size:.75rem; font-weight:600; line-height:1; opacity:0; pointer-events:none; transform:translateY(-50%) translateX(-.2rem); visibility:hidden; white-space:nowrap; transition:opacity .12s ease,transform .12s ease; }
.admin-rail-hover-label.show { opacity:1; transform:translateY(-50%) translateX(0); visibility:visible; }
.developer-data-browser,.developer-data-browser>div,.developer-data-browser .custom-card { width:100%; min-width:0; max-width:100%; }
.developer-table-search { min-width:min(100%,24rem); }
.developer-record-table { width:100%; max-width:100%; max-height:calc(100vh - 14rem); overflow:auto; }
.developer-record-table table { width:max-content; min-width:100%; }
.navigation-tree-manager { padding:.85rem; background:#faf8f6; }
.navigation-tree-help { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.7rem; padding:.55rem .7rem; border:1px solid #f0dfcb; border-radius:.5rem; color:#80664e; background:#fff9ef; font-size:.65rem; }
.navigation-tree-manager .menu-tree-item.is-section.is-drop-target > .menu-tree-row { border-color:#f59e0b; background:#fff7e6; box-shadow:0 0 0 2px rgba(245,158,11,.16); }
.admin-team-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:.75rem; }
.admin-team-card { border:1px solid #eadfd2; border-radius:.65rem; background:#fff; overflow:hidden; }
.admin-team-card-head,.admin-team-card-foot { display:flex; align-items:center; gap:.65rem; padding:.7rem; }
.admin-team-card-head>span { display:grid; place-items:center; width:34px; height:34px; border-radius:.55rem; background:#fff3e0; color:#e67e22; }
.admin-team-card-head>div { flex:1; min-width:0; }.admin-team-card-head h6 { margin:0; font-size:.82rem; }.admin-team-card-head small { color:#82909f; font-size:.66rem; }
.admin-team-card-head em { font-style:normal; font-size:.62rem; color:#b42318; }.admin-team-card-head em.is-active { color:#16865a; }
.admin-team-card-body { display:flex; align-items:baseline; gap:.4rem; padding:.55rem .7rem; background:#fbfaf8; border-block:1px solid #f0e9e1; }.admin-team-card-body strong { font-size:1.15rem; }.admin-team-card-body span { color:#718096; font-size:.68rem; }
.admin-team-card-foot { justify-content:space-between; }.admin-team-card-foot code { font-size:.62rem; }
.admin-team-permission-toolbar { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.6rem; }
.admin-team-permissions { display:grid; gap:.65rem; }.admin-team-permission-section { border:1px solid #eadfd3; border-radius:.55rem; overflow:hidden; }
.admin-team-permission-section>header { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.55rem .7rem; background:#fff8ef; }
.admin-team-permission-section>header>span { display:flex; align-items:center; gap:.5rem; }.admin-team-permission-section>header small { color:#8a7562; font-size:.62rem; }.admin-team-permission-section>header label { font-size:.65rem; }
.admin-team-permission-section .table th,.admin-team-permission-section .table td { padding:.4rem .65rem; font-size:.68rem; }.admin-team-permission-section .table th:not(:first-child),.admin-team-permission-section .table td:not(:first-child) { width:70px; text-align:center; }
.admin-teams-workspace { display:grid; grid-template-columns:minmax(230px,300px) minmax(0,1fr); gap:.8rem; align-items:start; }.admin-team-list { display:grid; gap:.55rem; max-height:calc(100vh - 250px); overflow:auto; }.admin-team-editor-panel { min-width:0; }
.admin-team-editor-empty .admin-empty-state { min-height:260px; display:flex; flex-direction:column; justify-content:center; align-items:center; }
@media (max-width:991px){.admin-teams-workspace{grid-template-columns:1fr}.admin-team-list{max-height:none;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
.menu-sort-list { min-height:1rem; margin:0; padding:0; list-style:none; transition:background .15s ease; }
.menu-root-list { display:grid; gap:.55rem; }
.menu-child-list { display:grid; gap:.35rem; margin:.3rem .55rem .6rem 2.65rem; padding:.5rem; border:1px dashed #e5d7ca; border-radius:.55rem; background:#fff; }
.menu-child-list:empty::after { padding:.45rem; color:#a49384; content:'Drop links here'; font-size:.58rem; text-align:center; }
.menu-sort-list.is-drop-target { background:rgba(223,118,11,.07); outline:2px dashed rgba(223,118,11,.35); outline-offset:2px; }
.menu-tree-item { min-width:0; border:1px solid #eadfd5; border-radius:.6rem; background:#fff; box-shadow:0 .15rem .45rem rgba(64,42,24,.035); }
.menu-tree-item.is-section { background:#fffaf4; }
.menu-tree-item.is-collapsed { border-color:#e4d3c3; }
.menu-tree-item.is-dragging { opacity:.42; }
.menu-tree-row { display:grid; grid-template-columns:auto auto minmax(0,1fr) auto auto auto; align-items:center; gap:.55rem; min-height:3rem; padding:.5rem .65rem; }
.menu-drag-handle { color:#b99f89; cursor:grab; }
.menu-drag-handle:active { cursor:grabbing; }
.menu-tree-icon { display:inline-flex; width:1.8rem; height:1.8rem; align-items:center; justify-content:center; border-radius:.45rem; color:#fff; background:linear-gradient(135deg,#ef9b32,#d56806); font-size:.65rem; }
.menu-tree-name { min-width:0; }
.menu-tree-name strong,.menu-tree-name small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.menu-tree-name strong { color:#4e4035; font-size:.68rem; }
.menu-tree-name small { margin-top:.1rem; color:#9b897a; font-size:.52rem; }
.menu-tree-actions { display:flex; gap:.25rem; }
@media(max-width:767.98px){.navigation-tree-help{align-items:flex-start;flex-direction:column}.menu-tree-row{grid-template-columns:auto auto minmax(0,1fr) auto}.menu-tree-row>.badge{display:none}.menu-child-list{margin-left:1rem}.navigation-tree-manager{padding:.55rem}}
.developer-record-table thead th { position:sticky; z-index:2; top:0; background:var(--custom-white,#fff); white-space:nowrap; }
.developer-cell-value { display:block; max-width:15rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.72rem; }
.admin-section-panel { display:flex; width:var(--admin-panel); min-width:0; height:100%; flex-direction:column; overflow:hidden; border-inline-end:1px solid rgba(15,23,42,.08); background:var(--custom-white,#fff); }
.admin-section-heading { display:flex; min-height:3.15rem; flex:0 0 3.15rem; align-items:center; justify-content:space-between; padding:0 .8rem 0 1rem; border-block-end:1px solid rgba(15,23,42,.07); color:var(--default-text-color); font-size:.9rem; font-weight:700; }
.admin-section-collapse { display:inline-flex; width:1.65rem; height:1.65rem; align-items:center; justify-content:center; padding:0; border:0; border-radius:.35rem; color:#8f7564; background:transparent; }
.admin-section-collapse:hover { color:#d96e07; background:rgba(223,118,11,.09); }
.admin-menu-search { position:relative; flex:0 0 auto; padding:.7rem .65rem .35rem; }
.admin-menu-search>.fa-search { position:absolute; top:1.3rem; left:1.25rem; color:#aa9789; font-size:.7rem; }
#admin-menu-filter { width:100%; height:2rem; padding:0 1.9rem 0 1.75rem; border:1px solid rgba(100,54,16,.11); border-radius:.42rem; outline:0; color:var(--default-text-color); background:rgba(223,118,11,.025); font-size:.7rem; }
#admin-menu-filter:focus { border-color:rgba(223,118,11,.5); background:#fff; box-shadow:0 0 0 .15rem rgba(223,118,11,.07); }
.admin-menu-search-clear { position:absolute; top:.93rem; right:.83rem; display:none; width:1.45rem; height:1.45rem; padding:0; border:0; border-radius:.3rem; color:#8f7564; background:transparent; font-size:1rem; }
.admin-menu-search-clear.show { display:inline-flex; align-items:center; justify-content:center; }
.admin-menu-scroll { min-height:0; flex:1 1 auto; padding:.25rem .55rem .75rem; overflow-y:auto; }
.admin-section-links { margin:0; padding:0; list-style:none; }
.admin-section-links[hidden],.admin-section-links li[hidden] { display:none!important; }
.admin-section-links a { display:block; margin:.04rem 0; padding:.48rem .55rem; border-radius:.4rem; color:#5c554f; font-size:.72rem; line-height:1.25; }
.admin-section-links a:hover,.admin-section-links a.active { color:#c86104; background:rgba(223,118,11,.09); }
.admin-sidebar-footer { flex:0 0 auto; padding:.7rem .85rem; border-block-start:1px solid rgba(15,23,42,.07); color:#9a8b80; font-size:.61rem; }
.admin-sidebar-footer i { margin-right:.3rem; color:#f29a2e; font-size:.42rem; }
.admin-header { width:100%; height:3rem; min-height:3rem; padding-inline-start:0!important; }
.admin-header .main-header-container { height:3rem; min-height:3rem; align-items:center; padding-inline-start:0; }
.admin-header .header-content-left,.admin-header .header-content-right,.admin-header .header-element,.admin-header .header-link { height:3rem; align-items:center; }
.admin-header .horizontal-logo { display:flex!important; align-items:center; width:15rem; height:3rem; padding-inline:.75rem; }
.admin-header .horizontal-logo .header-logo { display:inline-flex; }
.admin-header .horizontal-logo .desktop-logo { display:block; width:auto; max-width:175px; height:36px; object-fit:contain; }
.admin-header .horizontal-logo .desktop-dark,.admin-header .horizontal-logo .toggle-logo,.admin-header .horizontal-logo .toggle-dark { display:none!important; }
@media (min-width:992px) {
 html.admin-menu-collapsed .admin-workspace-sidebar { width:3rem; }
 html.admin-menu-collapsed .admin-section-panel { display:none; }
 .admin-workspace-sidebar~.app-content,.admin-workspace-sidebar~.main-content { width:calc(100% - 15.75rem); min-width:0; margin-inline-start:15.75rem; }
 .admin-workspace-sidebar~.footer { padding-inline-start:15.75rem; }
 html.admin-menu-collapsed .admin-workspace-sidebar~.app-content,html.admin-menu-collapsed .admin-workspace-sidebar~.main-content { width:calc(100% - 3rem); margin-inline-start:3rem; }
 html.admin-menu-collapsed .admin-workspace-sidebar~.footer { padding-inline-start:3rem; }
}
@media (max-width:991.98px) {
 .admin-workspace-sidebar { width:3rem; transform:none; transition:width .2s ease; }
 .admin-workspace-sidebar .admin-section-panel { display:none; }
 html.admin-menu-open .admin-workspace-sidebar { width:min(15.75rem,calc(100vw - 1rem)); }
 html.admin-menu-open .admin-section-panel { display:flex; width:calc(100% - 3rem); }
 html.admin-menu-open #responsive-overlay { visibility:visible; opacity:1; }
 .admin-header .horizontal-logo { width:auto; min-width:9rem; }
}
[data-theme-mode='dark'] .admin-section-panel { border-inline-end-color:rgba(255,255,255,.08); }

.admin-workspace-sidebar ~ .app-content > .container-fluid {
    padding-top: 1rem;
}

/* Shared admin list and pagination layout */
.admin-page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; margin:1rem 0 .75rem; }
.admin-page-heading h1 { margin:0; color:var(--default-text-color); font-size:1.05rem; font-weight:750; }
.admin-breadcrumb { font-size:.62rem; }
.admin-page-actions { display:flex; align-items:center; gap:.4rem; }
.admin-primary-action { border-color:#e68213; color:#fff; background:#e68213; }
.admin-primary-action:hover { border-color:#ce6e08; color:#fff; background:#ce6e08; }
.admin-list-card { overflow:hidden; border:1px solid rgba(15,23,42,.065); box-shadow:0 .55rem 1.7rem rgba(37,29,20,.055); }
.admin-list-header { min-height:3.65rem; gap:1rem; padding:.7rem .9rem; }
.admin-list-header>div:first-child small { color:var(--text-muted); font-size:.62rem; }
.admin-list-controls { display:flex; min-width:0; align-items:center; justify-content:flex-end; gap:.55rem; margin-left:auto; }
.admin-list-controls .admin-page-actions { display:flex; align-items:center; gap:.4rem; }
.admin-quick-search { display:flex; width:10.5rem; height:1.9rem; align-items:center; gap:.35rem; padding:0 .5rem; border:1px solid #eee3d9; border-radius:.45rem; background:#fff; }
.admin-quick-search>i { color:#c27631; font-size:.6rem; }
.admin-quick-search input { min-width:0; flex:1; border:0; outline:0; color:#554a42; background:transparent; font-size:.58rem; }
.admin-quick-search a { display:inline-flex; color:#a67b5a; font-size:.58rem; }
.admin-list-body { padding:.8rem; }
.admin-list-footer { display:flex; justify-content:flex-end; padding:.6rem .8rem; border-top:1px solid rgba(15,23,42,.065); background:rgba(223,118,11,.018); }
.admin-pagination-wrap { display:flex; min-width:0; align-items:center; justify-content:flex-end; gap:.35rem; }
.admin-pagination-count { padding:0 .35rem; color:#8a7b70; font-size:.62rem; white-space:nowrap; }
.admin-pagination { gap:.18rem; }
.admin-pagination .page-link,.admin-pagination-action { display:inline-flex; width:1.85rem; height:1.85rem; align-items:center; justify-content:center; padding:0; border:1px solid #eee3d9; border-radius:.42rem!important; color:#7c695a; background:#fff; font-size:.65rem; box-shadow:none; }
.admin-pagination .page-link:hover,.admin-pagination-action:hover { border-color:#efb36e; color:#c86305; background:#fff7ed; }
.admin-pagination .page-item.active .page-link { border-color:#df760b; color:#fff; background:#df760b; }
.admin-pagination .page-item.disabled .page-link { color:#c5bbb3; background:#faf8f6; opacity:.7; }
.admin-pagination-action { cursor:pointer; }
.admin-pagination-reset { color:#b54737; background:#fff7f5; }
.admin-account-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.admin-account-card { min-width:0; overflow:hidden; border:1px solid #eee5dd; border-radius:.75rem; background:var(--custom-white,#fff); transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease; }
.admin-account-card:hover { border-color:#efc28e; box-shadow:0 .65rem 1.5rem rgba(103,56,13,.09); transform:translateY(-2px); }
.admin-account-card-top { display:flex; min-width:0; align-items:center; gap:.65rem; padding:.8rem; }
.admin-account-avatar { display:inline-flex; width:2.25rem; height:2.25rem; flex:0 0 2.25rem; align-items:center; justify-content:center; border-radius:.65rem; color:#fff; background:linear-gradient(135deg,#f4a034,#d96d08); box-shadow:0 .4rem .9rem rgba(217,109,8,.2); font-size:.9rem; font-weight:750; }
.admin-account-identity { min-width:0; flex:1 1 auto; }
.admin-account-identity h2 { overflow:hidden; margin:0 0 .12rem; color:var(--default-text-color); font-size:.78rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.admin-account-identity span { color:#96877c; font-family:monospace; font-size:.6rem; }
.admin-account-status { display:inline-flex; flex:0 0 auto; align-items:center; gap:.3rem; padding:.28rem .45rem; border-radius:2rem; font-size:.56rem; font-weight:700; }
.admin-account-status i { font-size:.35rem; }
.admin-account-status.is-active { color:#16825e; background:#eaf8f2; }
.admin-account-status.is-disabled { color:#b84232; background:#fff0ed; }
.admin-account-meta,.admin-account-finance { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 .8rem; border:1px solid #f0e9e3; border-radius:.55rem; background:#fcfaf8; }
.admin-account-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
.admin-account-meta>div,.admin-account-finance>div { min-width:0; padding:.55rem; }
.admin-account-meta>div+div,.admin-account-finance>div+div { border-inline-start:1px solid #f0e9e3; }
.admin-account-meta small,.admin-account-meta strong,.admin-account-finance small,.admin-account-finance strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-account-meta small,.admin-account-finance small { margin-bottom:.13rem; color:#9a8b80; font-size:.54rem; }
.admin-account-meta strong,.admin-account-finance strong { color:#4d433c; font-size:.63rem; font-weight:650; }
.admin-account-finance { margin-top:.5rem; background:#fff9f1; }
.admin-account-card-footer { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-top:.7rem; padding:.55rem .8rem; border-top:1px solid #f0e9e3; color:#9a8b80; background:#fdfbf9; font-size:.56rem; }
.admin-account-edit { border-color:#eadfd5; color:#bd5e05; background:#fff; font-size:.6rem; }
.admin-account-edit:hover { border-color:#efb36e; color:#a54e00; background:#fff6ea; }
.admin-empty-state { padding:3.5rem 1rem; text-align:center; }
.admin-empty-state>span { display:inline-flex; width:3rem; height:3rem; align-items:center; justify-content:center; border-radius:.8rem; color:#dc730b; background:#fff2df; font-size:1.1rem; }
.admin-empty-state h3 { margin:.75rem 0 .2rem; font-size:.88rem; }
.admin-empty-state p { margin:0 0 .8rem; color:var(--text-muted); font-size:.68rem; }
.admin-filter-modal .modal-dialog {
    max-width: 29rem;
}

.admin-filter-modal .modal-dialog.modal-sm {
    max-width: 25rem;
}

.admin-filter-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(139, 75, 13, .12);
    border-radius: .85rem;
    box-shadow: 0 1.4rem 4rem rgba(68, 39, 14, .18);
}

.admin-filter-modal .modal-header {
    align-items: center;
    padding: .85rem 1rem;
    border-bottom: 1px solid #f1e8df;
    background: linear-gradient(135deg, #fffaf4, #fff);
}

.admin-modal-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .65rem;
}

.admin-modal-heading > span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: .55rem;
    color: #fff;
    background: linear-gradient(135deg, #f2a033, #d96d08);
    box-shadow: 0 .35rem .8rem rgba(217, 109, 8, .18);
    font-size: .72rem;
}

.admin-modal-heading h6 {
    margin: 0 0 .08rem;
    color: var(--default-text-color);
    font-size: .8rem;
    font-weight: 700;
}

.admin-modal-heading small {
    display: block;
    color: #9a8b80;
    font-size: .58rem;
}

.admin-filter-modal .btn-close {
    width: .65rem;
    height: .65rem;
    padding: .45rem;
    border-radius: .4rem;
    background-size: .55rem;
}

.admin-filter-modal .modal-body {
    padding: 1rem;
}

.admin-filter-modal .form-label {
    margin-bottom: .35rem;
    color: #5d5047;
    font-size: .64rem;
    font-weight: 650;
}

.admin-filter-modal .form-control,
.admin-filter-modal .form-select {
    min-height: 2.45rem;
    border-color: #eadfd5;
    border-radius: .55rem;
    color: #4d433c;
    background-color: #fffdfa;
    font-size: .7rem;
    box-shadow: none;
}

.admin-filter-modal .form-control:focus,
.admin-filter-modal .form-select:focus {
    border-color: #e99a42;
    background-color: #fff;
    box-shadow: 0 0 0 .18rem rgba(233, 154, 66, .1);
}

.admin-modal-input {
    position: relative;
}

.admin-modal-input > i {
    position: absolute;
    top: 50%;
    left: .8rem;
    z-index: 2;
    color: #ad9989;
    font-size: .67rem;
    transform: translateY(-50%);
}

.admin-modal-input .form-control {
    padding-left: 2rem;
}

.admin-filter-modal .modal-footer {
    padding: .7rem 1rem;
    border-top: 1px solid #f1e8df;
    background: #fdfbf9;
}

.admin-filter-modal .modal-footer .btn {
    min-width: 5.25rem;
    border-radius: .45rem;
    font-size: .64rem;
}

.admin-modal-submit {
    border-color: #dd750d;
    color: #fff;
    background: #dd750d;
}

.admin-modal-submit:hover,
.admin-modal-submit:focus {
    border-color: #c96605;
    color: #fff;
    background: #c96605;
}

.admin-account-editor {
    padding-bottom: 1.5rem;
}

.admin-account-editor-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.admin-account-back {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .3rem;
    color: #c66508;
    font-size: .62rem;
    font-weight: 650;
}

.admin-account-editor-heading h2 {
    margin: 0 0 .15rem;
    color: var(--default-text-color);
    font-size: 1.05rem;
    font-weight: 750;
}

.admin-account-editor-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: .65rem;
}

.admin-account-editor-heading code {
    color: #b65a04;
    font-size: .62rem;
}

.admin-account-editor-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .4rem;
}

.admin-account-editor-badges span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .55rem;
    border-radius: 2rem;
    font-size: .58rem;
    font-weight: 700;
}

.admin-account-editor-badges .is-success {
    color: #14805c;
    background: #eaf8f2;
}

.admin-account-editor-badges .is-danger {
    color: #b64234;
    background: #fff0ed;
}

.admin-account-editor-badges .is-warning {
    color: #aa6506;
    background: #fff5df;
}

.admin-editor-card {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .065);
    box-shadow: 0 .5rem 1.5rem rgba(37, 29, 20, .045);
}

.admin-editor-card .card-header {
    min-height: 3.35rem;
    padding: .7rem .85rem;
}

.admin-editor-card .card-header small {
    display: block;
    margin-top: .1rem;
    color: var(--text-muted);
    font-size: .56rem;
}

.admin-editor-card .card-body {
    padding: .9rem;
}

.admin-account-reference {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    gap: .7rem;
    align-items: center;
    margin-bottom: .9rem;
    padding: .65rem;
    border: 1px solid #f0e5dc;
    border-radius: .6rem;
    background: #fdfaf7;
}

.admin-account-reference > span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    color: #d56c08;
    background: #fff0dd;
}

.admin-account-reference small,
.admin-account-reference strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-account-reference small {
    color: #9a8b80;
    font-size: .52rem;
}

.admin-account-reference strong {
    color: #51463e;
    font-size: .62rem;
}

.admin-account-form .form-label {
    margin-bottom: .35rem;
    color: #5d5047;
    font-size: .64rem;
    font-weight: 650;
}

.admin-account-form .form-control {
    min-height: 2.45rem;
    border-color: #eadfd5;
    border-radius: .5rem;
    font-size: .7rem;
    box-shadow: none;
}

.admin-editor-input {
    position: relative;
}

.admin-editor-input > i {
    position: absolute;
    top: 50%;
    left: .75rem;
    z-index: 2;
    color: #a99585;
    transform: translateY(-50%);
}

.admin-editor-input .form-control {
    padding-left: 2rem;
}

.admin-account-switches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin-top: .9rem;
}

.admin-account-switches > label {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: 0;
    padding: .65rem;
    border: 1px solid #eee4dc;
    border-radius: .55rem;
    background: #fdfbf9;
    cursor: pointer;
}

.admin-account-switches strong,
.admin-account-switches small {
    display: block;
}

.admin-account-switches strong {
    color: #51463e;
    font-size: .64rem;
}

.admin-account-switches small {
    margin-top: .12rem;
    color: #9a8b80;
    font-size: .54rem;
}

.admin-account-switches i {
    margin-right: .2rem;
    color: #d8730e;
}

.admin-account-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    margin-top: .9rem;
    padding-top: .75rem;
    border-top: 1px solid #f0e8e1;
}

.admin-kyc-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin-bottom: .7rem;
}

.admin-kyc-summary > div {
    padding: .6rem;
    border: 1px solid #eee5dd;
    border-radius: .55rem;
    background: #fdfbf9;
}

.admin-kyc-summary small,
.admin-kyc-summary strong {
    display: block;
}

.admin-kyc-summary small {
    color: #9a8b80;
    font-size: .54rem;
}

.admin-kyc-summary strong {
    margin-top: .12rem;
    color: #4d433c;
    font-size: .67rem;
}

.admin-kyc-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.admin-kyc-documents > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .5rem;
    padding: .55rem;
    border: 1px solid #eee5dd;
    border-radius: .5rem;
}

.admin-kyc-documents > div > span {
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    flex: 0 0 1.7rem;
    align-items: center;
    justify-content: center;
    border-radius: .4rem;
}

.admin-kyc-documents .has-file > span {
    color: #16805d;
    background: #eaf8f2;
}

.admin-kyc-documents .no-file > span {
    color: #a79a90;
    background: #f4f1ee;
}

.admin-kyc-documents > div > div {
    min-width: 0;
    flex: 1 1 auto;
}

.admin-kyc-documents strong,
.admin-kyc-documents small {
    display: block;
}

.admin-kyc-documents strong {
    color: #51463e;
    font-size: .6rem;
}

.admin-kyc-documents small {
    color: #9a8b80;
    font-size: .52rem;
}

.admin-kyc-documents a {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 1.65rem;
    align-items: center;
    justify-content: center;
    border-radius: .4rem;
    color: #c46105;
    background: #fff3e3;
}

.admin-account-balance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
}

.admin-account-balance-card {
    margin-bottom: .75rem;
}

.admin-account-balance-card .card-body {
    padding: .65rem;
}

.admin-account-balance-grid > div {
    min-width: 0;
    padding: .7rem;
    border: 1px solid #eee3da;
    border-radius: .65rem;
    background: var(--custom-white, #fff);
    box-shadow: 0 .4rem 1rem rgba(37, 29, 20, .04);
}

.admin-account-balance-grid span {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    margin-bottom: .45rem;
    border-radius: .45rem;
    color: #d56c08;
    background: #fff0dd;
}

.admin-account-balance-grid small,
.admin-account-balance-grid strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-account-balance-grid small {
    color: #9a8b80;
    font-size: .52rem;
}

.admin-account-balance-grid strong {
    margin-top: .12rem;
    color: #4d433c;
    font-size: .75rem;
}

.admin-account-user-list {
    display: grid;
    gap: .45rem;
}

.admin-account-packages-body {
    min-height: 4rem;
}

.admin-account-user {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .55rem;
    padding: .55rem;
    border: 1px solid #eee6df;
    border-radius: .55rem;
    background: #fdfbf9;
}

.admin-account-user-avatar {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    color: #fff;
    background: linear-gradient(135deg, #f0a03a, #d76d08);
    font-size: .72rem;
    font-weight: 700;
}

.admin-account-user > div {
    min-width: 0;
}

.admin-account-user strong,
.admin-account-user small,
.admin-account-user em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-account-user strong {
    color: #4d433c;
    font-size: .64rem;
}

.admin-account-user small {
    color: #94857a;
    font-size: .52rem;
}

.admin-account-user em {
    margin-top: .08rem;
    color: #c4640a;
    font-size: .48rem;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-user-state {
    padding: .25rem .4rem;
    border-radius: 2rem;
    font-size: .5rem;
    font-weight: 700;
}

.admin-user-state.is-active {
    color: #16805d;
    background: #eaf8f2;
}

.admin-user-state.is-disabled {
    color: #b64234;
    background: #fff0ed;
}

.admin-user-edit {
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    border-radius: .4rem;
    color: #bd5e05;
    background: #fff2df;
}

.admin-editor-guidance {
    padding: 2rem 1.25rem;
    border: 1px dashed #e9c79f;
    border-radius: .75rem;
    background: #fffaf3;
    text-align: center;
}

.admin-editor-guidance > span {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: .65rem;
    color: #d66d08;
    background: #ffedd6;
}

.admin-editor-guidance h3 {
    margin: .65rem 0 .2rem;
    font-size: .8rem;
}

.admin-editor-guidance p {
    margin: 0;
    color: var(--text-muted);
    font-size: .62rem;
    line-height: 1.6;
}

.admin-user-form-switches {
    display: flex;
    gap: 1rem;
    padding: .55rem .65rem;
    border-radius: .5rem;
    background: #fdf9f5;
}

.admin-user-form-switches label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
    color: #5d5047;
    font-size: .62rem;
}

.admin-user-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.admin-user-card { overflow:hidden; border:1px solid #eee4dc; border-radius:.7rem; background:#fff; box-shadow:0 .2rem .7rem rgba(68,46,28,.035); }
.admin-user-card-top { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.55rem; padding:.7rem; border-bottom:1px solid #f2ebe5; background:linear-gradient(135deg,#fffdfb,#fff8ef); }
.admin-user-card-avatar { display:inline-flex; width:2.35rem; height:2.35rem; align-items:center; justify-content:center; border-radius:.65rem; color:#fff; background:linear-gradient(135deg,#ef9b32,#d56806); font-size:.82rem; font-weight:800; }
.admin-user-card-identity { min-width:0; }
.admin-user-card-identity h2 { overflow:hidden; margin:0; color:#40372f; font-size:.72rem; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.admin-user-card-identity span { display:block; margin-top:.08rem; color:#c4640a; font-size:.5rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.admin-user-card-contact { display:grid; gap:.35rem; padding:.65rem .75rem; }
.admin-user-card-contact span { display:flex; min-width:0; align-items:center; gap:.4rem; overflow:hidden; color:#75675d; font-size:.58rem; text-overflow:ellipsis; white-space:nowrap; }
.admin-user-card-contact i { width:.85rem; color:#d8781c; text-align:center; }
.admin-user-card-contact .admin-user-account { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:.4rem; margin-top:.15rem; padding:.4rem .45rem; border-radius:.45rem; color:inherit; background:#fff8ef; }
.admin-user-card-contact .admin-user-account>span { display:block; min-width:0; }
.admin-user-card-contact .admin-user-account small,.admin-user-card-contact .admin-user-account strong,.admin-user-card-contact .admin-user-account em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-user-card-contact .admin-user-account small { color:#9b8879; font-size:.45rem; font-weight:700; text-transform:uppercase; }
.admin-user-card-contact .admin-user-account strong { color:#5a4738; font-size:.58rem; }
.admin-user-card-contact .admin-user-account em { color:#b06a2c; font-size:.46rem; font-style:normal; }
.admin-user-card-footer { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:.45rem; padding:.55rem .7rem; border-top:1px solid #f2ebe5; background:#fdfbf9; }
.admin-user-card-footer small,.admin-user-card-footer strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-user-card-footer small { color:#a09287; font-size:.46rem; text-transform:uppercase; }
.admin-user-card-footer strong { color:#5b4c42; font-size:.56rem; }
.admin-user-verified { color:#a06b30; font-size:.52rem; font-weight:700; white-space:nowrap; }
.admin-user-verified.is-verified { color:#16805d; }
.admin-user-verified i { margin-right:.2rem; }

.admin-address-warning { display:flex; align-items:center; gap:.4rem; margin-bottom:.7rem; padding:.55rem .7rem; border:1px solid #f3d6ac; border-radius:.5rem; color:#8b591a; background:#fff8e9; font-size:.6rem; }
.admin-address-account-filter { display:grid; grid-template-columns:minmax(12rem,1fr) minmax(15rem,1.6fr) auto; align-items:end; gap:.7rem; margin-bottom:.8rem; padding:.7rem; border:1px solid #eee4dc; border-radius:.65rem; background:#fffaf4; }
.admin-address-account-filter label,.admin-address-account-filter small { display:block; }
.admin-address-account-filter label { margin-bottom:.12rem; color:#51443a; font-size:.65rem; font-weight:750; }
.admin-address-account-filter small { color:#928278; font-size:.52rem; }
.admin-address-account-filter .choices { margin:0; }
.admin-address-select-empty { padding-block:2.5rem; }
.admin-address-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.admin-address-card { overflow:hidden; border:1px solid #eee4dc; border-radius:.7rem; background:#fff; box-shadow:0 .2rem .7rem rgba(68,46,28,.035); }
.admin-address-card.is-default { border-color:#edb66e; box-shadow:0 .25rem .85rem rgba(221,117,11,.1); }
.admin-address-card-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.55rem; padding:.7rem; border-bottom:1px solid #f2ebe5; background:linear-gradient(135deg,#fffdfb,#fff8ef); }
.admin-address-icon { display:inline-flex; width:2.25rem; height:2.25rem; align-items:center; justify-content:center; border-radius:.6rem; color:#fff; background:linear-gradient(135deg,#ed9b35,#d46908); }
.admin-address-card-head>div { min-width:0; }
.admin-address-card-head h2 { overflow:hidden; margin:0; color:#40372f; font-size:.7rem; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.admin-address-card-head small { color:#a06e42; font-size:.48rem; }
.admin-address-default { padding:.22rem .38rem; border-radius:2rem; color:#a95b0e; background:#ffedcf; font-size:.48rem; font-weight:700; white-space:nowrap; }
.admin-address-owner { padding:.55rem .7rem; border-bottom:1px solid #f4eee9; }
.admin-address-owner>small { display:block; color:#9d8e83; font-size:.45rem; font-weight:700; text-transform:uppercase; }
.admin-address-owner>a { display:block; overflow:hidden; color:#5a4738; font-size:.6rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.admin-address-owner>a span { margin-left:.3rem; color:#ba6e29; font-size:.48rem; font-weight:500; }
.admin-address-location { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.5rem; min-height:5.4rem; padding:.65rem .7rem; }
.admin-address-location>i { color:#d8781c; }
.admin-address-location strong,.admin-address-location span { display:block; color:#776a61; font-size:.56rem; line-height:1.5; }
.admin-address-location strong { color:#52473f; font-weight:600; }
.admin-address-contact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; padding:.5rem .7rem; border-top:1px solid #f2ebe5; background:#fdfbf9; }
.admin-address-contact span { overflow:hidden; color:#76675c; font-size:.52rem; text-overflow:ellipsis; white-space:nowrap; }
.admin-address-contact i { margin-right:.3rem; color:#cf741c; }

.admin-kyc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.admin-kyc-card { overflow:hidden; border:1px solid #eee4dc; border-radius:.7rem; background:#fff; box-shadow:0 .2rem .7rem rgba(68,46,28,.04); }
.admin-kyc-card-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.55rem; padding:.7rem; border-bottom:1px solid #f2ebe5; background:linear-gradient(135deg,#fffdfb,#fff8ef); }
.admin-kyc-avatar { display:inline-flex; width:2.3rem; height:2.3rem; align-items:center; justify-content:center; border-radius:.65rem; color:#fff; background:linear-gradient(135deg,#ef9b32,#d56806); font-size:.8rem; font-weight:800; }
.admin-kyc-card-head>div { min-width:0; }
.admin-kyc-card-head h2 { overflow:hidden; margin:0; color:#40372f; font-size:.7rem; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.admin-kyc-card-head small { color:#a06e42; font-size:.48rem; }
.admin-kyc-pending { padding:.24rem .4rem; border-radius:2rem; color:#a65d13; background:#ffedcf; font-size:.48rem; font-weight:700; white-space:nowrap; }
.admin-kyc-pending i { margin-right:.2rem; }
.admin-kyc-numbers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; padding:.65rem .7rem; }
.admin-kyc-numbers>div { min-width:0; padding:.42rem .5rem; border-radius:.45rem; background:#faf7f4; }
.admin-kyc-numbers small,.admin-kyc-numbers strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-kyc-numbers small { color:#9b8b80; font-size:.45rem; text-transform:uppercase; }
.admin-kyc-numbers strong { color:#594a40; font-size:.58rem; }
.admin-kyc-progress { padding:0 .7rem .6rem; }
.admin-kyc-progress>div:first-child { display:flex; justify-content:space-between; color:#89786d; font-size:.52rem; }
.admin-kyc-progress .progress { height:.28rem; margin-top:.3rem; background:#f2e9e1; }
.admin-kyc-progress .progress-bar { background:linear-gradient(90deg,#f09a31,#d66c07); }
.admin-kyc-document-dots { display:flex; flex-wrap:wrap; gap:.25rem; padding:0 .7rem .65rem; }
.admin-kyc-document-dots span { padding:.2rem .32rem; border-radius:.3rem; color:#9a8b80; background:#f7f4f2; font-size:.44rem; }
.admin-kyc-document-dots span.has-file { color:#16795a; background:#eaf8f2; }
.admin-kyc-document-dots i { margin-right:.18rem; }
.admin-kyc-card-footer { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.55rem .7rem; border-top:1px solid #f2ebe5; background:#fdfbf9; }
.admin-kyc-card-footer>span { color:#94857a; font-size:.48rem; }
.admin-kyc-card-footer>span i { margin-right:.22rem; }
.admin-kyc-existing { display:flex; align-items:center; justify-content:space-between; margin-bottom:.35rem; padding:.3rem .45rem; border-radius:.4rem; background:#edf8f3; }
.admin-kyc-existing span { color:#16795a; font-size:.55rem; font-weight:700; }
.admin-kyc-existing a { color:#a9580c; font-size:.55rem; font-weight:700; }
.admin-kyc-verify-switch { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:.55rem; padding:.65rem; border:1px solid #bae5d5; border-radius:.55rem; background:#effaf6; cursor:pointer; }
.admin-kyc-verify-switch>span,.admin-kyc-verify-switch strong,.admin-kyc-verify-switch small { display:block; }
.admin-kyc-verify-switch>span { position:relative; padding-left:1.5rem; }
.admin-kyc-verify-switch>span>i { position:absolute; top:.05rem; left:0; color:#18805f; }
.admin-kyc-verify-switch strong { color:#28624f; font-size:.64rem; }
.admin-kyc-verify-switch small { color:#66877b; font-size:.52rem; }
#adminKycReviewModal .modal-dialog { width:calc(100% - 2rem); max-width:68rem; }
#adminKycReviewModal .modal-content { height:min(90vh,46rem); }
#admin-kyc-review-form { display:flex; min-height:0; flex:1 1 auto; flex-direction:column; overflow:hidden; }
#adminKycReviewModal .modal-body { min-height:0; overflow-y:auto; }
#adminKycReviewModal .modal-header,#adminKycReviewModal .modal-footer { flex:0 0 auto; }

.admin-courier-workspace { display:grid; grid-template-columns:minmax(18rem,.8fr) minmax(0,1.35fr); align-items:start; gap:.8rem; }
.admin-courier-list-pane { min-width:0; }
.admin-courier-grid { display:grid; grid-template-columns:1fr; gap:.55rem; }
.admin-courier-card { overflow:hidden; border:1px solid #eee4dc; border-radius:.7rem; background:#fff; box-shadow:0 .2rem .7rem rgba(68,46,28,.04); }
.admin-courier-card.is-selected { border-color:#e5a65c; box-shadow:0 .25rem .8rem rgba(213,105,6,.1); }
.admin-courier-card-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:.45rem; padding:.55rem .6rem; border-bottom:1px solid #f2ebe5; background:linear-gradient(135deg,#fffdfb,#fff8ef); }
.admin-courier-icon { display:inline-flex; width:1.9rem; height:1.9rem; align-items:center; justify-content:center; border-radius:.5rem; color:#fff; background:linear-gradient(135deg,#ef9b32,#d56806); font-size:.65rem; }
.admin-courier-card-head>div { min-width:0; }
.admin-courier-card-head h2 { overflow:hidden; margin:0; color:#40372f; font-size:.7rem; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.admin-courier-card-head small { color:#a06e42; font-size:.48rem; }
.admin-courier-contact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.35rem; padding:.45rem .6rem; }
.admin-courier-contact span { overflow:hidden; color:#76675c; font-size:.53rem; text-overflow:ellipsis; white-space:nowrap; }
.admin-courier-contact i { margin-right:.28rem; color:#cf741c; }
.admin-courier-remarks { min-height:2.7rem; margin:0 .6rem .45rem; padding:.35rem .45rem; border-radius:.4rem; background:#faf7f4; }
.admin-courier-remarks small { display:block; color:#9b8b80; font-size:.44rem; text-transform:uppercase; }
.admin-courier-remarks p { display:-webkit-box; overflow:hidden; margin:.12rem 0 0; color:#64564c; font-size:.54rem; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.admin-courier-card-footer { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.42rem .6rem; border-top:1px solid #f2ebe5; background:#fdfbf9; }
.admin-courier-card-footer>span { color:#94857a; font-size:.48rem; }
.admin-courier-card-footer>span i { margin-right:.25rem; color:#cf741c; }
.admin-courier-card-footer>div { display:flex; gap:.3rem; }
.admin-courier-products { min-height:18rem; overflow:hidden; border:1px solid #eee4dc; border-radius:.7rem; background:#fff; }
.admin-courier-products.is-empty { display:flex; align-items:center; justify-content:center; border-style:dashed; background:#fffaf4; }
.admin-courier-products-head { display:flex; align-items:center; justify-content:space-between; gap:.7rem; padding:.7rem .8rem; border-bottom:1px solid #f2ebe5; background:#fff8ef; }
.admin-courier-products-head small { color:#b06a2c; font-size:.46rem; font-weight:700; text-transform:uppercase; }
.admin-courier-products-head h3 { margin:.08rem 0 0; color:#493d35; font-size:.72rem; }
.admin-courier-product-actions { display:flex; align-items:center; gap:.4rem; }
.admin-courier-product-search { display:flex; width:11rem; height:1.85rem; align-items:center; gap:.35rem; padding:0 .5rem; border:1px solid #eadfd5; border-radius:.42rem; background:#fff; }
.admin-courier-product-search i { color:#c57934; font-size:.56rem; }
.admin-courier-product-search input { min-width:0; flex:1; border:0; outline:0; color:#56493f; background:transparent; font-size:.55rem; }
.admin-courier-product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; padding:.7rem; }
.admin-courier-product { display:grid; grid-template-columns:2rem minmax(0,1fr) auto; align-items:center; gap:.5rem; padding:.5rem; border:1px solid #f0e8e1; border-radius:.5rem; background:#fdfbf9; }
.admin-courier-product > img { grid-column:1; grid-row:1; }
.admin-courier-product > div:not(.courier-service-status) { grid-column:2 / -1; grid-row:1; }
.admin-courier-product > .courier-service-label { grid-column:1 / 3; grid-row:2; justify-self:start; max-width:100%; min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.35; }
.admin-courier-product > .courier-service-status { grid-column:3; grid-row:2; min-width:0; }
.admin-courier-product-assignment > label { grid-column:4; grid-row:2; white-space:nowrap; }
.admin-courier-product .courier-service-status .form-switch { display:inline-flex; align-items:center; gap:.3rem; padding-left:0; white-space:nowrap; }
.admin-courier-product .courier-service-status .form-check-input,
.admin-courier-product-assignment > label .form-check-input { float:none; margin:0; flex-shrink:0; }
.admin-courier-product img { width:2rem; height:2rem; border-radius:.4rem; object-fit:contain; background:#fff; }
.admin-courier-product>div { min-width:0; }
.admin-courier-product strong,.admin-courier-product small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-courier-product strong { color:#52453d; font-size:.82rem; font-weight:700; line-height:1.35; white-space:normal; overflow-wrap:anywhere; }
.admin-courier-product small { color:#98877b; font-size:.48rem; }
.admin-courier-product .courier-aggregator-name { margin-top:.15rem; color:#59402e; font-size:.78rem; font-weight:700; line-height:1.35; white-space:normal; overflow-wrap:anywhere; }
.admin-courier-product>span { padding:.2rem .32rem; border-radius:2rem; color:#a94c3c; background:#fff0ed; font-size:.44rem; font-weight:700; }
.admin-courier-product>span.is-active { color:#147759; background:#eaf8f2; }
.admin-courier-product-no-results { grid-column:1/-1; padding:2rem 1rem; color:#968579; text-align:center; font-size:.6rem; }
.admin-courier-product-no-results i,.admin-courier-product-no-results span { display:block; }
.admin-courier-product-no-results i { margin-bottom:.4rem; color:#d27a25; font-size:1rem; }
.admin-courier-product-prompt { max-width:18rem; padding:2rem 1rem; text-align:center; }
.admin-courier-product-prompt>span { display:inline-flex; width:3rem; height:3rem; align-items:center; justify-content:center; border-radius:.8rem; color:#d76d08; background:#ffedda; font-size:1rem; }
.admin-courier-product-prompt h3 { margin:.7rem 0 .2rem; color:#4d4037; font-size:.8rem; }
.admin-courier-product-prompt p { margin:0; color:#928278; font-size:.6rem; line-height:1.6; }
.admin-courier-active-switch { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:.5rem; padding:.6rem; border-radius:.5rem; background:#fff8ef; cursor:pointer; }
.admin-courier-active-switch span,.admin-courier-active-switch strong,.admin-courier-active-switch small { display:block; }
.admin-courier-active-switch span { position:relative; padding-left:1.35rem; }
.admin-courier-active-switch span i { position:absolute; top:.08rem; left:0; color:#d67417; }
.admin-courier-active-switch strong { color:#5a493c; font-size:.62rem; }
.admin-courier-active-switch small { color:#907d70; font-size:.5rem; }
.admin-aggregator-icon { background:linear-gradient(135deg,#ef9b32,#bb5705); }
.admin-aggregator-card .admin-courier-card-head h2 { font-size:.85rem; font-weight:800; }
.admin-aggregator-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; padding:.5rem .6rem; }
.admin-aggregator-meta>div { min-width:0; padding:.38rem .45rem; border-radius:.4rem; background:#faf7f4; }
.admin-aggregator-meta small,.admin-aggregator-meta strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-aggregator-meta small { color:#9b8b80; font-size:.43rem; text-transform:uppercase; }
.admin-aggregator-meta strong { color:#594a40; font-size:.55rem; }

.admin-plan-list { overflow:hidden; border:1px solid #eee5de; border-radius:.65rem; background:#fff; }
.admin-plan-list { max-width:100%; overflow-x:auto; }
.admin-plan-list-head,.admin-plan-list-row { display:grid; grid-template-columns:minmax(13rem,1.6fr) minmax(9rem,1fr) minmax(9rem,.9fr) 5rem 9rem 4rem; align-items:center; gap:.65rem; }
.admin-plan-list-head { padding:.55rem .7rem; color:#a06d43; background:#fff7ed; font-size:.46rem; font-weight:750; letter-spacing:.035em; text-transform:uppercase; }
.admin-plan-list-row { min-height:3.85rem; padding:.55rem .7rem; border-top:1px solid #f2ece7; transition:background .15s ease; }
.admin-plan-list-row:hover { background:#fffdfa; }
.admin-plan-product,.admin-plan-aggregator { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:.5rem; min-width:0; }
.admin-plan-product img { width:2.25rem; height:2.25rem; padding:.15rem; border:1px solid #eee6df; border-radius:.5rem; object-fit:contain; background:#fff; }
.admin-plan-product strong,.admin-plan-product small,.admin-plan-aggregator strong,.admin-plan-aggregator small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-plan-product strong,.admin-plan-aggregator strong { color:#50443b; font-size:.58rem; }
.admin-plan-product small,.admin-plan-aggregator small { color:#9b8b80; font-size:.46rem; }
.admin-plan-aggregator>span { display:inline-flex; width:1.7rem; height:1.7rem; align-items:center; justify-content:center; border-radius:.42rem; color:#c86910; background:#fff0dd; font-size:.58rem; }
.admin-plan-courier span { display:inline-flex; align-items:center; gap:.28rem; padding:.25rem .4rem; border-radius:2rem; color:#9a7460; background:#f8f3ef; font-size:.5rem; font-weight:650; }
.admin-plan-courier span.is-assigned { color:#286c58; background:#eaf8f2; }
.admin-plan-count strong,.admin-plan-count small { display:block; }
.admin-plan-count strong { color:#c7650a; font-size:.68rem; }
.admin-plan-count small { color:#9b8b80; font-size:.44rem; }

.admin-zone-workspace { display:grid; grid-template-columns:minmax(17rem,.75fr) minmax(0,1.45fr); align-items:start; gap:.8rem; }
.admin-zone-list { display:grid; gap:.45rem; }
.admin-zone-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:.5rem; min-height:3.6rem; padding:.55rem .6rem; border:1px solid #eee4dc; border-radius:.6rem; color:inherit; background:#fff; transition:border-color .15s ease,box-shadow .15s ease; }
.admin-zone-card:hover,.admin-zone-card.is-selected { border-color:#e5a65c; color:inherit; box-shadow:0 .25rem .8rem rgba(213,105,6,.09); }
.admin-zone-code { display:inline-flex; width:2.1rem; height:2.1rem; align-items:center; justify-content:center; border-radius:.55rem; color:#fff; background:linear-gradient(135deg,#ef9b32,#d56806); font-size:.68rem; font-weight:800; }
.admin-zone-card>div { min-width:0; }
.admin-zone-card strong,.admin-zone-card small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-zone-card strong { color:#4d4037; font-size:.6rem; }
.admin-zone-card small { color:#97877c; font-size:.47rem; }
.admin-zone-type { display:inline-flex; align-items:center; gap:.22rem; padding:.22rem .36rem; border-radius:2rem; color:#28705a; background:#eaf8f2; font-size:.46rem; font-weight:700; white-space:nowrap; }
.admin-zone-type.is-default { color:#9b5a18; background:#fff0dc; }
.admin-zone-arrow { color:#c7b6aa; font-size:.62rem; }
.admin-zone-editor { min-height:22rem; overflow:hidden; border:1px solid #eee4dc; border-radius:.7rem; background:#fff; }
.admin-zone-editor.is-empty { display:flex; align-items:center; justify-content:center; border-style:dashed; background:#fffaf4; }
.admin-zone-editor-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; padding:.7rem .8rem; border-bottom:1px solid #f2ebe5; background:#fff8ef; }
.admin-zone-editor-head small { color:#b06a2c; font-size:.46rem; font-weight:700; text-transform:uppercase; }
.admin-zone-editor-head h3 { margin:.08rem 0 0; color:#493d35; font-size:.74rem; }
.admin-zone-lock-note { display:flex; align-items:flex-start; gap:.45rem; margin:.7rem .8rem 0; padding:.5rem .6rem; border:1px solid #f0d7b7; border-radius:.45rem; color:#8a5d2d; background:#fff8ed; font-size:.54rem; }
.admin-zone-lock-note strong { display:block; }
.admin-zone-form { padding:.8rem; }
.admin-zone-form .form-label { margin-bottom:.3rem; color:#5b4d43; font-size:.6rem; font-weight:700; }
.admin-zone-form .form-control { border-color:#eadfd5; border-radius:.5rem; background:#fffdfa; font-size:.64rem; }
.admin-zone-form .form-control[readonly] { color:#8f8177; background:#f6f3f0; cursor:not-allowed; }
.admin-zone-form .form-text { color:#97877c; font-size:.48rem; }
.admin-zone-blocked { border-color:#e7bd87!important; background:#fffaf3!important; }
.admin-zone-form-footer { display:flex; justify-content:flex-end; margin-top:.75rem; padding-top:.65rem; border-top:1px solid #f1e9e2; }
.admin-zone-prompt { max-width:19rem; padding:2rem 1rem; text-align:center; }
.admin-zone-prompt>span { display:inline-flex; width:3rem; height:3rem; align-items:center; justify-content:center; border-radius:.8rem; color:#d76d08; background:#ffedda; font-size:1rem; }
.admin-zone-prompt h3 { margin:.7rem 0 .2rem; color:#4d4037; font-size:.8rem; }
.admin-zone-prompt p { margin:0; color:#928278; font-size:.6rem; line-height:1.6; }
#adminZoneAddModal .modal-dialog { width:calc(100% - 2rem); max-width:55rem; }

.ship-error-body { min-height:100vh; margin:0; color:#4d4037; background:radial-gradient(circle at 15% 10%,rgba(240,151,48,.18),transparent 28rem),linear-gradient(135deg,#fffaf4,#f7eee4); }
.ship-error-page { display:flex; min-height:100vh; align-items:center; justify-content:center; padding:1.5rem; }
.ship-error-card { position:relative; width:min(100%,34rem); overflow:hidden; padding:2.2rem 2rem; border:1px solid rgba(172,93,20,.13); border-radius:1.2rem; background:rgba(255,255,255,.94); box-shadow:0 1.5rem 4rem rgba(92,55,25,.12); text-align:center; }
.ship-error-card::before { position:absolute; top:0; left:0; width:100%; height:.25rem; background:linear-gradient(90deg,#f6a13b,#d96e07); content:''; }
.ship-error-logo img { width:auto; height:2.35rem; object-fit:contain; }
.ship-error-code { display:flex; align-items:center; justify-content:center; gap:.8rem; margin:1.25rem 0 .2rem; color:#dd750d; font-size:4.4rem; font-weight:850; line-height:1; letter-spacing:-.08em; }
.ship-error-code i { display:inline-flex; width:3.3rem; height:3.3rem; align-items:center; justify-content:center; border-radius:.8rem; color:#fff; background:linear-gradient(135deg,#f4a13e,#d76c07); font-size:1.45rem; transform:rotate(-5deg); }
.ship-error-label { display:inline-flex; padding:.28rem .6rem; border-radius:2rem; color:#aa5a0d; background:#fff0dc; font-size:.62rem; font-weight:750; text-transform:uppercase; }
.ship-error-card h1 { margin:.85rem 0 .35rem; color:#3e342d; font-size:1.35rem; font-weight:800; }
.ship-error-card p { max-width:27rem; margin:0 auto; color:#84746a; font-size:.75rem; line-height:1.7; }
.ship-error-actions { display:flex; justify-content:center; gap:.55rem; margin:1.2rem 0 1rem; }
.ship-error-actions .btn { padding:.55rem .9rem; border-radius:.5rem; font-size:.68rem; font-weight:700; }
.ship-error-primary { border-color:#dd750d; color:#fff; background:#dd750d; }
.ship-error-primary:hover { border-color:#c96305; color:#fff; background:#c96305; }
.ship-error-secondary { border-color:#eadfd6; color:#66584e; background:#fff; }
.ship-error-card>small { color:#a08f82; font-size:.56rem; }
.ship-error-card>small i { margin-right:.3rem; color:#dc790f; }

.admin-kyc-preview-modal .modal-content {
    height: min(88vh, 54rem);
    overflow: hidden;
    border: 1px solid rgba(139, 75, 13, .14);
    border-radius: .85rem;
    box-shadow: 0 1.5rem 4.5rem rgba(44, 30, 18, .24);
}

.admin-kyc-preview-modal .modal-header {
    flex: 0 0 auto;
    padding: .7rem .9rem;
    border-bottom: 1px solid #eee5dd;
    background: linear-gradient(135deg, #fff9f1, #fff);
}

.admin-kyc-preview-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.admin-kyc-preview-actions .btn {
    border-color: #eadfd5;
    color: #b85a03;
    font-size: .6rem;
}

.admin-kyc-preview-modal .modal-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 0;
    background: #ede9e5;
}

.admin-kyc-preview-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 767.98px) {
    .admin-kyc-preview-modal .modal-dialog {
        margin: .5rem;
    }

    .admin-kyc-preview-modal .modal-content {
        height: calc(100vh - 1rem);
    }

    .admin-kyc-preview-actions .btn {
        width: 2rem;
        padding-inline: 0;
        overflow: hidden;
        color: transparent;
        white-space: nowrap;
    }

    .admin-kyc-preview-actions .btn i {
        margin: 0 !important;
        color: #b85a03;
    }
}

@media (max-width: 767.98px) {
    .admin-account-editor-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-account-reference {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-account-switches,
    .admin-kyc-summary,
    .admin-kyc-documents {
        grid-template-columns: 1fr;
    }

    .admin-account-balance-grid {
        grid-template-columns: repeat(4, minmax(7rem, 1fr));
        overflow-x: auto;
    }
}

@media (max-width:1199.98px) { .admin-account-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:1199.98px) { .admin-user-grid,.admin-address-grid,.admin-kyc-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .admin-courier-workspace { grid-template-columns:minmax(16rem,.8fr) minmax(0,1.2fr); } .admin-courier-product-grid { grid-template-columns:1fr; } }
@media (max-width:991.98px) { .admin-plan-list { overflow-x:auto; } .admin-plan-list-head,.admin-plan-list-row { min-width:48rem; } }
@media (max-width:767.98px) { .admin-page-heading { align-items:flex-start; } .admin-list-header { align-items:flex-start; flex-direction:column; } .admin-list-controls { width:100%; flex-wrap:wrap; justify-content:flex-end; } .admin-quick-search { width:100%; } .admin-pagination-wrap { justify-content:flex-end; overflow-x:auto; } .admin-account-grid,.admin-user-grid,.admin-address-grid,.admin-kyc-grid,.admin-courier-product-grid { grid-template-columns:1fr; } .admin-courier-workspace,.admin-zone-workspace { grid-template-columns:1fr; } .admin-courier-products-head { align-items:flex-start; flex-direction:column; } .admin-courier-product-actions,.admin-courier-product-search { width:100%; } .admin-address-account-filter { grid-template-columns:1fr; } .ship-error-card { padding:1.7rem 1rem; } .ship-error-code { font-size:3.5rem; } }

/* Admin authentication */
.admin-login-body { min-height: 100vh; overflow: hidden; background: #fff9f1; }
.admin-login-page { position: relative; display: grid; min-height: 100vh; place-items: center; padding: 1.25rem; overflow: hidden; font-family: Inter, sans-serif; }
.admin-login-orbit { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.admin-login-orbit-one { top: -13rem; right: -9rem; width: 28rem; height: 28rem; background: rgba(249, 151, 36, .14); }
.admin-login-orbit-two { bottom: -12rem; left: 30%; width: 24rem; height: 24rem; background: rgba(255, 193, 92, .12); }
.admin-login-shell { position: relative; z-index: 1; display: grid; width: min(69rem, 100%); min-height: min(39rem, calc(100vh - 2.5rem)); grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr); overflow: hidden; border: 1px solid rgba(137, 75, 12, .1); border-radius: 1.15rem; background: #fff; box-shadow: 0 1.8rem 5rem rgba(110, 58, 8, .14); }
.admin-login-showcase { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 2.1rem 2.5rem 1.6rem; overflow: hidden; color: #fff; background: linear-gradient(145deg, #d86f08 0%, #f2931d 54%, #ffad32 100%); }
.admin-login-showcase::before { position: absolute; top: -7rem; right: -5rem; width: 18rem; height: 18rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 3.5rem rgba(255,255,255,.035), 0 0 0 7rem rgba(255,255,255,.025); content: ''; }
.admin-login-showcase::after { position: absolute; right: -3rem; bottom: -5rem; width: 15rem; height: 15rem; border-radius: 2.5rem; background: rgba(110, 52, 3, .1); content: ''; transform: rotate(28deg); }
.admin-login-brand { position: relative; z-index: 1; display: inline-flex; width: fit-content; padding: .35rem .65rem; border-radius: .55rem; background: #fff; }
.admin-login-brand img, .admin-login-mobile-brand img { display: block; width: auto; height: 2.2rem; object-fit: contain; }
.admin-login-showcase-content { position: relative; z-index: 1; margin: auto 0; max-width: 31rem; }
.admin-login-kicker { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.2rem; padding: .42rem .68rem; border: 1px solid rgba(255,255,255,.25); border-radius: 2rem; color: rgba(255,255,255,.92); background: rgba(116, 51, 0, .12); font-size: .67rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.admin-login-showcase h1 { margin: 0; color: #fff; font-size: clamp(2rem, 3.2vw, 3.15rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.04; }
.admin-login-showcase h1 span { color: #fff4df; }
.admin-login-showcase-content > p { max-width: 29rem; margin: 1.15rem 0 0; color: rgba(255,255,255,.78); font-size: .84rem; line-height: 1.7; }
.admin-login-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1.5rem; }
.admin-login-capabilities > div { display: flex; min-width: 0; align-items: flex-start; gap: .55rem; padding: .68rem; border: 1px solid rgba(255,255,255,.16); border-radius: .65rem; background: rgba(112, 48, 0, .09); }
.admin-login-capabilities > div > i { display: inline-flex; width: 1.6rem; height: 1.6rem; flex: 0 0 1.6rem; align-items: center; justify-content: center; border-radius: .45rem; color: #e57909; background: #fff8ed; font-size: .7rem; }
.admin-login-capabilities strong, .admin-login-capabilities small { display: block; }
.admin-login-capabilities strong { color: #fff; font-size: .66rem; line-height: 1.3; }
.admin-login-capabilities small { margin-top: .15rem; color: rgba(255,255,255,.62); font-size: .56rem; line-height: 1.35; }
.admin-login-showcase-footer { position: relative; z-index: 1; color: rgba(255,255,255,.68); font-size: .61rem; }
.admin-login-showcase-footer i { margin-right: .35rem; color: #fff3d2; }
.admin-login-form-side { position: relative; display: flex; min-width: 0; align-items: center; padding: 3rem clamp(2rem, 4vw, 4rem); background: #fff; }
.admin-login-form-wrap { width: 100%; max-width: 23.5rem; margin: auto; }
.admin-login-mobile-brand { display: none; }
.admin-login-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 2rem; }
.admin-login-heading-icon { display: inline-flex; width: 2.65rem; height: 2.65rem; flex: 0 0 2.65rem; align-items: center; justify-content: center; border-radius: .75rem; color: #fff; background: linear-gradient(135deg, #f59a23, #dc7007); box-shadow: 0 .55rem 1.2rem rgba(231, 121, 12, .22); font-size: 1rem; }
.admin-login-heading h2 { margin: 0 0 .18rem; color: #26211d; font-size: 1.45rem; font-weight: 750; letter-spacing: -.025em; }
.admin-login-heading p { margin: 0; color: #8b8178; font-size: .72rem; }
.admin-login-form .form-label { margin-bottom: .4rem; color: #4f463f; font-size: .7rem; font-weight: 650; }
.admin-login-input { position: relative; }
.admin-login-input > i { position: absolute; top: 50%; left: .85rem; z-index: 2; color: #b09b89; font-size: .77rem; transform: translateY(-50%); }
.admin-login-input .form-control { height: 2.9rem; padding: .6rem 2.8rem .6rem 2.35rem; border: 1px solid #eadfd5; border-radius: .65rem; color: #352d27; background: #fffdfa; font-size: .77rem; box-shadow: none; }
.admin-login-input .form-control:focus { border-color: #f29a2e; background: #fff; box-shadow: 0 0 0 .2rem rgba(242, 154, 46, .11); }
.admin-login-password button { position: absolute; top: 50%; right: .5rem; z-index: 3; display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: .45rem; color: #9b897a; background: transparent; transform: translateY(-50%); }
.admin-login-password button:hover { color: #da700a; background: #fff3e3; }
.admin-login-submit { display: flex; width: 100%; min-height: 2.9rem; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding: .65rem 1rem; border: 0; border-radius: .65rem; color: #fff; background: linear-gradient(135deg, #f5a02e, #df740a); box-shadow: 0 .65rem 1.4rem rgba(223, 116, 10, .2); font-size: .75rem; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease; }
.admin-login-submit:hover, .admin-login-submit:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 .85rem 1.6rem rgba(223, 116, 10, .27); }
.admin-login-response { margin: .75rem 0 0; padding: .55rem .7rem; border-radius: .5rem; font-size: .68rem; }
.admin-login-security { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 1rem; padding: .5rem; border-radius: .55rem; color: #8b8178; background: #fff8ef; font-size: .6rem; }
.admin-login-security i { color: #e47a10; }
.admin-login-footer { position: absolute; right: 0; bottom: 1rem; left: 0; color: #a69b92; font-size: .57rem; text-align: center; }

@media (max-height: 720px) and (min-width: 768px) {
    .admin-login-page { padding: .65rem; }
    .admin-login-shell { min-height: calc(100vh - 1.3rem); }
    .admin-login-showcase { padding-block: 1.35rem 1rem; }
    .admin-login-capabilities { margin-top: 1rem; }
    .admin-login-form-side { padding-block: 1.5rem; }
}

@media (max-width: 767.98px) {
    .admin-login-page { padding: 0; }
    .admin-login-shell { width: 100%; min-height: 100vh; grid-template-columns: 1fr; border: 0; border-radius: 0; }
    .admin-login-showcase { display: none; }
    .admin-login-form-side { min-height: 100vh; padding: 6.5rem 1.25rem 4rem; }
    .admin-login-mobile-brand { position: absolute; top: 1.25rem; left: 1.25rem; display: inline-flex; padding: .35rem .55rem; border-radius: .5rem; background: #fff8ed; }
    .admin-login-mobile-brand img { height: 2rem; }
}

/* Seller authentication */
.seller-login-body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.seller-login-page {
    background: #f5f7fb;
    color: #172033;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

.seller-login-glow {
    border-radius: 50%;
    opacity: .42;
    pointer-events: none;
    position: absolute;
}

.seller-login-glow-one {
    background: rgba(79, 70, 229, .13);
    height: 28rem;
    right: -10rem;
    top: -12rem;
    width: 28rem;
}

.seller-login-glow-two {
    background: rgba(14, 165, 233, .12);
    bottom: -12rem;
    height: 24rem;
    left: -9rem;
    width: 24rem;
}

.seller-login-container {
    box-sizing: border-box;
    display: flex;
    height: 100%;
    padding: clamp(1rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}

.seller-login-shell {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 1.4rem;
    box-shadow: 0 1.5rem 4rem rgba(30, 41, 59, .12);
    flex: 1 1 auto;
    height: 100%;
    margin: 0 auto;
    max-width: 76rem;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.seller-login-showcase {
    background: linear-gradient(145deg, #171a45 0%, #302b83 58%, #4757c7 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.75rem);
    position: relative;
}

.seller-login-showcase::before,
.seller-login-showcase::after {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
    position: absolute;
    z-index: -1;
}

.seller-login-showcase::before {
    height: 28rem;
    right: -14rem;
    top: -11rem;
    width: 28rem;
}

.seller-login-showcase::after {
    bottom: -13rem;
    height: 32rem;
    left: -14rem;
    width: 32rem;
}

.seller-login-brand img,
.seller-login-mobile-brand img {
    height: auto;
    max-width: 10rem;
    object-fit: contain;
}

.seller-login-brand {
    align-items: center;
    background: #fff;
    border-radius: .8rem;
    display: flex;
    margin-bottom: .75rem;
    padding: .55rem .85rem;
    width: fit-content;
}

.seller-login-kicker {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 2rem;
    display: flex;
    font-size: .7rem;
    font-weight: 600;
    gap: .45rem;
    letter-spacing: .05em;
    margin-bottom: 1.15rem;
    padding: .45rem .72rem;
    text-transform: uppercase;
    width: fit-content;
}

.seller-login-showcase h1 {
    color: #fff;
    font-size: clamp(1.95rem, 3.35vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.02;
    margin-bottom: .8rem;
}

.seller-login-showcase h1 span { color: #91d8ff; }

.seller-login-showcase-content > p {
    color: rgba(255, 255, 255, .72);
    font-size: .95rem;
    line-height: 1.55;
    max-width: 34rem;
}

.seller-login-features {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(1.25rem, 3vh, 2.25rem);
}

.seller-login-features > div {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .85rem;
    min-width: 0;
    padding: .85rem;
}

.seller-login-features > div > span {
    align-items: center;
    background: rgba(145, 216, 255, .14);
    border-radius: .5rem;
    color: #9cddff;
    display: inline-flex;
    height: 1.9rem;
    justify-content: center;
    margin-bottom: .65rem;
    width: 1.9rem;
}

.seller-login-features strong,
.seller-login-features small { display: block; }
.seller-login-features strong { color: #fff; font-size: .72rem; }
.seller-login-features small { color: rgba(255, 255, 255, .58); font-size: .61rem; line-height: 1.4; margin-top: .2rem; }
.seller-login-showcase-footer {
    color: rgba(255, 255, 255, .58);
    flex-shrink: 0;
    font-size: .7rem;
    line-height: 1.4;
    margin-top: 2rem;
    padding-bottom: .75rem;
}
.seller-login-showcase-footer i { color: #86efac; margin-right: .35rem; }

.seller-login-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
    position: relative;
}

.seller-login-form-wrap { margin: auto; max-width: 24rem; width: 100%; }
.seller-register-body .seller-login-form-side { overflow-y: auto; padding: 2rem 1.5rem 3.5rem; }
.seller-register-body .seller-login-form-wrap { flex-shrink: 0; }
.seller-register-body .seller-login-heading { margin-bottom: 1rem; }
.seller-register-body .seller-login-signup { margin-top: .8rem; }
.seller-register-terms { font-size: .68rem; color: #7a8497; }
.seller-register-terms a { color: #4f46e5; }
.seller-register-body .seller-login-footer { position: static; margin-top: 1rem; flex-shrink: 0; }
.seller-login-mobile-brand { display: none; }

.seller-login-heading {
    align-items: center;
    display: flex;
    gap: .85rem;
    margin-bottom: 2rem;
}

.seller-login-welcome-icon {
    align-items: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: .8rem;
    box-shadow: 0 .55rem 1.2rem rgba(79, 70, 229, .22);
    color: #fff;
    display: inline-flex;
    flex: 0 0 2.8rem;
    font-size: 1rem;
    height: 2.8rem;
    justify-content: center;
}

.seller-login-heading h2 { font-size: 1.45rem; letter-spacing: -.025em; margin: 0 0 .18rem; }
.seller-login-heading p { color: #7a8497; font-size: .76rem; margin: 0; }
.seller-login-form .form-label { color: #364152; font-size: .72rem; font-weight: 600; margin-bottom: .4rem; }
.seller-login-recover { color: #4f46e5; font-size: .68rem; font-weight: 600; }
.seller-login-input { position: relative; }

.seller-login-input > i {
    color: #8b95a7;
    font-size: .82rem;
    left: .9rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.seller-login-input .form-control {
    background: #f8fafc;
    border: 1px solid #e3e8f0;
    border-radius: .7rem;
    font-size: .78rem;
    min-height: 3rem;
    padding: .65rem 2.75rem .65rem 2.4rem;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.seller-login-input .form-control:focus {
    background: #fff;
    border-color: #818cf8;
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .1);
}

.seller-login-password button {
    background: transparent;
    border: 0;
    color: #7a8497;
    height: 100%;
    padding: 0 .9rem;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}

.seller-login-submit {
    align-items: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border: 0;
    border-radius: .7rem;
    box-shadow: 0 .65rem 1.4rem rgba(79, 70, 229, .22);
    color: #fff;
    display: flex;
    font-size: .78rem;
    font-weight: 600;
    justify-content: space-between;
    margin-top: 1.4rem;
    min-height: 3rem;
    padding: .65rem 1.05rem;
    width: 100%;
}

.seller-login-submit:hover,
.seller-login-submit:focus { background: linear-gradient(135deg, #4338ca, #4f46e5); color: #fff; transform: translateY(-1px); }
.seller-login-signup { color: #7a8497; font-size: .72rem; margin-top: 1.6rem; text-align: center; }
.seller-login-signup a { color: #4f46e5; font-weight: 700; }
.seller-login-security { align-items: center; background: #f8fafc; border-radius: .6rem; color: #7a8497; display: flex; font-size: .64rem; gap: .45rem; justify-content: center; margin-top: 1.1rem; padding: .55rem; }
.seller-login-security i { color: #22a06b; }
.seller-login-footer { bottom: 1.1rem; color: #9aa3b2; font-size: .6rem; left: 0; position: absolute; text-align: center; width: 100%; }

@media (min-width: 992px) and (max-height: 700px) {
    .seller-login-showcase { padding: 1.5rem 2.5rem; }
    .seller-login-brand { margin-bottom: .55rem; }
    .seller-login-features { margin-top: 1rem; }
    .seller-login-features > div { padding: .55rem; }
    .seller-login-showcase-footer { margin-top: .75rem; padding-bottom: .25rem; }
    .seller-login-form-side { padding-block: 1.5rem; }
}

@media (max-width: 991.98px) {
    .seller-login-container { padding: 0; }
    .seller-login-shell { border: 0; border-radius: 0; min-height: 0; }
    .seller-login-showcase { display: none; }
    .seller-login-form-side { height: 100%; min-height: 0; padding: 5rem 1.25rem 4rem; }
    .seller-login-mobile-brand { display: block; left: 1.25rem; position: absolute; top: 1.25rem; }
    .seller-login-mobile-brand img { max-width: 8.5rem; }
}

@media (max-width: 575.98px) {
    .seller-login-heading { margin-bottom: 1.5rem; }
    .seller-login-form-side { justify-content: flex-start; padding-top: 7rem; }
}

/* Keep signup compact and scrollable within the fixed-height auth shell. */
.seller-register-body .seller-login-form-side {
    height: 100%;
    min-height: 0;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
}

.seller-register-body .seller-login-heading {
    gap: .65rem;
    margin-bottom: .75rem;
}

.seller-register-body .seller-login-heading h2 { font-size: 1.3rem; }
.seller-register-body .seller-login-welcome-icon { flex-basis: 2.4rem; height: 2.4rem; }
.seller-register-body .seller-login-form .form-label { margin-bottom: .2rem; }
.seller-register-body .seller-login-input .form-control {
    min-height: 2.5rem;
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.seller-register-body .seller-login-form .form-check { margin-top: .15rem !important; }
.seller-register-body .seller-login-submit { margin-top: .75rem; min-height: 2.5rem; }
.seller-register-body .seller-login-signup { margin-top: .6rem; }
.seller-register-body .seller-login-footer { margin-top: .6rem; }

@media (max-width: 991.98px) {
    .seller-register-body .seller-login-form-side { padding: 1rem 1.25rem; }
    .seller-register-body .seller-login-mobile-brand {
        position: static;
        flex-shrink: 0;
        width: 100%;
        max-width: 24rem;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 575.98px) {
    .seller-register-body .seller-login-input .form-control,
    .seller-register-body .seller-login-submit { min-height: 2.75rem; }
}

.warehouse-card {
    height: calc(100% - 1.5rem);
    overflow: hidden;
    border: 1px solid var(--default-border, #e9edf4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.warehouse-card:hover {
    border-color: rgba(var(--primary-rgb, 132, 90, 223), 0.35);
    box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.warehouse-card-default {
    border-color: rgb(var(--primary-rgb, 132, 90, 223));
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb, 132, 90, 223), 0.08);
}

.warehouse-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.warehouse-card-heading {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.7rem;
}

.warehouse-card-heading h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.warehouse-card-icon,
.warehouse-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    color: rgb(var(--primary-rgb, 132, 90, 223));
    background: rgba(var(--primary-rgb, 132, 90, 223), 0.1);
}

.warehouse-code {
    color: var(--text-muted, #8c9097);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.warehouse-default-badge {
    flex: 0 0 auto;
    color: #fff;
    background: rgb(var(--primary-rgb, 132, 90, 223));
}

.warehouse-card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0.55rem 1rem;
    border-top: 1px solid var(--default-border, #e9edf4);
    background: transparent;
}

.warehouse-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
}

.warehouse-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.82rem;
    line-height: 1.5;
}

.warehouse-detail-icon {
    width: 1rem;
    margin-top: 0.2rem;
    color: rgb(var(--primary-rgb, 132, 90, 223));
    text-align: center;
}

.warehouse-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--default-border, #e9edf4);
    color: var(--text-muted, #8c9097);
    font-size: 0.76rem;
}

.warehouse-contact span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.4rem;
    overflow-wrap: anywhere;
}

.warehouse-empty-state {
    border: 1px dashed var(--default-border, #dbe1ea);
}

.warehouse-empty-state .card-body {
    padding: 2.5rem 1rem;
}

.warehouse-empty-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
}

/* Seller navigation */
.seller-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 48px;
    margin-block: 0.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--default-border, #e9edf4);
    border-radius: 0.6rem;
    background: var(--custom-white, #fff);
}

.seller-page-heading {
    display: flex;
    align-items: center;
    min-width: 0;
}

.seller-page-heading .breadcrumb {
    font-size: 0.8rem;
}

.seller-page-actions:empty {
    display: none;
}

.product-search-form .input-group {
    width: min(22rem, 65vw);
}

.ship-confirm-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 0.85rem;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.2);
}

.ship-confirm-modal .modal-body {
    padding: 1.5rem 1.5rem 0.75rem;
}

.ship-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    color: rgb(var(--danger-rgb, 230, 83, 60));
    background: rgba(var(--danger-rgb, 230, 83, 60), 0.12);
    font-size: 1.35rem;
}

@media (max-width: 767.98px) {
    .seller-page-header {
        align-items: flex-start;
    }

    .seller-page-actions {
        flex: 0 0 auto;
    }
}

.seller-sidebar {
    top: 3rem;
    height: calc(100vh - 3rem);
    z-index: 102;
    border-inline-end: 1px solid rgba(15, 23, 42, 0.07);
    background: var(--menu-bg, #fff);
    box-shadow: 0.35rem 0 1.5rem rgba(15, 23, 42, 0.045);
}

.seller-sidebar .main-sidebar {
    height: calc(100vh - 3rem);
    margin-block-start: 0;
    padding-block: 0.3rem 2rem;
}

.seller-sidebar .main-menu {
    padding: 0 0.55rem 0.75rem;
}

.seller-sidebar .slide__category {
    padding: 0.55rem 0.6rem 0.2rem;
}

.seller-sidebar .slide__category .category-name {
    color: var(--text-muted, #8c9097);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.seller-sidebar .main-menu > .slide > .side-menu__item {
    min-height: 34px;
    margin-block: 0.05rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.6rem;
    color: var(--menu-prime-color, #536485);
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.seller-sidebar .main-menu > .slide > .side-menu__item:hover,
.seller-sidebar .main-menu > .slide > .side-menu__item:focus,
.seller-sidebar .main-menu > .slide > .side-menu__item.active {
    color: rgb(var(--primary-rgb, 132, 90, 223));
    background: rgba(var(--primary-rgb, 132, 90, 223), 0.09);
}

.seller-sidebar .main-menu > .slide > .side-menu__item:hover {
    transform: translateX(2px);
}

.seller-sidebar .side-menu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-inline-end: 0.48rem;
    border-radius: 0.5rem;
    color: rgb(var(--primary-rgb, 132, 90, 223));
    background: rgba(var(--primary-rgb, 132, 90, 223), 0.08);
    font-size: 0.76rem;
}

.seller-sidebar .side-menu__angle {
    font-size: 0.67rem;
    opacity: 0.6;
    transition: transform 0.16s ease;
}

.seller-sidebar .slide.has-sub.open > .side-menu__item .side-menu__angle {
    transform: rotate(90deg);
}

.seller-sidebar .slide-menu.child1 {
    display: none;
    position: relative;
    margin: 0.08rem 0 0.2rem 1.42rem;
    padding: 0.05rem 0 0.05rem 0.62rem;
    border-inline-start: 1px solid rgba(var(--primary-rgb, 132, 90, 223), 0.18);
}

.seller-sidebar .slide-menu.child1 .side-menu__item {
    position: relative;
    min-height: 26px;
    padding: 0.22rem 0.48rem 0.22rem 0.78rem;
    border-radius: 0.45rem;
    color: var(--menu-prime-color, #536485);
    font-size: 0.75rem;
}

.seller-sidebar .slide-menu.child1 .side-menu__item::before {
    position: absolute;
    top: 50%;
    inset-inline-start: 0.08rem;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: currentColor;
    content: '';
    opacity: 0.35;
    transform: translateY(-50%);
}

.seller-sidebar .slide-menu.child1 .side-menu__item:hover,
.seller-sidebar .slide-menu.child1 .side-menu__item:focus,
.seller-sidebar .slide-menu.child1 .side-menu__item.active {
    color: rgb(var(--primary-rgb, 132, 90, 223));
    background: rgba(var(--primary-rgb, 132, 90, 223), 0.07);
}

[data-theme-mode='dark'] .seller-sidebar {
    border-inline-end-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

[data-theme-mode='dark'] .seller-sidebar .main-sidebar-header {
    border-block-end-color: rgba(255, 255, 255, 0.08);
}

.seller-header {
    height: 3rem;
    min-height: 3rem;
    width: 100%;
    padding-inline-start: 0 !important;
    z-index: 103;
}

.seller-header .main-header-container {
    height: 3rem;
    min-height: 3rem;
    align-items: center;
    padding-inline-start: 0;
}

.seller-header .header-content-left,
.seller-header .header-content-right,
.seller-header .header-element,
.seller-header .header-link {
    height: 3rem;
    align-items: center;
}

.seller-header-brand {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 15rem;
    height: 3rem;
    flex: 0 0 15rem;
    padding-inline: 0.75rem;
    border-inline-end: 1px solid var(--header-border-color, #f3f3f3);
}

.seller-header-brand .header-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.seller-header-brand .header-logo img {
    width: auto;
    max-width: 175px;
    height: 36px;
    object-fit: contain;
}

/* Keep the header control visually synchronized with the custom menu state. */
.seller-header .sidemenu-toggle.seller-toggle-collapsed span {
    width: 0.75rem;
    background: transparent !important;
}

.seller-header .sidemenu-toggle.seller-toggle-collapsed span::before,
.seller-header .sidemenu-toggle.seller-toggle-collapsed span::after {
    inset-inline-start: 0.15rem;
    width: 0.65rem;
}

.seller-header .sidemenu-toggle.seller-toggle-collapsed span::before {
    inset-block-start: -0.22rem;
    transform: rotate(45deg);
}

.seller-header .sidemenu-toggle.seller-toggle-collapsed span::after {
    inset-block-start: 0.22rem;
    transform: rotate(-45deg);
}

html[dir='rtl'] .seller-header .sidemenu-toggle.seller-toggle-collapsed span::before {
    transform: rotate(-45deg);
}

html[dir='rtl'] .seller-header .sidemenu-toggle.seller-toggle-collapsed span::after {
    transform: rotate(45deg);
}

html.seller-menu-open .seller-header .sidemenu-toggle span {
    background: transparent !important;
}

html.seller-menu-open .seller-header .sidemenu-toggle span::before,
html.seller-menu-open .seller-header .sidemenu-toggle span::after {
    inset-block-start: -1px;
    width: 1.0625rem;
}

html.seller-menu-open .seller-header .sidemenu-toggle span::before {
    transform: rotate(45deg);
}

html.seller-menu-open .seller-header .sidemenu-toggle span::after {
    transform: rotate(-45deg);
}

@media (min-width: 992px) {
    .seller-sidebar,
    .app-content,
    .footer {
        transition: transform 0.2s ease, margin-inline-start 0.2s ease, padding-inline-start 0.2s ease;
    }

    html.seller-menu-collapsed .seller-sidebar {
        width: 5rem;
        transform: none;
    }

    html.seller-menu-collapsed .seller-sidebar .main-sidebar {
        width: 5rem;
    }

    html.seller-menu-collapsed .seller-sidebar .main-menu {
        padding-inline: 0.55rem;
    }

    html.seller-menu-collapsed .seller-sidebar .slide__category,
    html.seller-menu-collapsed .seller-sidebar .side-menu__label,
    html.seller-menu-collapsed .seller-sidebar .side-menu__angle,
    html.seller-menu-collapsed .seller-sidebar .slide-menu {
        display: none !important;
    }

    html.seller-menu-collapsed .seller-sidebar .main-menu > .slide > .side-menu__item {
        justify-content: center;
        padding-inline: 0.35rem;
    }

    html.seller-menu-collapsed .seller-sidebar .side-menu__icon {
        margin-inline-end: 0;
    }

    html.seller-menu-collapsed .app-content {
        margin-inline-start: 5rem;
    }

    html.seller-menu-collapsed .footer {
        padding-inline-start: 5rem;
    }
}

@media (max-width: 991.98px) {
    html.seller-menu-mobile .seller-sidebar {
        transform: translateX(-15rem);
        transition: transform 0.2s ease;
    }

    html[dir='rtl'].seller-menu-mobile .seller-sidebar {
        transform: translateX(15rem);
    }

    html.seller-menu-mobile.seller-menu-open .seller-sidebar {
        transform: translateX(0);
    }

    html.seller-menu-mobile.seller-menu-open #responsive-overlay {
        visibility: visible;
        opacity: 1;
    }

    .seller-header-brand {
        width: auto;
        min-width: 8.75rem;
        flex-basis: 8.75rem;
        padding-inline: 0.65rem;
    }

    .seller-header-brand .header-logo img {
        max-width: 145px;
        height: 34px;
    }
}

.order-items-list {
    display: grid;
    gap: .75rem;
    min-width: 0;
    overflow: visible;
}

.order-item-row {
    min-width: 0;
    padding: 0;
}

.order-item-row + .order-item-row {
    border-top: 1px solid var(--default-border, #e9edf4);
    margin-top: .25rem;
    padding-top: .75rem;
}

.order-item-grid {
    display: grid;
    align-items: start;
    gap: .55rem;
    min-width: 0;
}

.order-item-grid > * {
    min-width: 0;
}

.order-item-main-row {
    grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)) 2.25rem;
}

.order-item-charge-row {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    margin-top: .55rem;
}

.order-field label {
    display: block;
    margin: .18rem 0 0 .1rem;
    color: var(--text-muted, #7b8191);
    font-size: .67rem;
    line-height: 1.15;
    white-space: nowrap;
}

.order-field .form-control {
    min-width: 0;
}

.order-item-total {
    display: flex;
    min-height: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: .15rem;
}

.order-item-total span:first-child {
    color: var(--text-muted, #7b8191);
    font-size: .67rem;
}

.order-item-total strong {
    font-size: .9rem;
}

@media (max-width: 1199.98px) {
    .order-item-main-row { grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)) 2.25rem; }
    .order-item-charge-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .order-item-main-row { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) 2.25rem; }
    .order-item-main-row .order-field-product { grid-column: span 2; }
    .order-item-charge-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .order-item-main-row,
    .order-item-charge-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .order-field-product { grid-column: 1 / -1; }
}
.orders-status-links {
    display: flex;
    gap: .35rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.orders-status-links .btn {
    flex: 0 0 auto;
    border-radius: 2rem;
    padding: .25rem .65rem;
    font-size: .72rem;
}

.upload-log-detail {
    max-height: 65vh;
    overflow: auto;
}
.seller-wallet-summary {
    gap: 0.45rem;
}

.seller-wallet-values {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
}

.seller-wallet-values small {
    color: var(--text-muted);
    font-size: 0.68rem;
    margin-top: 0.15rem;
}

.notification-priority-info {
    background: rgba(var(--primary-rgb), 0.12) !important;
    color: rgb(var(--primary-rgb)) !important;
}

.notification-priority-success {
    background: rgba(var(--success-rgb), 0.12) !important;
    color: rgb(var(--success-rgb)) !important;
}

.notification-priority-warning {
    background: rgba(var(--warning-rgb), 0.16) !important;
    color: rgb(var(--warning-rgb)) !important;
}

.notification-priority-danger {
    background: rgba(var(--danger-rgb), 0.12) !important;
    color: rgb(var(--danger-rgb)) !important;
}

.notification-unread {
    background: rgba(var(--primary-rgb), 0.055);
}

.notification-unread .notification-dropdown-copy p {
    position: relative;
}

.notification-unread .notification-dropdown-copy p::before {
    background: rgb(var(--primary-rgb));
    border-radius: 50%;
    content: '';
    height: 0.4rem;
    left: -0.75rem;
    position: absolute;
    top: 0.4rem;
    width: 0.4rem;
}

#header-notification-scroll {
    max-height: 23rem;
    overflow-y: auto;
}

.notification-dropdown-copy {
    min-width: 0;
}

.notification-dropdown-copy .header-notification-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.login-activity-summary > div {
    background: rgba(var(--primary-rgb), 0.045);
    border-radius: 0.45rem;
    padding: 0.75rem;
}

.login-activity-summary small,
.login-activity-summary strong {
    display: block;
}

.login-activity-summary small {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.profile-login-log {
    max-height: 27rem;
    overflow: auto;
}

.profile-login-log thead th {
    background: var(--custom-white);
    position: sticky;
    top: 0;
    z-index: 1;
}

.seller-collapsed-menu-label {
    background: #111827;
    border-radius: 0.4rem;
    box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    opacity: 0;
    padding: 0.5rem 0.65rem;
    pointer-events: none;
    position: fixed;
    transform: translateY(-50%) translateX(-0.2rem);
    transition: opacity 0.12s ease, transform 0.12s ease;
    visibility: hidden;
    white-space: nowrap;
    z-index: 1100;
}

.seller-collapsed-menu-label.show {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    visibility: visible;
}

.seller-collapsed-submenu {
    background: var(--custom-white, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.55rem;
    box-shadow: 0 0.65rem 1.8rem rgba(15, 23, 42, 0.16);
    min-width: 12.5rem;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    transform: translateX(-0.25rem);
    transition: opacity 0.14s ease, transform 0.14s ease;
    visibility: hidden;
    z-index: 1099;
}

.seller-collapsed-submenu.show {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.seller-collapsed-submenu-title {
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    color: var(--default-text-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.7rem 0.85rem;
}

.seller-collapsed-submenu-links {
    max-height: min(24rem, calc(100vh - 7rem));
    overflow-y: auto;
    padding: 0.35rem;
}

.seller-collapsed-submenu-links .side-menu__item {
    border-radius: 0.4rem;
    color: var(--default-text-color);
    display: block;
    font-size: 0.78rem;
    padding: 0.5rem 0.65rem;
}

.seller-collapsed-submenu-links .side-menu__item:hover,
.seller-collapsed-submenu-links .side-menu__item:focus {
    background: rgba(var(--primary-rgb), 0.09);
    color: rgb(var(--primary-rgb));
}

.company-status-indicator {
    align-items: center;
    background: rgba(15, 23, 42, 0.035);
    border-radius: 0.45rem;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.35rem;
    min-height: 2.35rem;
    padding: 0.55rem 0.7rem;
}

/* Blogixo/iWebMash-style seller workspace navigation. */
.seller-sidebar {
    --seller-rail: 3rem;
    --seller-panel: 12.75rem;
    display: flex;
    width: calc(var(--seller-rail) + var(--seller-panel));
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.seller-module-rail {
    position: relative;
    z-index: 2;
    display: flex;
    width: var(--seller-rail);
    height: 100%;
    flex: 0 0 var(--seller-rail);
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.35rem;
    overflow: visible;
    background: #2d266f;
}

.seller-rail-button {
    position: relative;
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

@media (min-width: 992px) {
    .seller-rail-button[data-menu-label]::after {
        position: absolute;
        top: 50%;
        inset-inline-start: calc(100% + 0.55rem);
        z-index: 1110;
        padding: 0.35rem 0.5rem;
        border-radius: 0.3rem;
        color: #fff;
        background: #24204f;
        box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.16);
        content: attr(data-menu-label);
        font-size: 0.65rem;
        font-weight: 500;
        line-height: 1;
        opacity: 0;
        pointer-events: none;
        transform: translate(0.2rem, -50%);
        transition: opacity 0.12s ease, transform 0.12s ease;
        visibility: hidden;
        white-space: nowrap;
    }

    .seller-rail-button[data-menu-label]:hover::after,
    .seller-rail-button[data-menu-label]:focus::after {
        opacity: 1;
        transform: translate(0, -50%);
        visibility: visible;
    }
}

.seller-rail-button:hover,
.seller-rail-button:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.seller-rail-button.is-active,
.seller-rail-button.active {
    color: #2d266f;
    background: #fff;
}

.seller-rail-toggle {
    margin-bottom: 0.15rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.seller-rail-logout {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.72);
}

.seller-rail-logout:hover,
.seller-rail-logout:focus {
    color: #fff;
    background: rgba(239, 68, 68, 0.72);
}

.seller-section-panel {
    display: flex;
    width: var(--seller-panel);
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: var(--custom-white, #fff);
    border-inline-end: 1px solid rgba(15, 23, 42, 0.08);
}

.seller-section-heading {
    display: flex;
    min-height: 3.15rem;
    flex: 0 0 3.15rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.8rem 0 1rem;
    border-block-end: 1px solid rgba(15, 23, 42, 0.07);
    color: var(--default-text-color, #20263b);
    font-size: 0.92rem;
    font-weight: 700;
}

.seller-section-collapse {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0.35rem;
    color: #777a91;
    background: transparent;
    cursor: pointer;
}

.seller-section-collapse:hover { color: #2d266f; background: rgba(45, 38, 111, 0.08); }

.seller-menu-search {
    position: relative;
    flex: 0 0 auto;
    padding: 0.7rem 0.65rem 0.35rem;
}

.seller-menu-search > .fa-search {
    position: absolute;
    top: 1.3rem;
    inset-inline-start: 1.25rem;
    color: #9699aa;
    font-size: 0.7rem;
}

#seller-menu-filter {
    width: 100%;
    height: 2rem;
    padding: 0 1.9rem 0 1.75rem;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 0.42rem;
    outline: 0;
    color: var(--default-text-color, #374151);
    background: rgba(15, 23, 42, 0.025);
    font-size: 0.7rem;
}

#seller-menu-filter:focus { border-color: rgba(var(--primary-rgb, 132, 90, 223), 0.45); background: #fff; }
#seller-menu-filter::-webkit-search-cancel-button { display: none; }

.seller-menu-search-clear {
    position: absolute;
    top: 0.93rem;
    inset-inline-end: 0.83rem;
    display: none;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border: 0;
    border-radius: 0.3rem;
    color: #777a91;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
}

.seller-menu-search-clear.show { display: inline-flex; align-items: center; justify-content: center; }
.seller-menu-search-clear:hover { color: #2d266f; background: rgba(45, 38, 111, 0.08); }

.seller-sidebar .main-sidebar {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    margin: 0;
    padding: 0.25rem 0.55rem 0.75rem;
    overflow-y: auto;
}

.seller-sidebar .main-menu { padding: 0; }
.seller-menu-section[hidden] { display: none !important; }
.seller-menu-section > .slide[hidden] { display: none !important; }

.seller-sidebar .main-menu > .slide > .side-menu__item {
    min-height: 2.1rem;
    margin: 0.05rem 0;
    padding: 0.3rem 0.45rem;
    border-radius: 0.4rem;
    color: #4c5268;
    font-size: 0.75rem;
}

.seller-sidebar .main-menu > .slide > .side-menu__item:hover,
.seller-sidebar .main-menu > .slide > .side-menu__item:focus,
.seller-sidebar .main-menu > .slide > .side-menu__item.active {
    color: #2d266f;
    background: rgba(45, 38, 111, 0.075);
    transform: none;
}

.seller-sidebar .side-menu__icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-inline-end: 0.4rem;
    border-radius: 0;
    color: #6b6e82;
    background: transparent;
    font-size: 0.72rem;
}

.seller-sidebar .slide-menu.child1 {
    margin: 0.05rem 0 0.25rem 1rem;
    padding: 0 0 0 0.55rem;
    border-inline-start-color: rgba(45, 38, 111, 0.14);
}

.seller-sidebar .slide-menu.child1 .side-menu__item {
    min-height: 1.65rem;
    padding: 0.2rem 0.35rem 0.2rem 0.65rem;
    border-radius: 0.32rem;
    color: #62677b;
    font-size: 0.69rem;
}

.seller-sidebar .slide-menu.child1 .side-menu__item:hover,
.seller-sidebar .slide-menu.child1 .side-menu__item.active { color: #2d266f; background: rgba(45, 38, 111, 0.065); }

.seller-sidebar-footer {
    flex: 0 0 auto;
    padding: 0.7rem 0.85rem;
    border-block-start: 1px solid rgba(15, 23, 42, 0.07);
    color: #8a8d9e;
    font-size: 0.62rem;
}

.seller-sidebar-footer i { margin-inline-end: 0.3rem; color: #49a78a; font-size: 0.42rem; }

@media (min-width: 992px) {
    .app-content { margin-inline-start: 15.75rem; }
    .footer { padding-inline-start: 15.75rem; }
    html.seller-menu-collapsed .seller-sidebar { width: 3rem; }
    html.seller-menu-collapsed .seller-section-panel { display: none; }
    html.seller-menu-collapsed .app-content { margin-inline-start: 3rem; }
    html.seller-menu-collapsed .footer { padding-inline-start: 3rem; }
}

@media (max-width: 991.98px) {
    .seller-sidebar { width: 3rem; transform: none; transition: width 0.2s ease; }
    html[dir='rtl'] .seller-sidebar { transform: none; }
    .seller-sidebar .seller-section-panel { display: none; }
    html.seller-menu-mobile.seller-menu-open .seller-sidebar { width: min(15.75rem, calc(100vw - 1rem)); transform: none; }
    html.seller-menu-mobile.seller-menu-open .seller-section-panel { display: flex; width: calc(100% - 3rem); }
}

.app-content {
    margin-block-start: 3rem;
}

/* Keep the seller workspace aligned with the compact admin shell. */
.seller-sidebar {
    top: 3rem;
    height: calc(100vh - 3rem);
}

.seller-header .main-header-container {
    padding-inline-end: 0.45rem;
}

.seller-header .header-content-right {
    min-width: 0;
    gap: 0.05rem;
}

.seller-header .header-link {
    padding-inline: 0.55rem;
}

.seller-header .seller-wallet-summary {
    height: 2.35rem;
    margin-block: 0.3rem;
    padding-inline: 0.65rem;
    border-radius: 0.5rem;
    background: rgba(45, 38, 111, 0.045);
}

.seller-header .seller-wallet-summary > i {
    color: #2d266f;
}

.seller-wallet-values strong {
    color: #33304f;
    font-size: 0.7rem;
}

.seller-wallet-values small {
    font-size: 0.6rem;
}

.seller-section-panel,
.seller-module-rail,
.seller-header,
.seller-header .main-header-container {
    transition: width 0.2s ease, margin-inline-start 0.2s ease;
}

@media (min-width: 992px) {
    .seller-sidebar ~ .app-content,
    .seller-sidebar ~ .main-content {
        width: calc(100% - 15.75rem);
        min-width: 0;
        margin-inline-start: 15.75rem;
    }

    .seller-sidebar ~ .footer {
        padding-inline-start: 15.75rem;
    }

    html.seller-menu-collapsed .seller-sidebar ~ .app-content,
    html.seller-menu-collapsed .seller-sidebar ~ .main-content {
        width: calc(100% - 3rem);
        margin-inline-start: 3rem;
    }

    html.seller-menu-collapsed .seller-sidebar ~ .footer {
        padding-inline-start: 3rem;
    }
}

@media (max-width: 991.98px) {
    html.seller-menu-mobile.seller-menu-open #responsive-overlay {
        visibility: visible;
        opacity: 1;
    }

    .seller-header-brand {
        min-width: 8.75rem;
    }

    .seller-header .seller-wallet-summary {
        padding-inline: 0.45rem;
    }
}

@media (max-width: 575.98px) {
    .seller-header-brand {
        min-width: 7.25rem;
        flex-basis: 7.25rem;
        padding-inline: 0.45rem;
    }

    .seller-header-brand .header-logo img {
        max-width: 116px;
        height: 30px;
    }

    .seller-wallet-values small {
        display: none;
    }

    .seller-header .header-link {
        padding-inline: 0.4rem;
    }
}

[data-theme-mode='dark'] .seller-section-panel { border-inline-end-color: rgba(255, 255, 255, 0.08); }
[data-theme-mode='dark'] #seller-menu-filter { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); }

/* Shared seller content design, matching the admin workspace in the client palette. */
.client-workspace {
    --client-primary: #2d266f;
    --client-primary-soft: #f1f0fa;
    --client-secondary: #49a78a;
    --client-border: #e7e7f0;
    --client-muted: #85879a;
    --client-text: #37384d;
    background: #f7f8fb;
}

.client-workspace .app-content > .container-fluid {
    min-width: 0;
    max-width: 100%;
    padding-top: 1rem;
}

.client-workspace .seller-page-header {
    min-height: 2.35rem;
    margin: 0 0 0.7rem;
    padding: 0;
}

.client-workspace .seller-page-header .breadcrumb {
    font-size: 0.62rem;
}

.client-workspace .seller-page-header .breadcrumb-item a {
    color: #716d9b;
}

.client-workspace .seller-page-header .breadcrumb-item.active {
    color: var(--client-muted);
}

.client-workspace .custom-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--client-border);
    border-radius: 0.75rem;
    background: var(--custom-white, #fff);
    box-shadow: 0 0.5rem 1.5rem rgba(30, 32, 62, 0.045);
}

.client-workspace .custom-card > .card-header {
    min-height: 3.35rem;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid #eeeeF5;
    background: linear-gradient(135deg, #fbfbfe, #fff);
}

.client-workspace .custom-card > .card-header .card-title {
    color: var(--client-text);
    font-size: 0.78rem;
    font-weight: 700;
}

.client-workspace .custom-card > .card-header small {
    display: block;
    margin-top: 0.1rem;
    color: var(--client-muted);
    font-size: 0.56rem;
}

.client-workspace .custom-card > .card-body {
    min-width: 0;
    padding: 0.9rem;
}

.client-workspace .custom-card > .card-footer {
    padding: 0.6rem 0.85rem;
    border-top: 1px solid #eeeeF5;
    background: #fbfbfd;
}

.client-workspace .form-label {
    margin-bottom: 0.32rem;
    color: #56576d;
    font-size: 0.64rem;
    font-weight: 650;
}

.client-workspace .form-control,
.client-workspace .form-select,
.client-workspace .choices__inner {
    min-height: 2.35rem;
    border-color: #e1e1eb;
    border-radius: 0.5rem;
    color: var(--client-text);
    background-color: #fefeff;
    font-size: 0.7rem;
    box-shadow: none;
}

.client-workspace textarea.form-control {
    min-height: auto;
}

.client-workspace .form-control:focus,
.client-workspace .form-select:focus,
.client-workspace .choices.is-focused .choices__inner,
.client-workspace .choices.is-open .choices__inner {
    border-color: rgba(45, 38, 111, 0.55);
    background-color: #fff;
    box-shadow: 0 0 0 0.18rem rgba(45, 38, 111, 0.08);
}

.client-workspace .form-control[readonly],
.client-workspace .form-control:disabled,
.client-workspace .form-select:disabled {
    color: #737487;
    background: #f4f4f8;
}

.client-workspace .form-text,
.client-workspace form small.text-muted {
    font-size: 0.56rem;
}

.client-workspace .form-check-input:checked {
    border-color: var(--client-primary);
    background-color: var(--client-primary);
}

.client-workspace .form-check-label {
    color: #5e6075;
    font-size: 0.66rem;
}

.client-workspace .btn {
    border-radius: 0.45rem;
    font-size: 0.64rem;
    font-weight: 600;
}

.client-workspace .btn-primary {
    border-color: var(--client-primary);
    background: var(--client-primary);
}

.client-workspace .btn-primary:hover,
.client-workspace .btn-primary:focus {
    border-color: #231d5b;
    background: #231d5b;
}

.client-workspace .btn-light {
    border-color: #e4e4ed;
    color: #626377;
    background: #fff;
}

.client-workspace .btn-light:hover {
    border-color: #cbc9df;
    color: var(--client-primary);
    background: var(--client-primary-soft);
}

.client-workspace .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.client-workspace .table {
    color: #55566a;
    font-size: 0.68rem;
}

.client-workspace .table > :not(caption) > * > * {
    padding: 0.58rem 0.7rem;
    border-bottom-color: #eeeeF4;
}

.client-workspace .table thead th {
    border-bottom-width: 1px;
    color: #68697d;
    background: #f7f7fb;
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.client-workspace .table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: rgba(45, 38, 111, 0.025);
}

.client-workspace .table .btn-group .btn,
.client-workspace .table .btn-sm {
    display: inline-flex;
    width: 1.85rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.client-workspace .badge {
    border-radius: 2rem;
    font-size: 0.56rem;
    font-weight: 700;
}

.client-workspace .pagination {
    justify-content: flex-end;
    gap: 0.18rem;
}

.client-workspace .pagination .page-link {
    display: inline-flex;
    min-width: 1.85rem;
    height: 1.85rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border: 1px solid #e2e2ec;
    border-radius: 0.42rem !important;
    color: #66677a;
    background: #fff;
    font-size: 0.62rem;
    box-shadow: none;
}

.client-workspace .pagination .page-link:hover,
.client-workspace .pagination .page-item.active .page-link {
    border-color: var(--client-primary);
    color: #fff;
    background: var(--client-primary);
}

.client-workspace .modal-content {
    overflow: hidden;
    border: 1px solid rgba(45, 38, 111, 0.12);
    border-radius: 0.85rem;
    box-shadow: 0 1.4rem 4rem rgba(24, 23, 54, 0.18);
}

.client-workspace .modal-header {
    min-height: 3.35rem;
    padding: 0.8rem 1rem;
    border-bottom-color: #ececf3;
    background: linear-gradient(135deg, #f6f5fc, #fff);
}

.client-workspace .modal-title {
    color: var(--client-text);
    font-size: 0.8rem;
    font-weight: 700;
}

.client-workspace .modal-body {
    padding: 1rem;
}

.client-workspace .modal-footer {
    padding: 0.7rem 1rem;
    border-top-color: #ececf3;
    background: #fbfbfd;
}

.client-workspace .modal-footer .btn {
    min-width: 5.25rem;
}

.client-workspace .orders-status-links {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.22rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.client-workspace .orders-status-links .btn {
    padding: 0.22rem 0.55rem;
    font-size: 0.58rem;
}

.client-workspace .account-user-card,
.client-workspace .warehouse-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.client-workspace .account-user-card:hover,
.client-workspace .warehouse-card:hover {
    border-color: rgba(45, 38, 111, 0.24);
    box-shadow: 0 0.65rem 1.5rem rgba(34, 31, 77, 0.08);
    transform: translateY(-2px);
}

.client-workspace .account-user-avatar,
.client-workspace .warehouse-card-icon {
    color: var(--client-primary);
    background: var(--client-primary-soft);
}

.client-workspace .alert {
    border-radius: 0.6rem;
    font-size: 0.66rem;
}

.client-workspace .card-body.text-center.py-5,
.client-workspace .warehouse-empty-state .card-body {
    padding-block: 3rem !important;
    color: var(--client-muted);
}

@media (max-width: 767.98px) {
    .client-workspace .seller-page-header {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .client-workspace .seller-page-actions,
    .client-workspace .seller-page-actions > div {
        width: 100%;
        justify-content: flex-end;
    }

    .client-workspace .custom-card > .card-header {
        align-items: flex-start;
    }

    .client-workspace .pagination {
        flex-wrap: wrap;
    }
}

.company-status-indicator i {
    font-size: 1rem;
}

.company-profile-text {
    display: inline-block;
    min-height: 2rem;
    padding-block: 0.4rem;
}

.kyc-document-card {
    align-items: center;
    background: rgba(15, 23, 42, 0.035);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 0.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 3.25rem;
    padding: 0.55rem 0.7rem;
}

.account-user-card {
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.account-user-card:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 0.55rem 1.4rem rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.account-user-avatar {
    align-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 0.7rem;
    color: rgb(var(--primary-rgb));
    display: inline-flex;
    flex: 0 0 2.75rem;
    font-size: 1.1rem;
    height: 2.75rem;
    justify-content: center;
}

.account-user-detail {
    align-items: center;
    color: var(--default-text-color);
    display: flex;
    font-size: 0.82rem;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.38rem 0;
}

.account-user-detail > i {
    color: var(--text-muted);
    flex: 0 0 1rem;
    text-align: center;
}

.dashboard-report-grid {
    margin-bottom: 0.25rem;
}

.dashboard-report-section-title {
    color: var(--text-muted);
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 0 0.25rem 0.1rem;
    text-transform: uppercase;
}

.dashboard-report-section-spaced {
    margin-top: 0.9rem;
}

.dashboard-report-card {
    border: 0;
    color: inherit;
    margin-bottom: 0;
    min-height: 2.35rem;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.dashboard-report-card .card-body {
    padding: 0.16rem 0.34rem;
}

.dashboard-report-card .card-body > .d-flex {
    align-items: center !important;
}

.dashboard-report-card::before {
    background: var(--report-color);
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 0.18rem;
}

.dashboard-report-card:hover {
    box-shadow: 0 0.65rem 1.5rem rgba(15, 23, 42, 0.1);
    color: inherit;
    transform: translateY(-2px);
}

.dashboard-report-label {
    color: var(--text-muted);
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.1;
    min-height: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-report-value {
    color: var(--default-text-color);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.08rem 0 0;
    white-space: nowrap;
}

.dashboard-report-note {
    display: none;
}

.dashboard-report-icon {
    align-items: center;
    background: color-mix(in srgb, var(--report-color) 13%, transparent);
    border-radius: 0.4rem;
    color: var(--report-color);
    display: inline-flex;
    flex: 0 0 1.05rem;
    font-size: 0.52rem;
    height: 1.05rem;
    justify-content: center;
}

.dashboard-report-primary { --report-color: #4f46e5; }
.dashboard-report-secondary { --report-color: #64748b; }
.dashboard-report-success { --report-color: #16a34a; }
.dashboard-report-warning { --report-color: #d97706; }
.dashboard-report-danger { --report-color: #dc2626; }
.dashboard-report-info { --report-color: #0284c7; }
.dashboard-report-purple { --report-color: #9333ea; }
.dashboard-report-orange { --report-color: #ea580c; }
.dashboard-report-dark { --report-color: #334155; }
.dashboard-report-teal { --report-color: #0d9488; }

@media (max-width: 575.98px) {
    .dashboard-report-card {
        min-height: 2.3rem;
    }

    .dashboard-report-card .card-body {
        padding: 0.14rem 0.3rem;
    }

    .dashboard-report-icon {
        flex-basis: 1rem;
        height: 1rem;
    }
}
.admin-location-search {
    position: relative;
}

.admin-location-results {
    position: absolute;
    z-index: 1085;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    max-height: 210px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}

.admin-location-option {
    display: block;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #334155;
    text-align: left;
}

.admin-location-option:hover,
.admin-location-option:focus {
    background: #fff4e8;
    color: #c45d00;
    outline: 0;
}

#metro-locations {
    scroll-margin-top: 80px;
}

.courier-product-quick-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.courier-product-quick-summary > div {
    min-width: 0;
    padding: 10px;
    border: 1px solid #eee7e1;
    border-radius: 8px;
    background: #fdfbf9;
}

.courier-product-quick-summary small,
.courier-product-quick-summary strong {
    display: block;
}

.courier-product-quick-summary small {
    margin-bottom: 4px;
    color: #8b7b70;
    font-size: .68rem;
}

.courier-product-quick-summary strong {
    overflow: hidden;
    color: #423831;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.courier-product-quick-rates {
    display: grid;
    gap: 18px;
}

.courier-product-quick-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.courier-product-quick-heading span {
    color: #3f352e;
    font-weight: 700;
}

.courier-product-quick-heading small {
    color: #998a80;
}

@media (max-width: 1199.98px) {
    .courier-product-quick-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .courier-product-quick-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Package product selection */
.package-product-search { position: relative; width: min(280px, 45vw); }
.package-product-search > i { color: #94a3b8; left: .65rem; position: absolute; top: .55rem; z-index: 2; }
.package-product-search input { padding-left: 1.9rem; }
.package-product-list { display: grid; gap: .55rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 620px; overflow: auto; }
.package-product-option { align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: .65rem; cursor: pointer; display: flex; gap: .65rem; min-width: 0; padding: .7rem; transition: border-color .15s, background .15s; }
.package-product-option:hover, .package-product-option.is-selected { background: #fff9f0; border-color: #f59e0b; }
.package-product-option > input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.package-product-check { align-items: center; border: 1px solid #cbd5e1; border-radius: .3rem; color: transparent; display: flex; flex: 0 0 1.25rem; height: 1.25rem; justify-content: center; }
.package-product-option.is-selected .package-product-check { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.package-product-copy { min-width: 0; }
.package-product-copy strong, .package-product-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.package-product-copy small { color: #64748b; font-size: .72rem; margin-top: .12rem; }
.package-product-rates { margin-left: auto; }
.package-product-rates a { color: #b45309; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.package-product-rates em { background: #fef3c7; border-radius: 2rem; font-style: normal; padding: .1rem .32rem; }
@media (max-width: 767px) { .package-product-list { grid-template-columns: 1fr; } }

/* Serviceable-pincode zone directories */
.admin-zone-directory { border-width: 1px; overflow: hidden; }
.admin-zone-directory > .card-header { border-bottom-width: 1px; }
.admin-zone-directory > .card-body { background: rgba(255, 255, 255, .82); }
.admin-zone-directory .table { --bs-table-bg: transparent; }
.admin-zone-directory-metro { background: #eff6ff; border-color: #bfdbfe; box-shadow: 0 10px 24px rgba(37, 99, 235, .08); }
.admin-zone-directory-metro > .card-header { background: #dbeafe; border-bottom-color: #bfdbfe; }
.admin-zone-directory-metro .card-title { color: #1d4ed8; }
.admin-zone-directory-metro .card-title i { color: #2563eb; }
.admin-zone-directory-special { background: #faf5ff; border-color: #e9d5ff; box-shadow: 0 10px 24px rgba(126, 34, 206, .08); }
.admin-zone-directory-special > .card-header { background: #f3e8ff; border-bottom-color: #e9d5ff; }
.admin-zone-directory-special .card-title { color: #7e22ce; }
.admin-zone-directory-special .card-title i { color: #9333ea; }

/* Read-only master price charts */
.pricing-chart-list { display: grid; gap: 1rem; }
.pricing-chart-list, .pricing-product-card, .pricing-product-card .card-body, .pricing-product-card .table-responsive { width:100%; min-width:0; max-width:100%; }
.pricing-product-card { overflow: hidden; }
.pricing-product-card .table-responsive { overflow-x:auto; overscroll-behavior-inline:contain; }
.pricing-product-card .table th { background: #fff7ed; color: #7c2d12; font-size: .71rem; letter-spacing: .02em; }
.pricing-product-card .table td { font-size: .76rem; }
.pricing-product-card .table tbody tr:nth-child(5n + 1) td { border-top: 2px solid #fed7aa; }
.rate-delivery-days { min-width: 180px; }
.rate-delivery-days .form-control { min-width: 58px; text-align: center; }

/* Keep wide admin lists inside the content area when navigation is expanded. */
.app-content > .container-fluid, .admin-list-card, .admin-list-body, .admin-list-body > form { min-width:0; max-width:100%; }
.admin-list-body .table-responsive { width:100%; max-width:100%; overflow-x:auto; }
.admin-list-header { flex-wrap:wrap; }
.admin-list-controls { flex-wrap:wrap; }
.courier-products-table { width:100%; table-layout:fixed; }
.courier-products-table th, .courier-products-table td { overflow-wrap:anywhere; white-space:normal; }
.courier-products-table th:nth-child(1) { width:2.5rem; }
.courier-products-table th:nth-child(2) { width:14%; }
.courier-products-table th:nth-child(3), .courier-products-table th:nth-child(4) { width:20%; }
.courier-products-table th:nth-child(5) { width:13%; }
.courier-products-table th:nth-child(6) { width:7rem; }
.courier-products-table th:last-child { width:6.5rem; }
.courier-product-row-actions .btn-group { display:inline-flex; width:auto; gap:0; }
.courier-product-row-actions .btn { display:inline-flex; width:2rem; height:1.85rem; align-items:center; justify-content:center; padding:0; white-space:nowrap; }
@media (min-width:1600px) {
    .courier-products-table { table-layout:auto; }
    .courier-products-table th:last-child { width:auto; }
}

/* Account API credentials */
.admin-account-api-settings { margin-top:1rem; padding:1rem; border:1px solid #e7e5e4; border-radius:.75rem; background:#fafaf9; }
.admin-account-api-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding-bottom:.75rem; border-bottom:1px solid #e7e5e4; }
.admin-account-api-heading strong, .admin-account-api-heading small { display:block; }
.admin-account-api-heading strong { color:#44403c; font-size:.78rem; }
.admin-account-api-heading strong i { color:#d97706; }
.admin-account-api-heading small { margin-top:.2rem; color:#78716c; font-size:.62rem; }
.admin-account-api-heading .form-switch { flex:0 0 auto; margin:0; }
.admin-account-api-heading .form-check-label { font-size:.68rem; font-weight:700; }

/* Admin settings workspace */
.admin-settings-form { padding-bottom:4.5rem; }
.admin-settings-save { position:sticky; z-index:20; bottom:.75rem; display:flex; justify-content:flex-end; margin-top:1rem; padding:.65rem; border:1px solid #eee4dc; border-radius:.65rem; background:rgba(255,255,255,.94); box-shadow:0 .65rem 1.8rem rgba(67,42,20,.1); backdrop-filter:blur(8px); }
.admin-settings-save .btn { min-width:12rem; }
.admin-email-template-editor { min-height:24rem; color:#3f3b38; background:#fff; font-size:.78rem; }
#emailTemplateModal .modal-dialog { width:calc(100vw - 3rem); max-width:96rem; }
.admin-email-template-editor .ql-editor { min-height:24rem; }
.admin-filter-modal .ql-toolbar.ql-snow { border-color:#eadfd5; border-radius:.55rem .55rem 0 0; background:#fffaf4; }
.admin-filter-modal .ql-container.ql-snow { border-color:#eadfd5; border-radius:0 0 .55rem .55rem; }
.admin-surcharge-settings { padding:.8rem; border:1px solid #eee3da; border-radius:.65rem; background:#fdfaf7; }
.admin-surcharge-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding-bottom:.55rem; border-bottom:1px solid #eee5dd; }
.admin-surcharge-heading strong,.admin-surcharge-heading small { display:block; }
.admin-surcharge-heading strong { color:#51463e; font-size:.7rem; }
.admin-surcharge-heading strong i { color:#d8730e; }
.admin-surcharge-heading small { margin-top:.12rem; color:#92857b; font-size:.54rem; }
.admin-surcharge-heading .form-switch { flex:0 0 auto; margin:0; }
.wallet-recharge-balance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}
.wallet-recharge-balance > span {
    padding: .75rem;
    border: 1px solid var(--default-border);
    border-radius: .65rem;
    background: var(--custom-white);
}
.wallet-recharge-balance small,
.wallet-recharge-balance strong { display: block; }
.wallet-recharge-balance strong { margin-top: .2rem; font-size: 1.05rem; }
@media (max-width: 575.98px) { .wallet-recharge-balance { grid-template-columns: 1fr; } }
.delivery-preference-toolbar { display:grid; grid-template-columns:minmax(12rem,.8fr) auto minmax(14rem,1fr); gap:1rem; align-items:end; }
.delivery-preference-help { display:flex; gap:.6rem; align-items:center; min-height:2rem; color:#64748b; font-size:.75rem; }
.delivery-preference-help > i { display:grid; width:2rem; height:2rem; place-items:center; border-radius:.5rem; color:#4f46e5; background:#eef2ff; }
.delivery-preference-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.7rem; }
.delivery-preference-panel-heading > div { display:flex; align-items:center; gap:.6rem; }
.delivery-preference-panel-heading > div > span { display:grid; min-width:2.2rem; height:2rem; padding:0 .45rem; place-items:center; border-radius:.45rem; color:#fff; font-size:.7rem; font-weight:700; }
.delivery-preference-panel-heading strong,.delivery-preference-panel-heading small { display:block; }
.delivery-preference-panel-heading small,.delivery-preference-panel-heading em { color:#94a3b8; font-size:.68rem; font-style:normal; }
.delivery-preference-list { display:grid; gap:.45rem; min-height:2rem; }
.delivery-preference-item { display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; gap:.7rem; align-items:center; padding:.65rem .75rem; border:1px solid #e7e9f2; border-radius:.65rem; background:#fff; }
.delivery-preference-handle { display:grid; width:1.8rem; height:1.8rem; place-items:center; border-radius:.4rem; color:#64748b; background:#f1f5f9; cursor:grab; }
.delivery-preference-handle:active { cursor:grabbing; }
.delivery-preference-rank { display:grid; width:1.55rem; height:1.55rem; place-items:center; border-radius:50%; color:#4338ca; background:#eef2ff; font-size:.68rem; font-weight:700; }
.delivery-preference-item strong,.delivery-preference-item small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.delivery-preference-item strong { color:#27324a; font-size:.78rem; }
.delivery-preference-item small { color:#8a94a8; font-size:.66rem; }
.delivery-rule-context { background:#fafbff; }
@media (max-width:767.98px) { .delivery-preference-toolbar { grid-template-columns:1fr; } .delivery-preference-item { grid-template-columns:auto auto minmax(0,1fr); } .delivery-preference-item .form-switch { grid-column:3; } }
.api-credentials-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(18rem,.9fr); gap:.75rem; }
.api-credential-field { margin-bottom:.8rem; }
.api-credential-field > label,.api-credential-field > small { display:block; color:#8791a5; font-size:.67rem; }
.api-credential-field > div { display:flex; align-items:center; min-width:0; margin-top:.25rem; border:1px solid #e6e9f2; border-radius:.55rem; background:#f8fafc; overflow:hidden; }
.api-credential-field code { flex:1; min-width:0; padding:.6rem .7rem; color:#29334c; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.api-credential-field button { align-self:stretch; width:2.4rem; border:0; border-inline-start:1px solid #e6e9f2; color:#4f46e5; background:#fff; }
.api-access-list { display:grid; gap:.55rem; }
.api-access-list > div { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.65rem; align-items:start; padding:.65rem; border:1px solid #edf0f6; border-radius:.6rem; }
.api-access-list span { display:grid; width:1.8rem; height:1.8rem; place-items:center; border-radius:.45rem; color:#4f46e5; background:#eef2ff; }
.api-access-list small,.api-access-list strong { display:block; overflow-wrap:anywhere; }
.api-access-list small { color:#8a94a8; font-size:.65rem; }.api-access-list strong { color:#34405a; font-size:.75rem; }
.api-webhook-form .input-group { width:100%; }.api-webhook-form .form-control { min-width:0; font-size:.7rem; }
.api-auth-example { margin:0; padding:.85rem; border-radius:.6rem; color:#dbeafe; background:#172033; white-space:pre-wrap; }
@media (max-width:991.98px) { .api-credentials-grid { grid-template-columns:1fr; } }
.channel-platform-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:.75rem}.channel-platform-tile{border:1px solid #e9edf4;background:#fff;border-radius:12px;padding:.85rem .55rem;display:flex;flex-direction:column;align-items:center;gap:.3rem;color:#26334d;transition:.18s ease}.channel-platform-tile:hover{border-color:var(--primary-color,#4b5cf0);box-shadow:0 8px 22px rgba(38,51,77,.08);transform:translateY(-2px)}.channel-platform-tile>span,.channel-list-icon{width:34px;height:34px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:rgba(75,92,240,.1);color:var(--primary-color,#4b5cf0);font-size:1rem}.channel-platform-tile strong{font-size:.78rem}.channel-platform-tile small{font-size:.67rem;color:#8a94a6}.channel-connections-table th{font-size:.72rem;text-transform:uppercase;color:#7a8498}.channel-connections-table td{font-size:.8rem}.channel-oauth-note{background:#f4f7ff;border:1px solid #dce4ff;border-radius:9px;padding:.75rem;color:#40517a}.channel-guide-body [data-guide-platform]{background:#f8f9fc;border-radius:10px;padding:1rem}.channel-guide-body ol{margin:0;padding-left:1.2rem}.channel-guide-body li+li{margin-top:.45rem}.channel-guide-id{display:flex;align-items:center;gap:.6rem;margin-top:1rem;padding:.7rem .85rem;border:1px dashed #ccd4e1;border-radius:9px}.channel-guide-id small{color:#7a8498}.channel-guide-id code{flex:1;font-weight:700}@media(max-width:1199px){.channel-platform-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:575px){.channel-platform-grid{grid-template-columns:repeat(2,1fr)}}
.channel-platform-tile>span{width:48px;height:48px;background:#fff;border:1px solid #edf0f5;padding:5px}.channel-platform-tile>span img,.channel-list-icon img{display:block;width:100%;height:100%;object-fit:contain;border-radius:7px}.channel-list-icon{width:38px;height:38px;background:#fff;border:1px solid #edf0f5;padding:3px;overflow:hidden;flex:0 0 38px}
.channel-platform-tile>.channel-logo-iwebmash{width:104px}.channel-list-icon.channel-logo-iwebmash{width:76px;flex-basis:76px;padding:5px}
.seller-user-summary,.seller-team-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem;margin-bottom:.75rem}.seller-team-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.seller-user-summary>div,.seller-team-summary>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;background:#fff;border:1px solid rgba(15,23,42,.07);border-radius:.65rem;padding:.55rem .7rem;box-shadow:0 3px 10px rgba(15,23,42,.025)}.seller-user-summary span,.seller-team-summary span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:.5rem;background:var(--client-primary-soft);color:var(--client-primary)}.seller-user-summary small,.seller-team-summary small{font-size:.62rem;color:#7d8798}.seller-user-summary strong,.seller-team-summary strong{font-size:1rem;color:#27324a}.seller-user-summary .is-active{background:#e9f8ef;color:#219653}.seller-user-summary .is-disabled{background:#fff0f0;color:#d94a4a}.seller-user-summary .is-verified{background:#edf6ff;color:#2878bd}.seller-user-summary .is-team{background:#fff5e5;color:#d78a16}.seller-user-search{position:relative;width:min(310px,100%)}.seller-user-search i{position:absolute;left:.65rem;top:50%;transform:translateY(-50%);color:#8c95a5;z-index:1}.seller-user-search input{padding-left:1.9rem}.seller-user-grid,.seller-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.seller-user-card,.seller-team-card{border:1px solid rgba(15,23,42,.08);border-radius:.72rem;background:#fff;overflow:hidden;transition:.16s ease}.seller-user-card:hover,.seller-team-card:hover{transform:translateY(-2px);border-color:rgba(45,38,111,.24);box-shadow:0 10px 24px rgba(34,31,77,.07)}.seller-user-card-head,.seller-team-card-head{display:flex;align-items:center;gap:.65rem;padding:.75rem}.seller-user-avatar,.seller-team-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:.65rem;background:linear-gradient(135deg,var(--client-primary),#6d5fd5);color:#fff;font-size:.82rem;font-weight:700}.seller-user-identity,.seller-team-card-head>div{min-width:0;flex:1}.seller-user-identity h6,.seller-team-card-head h6{margin:0;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-user-identity small,.seller-team-card-head small{display:block;margin-top:.12rem;color:#8791a2;font-size:.58rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-user-state{display:inline-flex;align-items:center;gap:.3rem;border-radius:2rem;padding:.22rem .42rem;font-size:.52rem;font-weight:700}.seller-user-state i{font-size:.42rem}.seller-user-state.is-active{background:#e9f8ef;color:#258b50}.seller-user-state.is-disabled{background:#fff0f0;color:#ca4545}.seller-user-access{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #f0f2f6;border-bottom:1px solid #f0f2f6;background:#fafbfc}.seller-user-access>div{padding:.55rem .7rem;min-width:0}.seller-user-access>div+div{border-left:1px solid #edf0f4}.seller-user-access small,.seller-user-access strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seller-user-access small{font-size:.53rem;color:#9098a8}.seller-user-access strong{margin-top:.1rem;font-size:.64rem;color:#354057}.seller-user-contact{display:flex;justify-content:space-between;gap:.55rem;padding:.55rem .7rem;color:#687386;font-size:.58rem}.seller-user-contact span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seller-user-contact i{width:14px;margin-right:.25rem;text-align:center}.seller-user-card-foot,.seller-team-card-foot{display:flex;align-items:center;gap:.55rem;padding:.52rem .7rem;border-top:1px solid #f0f2f6;background:#fcfcfd}.seller-user-card-foot>div:first-child{min-width:0;flex:1}.seller-user-card-foot small{display:block;font-size:.48rem;color:#949cab}.seller-user-card-foot code,.seller-team-card-foot code{font-size:.54rem;color:var(--client-primary)}.seller-user-added{display:flex!important;align-items:center;gap:.25rem;white-space:nowrap}.seller-owner-lock{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#9da5b2}.seller-users-empty{grid-column:1/-1;text-align:center;padding:2.5rem;color:#7e8899}.seller-users-empty>span{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:.75rem;background:var(--client-primary-soft);color:var(--client-primary);font-size:1rem}.seller-users-empty h6{margin:.7rem 0 .2rem}.seller-users-empty p{font-size:.65rem;margin:0}.seller-modal-heading{display:flex;align-items:center;gap:.65rem}.seller-modal-heading>span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:.6rem;background:var(--client-primary-soft);color:var(--client-primary)}.seller-modal-heading h6{margin:0}.seller-modal-heading small{font-size:.6rem;color:#818b9c}.seller-user-modal-note{height:100%;min-height:60px;display:flex;align-items:center;gap:.6rem;padding:.7rem;border-radius:.55rem;background:#f4f6fb;color:#667187;font-size:.64rem}.seller-team-icon{background:var(--client-primary-soft);color:var(--client-primary)}.seller-team-count{padding:.2rem .4rem;border-radius:2rem;background:#f1f3f7;color:#697386;font-size:.52rem;font-weight:700}.seller-team-permissions{min-height:150px;max-height:210px;overflow:auto;border-top:1px solid #eef0f4}.seller-team-permissions>div{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.42rem .7rem;border-bottom:1px solid #f2f3f6;font-size:.6rem}.seller-team-permissions i{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:.3rem;font-style:normal;font-size:.48rem;font-weight:700}.seller-team-permissions .is-read{background:#e8f4ff;color:#2876b8}.seller-team-permissions .is-edit{background:#fff5dc;color:#b87808}.seller-team-permissions .is-delete{background:#ffeaea;color:#c63f3f}.seller-team-card-foot code{flex:1}.team-permission-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.45rem}.team-permission-toolbar>span{font-size:.68rem;font-weight:700}.team-permission-wrap{max-height:430px;border:1px solid #e7eaf0;border-radius:.55rem}.team-permission-table thead{position:sticky;top:0;background:#f6f7fa;z-index:1}.team-permission-table td,.team-permission-table th{padding:.42rem .55rem}.team-permission-table td strong,.team-permission-table td small{display:block}.team-permission-table td strong{font-size:.62rem}.team-permission-table td small{font-size:.48rem;color:#929aa8}.seller-team-no-access{color:#929aa8!important;justify-content:center!important;padding:2rem!important}@media(max-width:1199px){.seller-user-grid,.seller-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.seller-user-summary,.seller-team-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-user-grid,.seller-team-grid{grid-template-columns:1fr}.seller-user-search{width:100%}}
.dashboard-live-card .card-header small{font-size:.58rem;color:#8892a3}.dashboard-daily-chart{height:210px;display:flex;align-items:flex-end;justify-content:space-around;gap:.75rem;padding:.25rem .5rem}.dashboard-daily-column{height:100%;flex:1;display:grid;grid-template-rows:18px 1fr 16px 16px;text-align:center;min-width:0}.dashboard-daily-value{font-size:.58rem;font-weight:700;color:#4a556b}.dashboard-daily-track{position:relative;width:min(38px,70%);height:100%;margin:auto;background:#f0f2f7;border-radius:.35rem .35rem .1rem .1rem;overflow:hidden}.dashboard-daily-track span{position:absolute;left:0;right:0;bottom:0;min-height:2px;background:linear-gradient(180deg,#6558d3,var(--client-primary));border-radius:.35rem .35rem .1rem .1rem}.dashboard-daily-column strong{font-size:.56rem;color:#536077}.dashboard-daily-column small{font-size:.48rem;color:#929aa9;white-space:nowrap}.dashboard-status-list{display:grid;gap:.38rem}.dashboard-status-list a{display:grid;grid-template-columns:8px 1fr auto 90px;align-items:center;gap:.5rem;color:#465169;padding:.28rem 0}.dashboard-status-dot{width:8px;height:8px;border-radius:50%;background:#7e8797}.dashboard-status-list strong{font-size:.62rem}.dashboard-status-list em{font-size:.58rem;font-style:normal;font-weight:700}.dashboard-status-bar{height:5px;background:#eef0f4;border-radius:5px;overflow:hidden}.dashboard-status-bar i{display:block;height:100%;background:var(--client-primary);border-radius:5px}.dashboard-status-dot.status-0,.dashboard-order-status.status-0{background:#fff3d5;color:#9b6b05}.dashboard-status-dot.status-1,.dashboard-order-status.status-1{background:#e5f4ff;color:#2571a8}.dashboard-status-dot.status-2,.dashboard-order-status.status-2{background:#eeeaff;color:#5f4cba}.dashboard-status-dot.status-3,.dashboard-order-status.status-3{background:#e7f7f4;color:#197a6b}.dashboard-status-dot.status-4,.dashboard-order-status.status-4{background:#e7f7ed;color:#24844a}.dashboard-status-dot.status-5,.dashboard-order-status.status-5{background:#fff0de;color:#a8620d}.dashboard-status-dot.status-6,.dashboard-order-status.status-6{background:#eef0f3;color:#596273}.dashboard-status-dot.status-7,.dashboard-order-status.status-7{background:#ffeaea;color:#be4141}.dashboard-live-table th{font-size:.52rem;text-transform:uppercase;color:#8992a1;background:#fafbfc}.dashboard-live-table td{font-size:.59rem;padding:.55rem .65rem}.dashboard-live-table td>a strong,.dashboard-live-table td>a small,.dashboard-live-table td>strong,.dashboard-live-table td>small{display:block}.dashboard-live-table td>a small,.dashboard-live-table td>small{font-size:.48rem;color:#929aa9}.dashboard-source-badge{display:inline-flex;align-items:center;gap:.25rem;color:#59657a}.dashboard-order-status{font-size:.48rem}.dashboard-product-list,.dashboard-upload-list{display:grid}.dashboard-product-list>div,.dashboard-upload-list>a{display:flex;align-items:center;gap:.55rem;padding:.46rem 0;border-bottom:1px solid #f0f2f5}.dashboard-product-list>div:last-child,.dashboard-upload-list>a:last-child{border-bottom:0}.dashboard-product-rank,.dashboard-upload-list>a>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:.5rem;background:var(--client-primary-soft);color:var(--client-primary);font-size:.55rem;font-weight:700}.dashboard-product-list>div>div,.dashboard-upload-list>a>div{min-width:0;flex:1}.dashboard-product-list strong,.dashboard-product-list small,.dashboard-upload-list strong,.dashboard-upload-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-product-list strong,.dashboard-upload-list strong{font-size:.61rem;color:#414d64}.dashboard-product-list small,.dashboard-upload-list small{font-size:.49rem;color:#929aa9}.dashboard-product-list em,.dashboard-upload-list em{font-size:.55rem;font-style:normal;font-weight:700;white-space:nowrap}.dashboard-data-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;min-height:130px;color:#929aa9;font-size:.62rem;text-align:center}.dashboard-data-empty i{font-size:1.2rem;color:var(--client-primary)}@media(max-width:575px){.dashboard-status-list a{grid-template-columns:8px 1fr auto}.dashboard-status-bar{display:none}.dashboard-daily-chart{gap:.25rem;padding:0}.dashboard-daily-track{width:70%}}
.dashboard-report-groups{margin-bottom:.35rem}.dashboard-report-group{border:1px solid rgba(15,23,42,.065);box-shadow:0 4px 14px rgba(15,23,42,.025)}.dashboard-report-group .card-header{gap:.65rem;padding:.62rem .75rem;border-bottom:1px solid #f0f2f5;background:#fcfcfd}.dashboard-report-group .card-header small{font-size:.52rem;color:#9098a7}.dashboard-report-group-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:.55rem;background:var(--client-primary-soft);color:var(--client-primary)}.dashboard-report-group .card-body{padding:.35rem .5rem}.dashboard-report-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-group-metric{display:flex;align-items:center;gap:.45rem;min-width:0;padding:.5rem .4rem;color:#3e4960;border-right:1px solid #f0f2f5;border-bottom:1px solid #f0f2f5;transition:background .15s ease}.dashboard-group-metric:nth-child(3n){border-right:0}.dashboard-group-metric:hover{background:#f8f9fc}.dashboard-group-metric>span{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex:0 0 25px;border-radius:.45rem;background:#f1f3f7;color:#788296;font-size:.62rem}.dashboard-group-metric>div{min-width:0}.dashboard-group-metric small,.dashboard-group-metric strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-group-metric small{font-size:.48rem;color:#8b94a4}.dashboard-group-metric strong{margin-top:.05rem;font-size:.68rem;color:#303b52}.dashboard-group-success>span{background:#eaf7ef;color:#25824c}.dashboard-group-danger>span{background:#ffeded;color:#c34848}.dashboard-group-warning>span,.dashboard-group-orange>span{background:#fff5e2;color:#b5780c}.dashboard-group-info>span,.dashboard-group-teal>span{background:#eaf6f7;color:#247b81}.dashboard-group-primary>span,.dashboard-group-purple>span{background:var(--client-primary-soft);color:var(--client-primary)}@media(max-width:575px){.dashboard-report-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-group-metric:nth-child(3n){border-right:1px solid #f0f2f5}.dashboard-group-metric:nth-child(2n){border-right:0}}
.dashboard-group-metric small{font-size:.56rem;line-height:1.25;color:#7f899a}.dashboard-group-metric strong{margin-top:.08rem;font-size:.72rem}
.admin-dashboard-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem}.admin-dashboard-metric{display:flex;align-items:center;gap:.55rem;min-width:0;padding:.58rem .65rem;border:1px solid #eee8e2;border-radius:.62rem;background:#fff;color:#544a43;box-shadow:0 3px 10px rgba(81,60,44,.025);transition:.15s ease}.admin-dashboard-metric:hover{transform:translateY(-1px);border-color:#e7c7a8;box-shadow:0 8px 18px rgba(114,71,35,.07)}.admin-dashboard-metric>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:.5rem;background:#fff1e5;color:#d56e10}.admin-dashboard-metric>div{min-width:0}.admin-dashboard-metric small,.admin-dashboard-metric strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-dashboard-metric small{font-size:.54rem;color:#978a80}.admin-dashboard-metric strong{margin-top:.08rem;font-size:.75rem;color:#493f38}.admin-dashboard-metric.is-green>span{background:#eaf7ef;color:#27824d}.admin-dashboard-metric.is-blue>span{background:#eaf4fc;color:#327aa8}.admin-dashboard-metric.is-red>span{background:#ffeded;color:#c44d47}.admin-dashboard-metric.is-purple>span{background:#f1ecfb;color:#7655a8}.admin-dashboard-card{border-color:#eee8e2;box-shadow:0 4px 14px rgba(81,60,44,.025)}.admin-dashboard-card .card-header{background:#fefdfc;border-bottom-color:#f0ebe6}.admin-dashboard-card .card-header small{font-size:.55rem;color:#968a81}.admin-dashboard-table th{font-size:.5rem;text-transform:uppercase;color:#9c8f84;background:#fdfbf9}.admin-dashboard-table td{padding:.52rem .6rem;font-size:.58rem}.admin-dashboard-table td strong,.admin-dashboard-table td small{display:block}.admin-dashboard-table td strong{font-size:.6rem;color:#51463f}.admin-dashboard-table td small{font-size:.48rem;color:#9a8e84}.admin-dash-state{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem .34rem;border-radius:2rem;font-size:.46rem;font-weight:700}.admin-dash-state.is-good{background:#eaf7ef;color:#27824d}.admin-dash-state.is-bad{background:#ffeded;color:#bf4943}.admin-dash-state.is-info{background:#eaf4fc;color:#327aa8}.admin-dash-state.is-warn{background:#fff4df;color:#ad720c}.admin-dashboard-list{display:grid}.admin-dashboard-list>a{display:flex;align-items:center;gap:.55rem;padding:.48rem 0;border-bottom:1px solid #f1ece8;color:#5a4e46}.admin-dashboard-list>a:last-child{border-bottom:0}.admin-dashboard-list>a>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:.5rem;background:#fff1e5;color:#d56e10}.admin-dashboard-list>a>span.is-kyc{background:#f1ecfb;color:#7655a8}.admin-dashboard-list>a>span.is-money{background:#eaf7ef;color:#27824d}.admin-dashboard-list>a>div{min-width:0;flex:1}.admin-dashboard-list strong,.admin-dashboard-list small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-dashboard-list strong{font-size:.59rem}.admin-dashboard-list small{font-size:.48rem;color:#9a8e84}.admin-dashboard-list em{text-align:right;font-size:.58rem;font-style:normal;font-weight:700}.admin-dashboard-list em small{margin-top:.1rem;font-size:.44rem}.admin-dashboard-list .status-paid{color:#27824d}.admin-dashboard-list .status-failed,.admin-dashboard-list .status-cancelled,.admin-dashboard-list .status-reversed{color:#bf4943}.admin-dashboard-list .status-created,.admin-dashboard-list .status-unpaid,.admin-dashboard-list .status-partial{color:#ad720c}.admin-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.admin-channel-grid>div{display:flex;align-items:center;gap:.5rem;min-width:0;padding:.55rem;border:1px solid #f0ebe6;border-radius:.58rem;background:#fefdfc}.admin-channel-grid>div>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:.5rem;background:#eaf4fc;color:#327aa8}.admin-channel-grid>div>div{min-width:0;flex:1}.admin-channel-grid strong,.admin-channel-grid small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-channel-grid strong{font-size:.58rem}.admin-channel-grid small{font-size:.46rem;color:#9a8e84}.admin-channel-grid em{text-align:right;font-size:.5rem;font-style:normal;font-weight:700;color:#27824d}.admin-dashboard-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;min-height:100px;color:#9a8e84;font-size:.58rem;text-align:center}.admin-dashboard-empty i{font-size:1.05rem;color:#d56e10}@media(max-width:1199px){.admin-dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.admin-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-channel-grid{grid-template-columns:1fr}}

/* AJAX dashboard date range */
.dashboard-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.55rem;padding:.5rem .65rem;border:1px solid rgba(15,23,42,.07);border-radius:.65rem;background:#fff;box-shadow:0 3px 12px rgba(15,23,42,.025)}
.dashboard-filter-copy,.dashboard-filter-controls,.dashboard-custom-range{display:flex;align-items:center;gap:.5rem}
.dashboard-filter-copy>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:.5rem;background:var(--client-primary-soft);color:var(--client-primary)}
.dashboard-filter-copy strong,.dashboard-filter-copy small{display:block}.dashboard-filter-copy strong{font-size:.67rem;color:#354057}.dashboard-filter-copy small{font-size:.5rem;color:#8a94a5}
.dashboard-filter-controls .form-select{width:135px}.dashboard-custom-range .form-control{width:132px}.dashboard-custom-range>span{font-size:.52rem;color:#8a94a5}
.dashboard-report-state{display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:160px;border:1px dashed #dddfe8;border-radius:.65rem;background:#fafbfc;color:#788396;font-size:.64rem}
.dashboard-report-state.is-error{min-height:95px;color:#bd4848;background:#fffafa;border-color:#f0caca}
.dashboard-range-caption{display:flex;align-items:center;justify-content:flex-end;gap:.3rem;margin:-.1rem 0 .35rem;color:#8791a2;font-size:.52rem}.dashboard-range-caption i{color:var(--client-primary)}
@media(max-width:767px){.dashboard-filter-bar{align-items:flex-start;flex-direction:column}.dashboard-filter-controls{width:100%;flex-wrap:wrap}.dashboard-filter-controls .form-select{flex:1}.dashboard-custom-range{width:100%;order:3}.dashboard-custom-range .form-control{flex:1;width:auto}}

/* Client shipping rate calculator */
.rate-calculator-card,.rate-result-card{border-color:rgba(15,23,42,.07);box-shadow:0 5px 18px rgba(15,23,42,.035)}
.rate-calculator-card .form-label{margin-bottom:.25rem;font-size:.58rem;font-weight:700;color:#657086}
.rate-result-empty{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8a94a5}.rate-result-empty>span{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:.65rem;border-radius:.75rem;background:var(--client-primary-soft);color:var(--client-primary);font-size:1rem}.rate-result-empty h6{margin:0 0 .2rem;color:#465169}.rate-result-empty p{max-width:310px;margin:0;font-size:.6rem}.rate-result-empty.is-error>span{background:#ffeded;color:#c34848}
.rate-result-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding-bottom:.75rem;border-bottom:1px solid #eef0f4}.rate-result-summary small,.rate-result-summary strong,.rate-result-summary em{display:block}.rate-result-summary small{font-size:.52rem;color:#8d96a6}.rate-result-summary strong{margin-top:.08rem;font-size:.85rem;color:#303b52}.rate-result-summary em{margin-top:.1rem;font-size:.52rem;font-style:normal;color:#818b9c}.rate-zone-badge{display:inline-flex;padding:.3rem .5rem;border-radius:.4rem;background:#64748b;color:#fff;font-size:.54rem;font-weight:700;white-space:nowrap}
.rate-route-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.65rem;margin:.75rem 0;padding:.65rem;border-radius:.6rem;background:#fafbfc}.rate-route-grid>div:last-child{text-align:right}.rate-route-grid small,.rate-route-grid strong{display:block}.rate-route-grid small{font-size:.49rem;color:#929baa}.rate-route-grid strong{margin-top:.1rem;font-size:.59rem;color:#465169}.rate-route-grid>i{color:var(--client-primary)}
.rate-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-bottom:.75rem}.rate-fact-grid>div{padding:.5rem .55rem;border:1px solid #edf0f4;border-radius:.5rem}.rate-fact-grid small,.rate-fact-grid strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rate-fact-grid small{font-size:.47rem;color:#929baa}.rate-fact-grid strong{margin-top:.08rem;font-size:.58rem;color:#465169}
.rate-breakdown{border-top:1px solid #eef0f4}.rate-breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem 0;border-bottom:1px solid #f1f3f6;font-size:.59rem;color:#606b7e}.rate-breakdown-row strong{color:#344057}.rate-result-total{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.7rem;padding:.65rem .75rem;border-radius:.6rem;background:linear-gradient(135deg,var(--client-primary),#6558d3);color:#fff}.rate-result-total span{font-size:.64rem}.rate-result-total strong{font-size:1.05rem}.rate-result-note{margin:.55rem 0 0;text-align:right;font-size:.48rem;color:#929baa}
@media(max-width:575px){.rate-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rate-route-grid{grid-template-columns:1fr}.rate-route-grid>div:last-child{text-align:left}.rate-route-grid>i{transform:rotate(90deg)}}

/* Mobile workspace: compact header offset and accessible navigation drawer. */
.workspace-mobile-menu-button { display: none; }
@media (max-width: 991.98px) {
    .seller-header .workspace-mobile-menu-button,
    .admin-header .workspace-mobile-menu-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        font-size: 1.1rem;
    }
    .seller-header .header-content-left,
    .admin-header .header-content-left { min-width: 0; flex-shrink: 0; }
    .seller-header-brand { min-width: 0; }
    .seller-header .header-logo img,
    .admin-header .horizontal-logo .desktop-logo { max-width: 110px; height: 30px; object-fit: contain; }
    .admin-header .horizontal-logo { min-width: 0; padding-inline: .25rem; }
    html .seller-sidebar ~ .main-content.app-content,
    html .admin-workspace-sidebar ~ .main-content.app-content {
        margin-block-start: 3rem !important;
        margin-inline: 0 !important;
        padding-block-start: 0 !important;
        width: 100% !important;
        min-width: 0;
    }
    .seller-sidebar ~ .app-content > .container-fluid,
    .admin-workspace-sidebar ~ .app-content > .container-fluid { padding-top: .6rem; padding-inline: .65rem; }
    html .seller-sidebar,
    html .admin-workspace-sidebar {
        top: 3rem !important;
        height: calc(100dvh - 3rem) !important;
        inset-inline-start: 0 !important;
        width: min(17rem, calc(100vw - 2rem)) !important;
        transform: translateX(-110%) !important;
        z-index: 1040;
    }
    html.seller-menu-open .seller-sidebar,
    html.admin-menu-open .admin-workspace-sidebar { transform: translateX(0) !important; }
    html.seller-menu-open .seller-section-panel,
    html.admin-menu-open .admin-section-panel { display: flex; width: calc(100% - 3rem); }
    html.seller-menu-open #responsive-overlay,
    html.admin-menu-open #responsive-overlay { top: 3rem; z-index: 1039; visibility: visible; opacity: 1; }
    .seller-sidebar ~ .footer,
    .admin-workspace-sidebar ~ .footer { padding-inline-start: 0 !important; }
}

/* Full-width mobile workspaces and wrapping order actions. */
@media (max-width: 991.98px) {
    html .seller-sidebar ~ .main-content.app-content,
    html .admin-workspace-sidebar ~ .main-content.app-content {
        padding-inline: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    html .seller-sidebar ~ .app-content > .container-fluid,
    html .admin-workspace-sidebar ~ .app-content > .container-fluid {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-inline: .35rem;
    }
    .client-workspace .seller-page-header {
        flex-wrap: wrap;
        align-items: center;
        gap: .4rem;
        min-width: 0;
    }
    .client-workspace .seller-page-heading { flex: 1 1 100%; max-width: 100%; }
    .client-workspace .seller-page-heading nav { min-width: 0; max-width: 100%; }
    .client-workspace .seller-page-heading .breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
    .client-workspace .seller-page-actions {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .client-workspace .seller-page-actions > div {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: .4rem !important;
        width: 100%;
    }
    .seller-orders-card { min-width: 0; max-width: 100%; }
    .seller-orders-card > .card-header { min-width: 0; padding: .65rem; }
    .seller-orders-card .orders-status-links {
        display: flex;
        flex: 1 1 100%;
        flex-wrap: wrap;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: visible;
    }
    .seller-orders-card > .card-header > form { flex: 1 1 100%; width: 100%; min-width: 0; }
    .seller-orders-card > .card-header > form input[type='search'] { flex: 1 1 0; width: 0; min-width: 0; }
    .seller-orders-card > .card-header > form .btn { flex-shrink: 0; }
    .seller-orders-card .table-responsive { width: 100%; max-width: 100%; overflow-x: auto; }
}

/* Orders retain their desktop table and use cards on small screens. */
.seller-orders-mobile { display: none; }
@media (max-width: 767.98px) {
    .seller-orders-card .seller-orders-desktop { display: none; }
    .seller-orders-mobile { display: grid; gap: .65rem; padding: .6rem; background: #f7f8fb; }
    .seller-order-mobile-card { min-width: 0; border: 1px solid var(--client-border, #e7e7f0); border-radius: .8rem; background: #fff; box-shadow: 0 3px 12px rgba(45,38,111,.04); overflow: hidden; }
    .seller-order-mobile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; padding: .75rem; border-bottom: 1px solid #f0eff7; }
    .seller-order-mobile-head > div { min-width: 0; overflow-wrap: anywhere; }
    .seller-order-mobile-head strong { display: block; color: var(--client-primary, #2d266f); font-size: .85rem; }
    .seller-order-mobile-head small { display: block; margin-top: .15rem; color: #85879a; font-size: .65rem; }
    .seller-order-mobile-head .badge { flex-shrink: 0; font-size: .65rem; }
    .seller-order-mobile-customer { display: flex; gap: .6rem; align-items: center; padding: .7rem .75rem; }
    .seller-order-mobile-avatar { display: grid; place-items: center; flex: 0 0 2rem; height: 2rem; border-radius: .6rem; background: var(--client-primary-soft, #f1f0fa); color: var(--client-primary, #2d266f); }
    .seller-order-mobile-customer > div { min-width: 0; overflow-wrap: anywhere; }
    .seller-order-mobile-customer strong { display: block; font-size: .8rem; }
    .seller-order-mobile-customer small { display: block; color: #85879a; font-size: .7rem; }
    .seller-order-mobile-facts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .7rem .5rem; margin: 0; padding: .2rem .75rem .8rem; }
    .seller-order-mobile-facts > div { min-width: 0; }
    .seller-order-mobile-facts dt { color: #85879a; font-size: .65rem; font-weight: 500; }
    .seller-order-mobile-facts dd { margin: .15rem 0 0; font-weight: 600; font-size: .75rem; overflow-wrap: anywhere; }
    .seller-order-mobile-facts dd small { font-size: .65rem; color: #85879a; font-weight: 400; }
    .seller-order-mobile-facts .seller-order-mobile-amount { color: var(--client-primary, #2d266f); font-size: .95rem; }
    .seller-order-payment { color: #16865a; font-size: .7rem; }
    .seller-order-payment.is-cod { color: #b7791f; }
    .seller-order-mobile-blocked { padding: .4rem .75rem; color: #b42318; background: #fff1f0; font-size: .7rem; }
    .seller-order-mobile-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; padding: .55rem .75rem; border-top: 1px solid #f0eff7; }
}

/* Compact mobile order cards. */
@media (max-width: 767.98px) {
    .seller-orders-mobile { gap: .45rem; padding: .4rem; }
    .seller-order-mobile-head { padding: .45rem .6rem; }
    .seller-order-mobile-head strong { font-size: .8rem; }
    .seller-order-mobile-head small { margin-top: 0; font-size: .6rem; }
    .seller-order-mobile-customer { padding: .4rem .6rem; gap: .45rem; }
    .seller-order-mobile-avatar { flex-basis: 1.65rem; height: 1.65rem; border-radius: .4rem; }
    .seller-order-mobile-customer strong { font-size: .75rem; }
    .seller-order-mobile-customer small { font-size: .65rem; }
    .seller-order-mobile-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem .4rem; padding: .15rem .6rem .45rem; }
    .seller-order-mobile-facts dt { font-size: .6rem; }
    .seller-order-mobile-facts dd { margin-top: .05rem; font-size: .7rem; line-height: 1.3; }
    .seller-order-mobile-facts dd small { display: block; font-size: .6rem; }
    .seller-order-mobile-facts .seller-order-mobile-amount { font-size: .85rem; }
    .seller-order-mobile-actions { padding: .35rem .6rem; gap: .4rem; }
    .seller-order-mobile-actions .btn { padding: .25rem .5rem; font-size: .65rem; }
    .seller-order-mobile-blocked { padding: .25rem .6rem; font-size: .65rem; }
}

/* Admin branding remains visible in the compact mobile header. */
.admin-header-user-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff3e0; color: #d67417; font-size: 1rem; }
@media (max-width: 991.98px) {
    .admin-header .header-content-left .horizontal-logo .header-logo { display: inline-flex !important; visibility: visible; align-items: center; }
    .admin-header .header-content-left .horizontal-logo .header-logo .desktop-logo { display: block !important; visibility: visible; width: auto; height: 30px; max-width: 110px; }
    .admin-header .header-content-left > .header-element { display: flex !important; min-width: 0; }
}

/* Keep KYC list headings and account names aligned on small screens. */
@media (max-width: 767.98px) {
    .admin-kyc-card-head > div { text-align: start; min-width: 0; flex: 1; }
    .admin-kyc-card-head h2 { text-align: start; overflow-wrap: anywhere; }
    .admin-workspace-sidebar ~ .app-content .admin-list-card > .card-header { text-align: start; justify-content: space-between; }
    .admin-workspace-sidebar ~ .app-content .admin-list-card .card-title { text-align: start; margin-inline-start: 0; }
}
.admin-kyc-document-dots a.has-file { display: inline-flex; align-items: center; gap: .2rem; padding: .25rem .4rem; border-radius: .3rem; color: #16795a; background: #eaf8f2; font-size: .65rem; }
.admin-kyc-document-dots a.has-file:hover { background: #d5f1e5; }

/* Mobile list titles occupy their own row without inherited centering. */
@media (max-width: 767.98px) {
    html .admin-list-card > .card-header.admin-list-header {
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: .6rem .65rem;
        gap: .6rem;
    }
    html .admin-list-card > .admin-list-header > div:first-child {
        align-self: stretch;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    html .admin-list-header > div:first-child > .card-title,
    html .admin-list-header > div:first-child > small {
        display: block;
        width: 100%;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        text-align: left !important;
    }
    html .admin-list-header .admin-list-controls { margin-inline: 0; }
}

/* Shared panel headings align consistently in Client and Admin. */
html .main-content .card.custom-card > .card-header .card-title {
    text-align: start !important;
    margin-inline-start: 0 !important;
    padding-inline-start: 0 !important;
}
html .main-content .card.custom-card > .card-header > .card-title,
html .main-content .card.custom-card > .card-header > div:has(> .card-title) {
    margin-inline-start: 0 !important;
    text-align: start !important;
    min-width: 0;
}
@media (max-width: 991.98px) {
    html .main-content .card.custom-card > .card-header { justify-content: space-between !important; }
    html .main-content .card.custom-card > .card-header > .card-title,
    html .main-content .card.custom-card > .card-header > div:has(> .card-title) {
        align-self: flex-start;
        max-width: 100%;
        padding-inline-start: 0 !important;
    }
    html .main-content .card.custom-card > .card-header > div:has(> .card-title) > small { text-align: start !important; }
}

/* Panel-title accents follow each workspace palette. */
html .admin-workspace-sidebar ~ .main-content .card.custom-card .card-header .card-title::before {
    background: #df760b !important;
}
html .client-workspace .main-content .card.custom-card .card-header .card-title::before {
    background: var(--client-primary, #2d266f) !important;
}

/* Account directory: desktop rows and mobile cards with owner contact details. */
.admin-accounts-mobile-cards { display: none; }
.admin-account-owner-contact { display: grid; gap: .35rem; padding: .65rem .75rem; border-top: 1px solid #f1e9e2; }
.admin-account-owner-contact > div { display: flex; align-items: center; gap: .5rem; min-width: 0; font-size: .75rem; }
.admin-account-owner-contact > div > i { width: 1rem; flex-shrink: 0; color: #d67417; }
.admin-account-owner-contact span { min-width: 0; overflow-wrap: anywhere; }
.admin-account-owner-contact small { display: block; color: #85879a; font-size: .65rem; }
.admin-account-owner-contact strong { font-size: .8rem; }
@media (max-width: 991.98px) {
    .admin-accounts-desktop-list { display: none; }
    .admin-account-grid.admin-accounts-mobile-cards { display: grid; grid-template-columns: 1fr; }
}

.seller-header-kyc-alert { display:inline-flex; align-items:center; gap:.35rem; padding:.35rem .5rem; border:1px solid #fecaca; border-radius:.4rem; background:#fff1f2; color:#b42318; font-size:.7rem; font-weight:600; white-space:nowrap; }
.seller-header-kyc-alert:hover { color:#991b1b; background:#ffe4e6; }
@media(max-width:575.98px){ .seller-header-kyc-alert span{display:none} .seller-header-kyc-alert{padding:.35rem} }

/* Dashboard headings use icons without an overlapping title accent. */
html .client-workspace .dashboard-live-card .card-header .card-title::before,
html .client-workspace .dashboard-report-group .card-header .card-title::before { content: none !important; display: none !important; }
.dashboard-title-icon { display: inline-block; width: 1.1rem; margin-inline-end: .45rem; color: var(--client-primary, #2d266f); text-align: center; }
.client-workspace .dashboard-report-group > .card-header { gap: .6rem; }
.client-workspace .dashboard-live-card .card-title { display: flex; align-items: center; gap: 0; }

.admin-courier-workspace.developer-aggregator-workspace { display:block; }
.developer-aggregator-workspace .admin-courier-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:.75rem; }
.shipping-quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    padding: 1rem;
    background: #f5f6ff;
    border: 1px solid #e7e7f4;
    border-radius: .75rem;
}
.shipping-quote-grid small, .shipping-quote-grid strong { display: block; }
.shipping-quote-grid small { color: #74798a; margin-bottom: .2rem; }
.shipping-quote-grid strong { color: #4338ca; overflow-wrap: anywhere; }
.orders-search-drawer { --bs-offcanvas-width: 510px; max-width: 100vw; }
.admin-orders-search .orders-filter-group > summary { color: #a64f08; background: #fff7ed; }
.admin-orders-search .orders-filter-group > summary:focus-visible { outline-color: #df760b; }
.orders-search-drawer .offcanvas-body { padding-top: .5rem; }
.orders-filter-section { display: block; font-weight: 700; color: #4f46e5; border-bottom: 1px solid #e7e8ee; padding-bottom: .5rem; }
.orders-search-footer { display: flex; justify-content: space-between; gap: .75rem; padding: 1rem; border-top: 1px solid #e7e8ee; }
.orders-filter-group { border: 1px solid var(--default-border, #e7e8ee); border-radius: .65rem; margin-bottom: .65rem; overflow: hidden; }
.orders-filter-group > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; list-style: none; cursor: pointer; padding: .8rem; font-weight: 600; color: #4338ca; background: #f7f7fd; }
.orders-filter-group > summary::-webkit-details-marker { display: none; }
.orders-filter-group[open] > summary > .fa-angle-down { transform: rotate(180deg); }
.orders-filter-group > summary:focus-visible { outline: 2px solid #6366f1; outline-offset: -2px; }
.orders-filter-fields { margin: 0; padding: .2rem .2rem 1rem; }
.orders-quick-search input[type="search"] { flex: 1 1 180px; min-width: 0; }
@media (max-width: 575.98px) {
    .shipping-quote-grid { grid-template-columns: 1fr; gap: .5rem; padding: .75rem; }
}
.seller-orders-card > .orders-list-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
}
.orders-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-width: 0; width: 100%; }
.orders-toolbar-controls { flex-wrap: nowrap; }
.orders-toolbar-controls .card-title { flex: 0 0 auto; }
.orders-toolbar-controls .orders-quick-search { flex: 1 1 280px; flex-wrap: nowrap; width: 100%; max-width: 350px; margin: 0; min-width: 0; }
.orders-toolbar-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; flex: 0 0 auto; }
.orders-toolbar-controls .orders-quick-search input[type="search"] { width: 0; flex: 1 1 0; min-width: 0; height: 24px; min-height: 24px; padding: .1rem .45rem; font-size: .68rem; line-height: 1.2; }
.orders-toolbar-controls .btn { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-height: 24px; padding: .1rem .5rem; font-size: .66rem; line-height: 1.2; white-space: nowrap; }
.orders-toolbar-controls .orders-quick-search .btn { flex: 0 0 auto; }
.orders-list-toolbar > .orders-status-links { display: flex; flex-wrap: wrap; min-width: 0; width: 100%; margin: 0; overflow: visible; }
@media (max-width: 767.98px) {
    .orders-toolbar-controls { flex-wrap: wrap; }
    .orders-toolbar-controls .card-title { flex-basis: 100%; }
    .orders-toolbar-controls .orders-quick-search { flex-basis: 140px; max-width: none; }
    .orders-toolbar-actions label { font-size: .6rem; }
}

.admin-account-form .admin-surcharge-settings + .admin-surcharge-settings { margin-top: 1.25rem; }
.admin-seller-package-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .5rem;
}
.admin-account-form .admin-seller-package-heading .form-label {
    margin-bottom: 0;
}
.admin-seller-rate-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: .4rem;
    font-weight: 600;
    white-space: nowrap;
}
.seller-rate-matrix .form-control { min-width: 90px; }
.seller-rate-matrix .rate-delivery-days { min-width: 180px; }


.seller-rate-matrix .rate-movement-fields { display: grid; gap: 4px; }
.seller-rate-matrix .rate-movement-fields > label { display: flex; align-items: center; gap: 4px; margin: 0; }
.seller-rate-matrix .rate-movement-fields > label > small { width: 25px; font-size: 10px; color: var(--text-muted, #64748b); flex-shrink: 0; }
.seller-rate-matrix .rate-movement-fields .form-control { min-width: 62px; padding: .2rem .35rem; }
.seller-rate-matrix .rate-delivery-days { width: 104px; min-width: 104px; }
.seller-rate-matrix .rate-delivery-days .form-control { width: 39px; min-width: 0; padding: .2rem; }
.seller-rate-matrix .rate-delivery-days .input-group-text { padding: .2rem; }
/* Admin shipment response history. Keep JSON readable inside narrow layouts. */
.shipment-api-log summary { cursor: pointer; overflow-wrap: anywhere; }
.shipment-api-response { max-height: 28rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: .5rem; font-size: .8rem; line-height: 1.5; }
.admin-cancellation-result { max-width: 28rem; overflow-wrap: anywhere; white-space: normal; }

/* Developer bulk-shipping monitor: compact controls and live progress. */
#developerBatchMonitor .batch-monitor-account { width: 250px; max-width: 100%; }
#developerBatchMonitor .batch-monitor-state { width: 190px; max-width: 100%; }
#developerBatchMonitor .progress { height: 6px; min-width: 110px; }
#developerBatchMonitor td { max-width: 320px; overflow-wrap: anywhere; }
#developerBatchMonitor .batch-monitor-rows td:first-child strong { font-size: 0.76rem; }
@media (max-width: 575.98px) {
    #developerBatchMonitor .batch-monitor-account,
    #developerBatchMonitor .batch-monitor-state { width: 100%; }
}

/* First-run server installer shares the admin panel palette. */
.shipuncle-install-page { min-height: 100vh; background: #f5f6fa; }
.shipuncle-install-card { max-width: 1050px; }
.shipuncle-install-card > .card-header { display: flex; align-items: center; gap: 22px; }
.shipuncle-install-logo { width: 165px; height: auto; }
.shipuncle-install-card .form-label { font-size: 0.82rem; margin-bottom: 5px; }
.shipuncle-install-card details { padding: 10px 12px; border: 1px solid #e6e8ed; border-radius: 8px; }
.shipuncle-install-card summary { cursor: pointer; font-weight: 600; }
@media (max-width: 575.98px) {
    .shipuncle-install-card > .card-header { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Seller order cancellation options: clear labels on desktop and mobile. */
.order-cancel-menu {
    width: 290px;
    max-width: calc(100vw - 32px);
}
.order-cancel-menu .dropdown-item {
    white-space: normal;
    padding: 0.65rem 0.85rem;
}
.order-cancel-menu strong,
.order-cancel-menu small {
    display: block;
}
.order-cancel-menu small {
    margin-top: 0.25rem;
    color: var(--text-muted, #6c757d);
    line-height: 1.4;
}

/* Courier error log rows keep related metadata together and scroll on narrow screens. */
.courier-error-list-scroll { width: 100%; max-width: 100%; overflow-x: auto !important; }
.courier-error-list { width: 100%; min-width: 640px; table-layout: fixed; }
.courier-error-list th:nth-child(1) { width: 28%; }
.courier-error-list th:nth-child(2) { width: 25%; }
.courier-error-list th:last-child { width: 82px; }
.courier-error-list td { padding: 0.6rem 0.75rem; white-space: normal; overflow-wrap: anywhere; }
.courier-error-list small { font-size: 0.76rem; line-height: 1.4; }
.courier-error-list .badge { white-space: normal; overflow-wrap: anywhere; text-align: left; }
.courier-log-reference { font-family: monospace; color: var(--text-muted, #6c757d); }
.order-pickup-address { white-space: normal; overflow-wrap: anywhere; max-width: 340px; font-size: 0.73rem; line-height: 1.4; }

.order-last-shipping-error{max-width:310px;white-space:normal;overflow-wrap:anywhere;font-size:.73rem}.batch-order-error{max-width:540px;white-space:normal;overflow-wrap:anywhere}
.orders-pagination-top{width:100%;margin-left:auto;padding:.15rem 0;min-width:0}
.vendor-api-test-body{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--default-body-bg-color,#f8f9fa);padding:.75rem;border-radius:.5rem;font-size:.75rem}
.bulk-unlock-results{max-height:320px;overflow:auto}.bulk-unlock-results>div{overflow-wrap:anywhere}.unlock-review-error,.unlock-review-mappings,.unlock-review-history{overflow-wrap:anywhere}
/* Compact order-list page-size control at both pagination positions. */
.orders-page-size-form .orders-page-size {
    height: 26px;
    min-height: 26px;
    padding: 2px 26px 2px 8px;
    font-size: 12px;
    line-height: 20px;
    background-position: right 7px center;
    background-size: 10px 8px;
}
/* Bulk status override: the form must participate in Bootstrap's scrollable dialog. */
#adminReviewBulkStatusForm {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
#adminReviewBulkStatusModal .modal-header,
#adminReviewBulkStatusForm .modal-footer {
    flex: 0 0 auto;
}
#adminReviewBulkStatusForm .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
#adminReviewBulkStatusForm [data-review-refund-amounts],
#adminReviewBulkStatusForm [data-review-status-results] {
    max-height: 30vh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}
#adminReviewBulkStatusForm [data-review-refund-amounts] > label {
    flex-wrap: wrap;
}
/* Live admin inbox keeps the orange workspace style; urgent AWB notices stay red. */
.admin-notice-dropdown { width: min(420px, calc(100vw - 24px)); }
.admin-notice-items { max-height: min(55vh, 420px); overflow-y: auto; overflow-x: hidden; }
.admin-notice-dropdown-row { padding: 10px 14px; border-bottom: 1px solid var(--default-border); overflow-wrap: anywhere; }
.admin-notice-dropdown-row a { color: inherit; }
.admin-notice-dropdown-row.is-unread { background: rgba(249, 115, 22, .07); }
.admin-notice-dropdown-row.is-urgent { border-left: 3px solid #dc3545; }
.admin-notice-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--default-border); overflow-wrap: anywhere; }
.admin-notice-row.is-unread { background: rgba(249, 115, 22, .05); }
.admin-notice-row.is-urgent { border-left: 3px solid #dc3545; }
.admin-notice-symbol { color: #ea580c; flex: 0 0 24px; padding-top: 3px; }
.admin-notice-row.is-urgent .admin-notice-symbol { color: #dc3545; }
.admin-notice-pulse { box-shadow: 0 0 0 3px rgba(220, 53, 69, .18); }
@media (max-width: 575.98px) {
    .admin-notice-row { flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
    .admin-notice-row > .flex-grow-1 { flex-basis: calc(100% - 34px); min-width: 0; }
    .admin-notice-row > .d-flex { margin-left: 32px; }
}
#adminLiveNotifications .admin-notice-dropdown {
    width: min(420px, calc(100vw - 24px));
    min-width: 0;
    white-space: normal;
}
/* GridStack dashboard widgets: fixed widths, content height, drag handles only. */
.dashboard-widget-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.dashboard-widget-grid { margin: 0 -6px 10px; }
.dashboard-widget-grid .grid-stack-item-content { overflow: hidden; }
.dashboard-widget-shell { position: relative; min-width: 0; }
.dashboard-widget-shell > .card { width: 100%; margin: 0 !important; height: auto !important; }
.dashboard-widget-shell > .card > .card-header { padding-right: 38px; }
.dashboard-widget-handle { position: absolute; top: 9px; right: 7px; z-index: 2; width: 24px; height: 26px; border: 0; border-radius: 5px; background: transparent; color: #8b95a5; cursor: grab; touch-action: none; }
.dashboard-widget-handle:hover, .dashboard-widget-handle:focus-visible { background: rgba(100,116,139,.12); color: inherit; }
.dashboard-widget-handle:active { cursor: grabbing; }
.dashboard-widget-grid .grid-stack-placeholder > .placeholder-content { border: 1px dashed #f97316; background: rgba(249,115,22,.06); border-radius: 8px; }
.client-workspace .dashboard-widget-grid .grid-stack-placeholder > .placeholder-content { border-color: #176de5; background: rgba(23,109,229,.06); }
.dashboard-widget-grid .ui-resizable-handle { z-index: 5; }
.dashboard-metric-widget-grid .admin-dashboard-metric { padding-right: 26px; width: 100%; box-sizing: border-box; }
.dashboard-metric-widget-grid .dashboard-widget-handle { top: 3px; right: 2px; width: 20px; height: 20px; font-size: 10px; }

/* Sized widgets scroll internally so their content cannot cover another widget's handles. */
.dashboard-widget-sized .grid-stack-item-content { overflow-y: auto; overflow-x: hidden; }
.dashboard-metric-widget-grid .admin-dashboard-metric { min-height: 64px; gap: 6px; padding: 9px 25px 9px 9px; }
.dashboard-metric-widget-grid .admin-dashboard-metric > div { flex: 1 1 0; min-width: 0; }
.dashboard-metric-widget-grid .admin-dashboard-metric > span { width: 26px; height: 26px; flex-basis: 26px; }
.dashboard-metric-widget-grid .admin-dashboard-metric small { font-size: 11px; line-height: 1.25; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.dashboard-metric-widget-grid .admin-dashboard-metric strong { font-size: 15px; line-height: 1.3; }

.dashboard-overview-body { padding: 6px 10px; }
.dashboard-overview-body > .dashboard-metric-widget-grid { margin-bottom: 0; }
.dashboard-overview-panel .dashboard-metric-widget-grid .grid-stack-item-content { overflow: hidden; }
.dashboard-overview-panel .admin-dashboard-metric { height: 72px; min-height: 72px; }
.dashboard-metric-widget-grid > .grid-stack-item > .ui-resizable-handle { display: none !important; }

[data-dashboard-widget-host]:not([data-dashboard-editing="Y"]) .dashboard-widget-handle,
[data-dashboard-widget-host]:not([data-dashboard-editing="Y"]) .ui-resizable-handle { display: none !important; }
/* Default 100 x 150 mm shipment label; deliberately independent of workspace chrome. */
.shipping-label-print-page { margin: 0; padding: 16px; background: #e9edf2; color: #000; font: 12px Arial, sans-serif; }
.shipping-label-print-toolbar { max-width: 100mm; margin: 0 auto 12px; display: flex; gap: 10px; align-items: center; font-size: 11px; }
.shipping-label-print-toolbar button { border: 0; border-radius: 5px; padding: 8px 14px; background: #176de5; color: #fff; cursor: pointer; }
.shipping-label-sheet { box-sizing: border-box; width: 100mm; min-height: 150mm; padding: 4mm; margin: 0 auto; background: #fff; page: shipuncle-label; overflow-wrap: anywhere; }
.shipping-label-brand { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3mm; font-size: 10px; }
.shipping-label-brand img { width: 23mm; height: 7mm; object-fit: contain; object-position: left center; }
.shipping-label-barcode { text-align: center; padding: 0 2mm 2mm; }
.shipping-label-barcode svg { display: block; width: 100%; height: 16mm; }
.shipping-label-barcode > strong { display: block; font-size: 16px; letter-spacing: 1px; margin-top: 1mm; }
.shipping-label-order { display: flex; gap: 2mm; justify-content: space-between; padding: 2mm 0; border-top: 1px solid #000; border-bottom: 1px solid #000; font-size: 11px; }
.shipping-label-address { padding: 2mm 0; font-size: 12px; line-height: 1.35; }
.shipping-label-sheet small { display: block; font-size: 8px; font-weight: bold; margin-bottom: 1mm; }
.shipping-label-address h2 { font-size: 15px; margin: 0 0 1mm; }
.shipping-label-pin { font-size: 20px; letter-spacing: 1px; }
.shipping-label-from { border-top: 1px solid #000; padding: 2mm 0; font-size: 9px; line-height: 1.3; }
.shipping-label-from > strong { display: block; }
.shipping-label-package { border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 2mm 0; font-size: 9px; }
.shipping-label-items { width: 100%; border-collapse: collapse; font-size: 9px; margin: 1mm 0; }
.shipping-label-items th, .shipping-label-items td { padding: 1mm 0; text-align: left; vertical-align: top; }
.shipping-label-items th:last-child, .shipping-label-items td:last-child { width: 9mm; text-align: right; }
.shipping-label-return { border-top: 1px solid #000; padding-top: 2mm; font-size: 8px; line-height: 1.3; }
.shipping-label-more { font-size: 8px; margin-bottom: 1mm; }
@page shipuncle-label { size: 100mm 150mm; margin: 0; }
@media print {
    .shipping-label-print-page { padding: 0; margin: 0; background: #fff; }
    .shipping-label-print-toolbar { display: none !important; }
    .shipping-label-sheet { margin: 0; box-shadow: none; }
}
.shipping-label-sheet { margin-bottom: 12px; }
.shipping-label-skipped { max-width: 100mm; margin: 0 auto 12px; padding: 10px; background: #fff4db; font-size: 11px; }
@media print {
    .shipping-label-sheet { margin-bottom: 0; break-after: page; }
    .shipping-label-sheet:last-of-type { break-after: auto; }
    .shipping-label-skipped { display: none; }
}
/* Client dashboard layout actions share the period-filter row. */
.dashboard-inline-layout-controls { display: flex; align-items: center; min-width: 0; }
.dashboard-widget-toolbar.dashboard-widget-toolbar-inline { margin: 0; gap: 4px; justify-content: flex-start; }
.dashboard-widget-toolbar-inline .btn { min-height: 26px; height: 26px; padding: 3px 8px; font-size: 11px; line-height: 18px; white-space: nowrap; }
.dashboard-widget-toolbar-inline .dashboard-layout-error { flex-basis: 100%; color: #b42318; order: 2; font-size: 11px; }
/* Dashboard controls stay at the extreme top right, outside all widgets. */
.dashboard-top-actions { position: fixed; top: var(--dashboard-controls-top, calc(3rem + 6px)); right: 12px; z-index: 99; display: flex; justify-content: flex-end; align-items: center; min-height: 0; margin: 0; padding: 3px; max-width: calc(100vw - 24px); border: 1px solid rgba(100,116,139,.18); border-radius: 7px; background: var(--custom-white, #fff); box-shadow: 0 3px 12px rgba(15,23,42,.12); }
.dashboard-top-actions .dashboard-widget-toolbar { margin: 0; justify-content: flex-end; }
.dashboard-top-actions .dashboard-layout-icon { width: 28px; min-width: 28px; height: 26px; padding: 3px; font-size: 13px; text-align: center; }

.dashboard-top-actions:empty { display: none; }
.dashboard-top-actions .dashboard-layout-error { max-width: min(360px, calc(100vw - 44px)); }
@media print { .dashboard-top-actions { display: none !important; } }
#pincode-state-region-form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
#pincode-state-region-form .modal-body { overflow-y: auto; min-height: 0; }
#pincode-state-region-form .modal-footer { flex: 0 0 auto; }

.pincode-upload-file { flex: 1 1 240px; width: auto; }
.pincode-correction-grid { max-height: 65vh; overflow: auto; }
.pincode-correction-grid thead { position: sticky; top: 0; background: var(--custom-white, #fff); z-index: 1; }
.pincode-correction-grid input { min-width: 145px; }
.pincode-correction-grid td:last-child { min-width: 240px; white-space: normal; }

.orders-search-drawer .choices { margin-bottom: 0; }
.orders-search-drawer .choices__list--dropdown { z-index: 6; }

/* Keep seller order search visible when the navigation reduces available width. */
.seller-orders-card .orders-toolbar-controls { flex-wrap: wrap; }
.seller-orders-card .orders-toolbar-controls .orders-quick-search {
    flex: 1 1 260px;
    min-width: min(100%, 240px);
    max-width: 380px;
}
.seller-orders-card .orders-toolbar-actions { flex: 1 1 480px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.seller-orders-card .orders-toolbar-navigation { display: flex; flex-wrap: nowrap; align-items: center; gap: .5rem; min-width: 0; container-type: inline-size; }
.seller-orders-card .orders-filter-actions { display: flex; flex-wrap: nowrap; flex: 0 0 auto; align-items: center; gap: .4rem; min-width: 0; }
.seller-orders-card .orders-filter-actions .btn { display: inline-flex; align-items: center; min-height: 24px; padding: .1rem .5rem; font-size: .66rem; white-space: nowrap; }
.seller-orders-card .orders-toolbar-navigation .orders-pagination-top { flex: 1 1 auto; flex-wrap: nowrap !important; width: auto; margin-left: auto; }
.seller-orders-card .orders-filter-indicator { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .45rem; border-radius: .35rem; background: #eaf3ff; color: #195ca8; font-size: .7rem; font-weight: 600; }
.seller-orders-card .orders-reset-filters { color: #a13636; }
@media (max-width: 767.98px) {
    .seller-orders-card .orders-toolbar-controls .orders-quick-search { flex-basis: 100%; max-width: none; }
    .seller-orders-card .orders-toolbar-actions { flex-basis: 100%; justify-content: flex-start; }
    .seller-orders-card .orders-toolbar-navigation .orders-pagination-top { flex-basis: 100%; }
}

/* Compact the same desktop row by available card width, including an open sidebar. */
@container (max-width: 950px) {
    .orders-toolbar-navigation .orders-filter-label { display: none; }
    .orders-toolbar-navigation .orders-filter-actions .btn { min-width: 26px; justify-content: center; }
    .orders-toolbar-navigation .orders-filter-actions .me-1 { margin-right: 0 !important; }
    .orders-toolbar-navigation .orders-pagination-top > div { flex-wrap: nowrap !important; }
    .orders-toolbar-navigation .orders-pagination-top > div > small { display: none; }
    .orders-toolbar-navigation .orders-page-size-form label { display: none; }
}
@media (max-width: 767.98px) {
    .seller-orders-card .orders-toolbar-navigation { flex-wrap: wrap; }
    .seller-orders-card .orders-toolbar-navigation .orders-pagination-top { flex-wrap: wrap !important; }
    .seller-orders-card .orders-filter-actions { flex-wrap: wrap; }
}

/* Standalone, Smarty-rendered client maintenance page. */
body.ship-maintenance-page { margin:0; min-height:100vh; display:grid; place-items:center; padding:32px 18px; box-sizing:border-box; background:radial-gradient(ellipse at 12% 15%,#dceaff,transparent 48%),radial-gradient(ellipse at 90% 85%,#e4e9ff,transparent 50%),#f4f7fc; color:#162743; font-family:Inter,Arial,sans-serif; }
.ship-maintenance-card { position:relative; width:min(100%,640px); box-sizing:border-box; padding:34px 46px 24px; border:1px solid rgba(255,255,255,.95); border-radius:26px; background:rgba(255,255,255,.94); box-shadow:0 25px 80px rgba(33,73,130,.12); text-align:center; }
.ship-maintenance-brand { display:inline-flex; }
.ship-maintenance-brand img { height:47px; max-width:210px; object-fit:contain; }
.ship-maintenance-scene { position:relative; height:142px; width:190px; margin:18px auto 15px; display:grid; place-items:center; }
.ship-maintenance-orbit { position:absolute; width:160px; height:110px; border:1px dashed #b6cef4; border-radius:50%; transform:rotate(-22deg); }
.ship-maintenance-parcel { display:grid; place-items:center; width:82px; height:82px; border-radius:21px; background:linear-gradient(145deg,#176ae4,#2248b8); box-shadow:8px 13px 0 #e0eaff,0 16px 30px #255aca22; color:#fff; font-weight:800; font-size:26px; letter-spacing:-2px; transform:rotate(-9deg); }
.ship-maintenance-spark { position:absolute; right:9px; top:13px; font-size:29px; color:#ee9b38; }
.ship-maintenance-badge { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border-radius:30px; background:#eef4ff; color:#2862b5; font-size:10px; font-weight:700; letter-spacing:1.4px; }
.ship-maintenance-badge > span { width:6px; height:6px; border-radius:50%; background:#3677d9; }
.ship-maintenance-card h1 { margin:18px auto 12px; max-width:450px; font-size:clamp(25px,4vw,35px); line-height:1.17; font-weight:750; letter-spacing:-1px; }
.ship-maintenance-card p { max-width:470px; margin:0 auto; color:#6b7a90; font-size:15px; line-height:1.75; overflow-wrap:anywhere; }
.ship-maintenance-note { margin:23px 0 20px; padding:13px; border:1px solid #e7edf7; border-radius:12px; color:#60738f; font-size:12px; line-height:1.6; }
.ship-maintenance-check { display:inline-flex; align-items:center; gap:18px; padding:13px 23px; border-radius:10px; background:#2465cf; color:#fff; text-decoration:none; font-size:13px; font-weight:600; box-shadow:0 8px 16px #2465cf22; }
.ship-maintenance-check:hover { background:#194fab; color:#fff; }
.ship-maintenance-card footer { display:flex; justify-content:space-between; gap:10px; margin-top:32px; padding-top:20px; border-top:1px solid #edf1f7; color:#8e9aae; font-size:10px; }
@media(max-width:480px) { .ship-maintenance-card { padding:28px 22px 20px; border-radius:20px; } .ship-maintenance-scene { height:118px; } }

#activityReviewForm { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; overflow:hidden; }
#activityReviewForm .modal-body { overflow-y:auto; min-height:0; }
#activityReviewForm .modal-footer { flex:0 0 auto; }
.activity-review-preview { max-height:300px; overflow:auto; }
.activity-review-preview thead { position:sticky; top:0; background:var(--custom-white,#fff); z-index:1; }

/* Forward/Reverse order pagination: keep controls right aligned without overflow. */
.seller-orders-card .orders-pagination {
    margin-left: auto;
    max-width: 100%;
    min-width: 0;
    justify-content: flex-end !important;
}
.seller-orders-card .orders-toolbar-navigation .orders-pagination-top {
    flex-wrap: wrap !important;
}
.seller-orders-card .orders-pagination > div {
    justify-content: flex-end;
    max-width: 100%;
}
.seller-orders-card .orders-pagination nav {
    max-width: 100%;
}
.seller-orders-card .orders-pagination .pagination {
    justify-content: flex-end;
    flex-wrap: wrap;
}
.admin-list-card .admin-pagination-wrap {
    margin-left: auto;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
}
/* Full theme card headers center children; order toolbars need full-width rows. */
.card.custom-card.seller-orders-card > .card-header.orders-list-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    gap: .6rem;
}
.card.custom-card.seller-orders-card .orders-toolbar-navigation {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
}
.card.custom-card.seller-orders-card .orders-pagination {
    width: 100%;
    align-items: center;
    column-gap: .65rem;
    row-gap: .35rem;
}
.card.custom-card.seller-orders-card .orders-toolbar-navigation .orders-pagination-top {
    width: auto;
    flex: 1 1 auto;
}
.card.custom-card.seller-orders-card .orders-pagination > div {
    flex: 0 0 auto;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}
.card.custom-card.seller-orders-card .orders-page-size-form,
.card.custom-card.seller-orders-card .orders-pagination nav {
    flex: 0 0 auto;
}
.card.custom-card.seller-orders-card .orders-pagination .pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
}
.card.custom-card.seller-orders-card .orders-pagination .page-item {
    flex: 0 0 auto;
}
@media (max-width: 767.98px) {
    .card.custom-card.seller-orders-card .orders-toolbar-navigation .orders-pagination-top {
        flex-basis: 100%;
    }
}

/* Standalone error boundary: no panel scripts or failed layout dependencies. */
.ship-error-page { margin:0; min-height:100vh; display:grid; place-items:center; padding:24px; box-sizing:border-box; font-family:Arial,sans-serif; color:#20213f; background:radial-gradient(circle at 10% 10%,#e9e5ff,transparent 45%),#f5f7fc; --error-accent:#6350bb; }
.ship-error-page.ship-error-admin { --error-accent:#d67220; background:radial-gradient(circle at 10% 10%,#ffead8,transparent 45%),#fcf8f4; }
.ship-error-panel { width:100%; max-width:520px; box-sizing:border-box; padding:34px; background:#fff; border:1px solid #e7e5f2; border-radius:22px; box-shadow:0 22px 75px #26234a12; }
.ship-error-logo { display:block; width:155px; max-width:60%; height:auto; margin-bottom:28px; }
.ship-error-symbol { display:grid; place-items:center; width:55px; height:55px; border-radius:17px; color:var(--error-accent); background:#f2effb; font-size:30px; font-weight:bold; margin-bottom:20px; }
.ship-error-eyebrow { color:var(--error-accent); text-transform:uppercase; font-size:10px; letter-spacing:1.3px; font-weight:bold; }
.ship-error-panel h1 { font-size:30px; line-height:1.16; margin:12px 0; }
.ship-error-panel p { color:#6f7188; font-size:14px; line-height:1.7; }
.ship-error-reference { padding:14px; background:#f7f8fc; border:1px dashed #dbdce8; border-radius:10px; margin:22px 0; overflow-wrap:anywhere; }
.ship-error-reference span,.ship-error-panel small { display:block; font-size:11px; color:#828398; }
.ship-error-reference strong { display:block; margin-top:7px; font-size:12px; letter-spacing:.5px; }
.ship-error-home { display:inline-block; text-decoration:none; border-radius:9px; padding:12px 17px; color:white; background:var(--error-accent); font-size:13px; font-weight:bold; margin-bottom:18px; }
@media(max-width:480px) { .ship-error-page { padding:14px; } .ship-error-panel { padding:25px; } .ship-error-panel h1 { font-size:25px; } }
