body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

#header {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
}

#header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
}

#header h2 {
  margin: 5px 0 20px;
  color: #ffffff;
  font-size: 24px;
}

.search-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.search-bar {
  margin-bottom: 5px;
  padding: 5px;
  width: 200px;
  font-size: 14px;
}

.view-button {
  padding: 5px 10px;
  margin-bottom: 5px;
}

.mapboxgl-ctrl-attrib-inner {
  display: none !important;
}

.mapboxgl-ctrl-logo {
  display: none !important;
}

/* General Popup Styles for consistency */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it appears above other content */
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Text Styling for all popups */
.popup-content p,
.popup-content h3 {
  margin: 0 0 20px 0; /* Margin for spacing between text and buttons */
}

.popup-content h3 {
  font-size: 20px;
  color: #000000;
  font-weight: normal; /* This removes the bolding */
}

/* Buttons inside the popups */
.popup-content button {
  margin: 10px 0; /* Consistent vertical spacing */
  width: 100%; /* Full width buttons */
  max-width: 200px; /* Limit button width */
  padding: 10px; /* Adequate padding */
  font-size: 16px; /* Readable text */
  cursor: pointer; /* Pointer on hover */
  border: none; /* Remove borders */
  border-radius: 5px; /* Rounded corners */
  background-color: #007bff; /* Primary button color */
  color: white; /* White text color */
}

.popup-content button:hover {
  background-color: #0056b3; /* Darken button on hover */
}

/* Remove underline from the MapGP logo link */
#header a {
  text-decoration: none;
  color: inherit; /* Maintain the original text color */
}

#header a:hover {
  text-decoration: none; /* Ensure no underline on hover */
}

/* Specific Styles for Instructional Popup (inherits from .popup) */
.popup-content ol {
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px; /* Add padding to space out the list items */
  list-style-type: decimal; /* Add numbers to the list */
}

.popup-content button.primary {
  background-color: #4caf50; /* Green background for primary actions */
}

.popup-content button.primary:hover {
  background-color: #45a049; /* Darken the primary button on hover */
}

/* Info Button Styling */
.info-button {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 10px;
  font-size: 18px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3; /* Ensure it appears above other content */
}
