/* Web-only BackOffice presentation. The customer app has independent styles. */
:root {
    --bo-web-font: "Onest", "Segoe UI", Arial, sans-serif;
    --bo-purple: #a82d37;
    --bo-purple-dark: #70202a;
    --bo-gold: #f1e7e8;
    --bo-ink: #242a33;
    --bo-muted: #7b828c;
    --bo-bg: #ffffff;
    --bo-line: #e9ebef;
    --surface-soft: #f5f6f8;
}

.backoffice-body,
.bo-auth-body {
    font-family: var(--bo-web-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.15px;
    color: var(--bo-ink);
    -webkit-font-smoothing: antialiased;
}

.bo-sidebar {
    width: 260px;
    background: #f8f9fb;
    color: #5d6571;
    border-right: 1px solid var(--bo-line);
    scrollbar-color: #d5d9df transparent;
}

.bo-brand {
    min-height: 88px;
    padding: 16px 25px;
    border-bottom: 1px solid var(--bo-line);
    background: #f8f9fb;
}

.bo-brand img {
    width: 103px;
}

.bo-navigation {
    min-height: calc(100vh - 88px);
    padding: 18px 12px;
}

.bo-nav-group {
    border-top: 1px solid #e9ecf1;
    margin-top: 7px;
    padding-top: 7px;
}

.bo-group-trigger {
    min-height: 40px;
    padding: 10px 13px;
    color: #323a46 !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 6px;
}

.bo-nav-group.active-parent > .bo-group-trigger {
    color: #323a46 !important;
    background: transparent;
}

.bo-group-trigger i {
    color: #99a0aa;
    font-size: 10px;
}

.bo-dashboard-link,
.bo-group-links > a,
.bo-group-links > button {
    min-height: 40px;
    margin: 3px 0;
    padding: 9px 13px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #707784 !important;
}

.bo-dashboard-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.bo-group-links {
    padding-left: 6px;
}

.bo-group-links > a > i:first-child {
    color: #8f97a3;
    font-size: 13px;
}

.bo-dashboard-link:hover,
.bo-group-links a:hover,
.bo-group-links button:hover {
    color: #333d4a !important;
    background: #eef0f4;
}

.bo-dashboard-link.active,
.bo-group-links a.active,
.bo-group-links button.active {
    color: #a82d37 !important;
    background: #f2e8ea;
    box-shadow: none;
    font-weight: 600;
}

.bo-group-links a.active > i:first-child {
    color: #a82d37;
}

.bo-maintenance {
    margin: 18px 0 0;
    padding: 12px;
    border: 1px solid #e1e5eb !important;
    border-radius: 8px;
    background: transparent !important;
    color: #59616e !important;
    box-shadow: none;
    transform: none;
}

.bo-maintenance:hover,
.bo-maintenance.active {
    background: #f0e8e9 !important;
    color: #a82d37 !important;
    box-shadow: none;
    transform: none;
}

.bo-maintenance-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    color: #828a96;
    background: #eceef2;
    border-radius: 7px;
    font-size: 13px;
}

.bo-maintenance-copy strong {
    font-size: 11px;
    font-weight: 500;
}

.bo-maintenance-copy small,
.bo-maintenance:hover .bo-maintenance-copy small {
    font-size: 10px;
    color: #939aa5;
}

.bo-workspace {
    margin-left: 260px;
}

.bo-topbar {
    min-height: 88px;
    padding: 18px 30px;
    gap: 18px;
    background: #ffffff;
    border-color: var(--bo-line);
    backdrop-filter: none;
}

.bo-eyebrow {
    margin-bottom: 4px;
    color: #9097a1;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
}

.bo-topbar h1 {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.7px;
    line-height: 1.3;
}

.bo-time-zone {
    min-width: 100px;
    gap: 2px 5px;
}

.bo-time-zone strong {
    color: #8c939e;
    font-size: 9px;
    font-weight: 500;
}

.bo-clock-date,
.bo-clock-time {
    font-size: 10px;
    color: #939aa3;
    font-weight: 400;
}

