body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 48%, #f0fdfa 100%);
  min-height: 100vh;
}

.glass-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.trolley-btn.active {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(15, 23, 42, 0.28);
  outline: 3px solid #0f172a;
}

.shift-pill.active {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.35);
}

/* ---------- Navigasi: sidebar (desktop) & bottom bar (mobile) ---------- */
.nav-btn {
  color: #334155;
  transition: background 0.15s, color 0.15s;
}
.nav-btn:hover { background: #e2e8f0; }
.nav-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.35);
}

#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 15rem;
  z-index: 40;
}
#app-main { margin-left: 15rem; }

#bottom-nav { display: none; }

@media (max-width: 767px) {
  #sidebar { display: none; }
  #app-main { margin-left: 0; padding-bottom: 6rem; }
  #bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 18px -8px rgba(15, 23, 42, 0.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  #bottom-nav .nav-btn {
    border-radius: 0;
    flex-direction: column;
    gap: 2px;
    padding: 0.55rem 0.25rem;
    font-size: 11px;
    justify-content: center;
    box-shadow: none;
  }
}

/* ---------- Laporan ---------- */
.report-sheet {
  background: #ffffff;
  color: #0f172a;
}
.report-sheet table { width: 100%; border-collapse: collapse; }
.report-sheet th,
.report-sheet td {
  border: 1px solid #94a3b8;
  padding: 5px 8px;
  font-size: 12px;
  vertical-align: top;
  text-align: left;
}
.report-sheet th { background: #e2e8f0; font-weight: 800; }
.report-sheet tr.ham-row td { background: #fee2e2; font-weight: 700; }
.report-sheet .ham-tag {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid #be123c;
  background: #be123c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
}
.report-sheet tr { page-break-inside: avoid; }
.report-sheet h3 { page-break-after: avoid; }

/* ---------- Cetak ---------- */
@media print {
  .print-hide { display: none !important; }
  html, body {
    background: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #app-main { margin: 0 !important; padding: 0 !important; }
  #app-main > main { margin: 0 !important; max-width: none !important; padding: 0 !important; }
  #view-report { display: block !important; }
  #view-report .glass-card { border: none !important; box-shadow: none !important; padding: 0 !important; }
  .report-sheet { border: none !important; padding: 0 !important; }
  @page { size: A4; margin: 12mm; }
}
