
.filter-container,
.legend-container,
.contact-container {
  margin-bottom: 15px; /* Spacing between sections */
}

.filter-container h4,
.legend-container h4,
.contact-container h4 {
  font-size: 14px; /* Smaller header size */
  margin-bottom: 5px; /* Reduce space after header */
  border-bottom: 1px solid #ddd; /* Add bottom border for separation */
  padding-bottom: 5px; /* Add space after bottom border */
}


/* Modal CSS */

.modal-dialog {
  min-width: 900!important; /* Lebar modal 90% dari lebar layar */
  max-width: 90% !important;


}

@media (min-width: 768px) {
  .modal-dialog {
    min-width: 900!important; /* Lebar modal 90% dari lebar layar */
	max-width: 90% !important;
  }
}

.modal-dialog li {
    list-style:circle !important;
}


/* Modal header */
.modal-header {
  background-color: #FF8C00; /* Warna biru tua */
  color: #fff; /* Teks putih */
  text-align: center; /* Teks di tengah */
}

.modal-title {
  font-weight: bold; /* Teks tebal */
}

/* Modal body */
.modal-body {
  padding: 20px; /* Padding 20px di semua sisi */
}

/* Konten modal */
#modalContentKecamatan {
  font-size: 14px; /* Ukuran font 14px */
  line-height: 1.5; /* Jarak baris 1.5 */
}

/* Gambar */
.modal-img {
  max-width: 100%; /* Gambar responsif */
  height: auto; /* Menjaga rasio aspek gambar */
}

/* Tabel */
.table {
  margin-bottom: 20px; /* Margin bawah 20px */
}

.table-striped tr:nth-child(odd) {
  background-color: #f9f9f9; /* Warna baris ganjil */
}


#map {
	height: calc(100vh - 60px); /* Tinggi peta akan mengambil tinggi layar dikurangi dengan tinggi bagian lain di atas atau bawah peta */

}

.menu-small {
    font-size: 0.75rem !important;
  }


/* cluster khusus kantor */
.kantor-cluster {
    background: rgba(13, 110, 253, 0.4); /* biru transparan */
    border: 2px solid #0d6dfd54;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-weight: bold;
    line-height: 40px;
  }
  .kantor-cluster div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d6dfd80;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .kantor-cluster span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }


  /* CSS Pop Up */
  .feature-info {
    font-size: 14px;
    line-height: 1.6;
  }

 .info-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 4px;
}

.info-label {
    min-width: 80px;      /* fleksibel, tidak memaksa */
    font-weight: 600;
    color: #333;
}

.info-sep {
    margin: 0 4px;        /* jarak natural titik dua */
}

.info-value {
    flex: 1;              /* isi otomatis melebar */
}

  .info-value {
    flex: 1;              /* isi menyesuaikan lebar sisa */
    color: #555;
  }

  .leaflet-popup-content {
    max-width: 250px !important;
    margin: 0 !important;
  }


/* === Fix Leaflet Popup Structure === */
.leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 14px;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
}

/* === Popup Modern === */
.popup-modern {
    width: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    font-family: system-ui, -apple-system, sans-serif;
}

.popup-image {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.popup-body {
    padding: 10px 14px 12px 12px;
}

.popup-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.popup-badge {
    display: inline-block;
    background: #e7f1ff;
    color: #0d6efd;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.popup-meta {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

