.map-bubble {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #bd24ae;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  border-radius: 20px;
  padding: 5px 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-options {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 5%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  width: 90%;
  z-index: 999;
}

/* Show filter options when active */
.filter-options.active {
  display: block;
}

/* Base Style for Floating Button */
#backToTop {
  display: none; /* Initially hidden */
  position: fixed;
  bottom: 10px; /* Distance from the bottom */
  z-index: 1000;
  width: 60px; /* Size of the button */
  height: 60px;
  text-align: center;
  line-height: 45px;
  border-radius: 50%; /* Makes the button circular */
  background: linear-gradient(
    135deg,
    #7f35ed,
    #f81473
  ); /* Gradient background */
  color: white;
  border: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for floating effect */
  cursor: pointer;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    box-shadow 0.3s ease; /* Smooth transition */
  font-size: 24px; /* Adjust size of the icon */
}

/* Hover Effect */
#backToTop:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow */
}

/* Add active animation when clicked */
#backToTop:active {
  transform: scale(0.9); /* Slight shrink when clicked */
}

/* Desktop: Position on the Right */
@media (min-width: 768px) {
  #backToTop {
    right: 20px;
  }
}

/* Mobile: Position on the Left */
@media (max-width: 767.98px) {
  #backToTop {
    left: 20px;
  }
}
