/* Demo panel light / dark theme tokens */
:root,
[data-bs-theme="light"] {
  --ap-primary: #0d6efd;
  --ap-primary-dark: #0a58ca;
  --ap-surface: #f1f5f9;
  --ap-surface-2: #ffffff;
  --ap-text: #0f172a;
  --ap-text-muted: #64748b;
  --ap-border: rgba(15, 23, 42, 0.08);
  --ap-card-bg: #ffffff;
  --ap-card-header-bg: #ffffff;
  --ap-table-head: #475569;
  --ap-table-stripe: rgba(15, 23, 42, 0.03);
  --ap-table-hover: rgba(15, 23, 42, 0.045);
  --ap-card-shadow: 0 0.125rem 0.25rem rgba(15, 23, 42, 0.06);
  --ap-card-shadow-hover: 0 0.5rem 1rem rgba(15, 23, 42, 0.1);
  --ap-radius: 0.5rem;
  --ap-radius-sm: 0.375rem;
  --ap-navbar-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  --ap-home-grad: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 45%, #ffffff 100%);
  --ap-home-tile: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --ap-home-tile-hover: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  --ap-home-tile-text: #0f172a;
  --ap-subnav-bg: #ffffff;
  --ap-subnav-border: #e2e8f0;
  --touch-target: 48px;
  color-scheme: light;
}

[data-bs-theme="dark"] {
  --ap-primary: #3b82f6;
  --ap-primary-dark: #2563eb;
  --ap-surface: #0b1220;
  --ap-surface-2: #111827;
  --ap-text: #e5e7eb;
  --ap-text-muted: #94a3b8;
  --ap-border: rgba(148, 163, 184, 0.18);
  --ap-card-bg: #111827;
  --ap-card-header-bg: #0f172a;
  --ap-table-head: #cbd5e1;
  --ap-table-stripe: rgba(148, 163, 184, 0.06);
  --ap-table-hover: rgba(148, 163, 184, 0.1);
  --ap-card-shadow: 0 0.125rem 0.35rem rgba(0, 0, 0, 0.35);
  --ap-card-shadow-hover: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.45);
  --ap-home-grad: linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #020617 100%);
  --ap-home-tile: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  --ap-home-tile-hover: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  --ap-home-tile-text: #e2e8f0;
  --ap-subnav-bg: #0f172a;
  --ap-subnav-border: rgba(148, 163, 184, 0.2);
  color-scheme: dark;
}

/* Apply tokens to common panel chrome (TV screen excluded) */
body:not(.t-screen) {
  color: var(--ap-text);
  background-color: var(--ap-surface);
}

body:not(.t-screen) .container .card,
body:not(.t-screen) .card.card-time,
body:not(.t-screen) .settings-layout .card,
body:not(.t-screen) .reports-layout .card {
  background-color: var(--ap-card-bg);
  border-color: var(--ap-border);
  color: var(--ap-text);
  box-shadow: var(--ap-card-shadow);
}

body:not(.t-screen) .container .card-header,
body:not(.t-screen) .card.card-time .card-header {
  background-color: var(--ap-card-header-bg);
  border-bottom-color: var(--ap-border);
  color: var(--ap-text);
}

body:not(.t-screen) .container .card-body,
body:not(.t-screen) .card.card-time .card-body {
  background-color: var(--ap-card-bg);
  color: var(--ap-text);
}

body:not(.t-screen) .container .table,
body:not(.t-screen) .table-time,
body:not(.t-screen) .table-striped {
  color: var(--ap-text);
  --bs-table-bg: transparent;
  --bs-table-color: var(--ap-text);
  --bs-table-border-color: var(--ap-border);
  --bs-table-striped-bg: var(--ap-table-stripe);
  --bs-table-striped-color: var(--ap-text);
  --bs-table-hover-bg: var(--ap-table-hover);
  --bs-table-hover-color: var(--ap-text);
}

body:not(.t-screen) .container .table thead th,
body:not(.t-screen) .table-time thead th {
  color: var(--ap-table-head);
  border-bottom-color: var(--ap-border);
}

body:not(.t-screen) .container .table td,
body:not(.t-screen) .container .table th {
  border-color: var(--ap-border);
}

body:not(.t-screen) .form-control,
body:not(.t-screen) .form-select,
body:not(.t-screen) .input-group-text {
  background-color: var(--ap-surface-2);
  color: var(--ap-text);
  border-color: var(--ap-border);
}

body:not(.t-screen) .form-control:focus,
body:not(.t-screen) .form-select:focus {
  background-color: var(--ap-surface-2);
  color: var(--ap-text);
}

body:not(.t-screen) .form-control::placeholder {
  color: var(--ap-text-muted);
  opacity: .85;
}

body:not(.t-screen) .modal-content {
  background-color: var(--ap-card-bg);
  color: var(--ap-text);
  border-color: var(--ap-border);
}

body:not(.t-screen) .modal-header,
body:not(.t-screen) .modal-footer {
  border-color: var(--ap-border);
}

[data-bs-theme="dark"] body:not(.t-screen) .btn-close {
  filter: invert(1) grayscale(100%);
}

body:not(.t-screen) .text-body-secondary,
body:not(.t-screen) .text-muted,
body:not(.t-screen) .text-secondary {
  color: var(--ap-text-muted) !important;
}

body:not(.t-screen) .dropdown-menu {
  background-color: var(--ap-card-bg);
  border-color: var(--ap-border);
}

body:not(.t-screen) .dropdown-item {
  color: var(--ap-text);
}

body:not(.t-screen) .dropdown-item:hover,
body:not(.t-screen) .dropdown-item:focus {
  background-color: rgba(59, 130, 246, 0.12);
  color: var(--ap-text);
}

body:not(.t-screen) .list-group-item {
  background-color: var(--ap-card-bg);
  color: var(--ap-text);
  border-color: var(--ap-border);
}

body:not(.t-screen) .list-group-item-action:hover,
body:not(.t-screen) .list-group-item-action:focus {
  background-color: var(--ap-table-hover);
  color: var(--ap-text);
}

/* Settings / reports subnav pills */
body:not(.t-screen) .ap-subnav {
  background: var(--ap-subnav-bg);
  border-color: var(--ap-subnav-border);
}
body:not(.t-screen) .ap-subnav-link {
  color: var(--ap-text-muted);
}
body:not(.t-screen) .ap-subnav-link:hover {
  color: var(--ap-text);
  background: var(--ap-table-hover);
}
body:not(.t-screen) .ap-subnav-link.active,
body:not(.t-screen) .ap-subnav-link.active:hover {
  color: #fff;
}

