/*
 * Shoe Store Management — shared theme.
 * Loaded after Bootstrap 5. Keeps the approved look: dark sidebar, white cards,
 * red primary actions, DM Sans text and DM Mono figures.
 */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('../vendor/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('../vendor/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('../vendor/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('../vendor/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 800; font-display: swap; src: url('../vendor/fonts/dm-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 400; font-display: swap; src: url('../vendor/fonts/dm-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 500; font-display: swap; src: url('../vendor/fonts/dm-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --red-700: #b91c1c; --red-600: #dc2626; --red-500: #ef4444; --red-100: #fee2e2; --red-50: #fef2f2;
  --green-600: #16a34a; --green-100: #dcfce7; --blue-600: #2563eb; --blue-100: #dbeafe;
  --amber-600: #b77908; --amber-100: #fef3c7;
  --gray-900: #111827; --gray-800: #1f2937; --gray-700: #374151; --gray-600: #4b5563; --gray-500: #6b7280;
  --gray-400: #9ca3af; --gray-300: #d1d5db; --gray-200: #e5e7eb; --gray-100: #f3f4f6; --gray-50: #f9fafb;
  --sidebar-width: 250px; --sidebar-mini: 72px; --topbar-height: 70px;
  --radius: 11px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, Consolas, monospace;

  /* Bootstrap theme overrides */
  --bs-body-font-family: var(--font);
  --bs-body-font-size: 14px;
  --bs-body-color: var(--gray-900);
  --bs-body-bg: var(--gray-100);
  --bs-primary: #dc2626; --bs-primary-rgb: 220, 38, 38;
  --bs-link-color: #dc2626; --bs-link-color-rgb: 220, 38, 38; --bs-link-hover-color: #b91c1c; --bs-link-hover-color-rgb: 185, 28, 28;
  --bs-border-color: var(--gray-200);
  --bs-border-radius: 8px;
}
body { min-height: 100vh; }
a { text-decoration: none; }
:focus-visible { outline: 3px solid rgba(220, 38, 38, .25); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.text-muted-2 { color: var(--gray-500); }

/* ---------- Buttons (Bootstrap, themed) ---------- */
.btn { --bs-btn-font-size: 13.5px; --bs-btn-font-weight: 700; --bs-btn-padding-y: 8px; --bs-btn-padding-x: 14px; --bs-btn-border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.btn-sm { --bs-btn-font-size: 12.5px; --bs-btn-padding-y: 5px; --bs-btn-padding-x: 10px; }
.btn-primary { --bs-btn-bg: var(--red-600); --bs-btn-border-color: var(--red-600); --bs-btn-hover-bg: var(--red-700); --bs-btn-hover-border-color: var(--red-700); --bs-btn-active-bg: var(--red-700); --bs-btn-active-border-color: var(--red-700); --bs-btn-disabled-bg: var(--red-600); --bs-btn-disabled-border-color: var(--red-600); box-shadow: 0 3px 8px rgba(220, 38, 38, .14); }
.btn-outline-secondary { --bs-btn-color: var(--gray-700); --bs-btn-border-color: var(--gray-300); --bs-btn-bg: #fff; --bs-btn-hover-bg: var(--gray-50); --bs-btn-hover-color: var(--gray-900); --bs-btn-hover-border-color: var(--gray-400); --bs-btn-active-bg: var(--gray-100); --bs-btn-active-color: var(--gray-900); --bs-btn-active-border-color: var(--gray-400); }
.btn-outline-danger { --bs-btn-color: var(--red-600); --bs-btn-border-color: #fecaca; --bs-btn-hover-bg: var(--red-50); --bs-btn-hover-color: var(--red-700); --bs-btn-hover-border-color: #fca5a5; --bs-btn-active-bg: var(--red-100); --bs-btn-active-color: var(--red-700); }
.icon-button { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--gray-200); border-radius: 8px; color: var(--gray-600); background: #fff; font-size: 17px; }
.icon-button:hover { color: var(--gray-900); background: var(--gray-50); }
.icon-button.sm { width: 32px; height: 32px; font-size: 14px; }

/* ---------- Forms (Bootstrap, themed) ---------- */
.form-label { margin-bottom: 5px; color: var(--gray-700); font-size: 12.5px; font-weight: 700; }
.form-label .optional { color: var(--gray-400); font-weight: 500; }
.form-control, .form-select { min-height: 40px; border-color: var(--gray-300); font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
.form-control-sm, .form-select-sm { min-height: 34px; font-size: 13px; }
.form-check-input:checked { background-color: var(--red-600); border-color: var(--red-600); }
.form-check-input:focus { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }
.form-text { color: var(--gray-500); font-size: 12px; }
.input-group-text { border-color: var(--gray-300); color: var(--gray-500); background: var(--gray-50); font-size: 13px; }

/* ---------- Sidebar ---------- */
.sidebar { position: fixed; z-index: 1030; inset: 0 auto 0 0; display: flex; flex-direction: column; width: var(--sidebar-width); overflow-x: hidden; overflow-y: auto; color: #fff; background: var(--gray-900); transition: width .2s ease, transform .25s ease; }
.sidebar-brand { display: flex; align-items: center; gap: 11px; min-height: var(--topbar-height); padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.brand-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; color: #fff; background: var(--red-600); font-size: 18px; }
.brand-text { min-width: 0; }
.brand-name { overflow: hidden; font-size: 14px; font-weight: 800; letter-spacing: .3px; text-overflow: ellipsis; white-space: nowrap; }
.brand-sub { color: var(--gray-400); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.sidebar-nav { padding: 8px 10px 16px; }
.nav-section { padding: 10px 0 2px; }
.nav-label { padding: 0 10px 6px; color: var(--gray-500); font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 40px; margin: 2px 0; padding: 8px 12px; border-radius: 8px; color: var(--gray-400); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: .15s ease; }
.nav-item i { flex: 0 0 20px; font-size: 16px; text-align: center; }
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-item.active { color: #fff; background: var(--red-600); box-shadow: 0 4px 10px rgba(220, 38, 38, .25); }
.sidebar-footer { margin-top: auto; padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.admin-profile { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; }
.avatar { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--gray-700); font-weight: 800; }
.avatar.small { flex-basis: 34px; width: 34px; height: 34px; color: var(--red-700); background: var(--red-100); font-size: 13px; }
.profile-copy { display: flex; min-width: 0; flex-direction: column; white-space: nowrap; }
.profile-copy strong { color: var(--gray-100); font-size: 13px; }
.profile-copy span { color: var(--gray-500); font-size: 11.5px; }
.logout-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; color: var(--gray-400); background: transparent; font-size: 13px; font-weight: 600; white-space: nowrap; }
.logout-button i { flex: 0 0 20px; font-size: 16px; text-align: center; }
.logout-button:hover { color: #fca5a5; background: rgba(239, 68, 68, .12); }
.sidebar-overlay { display: none; position: fixed; z-index: 1025; inset: 0; background: rgba(15, 23, 42, .55); }
.sidebar-overlay.open { display: block; }

/* Collapsed (icons only) on desktop */
@media (min-width: 993px) {
  .sidebar-collapsed .sidebar { width: var(--sidebar-mini); }
  .sidebar-collapsed .main-shell { margin-left: var(--sidebar-mini); }
  .sidebar-collapsed .brand-text, .sidebar-collapsed .nav-label, .sidebar-collapsed .nav-item span,
  .sidebar-collapsed .profile-copy, .sidebar-collapsed .logout-button span { display: none; }
  .sidebar-collapsed .nav-item, .sidebar-collapsed .logout-button { justify-content: center; padding-right: 0; padding-left: 0; }
  .sidebar-collapsed .nav-section { padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .06); }
  .sidebar-collapsed .nav-section:first-child { border-top: 0; }
  .sidebar-collapsed .admin-profile, .sidebar-collapsed .sidebar-brand { justify-content: center; padding-right: 0; padding-left: 0; }
}

/* ---------- Main shell ---------- */
.main-shell { min-height: 100vh; margin-left: var(--sidebar-width); transition: margin-left .2s ease; }
.topbar { position: sticky; z-index: 1020; top: 0; display: flex; align-items: center; gap: 16px; min-height: var(--topbar-height); padding: 10px 26px; border-bottom: 1px solid var(--gray-200); background: rgba(255, 255, 255, .97); }
.topbar-heading { min-width: 0; margin-right: auto; }
.eyebrow { color: var(--gray-400); font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; }
.topbar h1 { overflow: hidden; margin: 0; font-size: 20px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-date { display: flex; align-items: center; gap: 8px; color: var(--gray-500); font-size: 13px; white-space: nowrap; }
.topbar-user { display: flex; align-items: center; gap: 9px; padding-left: 16px; border-left: 1px solid var(--gray-200); }
.topbar-user div:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-user strong { font-size: 13px; }
.topbar-user span { color: var(--gray-400); font-size: 11.5px; }
.page-container { width: 100%; max-width: 1700px; margin: 0 auto; padding: 24px 26px 40px; }

/* ---------- Page pieces ---------- */
.page-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.page-heading-row h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.page-heading-row p { margin: 3px 0 0; color: var(--gray-500); font-size: 13.5px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.panel { min-width: 0; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, .03); }
.panel-pad { padding: 20px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.panel-heading h3 { margin: 0; font-size: 15px; font-weight: 800; }
.panel-heading p { margin: 2px 0 0; color: var(--gray-500); font-size: 12.5px; }
.section-title { margin: 0 0 14px; font-size: 15px; font-weight: 800; }
.section-title small { display: block; margin-top: 2px; color: var(--gray-500); font-size: 12.5px; font-weight: 400; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px; }
.toolbar .search-field { flex: 1 1 260px; max-width: 440px; }
.toolbar .form-select, .toolbar .form-control { width: auto; min-width: 150px; }
.search-field { position: relative; }
.search-field i { position: absolute; top: 50%; left: 13px; color: var(--gray-400); transform: translateY(-50%); }
.search-field .form-control { padding-left: 38px; background: var(--gray-50); }
.app-alert { display: flex; align-items: flex-start; gap: 10px; border: 1px solid; border-radius: 9px; font-size: 13.5px; font-weight: 600; }
.app-alert.alert-success { border-color: #bbf7d0; color: #166534; background: #f0fdf4; }
.app-alert.alert-danger { border-color: #fecaca; color: var(--red-700); background: var(--red-50); }
.app-alert.alert-warning { border-color: #fde68a; color: #92400e; background: #fffbeb; }
.preview-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 11px 14px; border: 1px dashed #93c5fd; border-radius: 9px; color: #1e40af; background: #eff6ff; font-size: 13px; }
.preview-banner i { font-size: 18px; }

/* ---------- Tables ---------- */
.table-panel { overflow: hidden; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; margin: 0; border-collapse: collapse; white-space: nowrap; }
.data-table th { padding: 11px 14px; color: var(--gray-500); background: var(--gray-50); font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.data-table td { padding: 11px 14px; border-top: 1px solid var(--gray-100); color: var(--gray-700); font-size: 13.5px; vertical-align: middle; }
.data-table tbody tr:hover { background: #fcfcfd; }
.data-table .num { text-align: right; font-family: var(--mono); }
.data-table th.num { font-family: var(--font); }
.data-table .strong { color: var(--gray-900); font-weight: 700; }
.cell-sub { display: block; color: var(--gray-400); font-size: 12px; }
.table-empty { padding: 44px 20px; color: var(--gray-500); text-align: center; }
.table-empty i { display: block; margin-bottom: 8px; color: var(--gray-300); font-size: 34px; }
.table-product { display: flex; align-items: center; gap: 11px; }
.table-product strong { display: block; color: var(--gray-900); font-size: 13.5px; }
.table-product small { display: block; color: var(--gray-500); font-size: 12px; }
.thumb { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; overflow: hidden; border: 1px solid var(--gray-200); border-radius: 9px; background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-empty { color: var(--gray-400); background: var(--gray-100); font-size: 18px; }
.status { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 800; }
.status.success { color: #15803d; background: var(--green-100); }
.status.warning { color: #a16207; background: var(--amber-100); }
.status.danger { color: var(--red-700); background: var(--red-100); }
.status.info { color: #1d4ed8; background: var(--blue-100); }
.status.muted { color: var(--gray-600); background: var(--gray-100); }
.chip { display: inline-flex; align-items: center; gap: 5px; margin: 2px 3px 2px 0; padding: 3px 9px; border: 1px solid var(--gray-200); border-radius: 30px; color: var(--gray-700); background: var(--gray-50); font-size: 12.5px; font-weight: 600; }
.chip.off { color: var(--gray-400); text-decoration: line-through; }
.chip button { padding: 0; border: 0; color: var(--gray-400); background: none; line-height: 1; }
.chip button:hover { color: var(--red-600); }
.pagination-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--gray-100); color: var(--gray-500); font-size: 13px; }

/* ---------- Dashboard ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card { padding: 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { color: var(--gray-500); font-size: 13px; font-weight: 600; }
.stat-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; font-size: 16px; }
.stat-icon.red { color: var(--red-600); background: var(--red-50); }
.stat-icon.green { color: var(--green-600); background: var(--green-100); }
.stat-icon.blue { color: var(--blue-600); background: var(--blue-100); }
.stat-icon.amber { color: var(--amber-600); background: var(--amber-100); }
.stat-value { margin-top: 8px; font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -.8px; }
.stat-value small { color: var(--gray-400); font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.stat-foot { margin-top: 4px; color: var(--gray-400); font-size: 12px; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.mini-stat { display: flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; }
.mini-stat span { color: var(--gray-500); font-size: 12.5px; }
.mini-stat strong { margin-top: 2px; font: 500 19px var(--mono); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 15px; margin-bottom: 16px; }
.chart-bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 12px; height: 190px; padding: 14px 22px 34px; }
.chart-bars .bar { position: relative; flex: 0 1 38px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #f87171, #dc2626); }
.chart-bars .bar b { position: absolute; bottom: -24px; left: 50%; color: var(--gray-400); font-size: 12px; font-weight: 500; transform: translateX(-50%); }
.simple-list { margin: 0; padding: 0 18px 10px; list-style: none; }
.simple-list li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--gray-100); }
.simple-list .grow { flex: 1; min-width: 0; }
.simple-list strong { display: block; overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.simple-list small { color: var(--gray-500); font-size: 12px; }

/* ---------- Tabs ---------- */
.app-tabs { display: inline-flex; max-width: 100%; gap: 4px; margin-bottom: 14px; padding: 4px; overflow-x: auto; border: 1px solid var(--gray-200); border-radius: 9px; background: #fff; }
.app-tabs .tab-btn { padding: 7px 14px; border: 0; border-radius: 6px; color: var(--gray-500); background: transparent; font-size: 13px; font-weight: 700; white-space: nowrap; }
.app-tabs .tab-btn.active { color: var(--red-700); background: var(--red-50); }
.app-tabs .tab-btn .count { margin-left: 5px; padding: 1px 7px; border-radius: 20px; color: #fff; background: var(--red-600); font-size: 11px; }

/* ---------- Modals (Bootstrap, themed) ---------- */
.modal-content { border: 0; border-radius: 13px; box-shadow: 0 18px 48px rgba(17, 24, 39, .2); }
.modal-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); }
.modal-title { font-size: 16px; font-weight: 800; }
.modal-body { padding: 20px; }
.modal-footer { padding: 12px 20px; border-top: 1px solid var(--gray-100); background: var(--gray-50); border-radius: 0 0 13px 13px; }

/* ---------- Product form ---------- */
.image-drop { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px dashed var(--gray-300); border-radius: 10px; background: var(--gray-50); }
.image-preview { display: grid; place-items: center; flex: 0 0 96px; width: 96px; height: 96px; overflow: hidden; border: 1px solid var(--gray-200); border-radius: 10px; color: var(--gray-300); background: #fff; font-size: 34px; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.variant-table input { min-width: 90px; }
.variant-table td { padding: 6px 8px; }
.variant-table .code-cell { color: var(--gray-500); font-family: var(--mono); font-size: 12.5px; }
.sticky-actions { position: sticky; z-index: 5; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 14px rgba(17, 24, 39, .05); }

/* ---------- Settings / receipt preview ---------- */
.receipt-preview { width: min(100%, 300px); margin: 0 auto; padding: 18px 16px; border: 1px dashed var(--gray-300); background: #fff; box-shadow: 0 4px 14px rgba(17, 24, 39, .06); font-size: 12px; text-align: center; }
.receipt-preview .dash { margin: 9px 0; border-top: 1px dashed var(--gray-400); }
.receipt-preview .row-line { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0; text-align: left; }
.receipt-preview .urdu { direction: rtl; font-size: 13px; line-height: 1.9; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; }
  .main-shell { margin-left: 0; }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-container { padding: 16px 14px 30px; }
  .topbar { padding: 8px 14px; }
  .topbar h1 { font-size: 17px; }
  .topbar-date, .topbar-user div:last-child { display: none; }
  .page-heading-row { flex-direction: column; align-items: stretch; }
  .toolbar .search-field { max-width: none; flex-basis: 100%; }
  .toolbar .form-select, .toolbar .form-control { flex: 1 1 140px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
@media print {
  .sidebar, .topbar, .no-print, .preview-banner { display: none !important; }
  .main-shell { margin: 0 !important; }
  .page-container { padding: 0; }
  body { background: #fff; }
}

/* ---------- Login ---------- */
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 22px; background: linear-gradient(135deg, #111827, #263449); }
.login-card { width: min(100%, 420px); padding: 32px; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.login-brand .brand-icon { flex-basis: 48px; width: 48px; height: 48px; font-size: 22px; }
.login-brand .brand-name { color: var(--gray-900); font-size: 16px; }
.login-card h1 { margin: 0; font-size: 23px; font-weight: 800; }
.login-card > p { margin: 6px 0 20px; color: var(--gray-500); }

/* Inputs stay white on the grey page background */
.form-control, .form-select { background-color: #fff; }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: var(--gray-50); }
.search-field .form-control { background-color: var(--gray-50); }
.search-field .form-control:focus { background-color: #fff; }

.chart-bars .bar.empty { background: var(--gray-200); }

/* ---------- Reports ---------- */
.report-table tr.report-strong td { border-top: 2px solid var(--gray-300); color: var(--gray-900); background: var(--gray-50); font-weight: 800; }
.report-table tfoot td { position: sticky; bottom: 0; }
@media print {
  .report-table th, .report-table td { padding: 5px 8px; font-size: 11px; }
  .data-table { white-space: normal; }
  .table-wrap { overflow: visible; }
  .panel { border: 0; box-shadow: none; }
}
