.bg-dark-pattern {
  background-color: #0b1727;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.bg-emerald { background-color: #10b981 !important; }
.text-emerald { color: #10b981 !important; }

.badge-emerald-soft {
  background-color: #d1fae5;
  color: #065f46;
}
.badge-outline-light {
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  background: rgba(255,255,255,0.1);
}

.filter-bar {
  margin-top: -30px;
  z-index: 10;
  position: relative;
  border-radius: 12px;
}
.filter-select {
  border: none;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.stat-tabs .nav-link {
  border: 1px solid #e5e7eb;
  color: #4b5563;
  background: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.stat-tabs .nav-link:hover {
  background: #f9fafb;
}
.stat-tabs .nav-link.active {
  background-color: #10b981;
  border-color: #10b981;
  color: #fff !important;
}
.stat-tabs .nav-link .badge-tab {
  font-size: 0.65rem;
  padding: 0.25em 0.5em;
  border-radius: 4px;
  background: #f3f4f6;
  color: #6b7280;
}
.stat-tabs .nav-link.active .badge-tab {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.kpi-card {
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}
.icon-box-soft-emerald {
  background-color: #ecfdf5;
  color: #10b981;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.1rem;
}
.kpi-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25em 0.6em;
  border-radius: 4px;
  background-color: #fce7f3;
  color: #be185d;
}

.badge-unit { background: #e0e7ff; color: #4338ca; }
.badge-bsu { background: #fef3c7; color: #b45309; }
.badge-epr { background: #e0f2fe; color: #0369a1; }
.badge-pabrik { background: #f3e8ff; color: #7e22ce; }
.badge-usaha { background: #ffe4e6; color: #be123c; }
.badge-sentra { background: #dcfce7; color: #15803d; }

.chart-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.nav-dark-section {
  background-color: #0b1727;
  border-radius: 20px;
  overflow: hidden;
}
.dark-nav-card {
  background-color: #1e293b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.dark-nav-card:hover {
  background-color: #273549;
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.dark-nav-card .icon-box {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: x-large;
}
.dark-nav-card:hover .icon-box {
  background-color: #10b981;
}

.stat-tabs-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stat-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.stat-tabs {
  display: flex;
  flex-wrap: nowrap !important;
  width: max-content;
}

.progress-sm {
  height: 6px;
  border-radius: 10px;
  background-color: #f3f4f6;
}
.progress-sm .progress-bar {
  border-radius: 10px;
}
.kinerja-list-item {
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.kinerja-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.table-direktori th {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  border-top: none;
  border-bottom: 2px solid #e5e7eb;
}
.table-direktori td {
  font-size: 0.85rem;
  color: #374151;
  vertical-align: middle;
}

.card-takeback {
  border-radius: 10px;
  padding: 1.25rem;
  border: none;
  height: 100%;
}
.bg-soft-blue { background-color: #f0f9ff; }
.text-soft-blue-dark { color: #0284c7; }

.bg-soft-green { background-color: #f0fdf4; }
.text-soft-green-dark { color: #16a34a; }

.bg-soft-purple { background-color: #faf5ff; }
.text-soft-purple-dark { color: #9333ea; }

.bg-soft-orange { background-color: #fffbeb; }
.text-soft-orange-dark { color: #d97706; }

.text-blue-custom { color: #3b82f6; }
.text-pink-custom { color: #d946ef; }
.text-purple-custom { color: #8b5cf6; }

.card-pasokan {
  background-color: #fafaf9;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f3f4f6;
}
.icon-box-sm {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.1rem;
}

.bg-soft-danger { background-color: #fee2e2; }
.text-soft-danger-dark { color: #e11d48; }

.bg-soft-warning { background-color: #fef3c7; }
.text-soft-warning-dark { color: #d97706; }

.card-dampak {
  background-color: #fafaf9;
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  border: 1px solid #f3f4f6;
  height: 100%;
}
.card-dampak i {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 0.75rem;
}
