:root { --navy: #1f3864; }
body { background: #f4f6fa; font-size: .95rem; }
.bg-navy { background: var(--navy) !important; }
.sidebar { width: 230px; min-height: 100vh; }
@media (min-width: 992px) { .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; } }
.sidebar .nav-link { color: rgba(255,255,255,.8); border-radius: .4rem; padding: .45rem .75rem; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.18); font-weight: 600; }
.main { min-width: 0; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.kpi .label { font-size: .78rem; color: #6c757d; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.kpi .value { font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.kpi .value.neg { color: #c00000; }
.table thead th { background: #e9eef6; color: #1f3864; font-weight: 600; white-space: nowrap; font-size: .85rem; }
.table td, .table th { vertical-align: middle; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table tfoot td { font-weight: 700; background: #f1f3f7; }
.page-title { font-weight: 700; color: var(--navy); margin-bottom: 0; }
.cart-table input { min-width: 70px; }
.pay-btns .btn-check:checked + .btn { box-shadow: 0 0 0 .2rem rgba(31,56,100,.25); }
.big-total { font-size: 2rem; font-weight: 800; color: var(--navy); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); }
@media print {
  .no-print, .sidebar, .navbar, .btn, form.no-print { display: none !important; }
  body { background: #fff; }
  .main { padding: 0 !important; }
  .card { box-shadow: none; }
}
/* receipt */
.receipt { max-width: 760px; margin: 0 auto; background: #fff; padding: 24px; }
.receipt.thermal { max-width: 300px; font-size: 12px; padding: 8px; }
.receipt.thermal .table { font-size: 12px; }