.bo-clock-time {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.bo-topbar-divider {
    height: 26px;
}

.bo-topbar-actions {
    gap: 14px;
}

.bo-store-link {
    align-self: center;
    color: #66707d;
    font-size: 11px;
    font-weight: 500;
}

.bo-user-button {
    border: 0;
    padding: 0 0 0 14px;
    border-left: 1px solid var(--bo-line);
    border-radius: 0;
    gap: 9px;
}

.bo-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f2e8ea;
    color: #a82d37;
    font-size: 11px;
    font-weight: 600;
}

.bo-user-button strong {
    font-size: 11px;
    font-weight: 500;
}

.bo-user-button small {
    margin-top: 2px;
    font-size: 9px;
    color: #9aa1aa;
}

.bo-user-button > i {
    font-size: 9px;
    color: #a1a7b0;
}

.bo-user-menu {
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 8px 28px #24304710;
}

.bo-user-menu a {
    padding: 10px;
    border-radius: 5px;
    color: #616a77;
    font-size: 12px;
}

.bo-content {
    padding: 28px 30px;
}

.bo-welcome {
    margin-bottom: 20px;
    gap: 16px;
}

.bo-welcome p {
    color: #8c939f;
    font-size: 12px;
    line-height: 1.7;
}

.bo-card,
.bo-panel {
    border: 1px solid var(--bo-line);
    border-radius: 8px;
    box-shadow: none;
    background: white;
}

.bo-panel {
    padding: 22px;
}

.bo-metric-grid {
    gap: 16px;
    margin-bottom: 24px;
}

.bo-metric-card {
    min-height: 150px;
    padding: 22px;
}

.bo-metric-card::after {
    display: none;
}

.bo-metric-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    color: #8d96a2;
    background: #f3f5f8;
    border-radius: 7px;
    font-size: 13px;
}

.bo-metric-card small {
    font-size: 11px;
    font-weight: 400;
    color: #8c95a1;
}

.bo-metric-card strong {
    margin: 6px 0;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.8px;
}

.bo-metric-card em {
    color: #a0a6af;
    font-size: 10px;
    font-weight: 400;
}

.bo-panel-header h2,
.bo-panel-header h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.bo-panel-header p {
    margin-top: 5px;
    color: #9aa1aa;
    font-size: 11px;
}

.bo-panel-link {
    font-size: 11px;
    font-weight: 500;
}

.bo-filter-bar {
    padding: 15px 18px;
    border-radius: 8px;
    background: #fcfcfd;
}

.form-label {
    margin-bottom: 7px;
    color: #68717d;
    font-size: 12px;
    font-weight: 500;
}

.form-control,
.form-select {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 6px;
    border-color: #e2e6ec;
    color: #4e5866;
    background-color: white;
    font-size: 13px;
    font-weight: 400;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #c58c94;
    box-shadow: 0 0 0 3px #a82d3709;
}

.bo-table-wrap {
    border-radius: 8px;
}

.bo-table th {
    background: #fafbfc;
    color: #8c94a0;
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border-color: #e9ecf1;
}

.bo-table th,
.bo-table td {
    padding: 14px 15px;
    border-right-color: #f0f2f5;
}

.bo-table td {
    color: #596371;
    font-size: 12px;
    line-height: 1.65;
}

.bo-table tbody tr:hover {
    background: #fcfcfd;
}

.bo-table [data-field="status"] {
    color: #747d89;
    font-weight: 500;
}

.bo-table-action {
    width: 30px;
    min-height: 30px;
    margin: 2px;
    border: 1px solid #e6e9ee;
    border-radius: 5px;
    background: white;
    color: #8a929e;
    font-size: 11px;
}

.bo-table-action:hover {
    color: #a82d37;
    background: #faf4f5;
    border-color: #dec2c6;
}

