body { background: #f4f6f9; }
[data-bs-theme="dark"] body { background: #12161c; }
[data-bs-theme="dark"] .card { box-shadow: 0 1px 3px rgba(0,0,0,.45); }
/* Theme toggle icons: show the moon in light mode (switch to dark),
   show the sun in dark mode (switch to light). */
.theme-icon-sun { display: none; }
[data-bs-theme="dark"] .theme-icon-sun { display: inline-block; }
[data-bs-theme="dark"] .theme-icon-moon { display: none; }
.sidebar { width: 230px; min-height: 100vh; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .nav-link { border-radius: 6px; margin-bottom: 2px; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.12); }
.sidebar .nav-link.active { background: #0d6efd; }
.card { border: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
@media print {
  body * { visibility: hidden; }
  #pos-receipt, #pos-receipt * { visibility: visible; }
  #pos-receipt { position: absolute; left: 0; top: 0; width: 100%; display: block !important; }
  .sidebar { display: none; }
}
main { min-width: 0; }
@media (max-width: 768px) {
  .app-shell { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; height: auto; position: static; }
  .sidebar .nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar .nav-link { padding: .4rem .6rem; }
  main { padding: 1rem !important; }
  h2 { font-size: 1.4rem; }
}
