.sidebar {
  width: 260px;
  flex: 0 0 260px;
  min-height: 100vh;
}

.flex-grow-1 {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.18);
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(15, 23, 42, 0.92);
}

.brand-subtitle {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.55);
}

.sidebar-nav {
  padding: 10px 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  color: rgba(15, 23, 42, 0.85);
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.1;
  font-size: 14px;
  position: relative;
}

.sidebar-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.95);
}

.sidebar-link.active {
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-weight: 600;
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.9);
}

.sidebar-footer {
  margin-top: auto;
  padding: 12px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
}

.kpi-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}

.card {
  border-radius: 16px;
}

.card.shadow-sm {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

.table thead th {
  font-weight: 600;
}