.bo-primary-button,
.bo-secondary-button {
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.bo-primary-button:hover {
    color: white;
    border-color: #88212a;
    background: #88212a;
}

.bo-secondary-button {
    color: #6e7784;
    border-color: #e3e7ed;
}

.bo-secondary-button:hover {
    color: #49525f;
    background: #f8f9fb;
}

.bo-quick-actions .bo-secondary-button {
    min-height: 45px;
    justify-content: flex-start;
    font-size: 11px;
}

.bo-status {
    border-radius: 5px;
    padding: 5px 8px;
    background: #f2f5f7;
    color: #7b8795;
    font-size: 10px;
    font-weight: 500;
}

.bo-footer,
.bo-auth-footer {
    padding: 17px 30px;
    color: #9aa1ab;
    background: white;
    border-color: var(--bo-line);
    font-size: 11px;
}

.bo-footer a,
.bo-auth-footer > span a {
    color: #737d8b;
    font-weight: 500;
}

.bo-footer small {
    font-size: 10px;
}

.bo-profile-intro h2 {
    font-size: 22px;
    font-weight: 500;
}

.bo-profile-intro p {
    font-size: 12px;
}

.bo-profile-avatar {
    border-radius: 50%;
    background: #f2e8ea;
    color: #a82d37;
    font-weight: 500;
}

.bo-profile-row small {
    font-size: 11px;
    color: #969eaa;
}

.bo-profile-row p {
    color: #56606d;
    font-size: 13px;
    font-weight: 400;
}

.bo-auth-body {
    background: #f8f9fb;
}

.bo-auth-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e8ebf0;
    background: white;
}

.bo-auth-header .bo-store-link {
    color: #7c8592;
    font-size: 12px;
}

.bo-auth-brand span {
    color: #929ba8;
    border-left-color: #e3e7ee;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

.bo-auth-brand img {
    width: 103px;
}

.bo-auth-card {
    border-radius: 12px;
    border-color: #e4e8ee;
    box-shadow: 0 12px 40px #34425906;
}

.bo-auth-card-head {
    padding: 30px 32px 8px;
    background: white;
    color: #313a46;
}

.bo-auth-symbol {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #f4eced;
    color: #a82d37;
    font-size: 17px;
}

.bo-auth-card h1 {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.6px;
}

.bo-auth-card-head p {
    color: #9aa1ab;
    font-size: 12px;
    line-height: 1.8;
}

.bo-auth-card-body {
    padding: 22px 32px 30px;
}

.bo-auth-card .form-control {
    min-height: 43px;
    border-color: #e2e6ec;
    font-size: 13px;
}

.bo-auth-card .form-label {
    color: #73808d;
    font-size: 12px;
    font-weight: 500;
}

.bo-auth-primary {
    min-height: 43px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.bo-auth-back-link,
.bo-auth-card-body a {
    font-size: 12px;
    font-weight: 400;
}

.bo-demo-note {
    margin-top: 22px;
    padding: 13px 15px;
    border-radius: 6px;
    border-color: #eaedf1;
    background: #fafbfc;
    font-size: 11px;
}

.bo-demo-note > strong {
    color: #7f8996;
    font-size: 11px;
    font-weight: 500;
}

.bo-demo-note b {
    font-weight: 500;
}

.bo-demo-note small {
    color: #a2a9b2;
    font-size: 10px;
}

dialog {
    border-radius: 10px;
    font-family: var(--bo-web-font);
}

dialog h2 {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.4px;
}

#idle-warning-dialog h2 {
    font-weight: 500;
}

.bo-idle-countdown {
    font-weight: 500;
}

@media (max-width: 1180px) {
    .bo-time-zone,
    .bo-topbar-divider {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .bo-workspace {
        margin-left: 0;
    }

    .bo-menu-button,
    .bo-sidebar-close {
        border-color: #e3e7ed;
        color: #747d8a;
        background: #f8f9fb;
        border-radius: 6px;
    }
}

@media (max-width: 575.98px) {
    .bo-topbar,
    .bo-content,
    .bo-footer,
    .bo-auth-header,
    .bo-auth-footer {
        padding: 16px 18px;
    }

    .bo-topbar {
        min-height: 80px;
    }

    .bo-topbar h1 {
        font-size: 21px;
    }

    .bo-auth-card-head {
        padding: 25px 24px 7px;
    }

    .bo-auth-card-body {
        padding: 20px 24px 25px;
    }

    .bo-metric-card {
        padding: 18px;
    }
}

/* Unified grid controls and right-side Bootstrap editing drawers. */
.bo-grid-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 20px;
}

.bo-filter-control {
    flex: 0 1 145px;
    min-width: 120px;
}

.bo-filter-control .form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
}

