body.app-body {
  background: #f4f7fc;
  color: #1f2a44;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background: linear-gradient(180deg, #0b2a6f, #123b8a);
  color: #fff;
  padding: 1.25rem 1rem;
}

.sidebar-brand h1 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
}

.sidebar-brand small {
  opacity: 0.8;
}

.sidebar-nav {
  margin-top: 1.5rem;
}

.sidebar-nav li {
  margin-bottom: 0.4rem;
}

.sidebar-nav a {
  display: block;
  text-decoration: none;
  color: #e9efff;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
}

.card-kpi {
  border: 0;
  border-radius: 0.85rem;
  box-shadow: 0 6px 20px rgba(15, 44, 102, 0.08);
}

.kpi-title {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a3177;
  margin-bottom: 0;
}

.table-wrapper {
  background: #fff;
  border-radius: 0.85rem;
  box-shadow: 0 6px 20px rgba(15, 44, 102, 0.06);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top right, #1b4db0, #0b2a6f 55%, #071a43);
}

.login-card {
  width: min(440px, 92vw);
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 16px 50px rgba(5, 20, 55, 0.35);
}

@media (max-width: 991px) {
  .app-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}
