html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  overflow: hidden;
}

#mapContainer {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#map {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

/* SEARCH BAR */
#searchBar {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background: rgb(150, 147, 147);
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#searchBar input {
  width: 240px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* INFO PANEL */
#infoPanel {
  position: absolute;
  top: 60px;
  left: 0;
  width: 300px;
  height: calc(100% - 80px);
  background: #fff;
  border-right: 1px solid #ccc;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
  overflow-y: auto;
  overflow-x: visible;
  transition: transform 0.3s ease;
  z-index: 9999;
}

#infoPanel.collapsed {
  transform: translateX(-280px);
}

#infoCollapseHandle {
  position: absolute;
  right: -20px;
  top: 20px;
  width: 20px;
  height: 40px;
  background: #c97f7f;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  z-index: 10000;
}

#infoPanel:not(.collapsed) #infoCollapseHandle {
  transform: rotate(180deg);
}

.hidden {
  display: none;
}

/* LAYERS BUTTON */
#layersButton {
  position: absolute;
  bottom: 20px;
  left: 10px;
  background: white;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1000;
}

/* LAYERS PANEL */
#layersPanel {
  position: absolute;
  bottom: 70px;
  left: 10px;
  background: rgb(156, 156, 156);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

/* BACK LINK */
#backLink {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-decoration: none;
  color: black;
  font-weight: bold;
  z-index: 1000;
}

#dateFilters {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgb(109, 108, 108);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 9999;
  width: 220px;
}

#dateFilters label {
  display: block;
  margin-bottom: 8px;
}

#quickButtons {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#quickButtons button {
  padding: 6px 8px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  border-radius: 4px;
  cursor: pointer;
}