.bo-filter-button {
    flex: 0 0 auto;
    min-width: 0;
}

.bo-filter-button a,
.bo-filter-button button {
    min-height: 40px;
    white-space: nowrap;
}

.bo-per-page {
    flex-basis: 130px;
}

.bo-search-control {
    flex: 1 1 200px;
    margin-left: auto;
    min-width: 180px;
    max-width: 340px;
}

.bo-table th.bo-action-column,
.bo-table td.bo-action-column {
    width: 1%;
    min-width: 0;
    max-width: none;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
}

.bo-row-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.bo-row-actions .bo-table-action {
    flex: 0 0 30px;
    margin: 0;
}

.bo-grid-status {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #e6eaf0;
    border-radius: 5px;
    background: #f7f9fb;
    color: #7d8795;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.bo-grid-status[data-status="available"],
.bo-grid-status[data-status="published"],
.bo-grid-status[data-status="collected"],
.bo-grid-status[data-status="resolved"],
.bo-grid-status[data-status="paid · simulated"] {
    border-color: #e0ebe5;
    background: #f0f7f3;
    color: #54866c;
}

.bo-grid-status[data-status="sold out"],
.bo-grid-status[data-status="hidden"] {
    border-color: #efe0e2;
    background: #fbf3f4;
    color: #ad6a73;
}

.bo-grid-status[data-status="new"],
.bo-grid-status[data-status="preparing"],
.bo-grid-status[data-status="pending"] {
    border-color: #f0e7d6;
    background: #fcf8ef;
    color: #a18b5d;
}

.bo-grid-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    color: #8b95a3;
    font-size: 11px;
}

.bo-grid-pagination > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bo-pagination-button {
    padding: 8px 12px;
    border: 1px solid #e5e9ef;
    border-radius: 5px;
    background: white;
    color: #727e8e;
    font-size: 11px;
}

.bo-pagination-button:hover:not(:disabled) {
    border-color: #d2b1b7;
    color: var(--bo-purple);
}

.bo-pagination-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.bo-pagination-current b {
    font-weight: 500;
}

.bo-record-drawer {
    --bs-offcanvas-width: 620px;
    --bs-offcanvas-border-width: 0;
    box-shadow: -12px 0 55px #26344515;
    font-family: var(--bo-web-font);
}

.bo-record-drawer .offcanvas-header {
    flex-shrink: 0;
    align-items: center;
    padding: 25px 28px;
    border-bottom: 1px solid var(--bo-line);
    background: white;
}

.bo-record-drawer .offcanvas-header small {
    display: block;
    margin-bottom: 7px;
    color: #98a1ae;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
}

.bo-record-drawer h2 {
    margin: 0;
    color: #34404e;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.6px;
}

.bo-record-drawer .btn-close {
    width: 12px;
    height: 12px;
    padding: 12px;
    border: 1px solid #edf0f4;
    border-radius: 6px;
    opacity: 0.6;
    background-size: 10px;
}

.bo-record-drawer .offcanvas-body {
    padding: 25px 28px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.bo-record-drawer .form-control,
.bo-record-drawer .form-select {
    min-height: 43px;
    font-size: 13px;
}

.bo-record-drawer .form-control[type="checkbox"] {
    min-height: 0;
}

.bo-drawer-form > .text-muted,
.bo-drawer-form .text-muted {
    font-size: 11px;
    line-height: 1.8;
}

.bo-drawer-form [role="alert"] {
    margin-top: 16px;
    font-size: 12px;
}

.bo-drawer-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--bo-line);
    background: white;
}

.bo-drawer-actions button {
    min-height: 42px;
    padding-left: 20px;
    padding-right: 20px;
}

.offcanvas-backdrop.show {
    opacity: 0.3;
}

