#mapPreview {
      height: 400px;
      width: 100%;
      border-radius: 8px;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      -ms-border-radius: 8px;
      -o-border-radius: 8px;
}

#startBtn {
      position: absolute;
      top: 550px;
      left: 40px;
      z-index: 1000;
      padding: 10px 15px;
      background: white;
      border: 1px solid #ccc;
      cursor: pointer;
      font-weight: bold;
    }

    #exitBtn {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#exitBtn:hover {
  background: white;
  transform: translateX(-50%) scale(1.03);
}

 .modal {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #fff;
  width: 90%;               /* Responsive lebar */
  max-width: 600px;         /* Maksimum lebar tetap */
  max-height: 90vh;         /* Tidak lebih dari 90% tinggi layar */
  padding: 20px;
  border-radius: 10px;
  overflow-y: auto;         /* Scroll jika konten terlalu panjang */
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}


.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close {
  position: absolute;
  top: 1px;
  right: 5px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10001;
}

.map-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.76);
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.map-loading-content {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  align-items: center;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid #00ffcc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.glow-text {
  font-size: 18px;
  color: #fff;
  text-shadow:
    0 0 5px #00ffff,
    0 0 10px #00ffff,
    0 0 15px #00ffff;
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow {
  from {
    text-shadow:
      0 0 5px #00ffff,
      0 0 10px #00ffff,
      0 0 15px #00ffff;
  }
  to {
    text-shadow:
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 30px #00ffff;
  }
}


/* mobile carousel */
.swiper {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

/* .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
} */

.swiper-button-prev,
.swiper-button-next {
  color: #fff !important;
  top: 50%;
  transform: translateY(-50%);
}

.card-reply {
  display: flex;
  align-items: start;
  gap: 5px;
  background: #f0fff0; 
  border-radius: 15px;
}

.card-reply i {
  transform: scaleX(-1); 
  display: inline-block; 
  font-size: 28px; 
  color: #4B944D;
}