/* Light / dark appearance. Default is light via html[data-theme="light"]. */
html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

.ap-theme-toggle {
    cursor: pointer;
}

button.ap-theme-toggle,
button.login-theme-toggle,
button.ap-header-icon-btn,
button.ap-header-sync,
button.ap-header-chip {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
    font: inherit;
    margin: 0;
    line-height: 1;
    color: inherit;
}

.ap-theme-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

html[data-theme="light"] .ap-theme-toggle__icon--sun,
html[data-theme="dark"] .ap-theme-toggle__icon--moon {
    display: none;
}

html[data-theme="dark"] body.ap-shell-v2 {
    --ap-paper: #151012;
    --ap-ink: #f4ebe6;
    --ap-muted: #b8a9a4;
    --ap-line: #3d2c30;
    --ap-gold-soft: #3a2e1c;
    --ui-bg: #151012;
    --ui-card: #21181b;
    --ui-ink: #f4ebe6;
    --ui-muted: #b8a9a4;
    --ui-line: #3d2c30;
    --ui-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
    --dash-ink: #f4ebe6;
    --dash-muted: #b8a9a4;
    --dash-line: #3d2c30;
    --dash-paper: #21181b;
    background: var(--ui-bg) !important;
    color: var(--ui-ink);
}

html[data-theme="dark"] .gg-page {
    --gg-ink: #f4ebe6;
    --gg-muted: #b8a9a4;
    --gg-line: #3d2c30;
    --gg-soft: #21181b;
    --gg-accent-soft: rgba(196, 163, 90, 0.14);
    --gg-ok-soft: #16351f;
    --gg-warn-soft: #3a2a12;
    --gg-danger-soft: #3a1618;
    --gg-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: var(--gg-ink);
}

