.map-wrapper .map-container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

.map-wrapper #map {
    width: 100%;
    height: 500px; /* tinggi normal saja */
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* LEGEND */
.map-wrapper .legend {
    background: white;
    padding: 8px;
    font-size: 13px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.map-wrapper .legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    opacity: 0.7;
    z-index: 10;
}

/* FILTER */
.map-wrapper .filter-container {
    position: absolute;
    top: 10px;
    left: 60px;
    background: white;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 13px;
}

.map-wrapper .map-title {
  text-align: center;
  padding-bottom: 15px;
  position: relative;
}

.map-wrapper .map-title h2 {
  font-size: 32px;
  font-weight: 700;
  padding-bottom: 15px;
  position: relative;
}

.map-wrapper .map-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #A31D1D;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.map-wrapper.map-title p {
  margin-bottom: 0;
}

.popup-detail-wrapper {
  text-align: center;
  margin-top: 12px;
}

.btn-popup-detail {
  font-family: "Poppins", sans-serif;
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  background-color: #FBF9D1;
  color: #D84040;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}


.btn-popup-detail:hover {
  background-color: color-mix(in srgb, #FBF9D1 80%, white 40%);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000;
}

.modal-header {
  display: flex;
  align-items: center;          /* vertikal sejajar */
  justify-content: space-between; /* kiri & kanan */
  padding: 12px 16px;
  border-bottom: 3px solid #eee;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: black;
  font-family: "Poppins", sans-serif;
}

.modal-close {
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  margin: 80px auto;
  padding: 20px;
  border-radius: 10px;
}


.modal-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  margin-top: 10px;
}

.tab-btn {
  padding: 6px 12px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.tab-btn.active {
  background: #F8F2DE;
  color: #D84040 ;
}

.tab-content {
  display: none;
  padding: 5px 10px;
  font-family: "Poppins", sans-serif;
}

.tab-content.active {
  display: block;
}


