@import url("https://api.mapbox.com/mapbox-gl-js/v3.12.0/mapbox-gl.css");

#map {
  max-width:100%; 
  height: 90vh; 
}

#container {
  position: relative;
  max-width:100%; 
  height: 90vh;
  color: black;
}
#menu_container {
  position: absolute;
  left: 8px;
  top: 8px;
}
#elevation_chart_container {
  position: absolute;
  left: 8px;
  bottom: 8px;
}
#full_screen_container {
  display: flex;
  align-items: top; 
  justify-content: center;
  position: absolute;
  right: 8px;
  bottom: 35px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #0000001a;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
#full_screen_container i {
  font-size: 20px;           /* adjust icon size */
  color: #333;               /* or any color you prefer */
}
#full_screen_container:hover {
  background-color: #f0f0f0; /* light gray on hover */
}
#controls {
  position: absolute;
  width: fit-content;
  top: 8px;
  left: 8px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.85em;
  border: solid 1px #ccc;
  /* box-shadow: 0 0 0 2px #0000001a; */
} 

form label {
  font-size: 0.8em;
  max-width: 80px;
  display: inline-block;
  margin-right: 5px;
}
form select {
  font-size: 0.8em;
  width: fit-content;
  max-width: 80px;
  padding: 2px;
  margin-bottom: 5px;
}

form {
  width: fit-content !important;
  min-width: 260px;
  margin: 0;
  padding: 0;
}

#controls .cell-output {
  overflow-x: clip !important;
  padding: 0 !important;
  margin: 0 !important;
}
#controls form {
  padding: 0 !important;
  margin: 0 !important;
}


.quarto-light .responsive-container {
  fill: white;
  stroke: black;
  /* color: #444; */
}
.quarto-dark .responsive-container {
  fill: #222;
  stroke: #bbb;
  /* color: #ccc; */
}