/* Reset dan container umum */
body{
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}

h1,h2{
  color: #27548A;
}

.demografi {
  margin-top: 9em !important;
  margin: 40px auto;
  padding: 0 15px;
}

/* Header utama */
.demografi-header {
  text-align: center;
}

.demografi-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.demografi-header p {
  color: #6c757d;
  font-size: 1rem;
  max-width: 800px;
  margin: auto;
}

/* Ilustrasi jika ada */
.demografi-header img.demografi-illu {
  max-width: 80%;
  margin: 20px auto;
  display: block;
}

/* Section kategori + tombol */
.demografi-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 10px;
}

.demografi-section-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.demografi-section-header .btn {
  white-space: nowrap;
}

/* Tabel data */
table.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table thead {
  background-color: #f8f9fa;
}

.table th, .table td {
  padding: 12px 16px;
  vertical-align: middle;
  text-align: left;
}

.table td.text-center {
  text-align: center;
}

.table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Tombol */
.btn {
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
}

.btn-sm {
  font-size: 0.8rem;
}

/* Ikon kategori */
.demografi-icon {
  font-size: 2.5rem;
  color: #27548A;
}

/* Modal konfirmasi hapus */
.modal-content {
  border-radius: 0.75rem;
}

.modal-header {
  border-bottom: 1px solid #dee2e6;
}

.modal-footer {
  border-top: 1px solid #dee2e6;
}

/* Chart / Grafik kecil */
.small-chart {
  max-width: 400px;
  max-height: 400px;
  margin: auto;
}

/* Responsive */
