:root {
  --primary: #1b3a5c;
  --accent: #f2994a;
  --bg: #f4f6f9;
}
body { background: var(--bg); font-family: 'Segoe UI', Roboto, Arial, sans-serif; }
.topbar { background: var(--primary); }
.sidebar {
  width: 240px; min-width: 240px; background: #10263f; min-height: calc(100vh - 56px);
  color: #cfd8e3;
}
.sidebar .nav-link { color: #cfd8e3; padding: .55rem 1.1rem; font-size: .92rem; border-left: 3px solid transparent; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar .nav-link.active { background: rgba(242,153,74,.15); color: #fff; border-left-color: var(--accent); font-weight: 600; }
.sidebar-heading { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #7c8ba1; padding: 1rem 1.1rem .3rem; }
.content-area { min-height: calc(100vh - 56px); }
.card-kpi { border: none; border-radius: .8rem; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card-kpi .kpi-icon { font-size: 1.8rem; opacity: .85; }
.kpi-value { font-size: 1.6rem; font-weight: 700; }
.table thead th { background: var(--primary); color: #fff; font-size: .85rem; white-space: nowrap; }
.badge-achv-good { background: #1e9e5a; }
.badge-achv-bad { background: #d9534f; }
.login-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b3a5c, #10263f);
}
.login-card { border: none; border-radius: 1rem; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
@media (max-width: 767px) {
  .sidebar { position: fixed; z-index: 1050; transform: translateX(-100%); transition: transform .2s; height: 100%; }
  .sidebar.show { transform: translateX(0); }
}
