html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#map {
  width: 100%;
  height: 100%;
}

#hamburgerBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1100;
  background: white;
  border: none;
  padding: 8px 12px;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  user-select: none;
  color: #333;
}

#filterPopup {
  position: absolute;
  top: 50px;
  right: 10px;
  z-index: 1099;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  padding: 12px 16px;
  border-radius: 8px;
  width: 260px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  display: none;
  user-select: none;
  max-height: 80vh;
  overflow-y: auto;
}
#filterPopup h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}
#filterPopup label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
}
#filterPopup label input[type="checkbox"],
#filterPopup label input[type="radio"] {
  margin-right: 8px;
  cursor: pointer;
}

.legend {
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.5em;
  font-family: Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
}
.legend i {
  width: 16px;
  height: 16px;
  float: left;
  margin-right: 8px;
  opacity: 0.8;
}

#loadingSpinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2000;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
