:root {
  --brand-primary: #123B63;
  --brand-secondary: #1F5D8F;
}
body { background: #f4f6f9; padding-top: 56px; }
.topbar { background: var(--brand-primary); z-index: 1050; }
#wrapper { min-height: calc(100vh - 56px); }
.sidebar {
  width: 260px;
  min-width: 260px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  height: calc(100vh - 56px);
  overflow-y: auto;
  position: sticky;
  top: 56px;
}
.nav-section {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
  margin: 14px 8px 4px;
  letter-spacing: .05em;
}
.sidebar .nav-link {
  color: #334155;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14.5px;
}
.sidebar .nav-link:hover { background: #eef2ff; }
.sidebar .nav-link.active { background: var(--brand-secondary); color: #fff; }
#page-content { flex: 1; min-width: 0; }
.card { border: none; box-shadow: 0 1px 3px rgba(0,0,0,.08); border-radius: 12px; }
.stat-card { border-radius: 14px; color: #fff; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 700; }
.table thead th { background: #f8fafc; font-size: 13px; text-transform: uppercase; color: #64748b; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.login-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}
.login-card { max-width: 420px; width: 100%; border-radius: 16px; }
@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: -280px; top: 56px; z-index: 1040; transition: left .2s ease; box-shadow: 0 0 20px rgba(0,0,0,.15); }
  .sidebar.show { left: 0; }
}
