.body-content {
  height: 90vh;
  box-sizing: border-box;
  z-index: 1;
  overflow: hidden;
  position: relative;
}

/* Sidebar Styling */
.sidebar {
  position: absolute;
  top: 2%;
  /* bottom: 5%; */
  width: 4%;
  /* min-width: 4%; */
  left: 0.5%;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-size: 14px;
  transition: width 0.5s ease, background-color 0.3s ease;
  box-sizing: border-box;
  display: flex;
  background-color: #fff;
}

.sidebar-icons {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  transition: width 0.5s ease;
}

.icon {
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: large;
}

.icon:hover {
  background-color: #f0f0f0;
  transform: scale(1.1);
}

.icon.active {
  background-color: #007bff;
  color: white;
}

.sidebar-content {
  height: 82vh;
  width: 0%;
  opacity: 0;
  transition: width 0.5s ease, opacity 0.5s ease;
}

.sidebar.active {
  width: 40%;
  background-color: #f4f4f4;
}

.sidebar.active .sidebar-icons {
  width: 10%;
}

.sidebar.active .sidebar-content {
  width: 90%;
  opacity: 1;
  padding: 10px;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 30px;
  cursor: pointer;
  display: none;
}

.sidebar.active .close-btn {
  display: block;
}

.leaflet-control-attribution {
  color: #000;
  padding: 5px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: bold;
}

.leaflet-control-layers {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
}

.leaflet-control-layers-list label {
  color: #fff;
}

.leaflet-top.leaflet-left {
  left: 50%;
  transform: translateX(-50%);
}

.leaflet-control-geocoder .leaflet-bar input {
  width: 300px;
  max-width: 100%;
}

.leaflet-control-geocoder-expanded {
  width: auto !important;
}

.leaflet-control-geocoder .leaflet-bar input {
  display: block;
}

.leaflet-control-geocoder .leaflet-control-geocoder-icon {
  display: none;
}

/* style suggestion */
#suggestions,
#suggestions-bridge {
  position: absolute;
  background: #fff;
  width: 60%;
  z-index: 999;
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

/* Item di dalam suggestions */
.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.suggestion-item:hover {
  background-color: #f5f5f5;
}

/* Custom scrollbar */
#suggestions::-webkit-scrollbar,
#suggestions-bridge::-webkit-scrollbar {
  width: 6px;
}

#suggestions::-webkit-scrollbar-thumb,
#suggestions-bridge::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

#suggestions::-webkit-scrollbar-track,
#suggestions-bridge::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

/* loading style */
#loadingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
  }
  
  .loading-container {
    text-align: center;
    animation: fadeInScale 0.6s ease-in-out;
  }
  
  .loading-text {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    animation: pulseText 1.5s ease-in-out infinite;
  }
  
  @keyframes pulseText {
    0%,
    100% {
      opacity: 1;
    }
  
    50% {
      opacity: .8;
    }
  }
  
  @keyframes fadeInScale {
    0% {
      opacity: 0;
      transform: scale(0.9);
    }
  
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
