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

/* Sidebar Styling */
.sidebar {
  position: absolute;
  top: 5%;
  /* 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;
  transform: translateX(50%);
}

.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: 100%;
  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: 10%;
  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-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;
}

/* 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: 0.8;
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

iframe {
  border: none;
  width: 100%;
  height: 100%;
}
