body { background: #f4f6f9; }
.topbar { z-index: 1040; min-height: 56px; }
.sidebar { width: 250px; min-height: calc(100vh - 56px); }
@media (min-width: 992px) {
  .sidebar { position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; flex-shrink: 0; }
}
.sidebar .nav-link { color: #333; padding: .55rem 1.1rem; border-left: 3px solid transparent; }
.sidebar .nav-link:hover { background: rgba(13,110,253,.06); }
.sidebar .nav-link.active { color: #0d6efd; background: rgba(13,110,253,.1); border-left-color: #0d6efd; font-weight: 600; }
.main-content { min-width: 0; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stat-card .stat-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.stat-card .stat-value { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.table td, .table th { vertical-align: middle; }
.table-sm td { font-size: .9rem; }
.pre-line { white-space: pre-line; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }
.login-card { width: 100%; max-width: 420px; }
.page-header { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.page-header h1 { font-size: 1.4rem; margin: 0; }
.bar { height: 8px; border-radius: 4px; background: #0d6efd; }
.items-table input { min-width: 80px; }
@media print {
  .topbar, .sidebar, .no-print, .alert { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; }
}

.brand-logo { height: 34px; width: auto; }