@media (max-width: 575.98px) {
    .bo-record-drawer {
        --bs-offcanvas-width: 100%;
    }

    .bo-record-drawer .offcanvas-header {
        padding: 20px;
    }

    .bo-record-drawer .offcanvas-body {
        padding: 20px 20px 0;
    }

    .bo-drawer-actions {
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }

    .bo-drawer-actions button {
        flex: 1;
    }

    .bo-grid-controls {
        gap: 12px;
    }

    .bo-filter-control {
        flex: 1 1 42%;
        min-width: 120px;
    }

    .bo-filter-button {
        flex: 1 1 auto;
    }

    .bo-filter-button a,
    .bo-filter-button button {
        width: 100%;
    }

    .bo-search-control {
        flex: 1 1 100%;
        max-width: none;
    }

    .bo-grid-pagination {
        justify-content: center;
        text-align: center;
    }

    .bo-grid-pagination > div {
        gap: 8px;
    }
}

.bo-drawer-open {
    overflow: hidden;
}

.bo-record-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: #2634454d;
}

/* Readability: stronger contrast, larger type and more substantial controls. */
:root {
    --bo-ink: #293340;
    --bo-muted: #626e7c;
    --bo-line: #d8dfe8;
    --bo-bg: #f6f7f9;
}

.backoffice-body,
.bo-auth-body {
    font-size: 15px;
    color: #293340;
}

.bo-sidebar,
.bo-brand {
    background: #f1f3f6;
    border-color: #d8dfe8;
}

.bo-navigation {
    padding-top: 16px;
}

.bo-nav-group {
    border-color: #dce2e9;
}

.bo-group-trigger {
    min-height: 44px;
    color: #303b49 !important;
    font-size: 14px;
    font-weight: 600;
}

.bo-group-trigger i {
    color: #626e7c;
    font-size: 11px;
}

.bo-dashboard-link,
.bo-group-links > a,
.bo-group-links > button {
    min-height: 44px;
    color: #4a5666 !important;
    font-size: 14px;
    font-weight: 500;
}

.bo-group-links > a > i:first-child {
    color: #5e6b7c;
    font-size: 15px;
}

.bo-dashboard-link.active,
.bo-group-links a.active,
.bo-group-links button.active {
    color: #8e1f2a !important;
    background: #ead8dc;
    font-weight: 600;
}

.bo-nav-group.active-parent > .bo-group-trigger {
    color: #8e1f2a !important;
}

.bo-maintenance {
    border-color: #cbd4df !important;
    color: #465365 !important;
}

.bo-maintenance-copy strong {
    font-size: 13px;
    font-weight: 600;
}

.bo-maintenance-copy small,
.bo-maintenance:hover .bo-maintenance-copy small {
    color: #637083;
    font-size: 11px;
}

.bo-maintenance-icon {
    color: #59697d;
    background: #e0e6ee;
}

.bo-topbar h1 {
    font-size: 26px;
    color: #253140;
    font-weight: 600;
}

.bo-eyebrow {
    color: #687487;
    font-size: 10px;
    font-weight: 600;
}

.bo-clock-date,
.bo-clock-time {
    color: #536276;
    font-size: 12px;
    font-weight: 500;
}

.bo-time-zone strong {
    color: #687487;
    font-size: 10px;
    font-weight: 600;
}

.bo-store-link {
    color: #435368;
    font-size: 13px;
    font-weight: 600;
}

.bo-user-button strong {
    color: #364354;
    font-size: 13px;
    font-weight: 600;
}

.bo-user-button small {
    color: #667587;
    font-size: 11px;
}

.bo-user-button > i {
    color: #667587;
    font-size: 10px;
}

.bo-user-avatar {
    width: 38px;
    height: 38px;
    font-size: 13px;
}

.bo-user-menu a {
    color: #425166;
    font-size: 14px;
}

.bo-welcome p,
.backoffice-body .text-muted {
    color: #626e7c !important;
    font-size: 14px;
}

.bo-panel-header h2,
.bo-panel-header h3 {
    color: #303d4e;
    font-size: 16px;
    font-weight: 600;
}