/* DataTables */
body:not(.t-screen) .dataTables_wrapper,
body:not(.t-screen) .dataTables_info,
body:not(.t-screen) .dataTables_filter label {
  color: var(--ap-text-muted);
}
body:not(.t-screen) .dataTables_wrapper .dataTables_filter input {
  background-color: var(--ap-surface-2);
  color: var(--ap-text);
  border-color: var(--ap-border);
}
body:not(.t-screen) table.dataTable tbody tr {
  background-color: transparent;
}
body:not(.t-screen) table.dataTable.stripe tbody tr.odd,
body:not(.t-screen) table.dataTable.display tbody tr.odd {
  background-color: var(--ap-table-stripe);
}

/* Select2 */
body:not(.t-screen) .select2-container--default .select2-selection--single,
body:not(.t-screen) .select2-container--default .select2-selection--multiple {
  background-color: var(--ap-surface-2);
  border-color: var(--ap-border);
  color: var(--ap-text);
}
body:not(.t-screen) .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ap-text);
}
body:not(.t-screen) .select2-dropdown {
  background-color: var(--ap-card-bg);
  border-color: var(--ap-border);
  color: var(--ap-text);
}
body:not(.t-screen) .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--ap-primary);
}

/* Home dashboard respects theme */
body.home:not(.t-screen) {
  background: var(--ap-home-grad);
}
body.home:not(.t-screen) #code {
  color: var(--ap-text);
}
body.home:not(.t-screen) .homedash .item a {
  color: var(--ap-home-tile-text);
  background: var(--ap-home-tile);
  border-color: var(--ap-border);
  box-shadow: var(--ap-card-shadow);
}
body.home:not(.t-screen) .homedash .item a:hover {
  background: var(--ap-home-tile-hover);
  box-shadow: var(--ap-card-shadow-hover);
}
body.home:not(.t-screen) .homedash .item a span {
  color: var(--ap-text-muted);
}
[data-bs-theme="light"] body.home:not(.t-screen) #code .text-secondary,
[data-bs-theme="light"] body.home:not(.t-screen) h4.text-secondary {
  color: var(--ap-text-muted) !important;
}

/* Cafe / table panels that still hardcode light content areas */
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content,
[data-bs-theme="dark"] body:not(.t-screen) .tableProduct .content,
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content {
  background-color: #0b1220;
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .footer {
  background-color: #0f172a;
  border-top-color: var(--ap-border);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .footer .summary,
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content table {
  color: var(--ap-text);
}

/* Timed page row selection stays readable */
[data-bs-theme="dark"] body.timed-page .table-active {
  --bs-table-accent-bg: rgb(22, 101, 52);
}
[data-bs-theme="dark"] body.timed-page .table-active td {
  color: #fff;
}
[data-bs-theme="dark"] body.timed-page .table-secondary,
[data-bs-theme="dark"] body.timed-page .table-secondary > * {
  --bs-table-bg: #1e293b;
  --bs-table-color: #94a3b8;
  color: #94a3b8;
}

/* Theme toggle */
#btnThemeToggle {
  min-width: var(--touch-target);
}
#btnThemeToggle .theme-icon-dark { display: none; }
[data-bs-theme="dark"] #btnThemeToggle .theme-icon-light { display: none; }
[data-bs-theme="dark"] #btnThemeToggle .theme-icon-dark { display: inline-block; }

/* UI click sound toggle */
#btnSoundToggle {
  min-width: var(--touch-target);
}
#btnSoundToggle .sound-icon-off { display: none; }
[data-ap-sound="off"] #btnSoundToggle .sound-icon-on { display: none; }
[data-ap-sound="off"] #btnSoundToggle .sound-icon-off { display: inline-block; }