html[data-theme="dark"] body.ap-shell-v2 .main,
html[data-theme="dark"] body.ap-shell-v2 .main .content.container-fluid,
html[data-theme="dark"] body.ap-shell-v2 .content.container-fluid,
html[data-theme="dark"] .theme-ayar-point .main {
    background: #151012 !important;
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 #header,
html[data-theme="dark"] body.ap-shell-v2 #header.navbar {
    background: #1a1215 !important;
    border-bottom-color: #3d2c30 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-clock__date,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-gold-price__unit {
    color: #b8a9a4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-clock__time,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-user__name,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-lang-code,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-icon-btn {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-icon-btn:hover,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-user:hover {
    background: rgba(196, 163, 90, 0.16) !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-gold-price,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-gold-price {
    background: #2a2214 !important;
    border-color: #5a4630 !important;
    color: #f6edd4 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-gold-price:hover,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-gold-price:hover {
    background: #32281c !important;
    border-color: #c4a35a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-icon-btn,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-icon-btn,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-stock-alert-chip.is-alert {
    background: #3d2a14 !important;
    color: #f0d48a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-stock-alert-dropdown {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-stock-alert-dropdown__item span,
html[data-theme="dark"] body.ap-shell-v2 .ap-stock-alert-dropdown__empty {
    color: #c9b8b0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-stock-alert-banner__item.is-out {
    background: #3a1c1c;
    color: #f3b4b4;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-stock-alert-banner__item.is-low {
    background: #3a2a16;
    color: #f0d48a;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-chip {
    background: #2a1c1e !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-icon-btn:hover,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-icon-btn:hover,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-chip:hover,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-user:hover {
    background: rgba(196, 163, 90, 0.16) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-sync.is-online,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-sync.is-online {
    background: #16351f !important;
    color: #8fd4a8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-gold-price__value {
    color: #f6edd4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-sep {
    background: #3d2c30;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-user .avatar,
html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-user .avatar-sm {
    box-shadow: 0 0 0 1px #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-header-account__who {
    background: #2a1d21;
    border-color: #4a353a;
}

html[data-theme="dark"] body.ap-shell-v2 .dropdown-menu,
html[data-theme="dark"] body.ap-shell-v2 .hs-unfold-content,
html[data-theme="dark"] body.ap-shell-v2 .ap-lang-dropdown,
html[data-theme="dark"] body.ap-shell-v2 .navbar-dropdown-menu {
    background: #24181b !important;
    border-color: #3d2c30 !important;
    color: #f4ebe6 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .dropdown-item,
html[data-theme="dark"] body.ap-shell-v2 .ap-lang-option,
html[data-theme="dark"] body.ap-shell-v2 .ap-lang-option__label,
html[data-theme="dark"] body.ap-shell-v2 .ap-lang-dropdown__title {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .dropdown-item:hover,
html[data-theme="dark"] body.ap-shell-v2 .ap-lang-option:hover {
    background: #322226 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .card,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-sheet,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-sale-sheet,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-panel,
html[data-theme="dark"] body.ap-shell-v2 .modal-content,
html[data-theme="dark"] body.ap-shell-v2 .gg-modal .modal-content {
    background: #21181b !important;
    border-color: #3d2c30 !important;
    color: #f4ebe6 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .modal-header,
html[data-theme="dark"] body.ap-shell-v2 .modal-footer,
html[data-theme="dark"] body.ap-shell-v2 .card-header,
html[data-theme="dark"] body.ap-shell-v2 .card-footer,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-head,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-sale-head {
    background: #261c1f !important;
    border-color: #3d2c30 !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 h1,
html[data-theme="dark"] body.ap-shell-v2 h2,
html[data-theme="dark"] body.ap-shell-v2 h3,
html[data-theme="dark"] body.ap-shell-v2 h4,
html[data-theme="dark"] body.ap-shell-v2 h5,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-head h1,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-panel__title,
html[data-theme="dark"] .theme-ayar-point .page-header-title,
html[data-theme="dark"] .theme-ayar-point .main h1,
html[data-theme="dark"] .theme-ayar-point .main h2,
html[data-theme="dark"] .theme-ayar-point .main h3,
html[data-theme="dark"] .theme-ayar-point .content h1,
html[data-theme="dark"] .theme-ayar-point .content h2,
html[data-theme="dark"] .theme-ayar-point .content h3 {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 p,
html[data-theme="dark"] body.ap-shell-v2 .text-muted,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-kicker,
html[data-theme="dark"] body.ap-shell-v2 label,
html[data-theme="dark"] .theme-ayar-point .main label:not(.bg-primary) {
    color: #b8a9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .form-control,
html[data-theme="dark"] body.ap-shell-v2 .custom-select,
html[data-theme="dark"] body.ap-shell-v2 select.form-control,
html[data-theme="dark"] body.ap-shell-v2 textarea.form-control,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-en,
html[data-theme="dark"] body.ap-shell-v2 .js-select2-custom,
html[data-theme="dark"] .select2-container--default .select2-selection--single,
html[data-theme="dark"] .select2-container--default .select2-selection--multiple {
    background: #1a1215 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] .select2-dropdown {
    background: #24181b !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option {
    color: #f4ebe6;
}

html[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background: #1a1215 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #5c1220 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table,
html[data-theme="dark"] body.ap-shell-v2 .table,
html[data-theme="dark"] body.ap-shell-v2 table {
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table thead th,
html[data-theme="dark"] body.ap-shell-v2 .table thead th {
    background: #2a1d21 !important;
    border-color: #3d2c30 !important;
    color: #e8d8c8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .table td,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr {
    border-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr:hover {
    background: rgba(196, 163, 90, 0.08) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-btn:not(.gg-btn--primary),
html[data-theme="dark"] body.ap-shell-v2 .gg-btn.gg-io-btn--export,
html[data-theme="dark"] body.ap-shell-v2 .gg-btn.gg-io-btn--import,
html[data-theme="dark"] body.ap-shell-v2 .gg-export-group > .gg-btn.dropdown-toggle {
    background: linear-gradient(180deg, #2a1d21 0%, #21181b 100%) !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter,
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter,
html[data-theme="dark"] body.ap-shell-v2 .gg-report-panel {
    background: linear-gradient(180deg, #261c1f 0%, #1e1518 100%) !important;
    border-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__search input,
html[data-theme="dark"] body.ap-shell-v2 .gg-search input,
html[data-theme="dark"] body.ap-shell-v2 .ap-search input {
    background: #1a1215 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-chip,
html[data-theme="dark"] body.ap-shell-v2 .gg-chip-radio span {
    background: transparent;
    border-color: transparent;
    color: #cbb9ae;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-chip.is-active,
html[data-theme="dark"] body.ap-shell-v2 .gg-chip-radio input:checked + span {
    background: #2a1d21 !important;
    border-color: #5a4630 !important;
    color: #f6edd4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-hero {
    background:
        radial-gradient(1200px 220px at 100% -20%, rgba(196, 163, 90, 0.16), transparent 55%),
        linear-gradient(135deg, #261c1f 0%, #1e1518 100%) !important;
    border-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item,
html[data-theme="dark"] body.ap-shell-v2 .ap-stat,
html[data-theme="dark"] body.ap-shell-v2 .ap-kpi,
html[data-theme="dark"] body.ap-shell-v2 .ap-shortcut {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-shop {
    background:
        radial-gradient(520px 140px at 100% -20%, rgba(196, 163, 90, 0.18), transparent 60%),
        linear-gradient(180deg, #2a2214 0%, #21181b 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item.is-gold,
html[data-theme="dark"] body.ap-shell-v2 .ap-stat.is-gold,
html[data-theme="dark"] body.ap-shell-v2 .ap-kpi.is-gold {
    background: #2a2214 !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item.is-alert,
html[data-theme="dark"] body.ap-shell-v2 .ap-kpi.is-alert {
    background: #32181c !important;
    border-color: #5a3036 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-kpi.is-ok { background: #16351f !important; border-color: #245a34 !important; }
html[data-theme="dark"] body.ap-shell-v2 .ap-kpi.is-warn { background: #2a2214 !important; border-color: #5a4630 !important; }
html[data-theme="dark"] body.ap-shell-v2 .ap-kpi.is-info { background: #182033 !important; border-color: #2a3a5a !important; }
html[data-theme="dark"] body.ap-shell-v2 .ap-kpi.is-muted { background: #241c1e !important; }

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-row,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-person,
html[data-theme="dark"] body.ap-shell-v2 .ap-donut-legend li {
    background: #2a1d21 !important;
    border-color: #3d2c30 !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-earn-bars__track {
    background: #2a1d21;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-link--ink {
    color: #e8c98a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .page-link {
    background: #21181b !important;
    border-color: #3d2c30 !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .page-item.active .page-link {
    background: #5c1220 !important;
    border-color: #5c1220 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-empty,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-empty {
    color: #b8a9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .alert-danger {
    background: #3a1618;
    border-color: #5a3036;
    color: #f4d4d6;
}

html[data-theme="dark"] body.ap-shell-v2 .close,
html[data-theme="dark"] body.ap-shell-v2 .modal-header .close {
    color: #f4ebe6;
    text-shadow: none;
}

html[data-theme="dark"] .login-page {
    --login-surface: rgba(30, 21, 24, 0.92);
    --login-surface-solid: #21181b;
    --login-muted: #b8a9a4;
    --login-text: #f4ebe6;
    --login-input-bg: rgba(26, 18, 21, 0.92);
    --login-input-border: rgba(255, 255, 255, 0.12);
    color: var(--login-text);
}

html[data-theme="dark"] .login-card,
html[data-theme="dark"] .login-card-inner {
    background: #21181b;
    color: #f4ebe6;
}

html[data-theme="dark"] .login-lang a,
html[data-theme="dark"] .login-theme-toggle {
    background: #2a1d21;
    border-color: rgba(196, 163, 90, 0.28);
    color: #f4ebe6;
}

.login-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(110, 27, 43, 0.18);
    color: #6E1B2B;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff;
}

.login-theme-toggle .ap-theme-toggle__label {
    text-transform: none;
    letter-spacing: 0;
}

html[data-theme="dark"] .login-input,
html[data-theme="dark"] .login-page .form-control {
    background: #1a1215 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-sale-voucher,
html[data-theme="dark"] body.ap-shell-v2 .gg-amount {
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-sale-voucher {
    background: #2a1d21;
    color: #f3d9b0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-qty {
    background: #2a1d21;
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-amount.is-paid {
    color: #86c99a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-amount.is-due {
    color: #f0b090;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-report-table tfoot td,
html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-report-table thead th {
    background: #24181c !important;
    border-color: #3d2d32 !important;
    color: #d9cfc8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-person__photo.is-empty,
html[data-theme="dark"] body.ap-shell-v2 .gg-customer-cell__photo,
html[data-theme="dark"] body.ap-shell-v2 .gg-customer-cell__photo .is-empty,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-person__avatar .is-empty {
    background: #3a2a20;
    border-color: #5a4330;
    color: #f3d9b0;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-icon-btn {
    background: #2a1d21;
    border-color: #4a353a;
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .main table.table,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table {
    background: #21181b;
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .main table.table thead th,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table thead th,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table thead th,
html[data-theme="dark"] body.ap-shell-v2 .main .thead-light th {
    background: linear-gradient(180deg, #2c2124 0%, #24181c 100%) !important;
    color: #d9c4b4 !important;
    border-bottom-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody td {
    color: #f4ebe6 !important;
    border-bottom-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.025) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:hover td {
    background: rgba(196, 163, 90, 0.1) !important;
    box-shadow: none;
}

html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody tr:hover td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody tr:hover td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 #c4a35a;
}

html[data-theme="dark"] body.ap-shell-v2 .main .cu-code,
html[data-theme="dark"] body.ap-shell-v2 .main .gg-code,
html[data-theme="dark"] body.ap-shell-v2 .main .gg-sale-voucher {
    background: #3a2a20 !important;
    color: #f3d9b0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main .card-footer,
html[data-theme="dark"] body.ap-shell-v2 .main .gg-pagination,
html[data-theme="dark"] body.ap-shell-v2 .main table tfoot td {
    background: #24181c !important;
    border-color: #3d2c30 !important;
    color: #d9cfc8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table .square-btn,
html[data-theme="dark"] body.ap-shell-v2 .main table .action-btn {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-clock,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-sync {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-clock__icon,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-sync__icon {
    background: #3a2a20;
    color: #f3d9b0;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-clock__date,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-sync__label {
    color: #b8a9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-clock__time,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-sync__status {
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-hero {
    background:
        radial-gradient(900px 220px at 100% -30%, rgba(196, 163, 90, 0.18), transparent 58%),
        linear-gradient(135deg, #261c1f 0%, #1e1518 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-hero__when,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item,
html[data-theme="dark"] body.ap-shell-v2 .ap-shortcut,
html[data-theme="dark"] body.ap-shell-v2 .ap-stat {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item.is-alert {
    background: #32181c !important;
    border-color: #5a3036 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-hero__title,
html[data-theme="dark"] body.ap-shell-v2 .ap-shortcut .ap-menu-tile__label b,
html[data-theme="dark"] body.ap-shell-v2 .ap-stat strong,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item strong {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-kpi {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-earn-bars__item.is-now .ap-earn-bars__lbl {
    color: #f0d48a;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-account {
    background: #24181b !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-account__who {
    background: linear-gradient(180deg, #32241c 0%, #2a1d21 100%);
    border-color: #5a4630;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-account__who .card-title,
html[data-theme="dark"] body.ap-shell-v2 .ap-header-account .dropdown-item {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-account__who .card-text {
    color: #b8a9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-account .dropdown-item:hover {
    background: #322428 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-account .dropdown-item.is-danger {
    color: #f0b4b8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-header-user .avatar {
    box-shadow: 0 0 0 1px #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 #header .ap-theme-toggle .ap-theme-toggle__icon {
    background: none !important;
    color: inherit;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-thumb {
    background: linear-gradient(180deg, #32241c 0%, #2a1d21 100%);
    border-color: #5a4630;
    box-shadow: none;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-thumb__ph {
    color: #c4a35a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__chips,
html[data-theme="dark"] body.ap-shell-v2 .gg-seg__track,
html[data-theme="dark"] body.ap-shell-v2 .gg-chips,
html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-mode {
    background: linear-gradient(180deg, #2a1d21 0%, #21181b 100%) !important;
    border-color: #4a353a !important;
    box-shadow: none;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__group > em,
html[data-theme="dark"] body.ap-shell-v2 .gg-seg > em {
    color: #cbb59a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-chip:hover,
html[data-theme="dark"] body.ap-shell-v2 .gg-chip-radio:hover span {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f6edd4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-qa {
    background:
        radial-gradient(720px 180px at 100% -40%, rgba(196, 163, 90, 0.1), transparent 60%),
        linear-gradient(180deg, #261c1f 0%, #1e1518 100%) !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-qa-group,
html[data-theme="dark"] body.ap-shell-v2 .ap-qa-tile,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-feat,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-metric {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-qa-tile__name,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-feat__copy strong,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-metric__copy strong {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-today {
    background:
        radial-gradient(640px 180px at 100% -30%, rgba(196, 163, 90, 0.16), transparent 58%),
        linear-gradient(180deg, #2a2214 0%, #21181b 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-today-feat.is-gold {
    background: linear-gradient(135deg, #32241c 0%, #2a1d21 100%) !important;
}

html[data-theme="dark"] .gg-inv-photo {
    background: #2a1c1e;
    border-color: #5a4038;
    color: #d8c7ae;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-inv-item-thumb,
html[data-theme="dark"] body.ap-shell-v2 .ap-inv-ticket-item__photo,
html[data-theme="dark"] body.ap-shell-v2 .ap-inv-photos__grid img {
    border-color: #5a4038;
    background: #2a1c1e;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-inv-ticket-item {
    border-bottom-color: #5a4038;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-inv-ticket-item__name,
html[data-theme="dark"] body.ap-shell-v2 .ap-inv-ticket-item__row b {
    color: #f3e6d2;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-inv-ticket-item__desc,
html[data-theme="dark"] body.ap-shell-v2 .ap-inv-ticket-item__row {
    color: #cbb9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-inv-photos {
    border-top-color: #5a4038;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-console,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-search,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-editor,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-chip {
    background: #21181b;
    border-color: #3d2c30;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-console {
    background: linear-gradient(180deg, #261c1f 0%, #1c1417 100%);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-console::before {
    background: linear-gradient(90deg, transparent 0%, #c4a35a 22%, #8a6a32 50%, #c4a35a 78%, transparent 100%);
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-search {
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-search__field input,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-field textarea {
    background: #1a1215 !important;
    border-color: #3d2c30 !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-search__field > i {
    color: #e8c48a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-chip strong,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-empty__icon {
    background: #2a1c1e;
    color: #e8c48a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-key code {
    background: transparent;
    color: #f6eee8;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-key {
    border-left-color: #5a4038;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-row:hover .gg-lang-key,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-row.has-missing .gg-lang-key {
    border-left-color: #c4a35a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-chip {
    color: #f4ebe6;
    background: #2a1d21;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-chip:hover {
    background: #322428;
    border-color: #c4a35a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-chip.is-active {
    background: linear-gradient(180deg, #7a1a2c 0%, #5c1220 100%);
    border-color: #8a2a3c;
    color: #fff;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-editor {
    background: #1c1417;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-editor__head,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-editor__foot {
    background: linear-gradient(180deg, #261c1f 0%, #21181b 100%);
    border-color: #3d2c30;
    color: #b8a9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-editor__head .gg-lang-locale {
    color: #e8c48a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-row {
    background: #21181b;
    border-bottom-color: #3d2c30;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-row:nth-child(even) {
    background: #1c1417;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-row:hover,
html[data-theme="dark"] body.ap-shell-v2 .gg-lang-row.has-missing:hover {
    background: #2a1c1e;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-field.is-missing textarea {
    background: #2a2214 !important;
    border-color: #8a6a32 !important;
    box-shadow: inset 3px 0 0 #c4a35a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-field textarea::placeholder {
    color: #8a7468;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-field__label em {
    background: #3a2a12;
    color: #e8c48a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-copy {
    background: rgba(42, 29, 33, 0.94);
    border-color: #5a4038;
    color: #f4ebe6;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-copy:hover {
    background: #322428;
    border-color: #c4a35a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-lang-empty strong {
    color: #f4ebe6;
}

@media (max-width: 575.98px) {
    .ap-theme-toggle .ap-theme-toggle__label {
        display: none;
    }
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item.is-gold {
    background: linear-gradient(180deg, #32241c 0%, #2a1d21 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item.is-warn {
    background: linear-gradient(180deg, #2a2214 0%, #241c1e 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__item.is-moss {
    background: linear-gradient(180deg, #1c2a24 0%, #21181b 100%) !important;
    border-color: #2a4a3e !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-pulse__meta > span,
html[data-theme="dark"] body.ap-shell-v2 .ap-qa-group h4,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-feat__copy > span,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-metric__copy > span {
    color: #cbb59a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-tile,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-money {
    background: rgba(255, 253, 248, 0.08) !important;
    border-color: rgba(240, 212, 138, 0.16) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-tile strong,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-money strong {
    color: #fff !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-invoice-card,
html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .ap-inv-preview-card {
    background: #21181b !important;
    border-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-invoice-card__head h3,
html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .ap-inv-preview-card h3 {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-inv-toggle {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-inv-toggle:has(input:checked),
html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-printer-card input:checked + .gg-printer-card__body {
    background: linear-gradient(180deg, #32241c 0%, #2a1d21 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-invoice-preview {
    background: #32241c !important;
    border-color: #5a4630 !important;
    color: #cbb59a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-invoice-settings .gg-invoice-preview strong {
    color: #f6edd4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-sale-table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:hover td {
    background: rgba(196, 163, 90, 0.12) !important;
    background-image: none !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-sale-table tbody tr:hover td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 #c4a35a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-id,
html[data-theme="dark"] body.ap-shell-v2 .gg-profile-nav,
html[data-theme="dark"] body.ap-shell-v2 .gg-profile-panel {
    background: #21181b !important;
    border-color: #3d2c30 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-id__banner {
    background:
        radial-gradient(220px 90px at 100% 0%, rgba(196, 163, 90, 0.28), transparent 62%),
        linear-gradient(135deg, #3a1820 0%, #241016 100%);
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-photo__frame {
    background: #2a1c1e;
    border-color: #21181b;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-photo__edit {
    border-color: #21181b;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-id__copy strong,
html[data-theme="dark"] body.ap-shell-v2 .gg-profile-panel__head h3 {
    color: #f3e6d2;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-id__copy span,
html[data-theme="dark"] body.ap-shell-v2 .gg-profile-panel__head p,
html[data-theme="dark"] body.ap-shell-v2 .gg-profile-settings .gg-field label {
    color: #cbb9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-id__copy em {
    background: #32241c;
    color: #f0d48a;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-nav__link {
    color: #d8c7ae;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-nav__link:hover {
    background: rgba(196, 163, 90, 0.12);
    color: #f6edd4;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-panel__head {
    border-bottom-color: #3d2c30;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-profile-settings .gg-field .form-control {
    background: #2a1c1e !important;
    border-color: #5a4038 !important;
    color: #f3e6d2;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-today-feat.is-sales,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-metric.is-warn,
html[data-theme="dark"] body.ap-shell-v2 .ap-today-metric.is-muted {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-person {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-person.is-rank-1 {
    background: linear-gradient(135deg, #32241c 0%, #2a1d21 100%) !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-person__name {
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-person__meta,
html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-person__rank {
    color: #cbb59a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-person__avatar {
    box-shadow: 0 0 0 3px #21181b, 0 0 0 5px rgba(196, 163, 90, 0.5);
}

html[data-theme="dark"] body.ap-shell-v2 .ap-top-customers .ap-dash-empty {
    background: #21181b;
    border-color: #4a353a;
    color: #b8a9a4;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select .form-control,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select .custom-select {
    background: #1a1215 !important;
    border-color: #4a353a !important;
    color: #f4ebe6 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__groups {
    border-top-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table tbody tr:hover > td,
html[data-theme="dark"] body.ap-shell-v2 .main table tbody tr:hover > th,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger table tbody tr:hover > td,
html[data-theme="dark"] body.ap-shell-v2 .table tbody tr:hover > td,
html[data-theme="dark"] body.ap-shell-v2 .gg-table tbody tr:hover > td,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr:hover > td,
html[data-theme="dark"] body.ap-shell-v2 .gg-report-table tbody tr:hover > td {
    background: rgba(196, 163, 90, 0.12) !important;
    background-image: none !important;
    box-shadow: none !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table tbody tr:hover > td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger table tbody tr:hover > td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .table tbody tr:hover > td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .gg-table tbody tr:hover > td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr:hover > td:first-child,
html[data-theme="dark"] body.ap-shell-v2 .gg-report-table tbody tr:hover > td:first-child {
    box-shadow: inset 3px 0 0 #c4a35a !important;
}

html[data-theme="dark"] body.ap-shell-v2 td.cu-code {
    background: transparent !important;
}

html[data-theme="dark"] body.ap-shell-v2 .cu-member-code {
    color: #f3d9b0 !important;
    background: none !important;
}

/* ============================================================
   Dark theme — readable text + surfaces (system-wide + POS)
   ============================================================ */
html[data-theme="dark"] body.ap-shell-v2 {
    --ap2-text: #f6eee8;
    --ap2-muted: #d7c8c0;
    --ap2-line: #4a353a;
    --ap2-surface: #21181b;
}

html[data-theme="dark"] body.ap-shell-v2,
html[data-theme="dark"] body.ap-shell-v2 .main,
html[data-theme="dark"] body.ap-shell-v2 .content,
html[data-theme="dark"] body.ap-shell-v2 .gg-page {
    color: #f6eee8;
}

html[data-theme="dark"] body.ap-shell-v2 .text-dark,
html[data-theme="dark"] body.ap-shell-v2 a.text-dark,
html[data-theme="dark"] body.ap-shell-v2 .text-body,
html[data-theme="dark"] body.ap-shell-v2 .text-secondary,
html[data-theme="dark"] body.ap-shell-v2 .text-black-50,
html[data-theme="dark"] body.ap-shell-v2 h6,
html[data-theme="dark"] body.ap-shell-v2 .card-title,
html[data-theme="dark"] body.ap-shell-v2 .page-header-title,
html[data-theme="dark"] body.ap-shell-v2 .gg-person__name,
html[data-theme="dark"] body.ap-shell-v2 .gg-customer-cell,
html[data-theme="dark"] body.ap-shell-v2 .gg-name,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-person {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .text-muted,
html[data-theme="dark"] body.ap-shell-v2 .gg-muted,
html[data-theme="dark"] body.ap-shell-v2 .cu-muted,
html[data-theme="dark"] body.ap-shell-v2 .gg-placeholder,
html[data-theme="dark"] body.ap-shell-v2 .form-text,
html[data-theme="dark"] body.ap-shell-v2 .small,
html[data-theme="dark"] body.ap-shell-v2 .fs-12,
html[data-theme="dark"] body.ap-shell-v2 .gg-person__phone,
html[data-theme="dark"] body.ap-shell-v2 .gg-person__sub,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-meta,
html[data-theme="dark"] body.ap-shell-v2 label:not(.btn):not(.badge):not(.custom-control-label):not(.gg-image-upload),
html[data-theme="dark"] body.ap-shell-v2 .input-label,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select > em,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__group > em,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-wrap__label {
    color: #d7c8c0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main a:not(.btn):not(.badge):not(.nav-link):not(.page-link):not(.gg-btn),
html[data-theme="dark"] body.ap-shell-v2 .content a:not(.btn):not(.badge):not(.nav-link):not(.page-link):not(.gg-btn) {
    color: #f0d48a;
}

html[data-theme="dark"] body.ap-shell-v2 ::placeholder {
    color: #cbb59a !important;
    opacity: 1;
}

html[data-theme="dark"] body.ap-shell-v2 .form-control,
html[data-theme="dark"] body.ap-shell-v2 .custom-select,
html[data-theme="dark"] body.ap-shell-v2 select.form-control,
html[data-theme="dark"] body.ap-shell-v2 textarea.form-control,
html[data-theme="dark"] body.ap-shell-v2 input[type="search"],
html[data-theme="dark"] body.ap-shell-v2 input[type="date"],
html[data-theme="dark"] body.ap-shell-v2 .input-group-text {
    background: #1a1215 !important;
    border-color: #5a4248 !important;
    color: #f6eee8 !important;
    color-scheme: dark;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-container .select2-selection,
html[data-theme="dark"] body.ap-shell-v2 .select2-container .select2-selection--single,
html[data-theme="dark"] body.ap-shell-v2 .select2-container .select2-selection--multiple,
html[data-theme="dark"] body.ap-shell-v2 .select2-container .select2-selection.custom-select,
html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-selection--single,
html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .custom-select {
    background: #1a1215 !important;
    background-color: #1a1215 !important;
    border-color: #5a4248 !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] body.ap-shell-v2 .select2-selection__rendered,
html[data-theme="dark"] body.ap-shell-v2 .select2-selection__rendered span,
html[data-theme="dark"] body.ap-shell-v2 .select2-container .select2-selection__placeholder {
    background: transparent !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] .select2-dropdown,
html[data-theme="dark"] body.ap-shell-v2 .select2-dropdown {
    background: #24181b !important;
    border-color: #5a4248 !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option,
html[data-theme="dark"] body.ap-shell-v2 .select2-results__option {
    color: #f6eee8 !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] body.ap-shell-v2 .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #5c1220 !important;
    color: #fff !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main .bg-white:not(.btn):not(.badge),
html[data-theme="dark"] body.ap-shell-v2 .main .bg-light:not(.btn):not(.badge),
html[data-theme="dark"] body.ap-shell-v2 .card.bg-white {
    background-color: #21181b !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .footer,
html[data-theme="dark"] body.ap-shell-v2 .ap-footer {
    background: #1a1215 !important;
    border-top-color: #3d2c30 !important;
    color: #d7c8c0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .btn-outline-primary,
html[data-theme="dark"] body.ap-shell-v2 .btn-outline-secondary,
html[data-theme="dark"] body.ap-shell-v2 .btn-outline-info,
html[data-theme="dark"] body.ap-shell-v2 .gg-btn:not(.gg-btn--primary):not(.btn-danger) {
    color: #f6eee8 !important;
    border-color: #5a4248 !important;
    background: #2a1d21 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .badge-soft-dark,
html[data-theme="dark"] body.ap-shell-v2 .badge-soft-secondary {
    background: #3a2a20 !important;
    color: #f3d9b0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-empty,
html[data-theme="dark"] body.ap-shell-v2 .gg-empty__title,
html[data-theme="dark"] body.ap-shell-v2 .card-footer,
html[data-theme="dark"] body.ap-shell-v2 .gg-pagination,
html[data-theme="dark"] body.ap-shell-v2 .dataTables_info {
    color: #d7c8c0 !important;
}

/* POS */
html[data-theme="dark"] body.ap-shell-v2 .ap-pos {
    --pos-primary: #e8c48a;
    --pos-dark: #f6eee8;
    --pos-accent: #c4a35a;
    --pos-muted: #d7c8c0;
    --pos-bg: #151012;
    --pos-surface: #21181b;
    --pos-border: #4a353a;
    --pos-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    --pos-shadow-hover: 0 16px 40px rgba(196, 163, 90, 0.16);
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .ap-pos-panel,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .card {
    background: #21181b !important;
    border-color: #4a353a !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-title {
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.12) 0%, rgba(92, 18, 32, 0.22) 100%) !important;
    border-bottom-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-title h4 {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .ap-pos-kyat-gram-btn,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .btn-outline-primary {
    background: #2a1d21 !important;
    border-color: #c4a35a !important;
    color: #f3d9b0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .ap-pos-field-label {
    color: #d7c8c0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item_thumb {
    background: #24181c !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item_content {
    background: linear-gradient(180deg, #2a1d21 0%, #24181c 100%) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item_title {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item_stock {
    color: #c9b8b0;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item_stock strong {
    color: #f6eee8;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos-item-details dt {
    color: #c9b8b0;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos-item-details dd {
    color: #f6eee8;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-product-item_price {
    color: #f0d48a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-cart-table {
    background: #1a1215 !important;
    border-color: #4a353a !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-cart-table thead {
    background: #2a1d21 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-cart-table thead th {
    color: #e8d8c8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-cart-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-cart-table tbody tr {
    color: #f6eee8 !important;
    border-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .bg-color-common {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos dl.row dt,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos dl.row dd {
    color: #d7c8c0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos dl.row dt.font-weight-bold,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos dl.row .total-amount {
    color: #f0d48a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-open-coupon-discount-modal,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-open-discount-modal,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .text-base,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .custom-add-button {
    color: #e8c48a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .pos-cart-bottom-btns {
    background: #261c1f !important;
    border-top-color: #4a353a !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .option-buttons label,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos .ap-pos-payment-label {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #d7c8c0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .ap-pos-gold-calculator {
    background: linear-gradient(135deg, rgba(92, 18, 32, 0.35) 0%, rgba(196, 163, 90, 0.12) 100%) !important;
    border-color: #5a4630 !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .customer-details {
    background: #21181b !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .gg-select-caret {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' stroke='%23e8c48a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-pos .page-link {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .navbar-nav .nav-link {
    color: #e8ddd6;
}

html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .navbar-vertical-aside-has-menu > .navbar-vertical-aside-has-menu-link {
    color: #c4a35a;
}

/* Dates, search, and leftover ink that still used light-theme colors */
html[data-theme="dark"] body.ap-shell-v2 .gg-date-inline,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-cell,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-en,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-cell .gg-date-en,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-inline .gg-date-en,
html[data-theme="dark"] body.ap-shell-v2 .gg-report-date,
html[data-theme="dark"] body.ap-shell-v2 .gg-report-date span {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-date-mm,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-cell .gg-date-mm,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-inline .gg-date-mm,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-date-inline .gg-date-mm,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table .gg-date-inline .gg-date-mm {
    color: #e0c9a4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-amount,
html[data-theme="dark"] body.ap-shell-v2 .text-right.gg-amount,
html[data-theme="dark"] body.ap-shell-v2 .gg-num,
html[data-theme="dark"] body.ap-shell-v2 .gg-qty,
html[data-theme="dark"] body.ap-shell-v2 .gg-sub,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-sub,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-code,
html[data-theme="dark"] body.ap-shell-v2 .gg-ledger .gg-sale-voucher {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter select,
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter select,
html[data-theme="dark"] body.ap-shell-v2 .gg-inline-filter input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-inline-filter select,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-bar input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-bar select,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select .form-control,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select .custom-select,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select select,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__search input,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__field .form-control,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__field .dual-date-en,
html[data-theme="dark"] body.ap-shell-v2 .gg-search input,
html[data-theme="dark"] body.ap-shell-v2 .ap-search input,
html[data-theme="dark"] body.ap-shell-v2 input[type="search"],
html[data-theme="dark"] body.ap-shell-v2 input[type="date"] {
    background: #1a1215 !important;
    border-color: #5a4248 !important;
    color: #f6eee8 !important;
    -webkit-text-fill-color: #f6eee8 !important;
    caret-color: #f6eee8;
    color-scheme: dark;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter input::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter input::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .gg-inline-filter input::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-bar input::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__search input::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .gg-search input::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .form-control::placeholder,
html[data-theme="dark"] body.ap-shell-v2 input::placeholder {
    color: #d4c4bc !important;
    -webkit-text-fill-color: #d4c4bc !important;
    opacity: 1 !important;
}

html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-datetime-edit,
html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-datetime-edit-fields-wrapper,
html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-datetime-edit-text,
html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-datetime-edit-month-field,
html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-datetime-edit-day-field,
html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-datetime-edit-year-field,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter input[type="date"]::-webkit-datetime-edit,
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter input[type="date"]::-webkit-datetime-edit,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter input[type="date"]::-webkit-datetime-edit-fields-wrapper,
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    color: #f6eee8 !important;
    -webkit-text-fill-color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.35);
    opacity: 0.85;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__search i,
html[data-theme="dark"] body.ap-shell-v2 .gg-search i,
html[data-theme="dark"] body.ap-shell-v2 .ap-search i {
    color: #e0c9a4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-display {
    background: rgba(255, 248, 240, 0.04);
    border-color: rgba(224, 201, 164, 0.22);
    color: #f6eee8;
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-icons {
    background: rgba(255, 248, 240, 0.06);
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-icons__sep {
    background: rgba(224, 201, 164, 0.22);
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-en-toggle.is-active,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-mm-toggle.is-active {
    background-color: rgba(255, 248, 240, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-display.is-empty {
    color: #b8a898;
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-en-toggle,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-mm-toggle {
    filter: invert(1) brightness(1.35);
    opacity: 0.9;
}

html[data-theme="dark"] body.ap-shell-v2 .dual-date-en-toggle:hover,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-mm-toggle:hover,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-mm-toggle.is-active {
    background-color: rgba(224, 201, 164, 0.16);
}

html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select > em,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__group > em,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__field .dual-date-wrap__label,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__field .dual-date-wrap > label,
html[data-theme="dark"] body.ap-shell-v2 .dual-date-wrap__label {
    color: #e8d8c8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .main table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .main table tbody th,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .gg-table tbody td {
    color: #f6eee8 !important;
}

/* ============================================================
   Dark theme contrast pass — readable text, pills, rows, search
   ============================================================ */
html[data-theme="dark"] .theme-ayar-point {
    --ap-muted: #cbb9a8;
    --ap-sidebar-text: #f6eee8;
    --ap-sidebar-muted: rgba(246, 237, 212, 0.62);
    --ap-sidebar-sub-text: #f0e4d8;
    --ap-sidebar-sub-muted: rgba(246, 237, 212, 0.7);
}

html[data-theme="dark"] body.ap-shell-v2 {
    --ap-muted: #d4c4bc;
    --ui-muted: #d4c4bc;
    --dash-muted: #d4c4bc;
}

html[data-theme="dark"] .theme-ayar-point .nav-subtitle,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .nav-subtitle,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .nav-link,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .nav-link .tio,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .nav-link i {
    color: #f0e4d8 !important;
    opacity: 1;
}

html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .nav-subtitle {
    color: #e0c9a4 !important;
    letter-spacing: 0.08em;
}

html[data-theme="dark"] .theme-ayar-point .sidebar--search-form .search--form-group,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .search--form-group {
    background: rgba(18, 10, 12, 0.45) !important;
    border: 1px solid rgba(196, 163, 90, 0.32) !important;
    border-radius: 999px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="dark"] .theme-ayar-point .sidebar--search-form .search--form-group:focus-within,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .search--form-group:focus-within {
    background: rgba(26, 16, 18, 0.72) !important;
    border-color: rgba(224, 201, 164, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .theme-ayar-point .sidebar--search-form .form--control,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .form-control,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .form--control {
    background: transparent !important;
    border: 0 !important;
    color: #f6eee8 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .theme-ayar-point .sidebar--search-form .form--control::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .form--control::placeholder,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .form-control::placeholder {
    color: rgba(246, 237, 212, 0.58) !important;
    -webkit-text-fill-color: rgba(246, 237, 212, 0.58) !important;
    opacity: 1 !important;
}

html[data-theme="dark"] .theme-ayar-point .sidebar--search-form .btn,
html[data-theme="dark"] body.ap-shell-v2 .sidebar--search-form .btn {
    color: #e0c9a4 !important;
    background: transparent !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pill,
html[data-theme="dark"] body.ap-shell-v2 .gg-badge,
html[data-theme="dark"] body.ap-shell-v2 .gg-status {
    border: 1px solid transparent;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pill--ok,
html[data-theme="dark"] body.ap-shell-v2 .gg-badge.is-ok,
html[data-theme="dark"] body.ap-shell-v2 .gg-badge.is-completed {
    background: #16351f !important;
    color: #8fd4a8 !important;
    border-color: #245a34 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pill--warn,
html[data-theme="dark"] body.ap-shell-v2 .gg-badge.is-unpaid {
    background: #3a2a12 !important;
    color: #f0d48a !important;
    border-color: #6a5228 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pill--alert,
html[data-theme="dark"] body.ap-shell-v2 .gg-badge.is-danger {
    background: #3a1618 !important;
    color: #f3b4bc !important;
    border-color: #6a3036 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pill--gold {
    background: #32241c !important;
    color: #f3d9b0 !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pill--muted,
html[data-theme="dark"] body.ap-shell-v2 .gg-pill--neutral {
    background: #2a2224 !important;
    color: #e4d6cc !important;
    border-color: #4a3a3e !important;
}

html[data-theme="dark"] body.ap-shell-v2 .badge-soft-success,
html[data-theme="dark"] body.ap-shell-v2 .badge-success {
    background: #16351f !important;
    color: #8fd4a8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .badge-soft-warning,
html[data-theme="dark"] body.ap-shell-v2 .badge-warning {
    background: #3a2a12 !important;
    color: #f0d48a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .badge-soft-danger,
html[data-theme="dark"] body.ap-shell-v2 .badge-danger {
    background: #3a1618 !important;
    color: #f3b4bc !important;
}

html[data-theme="dark"] body.ap-shell-v2 .badge-soft-info,
html[data-theme="dark"] body.ap-shell-v2 .badge-info,
html[data-theme="dark"] body.ap-shell-v2 .badge-soft-primary {
    background: #3a2a20 !important;
    color: #f3d9b0 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .badge-soft-dark,
html[data-theme="dark"] body.ap-shell-v2 .badge-soft-secondary,
html[data-theme="dark"] body.ap-shell-v2 .badge-soft-light {
    background: #2a2224 !important;
    color: #f0e4d8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 table,
html[data-theme="dark"] body.ap-shell-v2 .table,
html[data-theme="dark"] body.ap-shell-v2 .gg-table,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table {
    background: #21181b !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .gg-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody td {
    background: #21181b !important;
    color: #f6eee8 !important;
    border-bottom-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .gg-table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody tr:nth-child(even) td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:nth-child(even) td {
    background: #261c1f !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .gg-table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .main table.table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-table tbody tr:hover td,
html[data-theme="dark"] body.ap-shell-v2 .main table.gg-sale-table tbody tr:hover td {
    background: #32241c !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-date-mm,
html[data-theme="dark"] body.ap-shell-v2 .gg-date-cell .gg-date-mm,
html[data-theme="dark"] body.ap-shell-v2 .text-muted,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-row__meta,
html[data-theme="dark"] body.ap-shell-v2 .ap-donut-legend em,
html[data-theme="dark"] body.ap-shell-v2 small,
html[data-theme="dark"] body.ap-shell-v2 .form-text {
    color: #d4c4bc !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-donut-center strong {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-donut-center span {
    color: #d4c4bc !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-donut-legend strong,
html[data-theme="dark"] body.ap-shell-v2 .ap-donut-legend span {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-donut-legend em {
    color: #e0c9a4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-row__media,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-person__avatar,
html[data-theme="dark"] body.ap-shell-v2 .gg-thumb {
    background: #32241c !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .ap-dash-row__media img,
html[data-theme="dark"] body.ap-shell-v2 .ap-dash-person__avatar img,
html[data-theme="dark"] body.ap-shell-v2 .gg-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-icon-btn,
html[data-theme="dark"] body.ap-shell-v2 .square-btn,
html[data-theme="dark"] body.ap-shell-v2 .action-btn {
    background: #2a1d21 !important;
    border-color: #5a4248 !important;
    color: #f0e4d8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-icon-btn:hover,
html[data-theme="dark"] body.ap-shell-v2 .square-btn:hover,
html[data-theme="dark"] body.ap-shell-v2 .action-btn:hover {
    background: #3a2a20 !important;
    border-color: #c4a35a !important;
    color: #f6edd4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-icon-btn.is-danger,
html[data-theme="dark"] body.ap-shell-v2 .gg-icon-btn.is-danger:hover {
    background: #3a1618 !important;
    border-color: #6a3036 !important;
    color: #f3b4bc !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-icon-btn.is-ok {
    background: #16351f !important;
    border-color: #245a34 !important;
    color: #8fd4a8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-page-toolbar,
html[data-theme="dark"] body.ap-shell-v2 .gg-inline-filter {
    background: transparent !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter select,
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-table-filter select,
html[data-theme="dark"] body.ap-shell-v2 .gg-inline-filter input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-inline-filter select,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-bar input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-bar select,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select .form-control,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select .custom-select,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select select {
    background: #1a1215 !important;
    border-color: #5a4248 !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select > em,
html[data-theme="dark"] body.ap-shell-v2 .gg-filter-select > label,
html[data-theme="dark"] body.ap-shell-v2 .gg-pawn-filter__group > em {
    color: #e0c9a4 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-code,
html[data-theme="dark"] body.ap-shell-v2 .cu-code,
html[data-theme="dark"] body.ap-shell-v2 .gg-sale-voucher,
html[data-theme="dark"] body.ap-shell-v2 .main .cu-code,
html[data-theme="dark"] body.ap-shell-v2 .main .gg-code {
    background: #3a2a20 !important;
    color: #f3d9b0 !important;
    border-color: #5a4630 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-selection--single,
html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-selection--multiple,
html[data-theme="dark"] body.ap-shell-v2 .gg-search-select + .select2-container .select2-selection {
    background: #1a1215 !important;
    border-color: #5a4248 !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .modal-title,
html[data-theme="dark"] body.ap-shell-v2 .card-title,
html[data-theme="dark"] body.ap-shell-v2 .gg-header h2,
html[data-theme="dark"] body.ap-shell-v2 .gg-field label {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-report-table-wrap,
html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-report-block .table-responsive,
html[data-theme="dark"] body.ap-shell-v2 .gg-report .gg-sale-desktop {
    background: #21181b !important;
    border-color: #3d2c30 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-kpi,
html[data-theme="dark"] body.ap-shell-v2 .gg-report-kpis .gg-kpi {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-kpi span {
    color: #d4c4bc !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-kpi strong {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .badge,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .badge-soft-info,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .badge-soft-success,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .badge-soft-warning,
html[data-theme="dark"] body.ap-shell-v2 .navbar-vertical-aside .badge-soft-danger {
    background: #3a2a20 !important;
    color: #f6edd4 !important;
    border: 0;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-company-settings .gg-invoice-card {
    background: #2a1d21 !important;
    border-color: #4a353a !important;
}

html[data-theme="dark"] body.ap-shell-v2 .gg-company-settings .gg-co-switch__copy em {
    color: #c9b4a8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 select.form-control:not(.select2-hidden-accessible),
html[data-theme="dark"] body.ap-shell-v2 select.custom-select:not(.select2-hidden-accessible),
html[data-theme="dark"] body.ap-shell-v2 .modal select.form-control:not(.select2-hidden-accessible),
html[data-theme="dark"] body.ap-shell-v2 .gg-field select,
html[data-theme="dark"] body.ap-shell-v2 .ap-pos select.form-control:not(.select2-hidden-accessible) {
    color: #f6eee8 !important;
    background-color: #1a1215 !important;
}

html[data-theme="dark"] body.ap-shell-v2 select option,
html[data-theme="dark"] body.ap-shell-v2 .custom-select option,
html[data-theme="dark"] body.ap-shell-v2 .form-control option {
    color: #f6eee8;
    background-color: #24181b;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-theme="dark"] body.ap-shell-v2 .select2-container .select2-selection__rendered {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-dropdown,
html[data-theme="dark"] .select2-container--default .select2-dropdown {
    background: #24181b !important;
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-dropdown .select2-results__option,
html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-results__option,
html[data-theme="dark"] .select2-container--default .select2-results__option {
    color: #f6eee8 !important;
    background: #2a1d21 !important;
    line-height: 1.85 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-dropdown .select2-results__option *,
html[data-theme="dark"] body.ap-shell-v2 .select2-results__option .gg-customer-opt,
html[data-theme="dark"] body.ap-shell-v2 .select2-results__option .gg-customer-opt b {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-results__option .gg-customer-opt small {
    color: #c9b4a8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] body.ap-shell-v2 .select2-container--default .select2-results__option[aria-selected=true],
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
    color: #f6edd4 !important;
    background: #4a2a32 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .dropdown-menu .dropdown-item,
html[data-theme="dark"] body.ap-shell-v2 .gg-export-menu .dropdown-item {
    color: #f6eee8 !important;
}

html[data-theme="dark"] body.ap-shell-v2 .dropdown-menu .dropdown-item:hover,
html[data-theme="dark"] body.ap-shell-v2 .gg-export-menu .dropdown-item:hover {
    color: #f6edd4 !important;
    background: #4a2a32 !important;
}
