body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

h1 {
  color: #333;
}

#loader {
  display: none; /* Hidden by default */
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#mapContainer {
  margin-top: 20px;
}

#map {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.plots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Adjusted to 350px */
  gap: 100px 20px; /* 100px vertical gap, 20px horizontal gap */
  margin-top: 20px;
}

.plot {
  width: 100%; /* Ensure the plot fills its container */
  height: 300px; /* Fixed height for each plot */
  margin: 0 auto; /* Center the plot in its grid cell */
}