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

.leaflet-container,
#map {
  overflow:hidden;
  height: 100%;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  background-color: #aad3df; /* Change this to your desired background color */
}

#reset-container{
 display: flex;
  align-items: center; /* Centers items vertically */
  justify-content: space-between; /* Adjusts spacing between items */
  position: absolute;
  top: 80px; /* Adjust the distance from the top */
  left: 11px; /* Adjust the distance from the right */
  z-index: 1000; /* Ensure it displays on top of the map */
  max-width:100vw; max-height: 100vh;
}

#score-container {
  padding: 10px; /* Optional: add padding if needed */
  position: absolute;
  bottom: 10px; /* Adjust the distance from the top */
  left: 10px; /* Adjust the distance from the right */
  z-index: 1000; /* Ensure it displays on top of the map */
  background: white; /* Optional: Add a background for better visibility */
  padding: 5px; /* Optional: Add padding */
  border-radius: 5px; /* Optional: Rounded corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optional: Shadow for better visibility */
  font-size: 26px; /* Font size of the option text */
  max-width:100vw; max-height: 100vh;
}

#options-container {
  position: absolute;
  top: 10px; /* Adjust the distance from the top */
  right: 10px; /* Adjust the distance from the right */
  z-index: 1000; /* Ensure it displays on top of the map */
  background: white; /* Optional: Add a background for better visibility */
  padding: 5px; /* Optional: Add padding */
  border-radius: 5px; /* Optional: Rounded corners */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optional: Shadow for better visibility */
  max-width:100vw; max-height: 100vh;
}

#options-container .color-option {
  margin: 5px 0; /* Margin between options */
  padding: 10px; /* Padding inside options */
  font-size: 14px; /* Font size of the option text */
  border-radius: 5px; /* Rounded corners for options */
  color: black; /* Text color */
}

path.leaflet-interactive:focus { outline: none; }

.polygon-popup button.color-button {
  display: block; /* Display buttons as block elements */
  width: 100%; /* Make buttons fill the width */
  margin: 5px 0; /* Margin between buttons */
  padding: 10px; /* Padding inside buttons */
  font-size: 14px; /* Font size of the button text */
  border: none; /* Remove default button border */
  border-radius: 5px; /* Rounded corners for buttons */
  color: white; /* Text color in the buttons */
  cursor: pointer; /* Show pointer cursor on hover */
}

.polygon-popup button.color-button:hover {
  opacity: 0.8; /* Slightly fade the button on hover */
}
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the button */
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

/* Show the tooltip on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