.bo-panel-header p {
    color: #667587;
    font-size: 13px;
}

.bo-card,
.bo-panel,
.bo-table-wrap {
    border-color: #d8dfe8;
}

.bo-metric-card small {
    color: #5a687b;
    font-size: 13px;
    font-weight: 500;
}

.bo-metric-card strong {
    font-size: 34px;
    color: #29384a;
    font-weight: 600;
}

.bo-metric-card em {
    color: #69778a;
    font-size: 12px;
}

.bo-metric-icon {
    width: 34px;
    height: 34px;
    background: #e9edf3;
    color: #64738a;
    font-size: 15px;
}

.bo-filter-bar {
    background: #f0f3f7;
    border-color: #d4dce7;
}

.form-label,
.bo-filter-control .form-label {
    color: #455469;
    font-size: 13px;
    font-weight: 600;
}

.form-control,
.form-select,
.bo-record-drawer .form-control,
.bo-record-drawer .form-select {
    min-height: 44px;
    border-color: #cbd4e0;
    color: #354458;
    font-size: 14px;
    font-weight: 400;
}

.form-control::placeholder {
    color: #758195;
    opacity: 1;
}

.bo-primary-button,
.bo-secondary-button {
    min-height: 43px;
    font-size: 14px;
    font-weight: 500;
}

.bo-secondary-button {
    color: #47576e;
    border-color: #cbd4e0;
}

.bo-table th {
    padding-top: 16px;
    padding-bottom: 16px;
    color: #3e4b60;
    background: #e9edf3;
    border-color: #d4dce7;
    font-size: 13px;
    font-weight: 600;
}

.bo-table td {
    padding-top: 15px;
    padding-bottom: 15px;
    color: #3d4b5f;
    border-bottom-color: #dfe5ed;
    border-right-color: #e5eaf1;
    font-size: 14px;
}

.bo-table [data-field="status"] {
    color: #485d76;
}

.bo-table-action {
    width: 34px;
    min-height: 34px;
    border-color: #ccd5e1;
    color: #586b85;
    font-size: 13px;
}

.bo-row-actions .bo-table-action {
    flex-basis: 34px;
}

.bo-grid-status {
    padding: 5px 9px;
    color: #4d627c;
    border-color: #d2dce7;
    background: #edf2f7;
    font-size: 12px;
    font-weight: 500;
}

.bo-grid-status[data-status="available"],
.bo-grid-status[data-status="published"],
.bo-grid-status[data-status="collected"],
.bo-grid-status[data-status="resolved"],
.bo-grid-status[data-status="paid · simulated"] {
    color: #386b51;
    background: #eaf4ee;
    border-color: #cfe2d6;
}

.bo-grid-status[data-status="sold out"],
.bo-grid-status[data-status="hidden"] {
    color: #973f50;
    background: #f8e9ec;
    border-color: #e9cdd4;
}

.bo-grid-status[data-status="new"],
.bo-grid-status[data-status="preparing"],
.bo-grid-status[data-status="pending"] {
    color: #8c6b2d;
    background: #fbf1dc;
    border-color: #eaddbf;
}

.bo-grid-pagination {
    color: #5c6c82;
    font-size: 13px;
}

.bo-pagination-button {
    min-height: 39px;
    padding: 8px 14px;
    border-color: #cbd5e2;
    color: #4e617c;
    font-size: 13px;
}

.bo-pagination-button:disabled {
    opacity: 0.6;
}

.bo-panel-link,
.bo-quick-actions .bo-secondary-button {
    font-size: 13px;
    font-weight: 500;
}

.bo-footer,
.bo-auth-footer {
    color: #6b7789;
    font-size: 12px;
}

.bo-footer a,
.bo-auth-footer > span a {
    color: #4b607b;
}

.bo-footer small {
    font-size: 11px;
}

.bo-profile-row small {
    color: #6c7b90;
    font-size: 13px;
}

.bo-profile-row p {
    color: #39495f;
    font-size: 15px;
    font-weight: 500;
}

.bo-profile-row .bo-secondary-button {
    font-size: 13px;
}