/* Timed modal chips */
[data-bs-theme="dark"] .timed-game-block {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.2);
}
[data-bs-theme="dark"] .timed-game-name { color: #e2e8f0; }
[data-bs-theme="dark"] button.price-option {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
}
[data-bs-theme="dark"] button.price-option span { color: #94a3b8; }
[data-bs-theme="dark"] button.price-option:hover {
  background: #14532d;
  border-color: #22c55e;
}
[data-bs-theme="dark"] button.price-option.selected {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
[data-bs-theme="dark"] .timed-edit-meta {
  background: #0f172a;
}
[data-bs-theme="dark"] .timed-edit-meta-main strong { color: #f8fafc; }
[data-bs-theme="dark"] .timed-modal-note {
  background: #422006;
  border-color: #854d0e;
  color: #fde68a;
}
[data-bs-theme="dark"] .timed-modal-label {
  color: #94a3b8;
}
[data-bs-theme="dark"] .timed-modal .form-label {
  color: #cbd5e1;
}
[data-bs-theme="dark"] .timed-modal-hint {
  color: #94a3b8;
}
[data-bs-theme="dark"] .timed-modal-hint.is-error {
  color: #fca5a5;
}

/* SweetAlert2 minimal dark */
[data-bs-theme="dark"] .swal2-popup {
  background: #111827;
  color: #e5e7eb;
}
[data-bs-theme="dark"] .swal2-title,
[data-bs-theme="dark"] .swal2-html-container {
  color: #e5e7eb;
}

/* ===== Settings / Reports: beat hardcoded light rules in main.css ===== */
[data-bs-theme="dark"] body.settings-page .container .card-header,
[data-bs-theme="dark"] body.reports-page .container .card-header {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-bottom-color: var(--ap-border) !important;
  color: var(--ap-text) !important;
}
[data-bs-theme="dark"] body.settings-page .container .card-header .card-title,
[data-bs-theme="dark"] body.reports-page .container .card-header .card-title {
  color: #f1f5f9 !important;
}
[data-bs-theme="dark"] body.settings-page .container .card,
[data-bs-theme="dark"] body.reports-page .container .card {
  border-color: var(--ap-border) !important;
  box-shadow: var(--ap-card-shadow) !important;
  background-color: var(--ap-card-bg) !important;
}
[data-bs-theme="dark"] body.settings-page .table,
[data-bs-theme="dark"] body.reports-page .table {
  color: var(--ap-text) !important;
}
[data-bs-theme="dark"] body.settings-page .table thead th,
[data-bs-theme="dark"] body.reports-page .table thead th {
  background: #0f172a !important;
  border-bottom-color: var(--ap-border) !important;
  color: var(--ap-table-head) !important;
}
[data-bs-theme="dark"] body.settings-page .table-striped > tbody > tr:nth-of-type(odd),
[data-bs-theme="dark"] body.reports-page .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(148, 163, 184, 0.06) !important;
}
[data-bs-theme="dark"] body.settings-page .table-striped > tbody > tr:hover,
[data-bs-theme="dark"] body.reports-page .table-striped > tbody > tr:hover {
  background-color: rgba(59, 130, 246, 0.12) !important;
}
[data-bs-theme="dark"] body.settings-page .table-borderless td,
[data-bs-theme="dark"] body.settings-page .table-borderless th,
[data-bs-theme="dark"] body.reports-page .table-borderless td,
[data-bs-theme="dark"] body.reports-page .table-borderless th {
  border-top-color: var(--ap-border) !important;
}
[data-bs-theme="dark"] body.settings-page .form-label,
[data-bs-theme="dark"] body.reports-page .form-label {
  color: #cbd5e1 !important;
}
[data-bs-theme="dark"] body.settings-page .form-control,
[data-bs-theme="dark"] body.reports-page .form-control {
  background-color: var(--ap-surface-2) !important;
  color: var(--ap-text) !important;
  border-color: var(--ap-border) !important;
}
[data-bs-theme="dark"] body.settings-page .card-body:has(.dataTables_wrapper) .datatable-header,
[data-bs-theme="dark"] body.reports-page .card-body:has(.dataTables_wrapper) .datatable-header,
[data-bs-theme="dark"] body.settings-page .card-body:has(.dataTables_wrapper) .datatable-footer,
[data-bs-theme="dark"] body.reports-page .card-body:has(.dataTables_wrapper) .datatable-footer {
  background: transparent;
  color: var(--ap-text-muted);
}

/* Light theme: keep settings headers soft (override only if needed) */
[data-bs-theme="light"] body.settings-page .container .card-header,
[data-bs-theme="light"] body.reports-page .container .card-header {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #1e293b;
}

/* Login: theme-aware card + floating toggle */
[data-bs-theme="dark"] body.login-page .login-card {
  background: rgba(17, 24, 39, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  color: #e5e7eb;
}
[data-bs-theme="dark"] body.login-page .login-card h1,
[data-bs-theme="dark"] body.login-page .login-message {
  color: #e5e7eb;
}
[data-bs-theme="dark"] body.login-page .login-subtitle {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.login-page .login-input {
  background-color: #0f172a;
  border-color: rgba(148, 163, 184, 0.25);
  color: #f1f5f9;
}
[data-bs-theme="light"] body.login-page .login-page-bg {
  background: linear-gradient(160deg, #e2e8f0 0%, #f8fafc 40%, #e2e8f0 75%, #cbd5e1 100%);
}
[data-bs-theme="light"] body.login-page .login-page-bg::before {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.12), transparent),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(14, 165, 233, 0.08), transparent);
}
[data-bs-theme="light"] body.login-page .login-card {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

/* Login logos: dark.png (blue) on light UI; light.png (white) on dark UI */
.login-page .login-logo-wrap .login-logo-on-dark { display: none !important; }
[data-bs-theme="dark"] .login-page .login-logo-wrap .login-logo-on-light { display: none !important; }
[data-bs-theme="dark"] .login-page .login-logo-wrap .login-logo-on-dark { display: inline-block !important; }

.login-theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
[data-bs-theme="light"] .login-theme-toggle {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}
.login-theme-toggle .theme-icon-dark { display: none; }
[data-bs-theme="dark"] .login-theme-toggle .theme-icon-light { display: none; }
[data-bs-theme="dark"] .login-theme-toggle .theme-icon-dark { display: inline-block; }

.login-sound-toggle {
  right: 4.25rem;
}
.login-sound-toggle .sound-icon-off { display: none; }
[data-ap-sound="off"] .login-sound-toggle .sound-icon-on { display: none; }
[data-ap-sound="off"] .login-sound-toggle .sound-icon-off { display: inline-block; }

/* Cafe home: light theme uses panel surface (not ops-dark) */
[data-bs-theme="light"] body.cafe-home .cafe-home-layout {
  background: var(--ap-home-grad) !important;
}

/* Alert surfaces */
[data-bs-theme="dark"] body:not(.t-screen) .alert-secondary {
  background-color: #1e293b;
  border-color: var(--ap-border);
  color: #e2e8f0;
}
[data-bs-theme="dark"] body:not(.t-screen) .alert-light {
  background-color: #1e293b;
  border-color: var(--ap-border);
  color: #e2e8f0;
}

/* ===== Cafe table / product / payment light panels ===== */
[data-bs-theme="dark"] body.cafe .tableDetails .content,
[data-bs-theme="dark"] body.cafe .tableProduct .content,
[data-bs-theme="dark"] .tableDetails .content,
[data-bs-theme="dark"] .tableProduct .content {
  background-color: #0b1220 !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] .tableDetails .content table,
[data-bs-theme="dark"] .tableDetails .content table td,
[data-bs-theme="dark"] .tableDetails .content table strong,
[data-bs-theme="dark"] .tableDetails .content h4,
[data-bs-theme="dark"] .tableDetails .content table span {
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] .tableDetails .footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-top-color: rgba(148, 163, 184, 0.18) !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] .tableDetails .footer .summary table,
[data-bs-theme="dark"] .tableDetails .footer .summary table td {
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .tableProduct .product-search-box,
[data-bs-theme="dark"] .tableProduct .product-search-input,
[data-bs-theme="dark"] .tableProduct .numpad-amount-input,
[data-bs-theme="dark"] .tableProduct .numpad-input-group {
  background-color: #111827 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] .tableProduct .product-search-input::placeholder,
[data-bs-theme="dark"] .tableProduct .numpad-amount-input::placeholder {
  color: #94a3b8 !important;
}
/* flat product wash removed — brand orange restored below */
[data-bs-theme="dark"] .paymentDetails {
  background-color: #0b1220 !important;
  border-left-color: rgba(148, 163, 184, 0.2) !important;
  border-right-color: rgba(148, 163, 184, 0.2) !important;
  color: #e5e7eb;
}
[data-bs-theme="dark"] .paymentDetails .content {
  background-color: #0b1220 !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] .paymentDetails .footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  color: #e5e7eb;
}
[data-bs-theme="dark"] .paymentDetails .footer .summary table,
[data-bs-theme="dark"] .paymentDetails .footer .summary table td {
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .tableDetails .content table tr.tableContentRow:hover,
[data-bs-theme="dark"] .tableDetails .content table tr.tableContentRow.active {
  background-color: rgba(59, 130, 246, 0.15) !important;
}

/* Light cafe content — superseded by full light shell block below */

/* ===== Outline buttons / secondary chrome ===== */
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-secondary {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-secondary:hover {
  background-color: rgba(148, 163, 184, 0.15);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.5);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-light {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.35);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-warning {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-warning:hover {
  background-color: rgba(251, 191, 36, 0.15);
  color: #fde68a;
}

/* jGrowl */
[data-bs-theme="dark"] .jGrowl-notification {
  background-color: #111827 !important;
  color: #e5e7eb !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}

/* Picker / date */
[data-bs-theme="dark"] .picker__holder,
[data-bs-theme="dark"] .picker__frame,
[data-bs-theme="dark"] .picker__box {
  background: #111827;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.25);
}
[data-bs-theme="dark"] .picker__day--infocus,
[data-bs-theme="dark"] .picker__weekday {
  color: #e5e7eb;
}
[data-bs-theme="dark"] .picker__nav--prev:before,
[data-bs-theme="dark"] .picker__nav--next:before {
  border-color: #94a3b8;
}

/* Card / reader pages using container cards */
[data-bs-theme="dark"] body.card-page .card,
[data-bs-theme="dark"] body.reader-page .card {
  background-color: var(--ap-card-bg);
  border-color: var(--ap-border);
  color: var(--ap-text);
}

/* Accordion / collapse panels */
[data-bs-theme="dark"] body:not(.t-screen) .accordion-item {
  background-color: var(--ap-card-bg);
  border-color: var(--ap-border);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .accordion-button {
  background-color: var(--ap-card-header-bg);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .accordion-button:not(.collapsed) {
  background-color: #1e293b;
  color: #f8fafc;
  box-shadow: none;
}
[data-bs-theme="dark"] body:not(.t-screen) .accordion-body {
  background-color: var(--ap-card-bg);
  color: var(--ap-text);
}

/* Pagination */
[data-bs-theme="dark"] body:not(.t-screen) .page-link {
  background-color: var(--ap-surface-2);
  border-color: var(--ap-border);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .page-item.active .page-link {
  background-color: var(--ap-primary);
  border-color: var(--ap-primary);
  color: #fff;
}
[data-bs-theme="dark"] body:not(.t-screen) .page-item.disabled .page-link {
  background-color: #0f172a;
  color: #64748b;
}

/* HR / separators */
[data-bs-theme="dark"] body:not(.t-screen) hr {
  border-color: var(--ap-border);
  opacity: 1;
}

/* ===== Cafe table / product / payment panels ===== */
[data-bs-theme="dark"] body.cafe .tableDetails .content,
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content {
  background-color: #0b1220 !important;
  color: #e5e7eb;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content table,
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content table td,
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content table strong,
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content h4 {
  color: #e5e7eb;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .content table span {
  color: #94a3b8;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .footer {
  background-color: #0f172a !important;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .footer .summary table,
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .footer .summary table td {
  color: #e2e8f0;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableDetails .table-info-input {
  background-color: #0f172a !important;
  border-color: #475569 !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] body:not(.t-screen) .tableProduct .product-search-input {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableProduct .product-search-input::placeholder {
  color: #64748b;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableProduct .numpad-amount-input {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #f8fafc !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .tableProduct .numpad-input-group {
  background-color: #111827;
  border-color: rgba(148, 163, 184, 0.2);
}

/* Non-cafe paymentDetails still light in main.css */
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails {
  background-color: #111827 !important;
  border-left-color: rgba(148, 163, 184, 0.2) !important;
  border-right-color: rgba(148, 163, 184, 0.2) !important;
  color: #e5e7eb;
}
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content {
  background-color: #0b1220;
  color: #e5e7eb;
}
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content table,
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content table td,
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content table strong {
  color: #e5e7eb;
}
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .footer {
  background-color: #0f172a !important;
  color: #e2e8f0;
}
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .footer .summary table td {
  color: #e2e8f0;
}
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .footer .summary table tr.snum td {
  color: #94a3b8;
}

/* Light cafe chrome — superseded by full light shell block below */

/* ===== Polish: outlines, jGrowl, borders ===== */
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-secondary {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-secondary:hover {
  background: rgba(148, 163, 184, 0.15);
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.5);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-light {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.35);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-warning {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
}
[data-bs-theme="dark"] body:not(.t-screen) .btn-outline-warning:hover {
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
}

[data-bs-theme="dark"] body:not(.t-screen) .jGrowl-notification,
[data-bs-theme="dark"] body:not(.t-screen) .jGrowl-notification.ui-state-highlight {
  background: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}

[data-bs-theme="dark"] body:not(.t-screen) hr {
  border-color: var(--ap-border);
  opacity: 1;
}
[data-bs-theme="dark"] body:not(.t-screen) .border,
[data-bs-theme="dark"] body:not(.t-screen) .border-bottom,
[data-bs-theme="dark"] body:not(.t-screen) .border-top {
  border-color: var(--ap-border) !important;
}

[data-bs-theme="dark"] body:not(.t-screen) .card-footer {
  background-color: var(--ap-card-header-bg);
  border-top-color: var(--ap-border);
  color: var(--ap-text);
}

[data-bs-theme="dark"] body:not(.t-screen) .pagination .page-link {
  background-color: var(--ap-surface-2);
  border-color: var(--ap-border);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .pagination .page-item.active .page-link {
  background-color: var(--ap-primary);
  border-color: var(--ap-primary);
}
[data-bs-theme="dark"] body:not(.t-screen) .pagination .page-item.disabled .page-link {
  background-color: #0f172a;
  color: #64748b;
}

/* Timed page table body contrast */
[data-bs-theme="dark"] body.timed-page .table-time tbody td {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.12);
}
[data-bs-theme="dark"] body.timed-page .card.card-time {
  background: #111827;
}
[data-bs-theme="dark"] body.timed-page .card.card-time .card-header {
  background: #0f172a;
  color: #e2e8f0;
}
[data-bs-theme="dark"] body.timed-page .card.card-time .card-title {
  color: #f1f5f9;
}

/* Reader / cards simple pages */
[data-bs-theme="dark"] body:not(.t-screen) .accordion-item {
  background-color: var(--ap-card-bg);
  border-color: var(--ap-border);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .accordion-button {
  background-color: var(--ap-card-header-bg);
  color: var(--ap-text);
}
[data-bs-theme="dark"] body:not(.t-screen) .accordion-button:not(.collapsed) {
  background-color: #1e293b;
  color: #f8fafc;
  box-shadow: none;
}
[data-bs-theme="dark"] body:not(.t-screen) .accordion-body {
  background-color: var(--ap-card-bg);
  color: var(--ap-text);
}

/* ===== Timed modals (inline styles in timed/default.asp) ===== */
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal-shell .modal-header {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal-shell .modal-footer {
  border-top-color: rgba(148, 163, 184, 0.18);
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal-label {
  color: #94a3b8;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-game-block {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.18);
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-game-name {
  color: #f1f5f9;
}
[data-bs-theme="dark"] body:not(.t-screen) button.price-option {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
}
[data-bs-theme="dark"] body:not(.t-screen) button.price-option span {
  color: #94a3b8;
}
[data-bs-theme="dark"] body:not(.t-screen) button.price-option:hover {
  border-color: #4ade80;
  background: rgba(22, 163, 74, 0.18);
  color: #f0fdf4;
}
[data-bs-theme="dark"] body:not(.t-screen) button.price-option.selected {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}
[data-bs-theme="dark"] body:not(.t-screen) button.price-option.selected span {
  color: rgba(255,255,255,.85);
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal .form-label {
  color: #cbd5e1;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal-hint {
  color: #94a3b8;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal-hint.is-error {
  color: #fca5a5;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-modal-note {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.35);
  color: #fdba74;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-edit-meta {
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-edit-meta-main strong {
  color: #f1f5f9;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-edit-meta-main span {
  color: #94a3b8;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-edit-tag {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-edit-tag-card {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}
[data-bs-theme="dark"] body:not(.t-screen) .timed-manual-icon {
  color: #fbbf24;
}

/* Cafe ops toast (white by default) */
[data-bs-theme="dark"] body.cafe-ops .ops-toast {
  background: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 10px 30px rgba(0,0,0,.55);
}
[data-bs-theme="light"] body.cafe-ops .ops-toast {
  background: #fff;
  color: #111;
}

/* Cafe payment spr muted text */
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content table tr td.spr,
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .content table tr td.spr span {
  color: #94a3b8;
}

/* ===== P0: Reports summary surfaces ===== */
[data-bs-theme="dark"] body.reports-page .report-summary-period {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%) !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #94a3b8;
}
[data-bs-theme="dark"] body.reports-page .report-summary-period strong {
  color: #f1f5f9;
}
[data-bs-theme="dark"] body.reports-page .report-summary-section {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}
[data-bs-theme="dark"] body.reports-page .report-summary-section-title {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  color: #cbd5e1 !important;
  border-bottom-color: rgba(148, 163, 184, 0.25) !important;
}
[data-bs-theme="dark"] body.reports-page .report-summary-dl dt,
[data-bs-theme="dark"] body.reports-page .report-summary-dl dd {
  border-bottom-color: rgba(148, 163, 184, 0.1) !important;
}
[data-bs-theme="dark"] body.reports-page .report-summary-dl dt {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.reports-page .report-summary-dl dd {
  color: #f1f5f9;
}
[data-bs-theme="dark"] body.reports-page .report-summary-chart-cell {
  border-inline-end-color: rgba(148, 163, 184, 0.18) !important;
}
[data-bs-theme="dark"] body.reports-page .report-summary-chart-title {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.reports-page .report-summary-trends-card {
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ===== P0: Card page specialty chrome ===== */
[data-bs-theme="dark"] body.card-page .card-info,
[data-bs-theme="dark"] body.card-page .container .card.shadow-sm {
  background-color: #111827;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] body.card-page .card-info .card-header,
[data-bs-theme="dark"] body.card-page .container .card.shadow-sm .card-header {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] body.card-page .container .card.shadow-sm .card-body {
  background-color: #111827;
  color: #e5e7eb;
}
[data-bs-theme="dark"] body.card-page .container .card.shadow-sm .form-label {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.card-page .card-numpad .input-group-amount,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .input-group-amount {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}
[data-bs-theme="dark"] body.card-page .card-numpad .input-group-amount .form-control,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .input-group-amount .form-control,
[data-bs-theme="dark"] body.card-page .card-numpad #amount,
[data-bs-theme="dark"] body.card-page-dt .card-numpad #amount {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #f8fafc !important;
}
[data-bs-theme="dark"] body.card-page .card-numpad .btn-group:has(.num) .btn,
[data-bs-theme="dark"] body.card-page .card-numpad .btn-group:has(.numb) .btn,
[data-bs-theme="dark"] body.card-page .card-numpad .btn-group:has(.numt) .btn,
[data-bs-theme="dark"] body.card-page .card-numpad .btn-group:has(.vnm) .btn,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .btn-group:has(.num) .btn,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .btn-group:has(.numb) .btn,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .btn-group:has(.numt) .btn,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .btn-group:has(.vnm) .btn {
  border-color: rgba(148, 163, 184, 0.28) !important;
}
[data-bs-theme="dark"] body.card-page .card-numpad .btn-group:has(.vnm) .btn,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .btn-group:has(.vnm) .btn {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border-color: #475569 !important;
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] body.card-page .card-numpad .btn-group:has(.vnm) .btn:hover,
[data-bs-theme="dark"] body.card-page-dt .card-numpad .btn-group:has(.vnm) .btn:hover {
  background: linear-gradient(180deg, #475569 0%, #334155 100%) !important;
  border-color: #64748b !important;
  color: #f8fafc !important;
}
[data-bs-theme="dark"] body.card-page .card-summary-label,
[data-bs-theme="dark"] body.card-page .card-summary-meta-label {
  color: #94a3b8;
}

/* ===== P0: DataTables paginate + chrome ===== */
[data-bs-theme="dark"] body.settings-page .dataTables_paginate .paginate_button,
[data-bs-theme="dark"] body.reports-page .dataTables_paginate .paginate_button {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #cbd5e1 !important;
}
[data-bs-theme="dark"] body.settings-page .dataTables_paginate .paginate_button:hover,
[data-bs-theme="dark"] body.reports-page .dataTables_paginate .paginate_button:hover {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.4) !important;
  color: #f1f5f9 !important;
}
[data-bs-theme="dark"] body.settings-page .dataTables_paginate .paginate_button.current,
[data-bs-theme="dark"] body.reports-page .dataTables_paginate .paginate_button.current {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
}
[data-bs-theme="dark"] body.settings-page .datatable-header,
[data-bs-theme="dark"] body.reports-page .datatable-header,
[data-bs-theme="dark"] body.settings-page .datatable-footer,
[data-bs-theme="dark"] body.reports-page .datatable-footer {
  border-color: rgba(148, 163, 184, 0.18) !important;
}
[data-bs-theme="dark"] body.settings-page .dataTables_filter input,
[data-bs-theme="dark"] body.settings-page .dataTables_length select,
[data-bs-theme="dark"] body.reports-page .dataTables_filter input,
[data-bs-theme="dark"] body.reports-page .dataTables_length select {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] body.settings-page .dataTables_info,
[data-bs-theme="dark"] body.reports-page .dataTables_info {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.settings-page .table td,
[data-bs-theme="dark"] body.settings-page .table th,
[data-bs-theme="dark"] body.reports-page .table td,
[data-bs-theme="dark"] body.reports-page .table th {
  border-color: rgba(148, 163, 184, 0.15) !important;
}

/* ===== P1: settings/reports btn-light ===== */
[data-bs-theme="dark"] body.settings-page .container .btn-light,
[data-bs-theme="dark"] body.reports-page .container .btn-light {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] body.settings-page .container .btn-light:hover,
[data-bs-theme="dark"] body.reports-page .container .btn-light:hover {
  background: linear-gradient(180deg, #475569 0%, #334155 100%) !important;
  border-color: rgba(148, 163, 184, 0.45) !important;
  color: #f8fafc !important;
}

/* ===== P1: Select2 hard overrides ===== */
[data-bs-theme="dark"] body:not(.t-screen) .select2-selection--single:not([class*=bg-]),
[data-bs-theme="dark"] body:not(.t-screen) .select2-selection--multiple:not([class*=bg-]) {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .select2-selection--single:not([class*=bg-]):not([class*=border-]),
[data-bs-theme="dark"] body:not(.t-screen) .select2-selection--multiple:not([class*=bg-]):not([class*=border-]) {
  border-color: rgba(148, 163, 184, 0.25) !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .select2-container--disabled .select2-selection--single:not([class*=bg-]),
[data-bs-theme="dark"] body:not(.t-screen) .select2-container--disabled .select2-selection--multiple:not([class*=bg-]) {
  background-color: #1e293b !important;
  color: #64748b !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .select2-container--default .select2-selection__placeholder {
  color: #64748b;
}
[data-bs-theme="dark"] body:not(.t-screen) .select2-container--default .select2-selection__arrow b {
  border-color: #94a3b8 transparent transparent transparent;
}

/* ===== P1: jGrowl closer ===== */
[data-bs-theme="dark"] body:not(.t-screen) .jGrowl-closer {
  background-color: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #94a3b8 !important;
}

/* ===== P1: Pickadate footer buttons ===== */
[data-bs-theme="dark"] body:not(.t-screen) .picker__button--clear,
[data-bs-theme="dark"] body:not(.t-screen) .picker__button--close,
[data-bs-theme="dark"] body:not(.t-screen) .picker__button--today {
  background: #1e293b !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e2e8f0 !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .picker__button--clear:hover,
[data-bs-theme="dark"] body:not(.t-screen) .picker__button--close:hover,
[data-bs-theme="dark"] body:not(.t-screen) .picker__button--today:hover {
  background: #334155 !important;
  color: #f8fafc !important;
}

/* ===== P1: payment hover / top ===== */
[data-bs-theme="dark"] body:not(.t-screen) .paymentDetails .footer .summary table tr.active:hover {
  background-color: #1e293b !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .paymentScr .paymentTop {
  background-color: #0f172a !important;
  color: #e5e7eb;
}

/* ===== P1: login muted links ===== */
[data-bs-theme="dark"] body.login-page .login-reader-toggle {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.login-page .login-reader-toggle:hover {
  color: #e2e8f0;
}
[data-bs-theme="dark"] body.login-page .login-link {
  color: #94a3b8;
}
[data-bs-theme="dark"] body.login-page .login-link:hover {
  color: #60a5fa;
}

/* Settings/reports outline-success readable in dark */
[data-bs-theme="dark"] body.settings-page .container .btn-outline-success,
[data-bs-theme="dark"] body.reports-page .container .btn-outline-success {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.45);
}
[data-bs-theme="dark"] body.settings-page .container .btn-outline-success:hover,
[data-bs-theme="dark"] body.reports-page .container .btn-outline-success:hover {
  background: rgba(22, 163, 74, 0.2);
  border-color: #22c55e;
  color: #86efac;
}

/* =========================================================
   LIGHT THEME: timed / card / cafe (home+table+payment)
   Override main.css forced-dark ops shells
   ========================================================= */

/* ----- Timed ----- */
[data-bs-theme="light"] body.timed-page {
  background: var(--ap-home-grad) !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.timed-page .card.card-time {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08) !important;
}
[data-bs-theme="light"] body.timed-page .card.card-time .card-header {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom-color: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.timed-page .card.card-time .card-title {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.timed-page .card.card-time .card-body {
  background: #ffffff !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.timed-page .table-time thead th {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  color: #475569 !important;
  border-bottom-color: #cbd5e1 !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody tr {
  background-color: #ffffff !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody td {
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody td small,
[data-bs-theme="light"] body.timed-page .table-time tbody td .small {
  color: #64748b !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-secondary,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-secondary > td {
  background-color: #f1f5f9 !important;
  color: #64748b !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-warning,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-warning > td,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.timed-warning,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.timed-warning > td {
  background-color: #fffbeb !important;
  color: #92400e !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-danger,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-danger > td,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.timed-danger,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.timed-danger > td {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
}
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-active,
[data-bs-theme="light"] body.timed-page .table-time tbody tr.table-active > td {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 40%, #15803d 100%) !important;
  color: #fff !important;
}
[data-bs-theme="light"] body.timed-page .btn-outline-light {
  color: #334155;
  border-color: #cbd5e1;
}
[data-bs-theme="light"] body.timed-page .btn-outline-light:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* ----- Card ----- */
[data-bs-theme="light"] body.card-page {
  background: var(--ap-home-grad) !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.card-page .card-summary-bar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-color: #e2e8f0 !important;
}
[data-bs-theme="light"] body.card-page .card-summary-label,
[data-bs-theme="light"] body.card-page .card-summary-meta-label {
  color: #64748b !important;
}
[data-bs-theme="light"] body.card-page .card-summary-value {
  color: #0d6efd !important;
}
[data-bs-theme="light"] body.card-page .card-summary-code,
[data-bs-theme="light"] body.card-page .card-summary-name,
[data-bs-theme="light"] body.card-page .card-summary-date {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.card-page .card-info,
[data-bs-theme="light"] body.card-page .container .card.shadow-sm,
[data-bs-theme="light"] body.card-page .card-numpad {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.card-page .card-info .card-header,
[data-bs-theme="light"] body.card-page .container .card.shadow-sm .card-header {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom-color: #e2e8f0 !important;
  color: #1e293b !important;
}
[data-bs-theme="light"] body.card-page .container .card.shadow-sm .card-body,
[data-bs-theme="light"] body.card-page .card-info-body {
  background: #ffffff !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.card-page .container .card.shadow-sm .form-label {
  color: #475569 !important;
}
[data-bs-theme="light"] body.card-page .card-info-body .table thead th {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  color: #475569 !important;
  border-bottom-color: #cbd5e1 !important;
}
[data-bs-theme="light"] body.card-page .card-history-scroll .table td,
[data-bs-theme="light"] body.card-page .card-history-scroll .table th {
  color: #0f172a;
  border-color: #e2e8f0;
}
[data-bs-theme="light"] body.card-page .card-numpad .input-group-amount,
[data-bs-theme="light"] body.card-page-dt .card-numpad .input-group-amount,
[data-bs-theme="light"] body.card-page .card-numpad #amount,
[data-bs-theme="light"] body.card-page-dt .card-numpad #amount {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.card-page .card-numpad .btn-group:has(.vnm) .btn,
[data-bs-theme="light"] body.card-page-dt .card-numpad .btn-group:has(.vnm) .btn {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* ----- Cafe home ----- */
[data-bs-theme="light"] body.cafe-home {
  background: var(--ap-surface) !important;
  color: #0f172a;
}

/* ----- Cafe table / payment shells ----- */
[data-bs-theme="light"] body.cafe:not(.cafe-ops) {
  background-color: #c5d0dc !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .mtop {
  background-color: #c5d0dc !important;
}

/* Table header */
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .table-info-header,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .header.table-info-header {
  background: linear-gradient(180deg, #d0d9e4 0%, #b8c5d4 100%) !important;
  border-bottom-color: #94a3b8 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .table-info-main .table-info-label,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .header.table-info-header .table-info-label {
  color: #64748b !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .table-info-value,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .header.table-info-header .table-info-value {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .table-info-input {
  background-color: #dbe4ee !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

/* Table / product content — muted mid-gray, low glare */
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .content,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .content,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct {
  background-color: #d0d9e4 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .content table,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .content table td,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .content table strong,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .content h4 {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .content table span {
  color: #64748b !important;
}

/* Table footer — override gradient with full background shorthand */
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer {
  background: linear-gradient(180deg, #d0d9e4 0%, #b8c5d4 100%) !important;
  border-top: 1px solid #94a3b8 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer .summary table,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer .summary table td,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer .summary table tr td:first-child,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer .summary table tr td:last-child {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer .summary table tr:last-child td {
  color: #0369a1 !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .footer #premaining td:last-child {
  color: #b45309 !important;
}

/* Payment left panel — muted mid-gray */
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails {
  background-color: #d0d9e4 !important;
  border-left-color: #94a3b8 !important;
  border-right-color: #94a3b8 !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .content {
  background-color: #d0d9e4 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .content table,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .content table td,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .content table strong {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .content table tr td.spr,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .content table tr td.spr span {
  color: #64748b !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer {
  background: linear-gradient(180deg, #d0d9e4 0%, #b8c5d4 100%) !important;
  border-top: 1px solid #94a3b8 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table td,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table tr td:first-child,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table tr td:last-child {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table tr:last-child td {
  color: #0369a1 !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table tr.pos td,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table tr.deleteDiscount td {
  color: #15803d !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentDetails .footer .summary table tr.active:hover {
  background-color: #f1f5f9 !important;
}

/* Payment top / mid chrome */
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr .paymentTop {
  background: linear-gradient(180deg, #d0d9e4 0%, #b8c5d4 100%) !important;
  border-bottom: 1px solid #94a3b8 !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr .paymentTop .table,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr .paymentTop .table tr td,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr .paymentTop .table tr td:last-child {
  color: #0f172a !important;
  border-bottom-color: #e2e8f0 !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr .paymentTop .table tr td:first-child {
  color: #64748b !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr .paymentTop .table tr:last-child td:last-child {
  color: #0369a1 !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentButtons {
  background-color: #c5d0dc !important;
  color: #0f172a;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .product-search-input,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .numpad-amount-input {
  background-color: #dbe4ee !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .numpad-input-group {
  background-color: #d0d9e4;
  border-color: #94a3b8;
}

/* Select2 4.0.5 highlight (no --selectable class) + search field */
[data-bs-theme="dark"] body:not(.t-screen) .select2-container--default .select2-results__option--highlighted,
[data-bs-theme="dark"] body:not(.t-screen) .select2-results__option.select2-results__option--highlighted {
  background-color: var(--ap-primary) !important;
  color: #fff !important;
}
[data-bs-theme="dark"] body:not(.t-screen) .select2-search--dropdown .select2-search__field {
  background-color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: #e5e7eb !important;
}

/* Cafe home — light theme: clear table tiles, keep orange self-servis */
[data-bs-theme="light"] body.cafe-home .shopTable a,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable a {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%) !important;
  color: #0f172a !important;
  border: 1px solid #94a3b8 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14) !important;
}
[data-bs-theme="light"] body.cafe-home .shopTable a:hover,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable a:hover {
  background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%) !important;
  color: #020617 !important;
  border-color: #64748b !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
}
[data-bs-theme="light"] body.cafe-home .shopTable.open a,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable.open a {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #fff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4) !important;
}
[data-bs-theme="light"] body.cafe-home .shopTable.open a:hover,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable.open a:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
}
[data-bs-theme="light"] body.cafe-home .shopTable.open a div,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable.open a div,
[data-bs-theme="light"] body.cafe-home .shopTable.open a i,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable.open a i {
  color: rgba(255, 255, 255, 0.92) !important;
}
[data-bs-theme="light"] body.cafe-home .shopTable a strong,
[data-bs-theme="light"] body.cafe .cafe-table-change-wrap .shopTable a strong {
  color: inherit !important;
}

/* Top Mutfak / Garson: outline-light is for dark canvases */
[data-bs-theme="light"] body.cafe-home .btn-outline-light {
  color: #0f172a !important;
  border-color: #64748b !important;
  background: #ffffff !important;
}
[data-bs-theme="light"] body.cafe-home .btn-outline-light:hover {
  color: #fff !important;
  background: #0f172a !important;
  border-color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe-home .btn-outline-secondary {
  color: #0f172a !important;
  border-color: #94a3b8 !important;
  background: #ffffff !important;
}
[data-bs-theme="light"] body.cafe-home .btn-outline-secondary:hover {
  color: #fff !important;
  background: #475569 !important;
  border-color: #475569 !important;
}

/* Self Servis stays brand orange (do not wash out on light) */
[data-bs-theme="light"] body.cafe-home .cafe-selfservis-btn {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(194, 65, 12, 0.55) !important;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.35) !important;
}
[data-bs-theme="light"] body.cafe-home .cafe-selfservis-btn:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #fff !important;
}

/* ===== Restore main-like cafe layout (do NOT alter flex/height of tableDetails) ===== */
/* Product tiles: keep orange in both themes (undo earlier flat dark .btn wash) */
[data-bs-theme="dark"] body.cafe .tableProduct .content .btn.btnProduct,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .content .btn.btnProduct {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}
[data-bs-theme="dark"] body.cafe .tableProduct .content .btn.btnProduct:hover,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .content .btn.btnProduct:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #fff !important;
}
[data-bs-theme="dark"] body.cafe .tableProduct .content .btnProduct span,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableProduct .content .btnProduct span {
  color: #fffbeb !important;
}

[data-bs-theme="light"] body.cafe:not(.cafe-ops) .dProduct .btnCategory {
  background: linear-gradient(180deg, #1e3a5f 0%, #172554 100%) !important;
  color: #93c5fd !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .dProduct .btnCategory.active,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .dProduct .btnCategory:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .dProduct .btnCategory.fav {
  background: linear-gradient(180deg, #422006 0%, #78350f 100%) !important;
  color: #fcd34d !important;
}

/* Statusbar must always match main: fixed, visible, above page chrome */
body:not(.t-screen) #statusbar {
  display: grid !important;
  position: fixed !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 1030 !important;
  height: 50px !important;
  min-height: 50px !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  transform: none !important;
  filter: none !important;
}
body:not(.t-screen) #statusbar .btn-statusbar,
body:not(.t-screen) #statusbar .btn.btn-dark {
  color: #e5e7eb !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Light theme: soft gray statusbar (matches panel chrome) */
[data-bs-theme="light"] body:not(.t-screen) #statusbar {
  background: linear-gradient(180deg, #e8eef5 0%, #c5d0dc 100%) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.08) !important;
}
[data-bs-theme="light"] body:not(.t-screen) #statusbar .btn-statusbar,
[data-bs-theme="light"] body:not(.t-screen) #statusbar .btn.btn-dark {
  color: #0f172a !important;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
  border-right-color: rgba(15, 23, 42, 0.08) !important;
}
[data-bs-theme="light"] body:not(.t-screen) #statusbar .btn-statusbar:hover,
[data-bs-theme="light"] body:not(.t-screen) #statusbar .btn.btn-dark:hover {
  color: #0f172a !important;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%) !important;
  filter: none;
}
[data-bs-theme="light"] body:not(.t-screen) #statusbar .btn-statusbar-active,
[data-bs-theme="light"] body:not(.t-screen) #statusbar .btn-statusbar-active:hover {
  color: #fff !important;
  background: linear-gradient(180deg, var(--ap-primary) 0%, var(--ap-primary-dark) 100%) !important;
}
[data-bs-theme="light"] body:not(.t-screen) #statusbar .statusbar-group .btn-statusbar {
  border-right-color: rgba(15, 23, 42, 0.08) !important;
}
[data-bs-theme="light"] body:not(.t-screen) #statusbar .statusbar-name,
[data-bs-theme="light"] body:not(.t-screen) #statusbar .statusbar-name.text-light {
  color: #0f172a !important;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

/* Keep cafe floor viewport like main (statusbar clearance) */
body.cafe .mtop {
  padding-bottom: 56px !important;
  overflow: hidden !important;
}
body.cafe-home .cafe-home-container {
  padding-bottom: 52px !important;
}
body.cafe-home .cafe-home-layout {
  overflow: hidden !important;
}
/* Avoid huge empty gap above Self Servis when few tables */
body.cafe-home .cafe-home-wrap {
  min-height: 0 !important;
}
body.cafe-home .cafe-selfservis-bar {
  margin-top: 1.25rem !important;
}


/* Cafe table page: kill main.css #f9fafb / #fff glare on order+product panels */
[data-bs-theme="dark"] body.cafe:not(.cafe-ops),
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .mtop {
  background-color: #0b1220 !important;
}
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .tableDetails .content,
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .tableProduct,
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .tableProduct .content,
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .paymentDetails .content {
  background-color: #0f172a !important;
  color: #e5e7eb !important;
}
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .tableDetails,
[data-bs-theme="dark"] body.cafe:not(.cafe-ops) .paymentDetails {
  background-color: #0f172a !important;
  border-left-color: rgba(148, 163, 184, 0.15) !important;
  border-right-color: rgba(148, 163, 184, 0.15) !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops),
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .mtop {
  background-color: #c5d0dc !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentScr,
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .paymentButtons {
  background-color: #d0d9e4 !important;
}
[data-bs-theme="light"] body.cafe:not(.cafe-ops) .tableDetails .table-info-input {
  background-color: #dbe4ee !important;
}

/* Cafe table: Mutfağa gönder switch — readable in both themes */
body.cafe .cafe-printorder-label {
  font-weight: 600;
}
[data-bs-theme="dark"] body.cafe .cafe-printorder-label {
  color: #e2e8f0 !important;
}
[data-bs-theme="light"] body.cafe .cafe-printorder-label {
  color: #0f172a !important;
}
[data-bs-theme="light"] body.cafe .tableProduct .form-check-input {
  border-color: #64748b !important;
  background-color: #e2e8f0;
}
[data-bs-theme="light"] body.cafe .tableProduct .form-check-input:checked {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
}
