:root {
  --bg-color: #f3f4f6;
  --pbb-main: #4e73df;
  --pbb-sub: #f0f2f9;
}

.nav-pills-custom {
  background: #dfe6e9;
  padding: 5px;
  border-radius: 50px;
  display: inline-flex;
  margin-bottom: 20px;
}

.nav-pills-custom .nav-link {
  border-radius: 50px;
  padding: 10px 40px;
  font-weight: 600;
  color: #636e72;
}

.nav-pills-custom .nav-link.active {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--pbb-main);
}

.sticky-filter {
  position: sticky;
  top: 70px;
  z-index: 10;
}

.custom-filter-group {
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 45px;
}

.stat-card {
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--pbb-main);
  height: 100%;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--pbb-sub);
  color: var(--pbb-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 15px;
}

.chart-box {
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  min-height: 380px;
}

.district-card {
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dc-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.dc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pbb-sub);
  color: var(--pbb-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-list {
  flex-grow: 1;
  max-height: 350px;
  overflow-y: auto;
}

.s-item {
  padding: 12px 15px;
  border-bottom: 1px solid #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.s-item span:first-child {
  font-size: 0.85rem;
  line-height: 1.3;
}

.s-badge {
  min-width: 32px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--pbb-sub);
  color: var(--pbb-main);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  flex-shrink: 0;
}

#btn-filter {
  background-color: var(--pbb-main);
  border: none;
}