.bo-record-drawer .offcanvas-header small {
    color: #667891;
    font-size: 10px;
}

.bo-record-drawer h2,
.dialog-open dialog h2 {
    color: #2e4058;
    font-size: 24px;
    font-weight: 600;
}

.bo-drawer-form > .text-muted,
.bo-drawer-form .text-muted {
    color: #65758b;
    font-size: 13px;
}

.bo-drawer-form [role="alert"] {
    font-size: 14px;
}

.bo-auth-card h1 {
    color: #2d3b4f;
    font-size: 28px;
    font-weight: 600;
}

.bo-auth-card-head p,
.bo-auth-back-link,
.bo-auth-card-body a {
    color: #62738a;
    font-size: 14px;
}

.bo-auth-card .form-label {
    color: #43556e;
    font-size: 14px;
    font-weight: 500;
}

.bo-auth-card .form-control {
    min-height: 46px;
    color: #35465e;
    border-color: #cbd5e2;
    font-size: 15px;
}

.bo-auth-primary {
    min-height: 46px;
    font-size: 15px;
    font-weight: 500;
}

.bo-demo-note {
    color: #52657e;
    font-size: 12px;
}

.bo-demo-note > strong {
    color: #465c7a;
    font-size: 13px;
}

.bo-demo-note small {
    color: #677991;
    font-size: 12px;
}

@media (max-width: 575.98px) {
    .bo-topbar h1 {
        font-size: 24px;
    }

    .bo-metric-card strong {
        font-size: 30px;
    }

    .bo-auth-header .bo-store-link {
        font-size: 12px;
    }
}

/* CRM reference: search/filters left, page controls next, add action far right. */
.bo-crm-filter-bar {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
}

.bo-crm-filter-bar .bo-filter-left,
.bo-crm-filter-bar .bo-filter-right,
.bo-crm-filter-bar .bo-filter-actions {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.bo-crm-filter-bar .bo-filter-left {
    flex: 0 1 auto;
}

.bo-crm-filter-bar .bo-filter-right {
    flex: 0 0 auto;
}

.bo-crm-filter-bar .bo-filter-actions {
    flex: 0 0 auto;
    margin-left: auto;
}

.bo-crm-filter-bar .bo-filter-control {
    flex: 0 0 170px;
    width: 170px;
    min-width: 0;
    max-width: 100%;
}

.bo-crm-filter-bar .bo-search-control {
    flex-basis: 220px;
    width: 220px;
    margin-left: 0;
}

.bo-crm-filter-bar .bo-per-page {
    flex-basis: 100px;
    width: 100px;
}

.bo-crm-filter-bar .form-control,
.bo-crm-filter-bar .form-select,
.bo-crm-filter-bar .bo-primary-button,
.bo-crm-filter-bar .bo-secondary-button {
    height: 44px;
    min-height: 44px;
}

.bo-crm-filter-bar .bo-primary-button,
.bo-crm-filter-bar .bo-secondary-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.bo-crm-filter-bar .bo-reset-icon {
    width: 44px;
    padding: 0;
    color: #52657e;
    font-size: 15px;
}

@media (max-width: 600px) {
    .bo-crm-filter-bar {
        gap: 14px;
        padding: 14px;
    }

    .bo-crm-filter-bar .bo-filter-left {
        flex: 1 1 100%;
        width: 100%;
    }

    .bo-crm-filter-bar .bo-filter-left .bo-filter-control {
        flex: 1 1 calc(50% - 5px);
        width: auto;
    }

    .bo-crm-filter-bar .bo-filter-left .bo-search-control {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }

    .bo-crm-filter-bar .bo-filter-right {
        flex: 1 1 auto;
    }

    .bo-crm-filter-bar .bo-filter-actions {
        margin-left: auto;
    }
}

@media (max-width: 420px) {
    .bo-crm-filter-bar .bo-filter-actions {
        flex: 1 1 100%;
        width: 100%;
    }

    .bo-crm-filter-bar .bo-filter-actions .bo-primary-button {
        width: 100%;
    }
}
