#map {
  /* Taller map? Adjust this clamp or use calc(100vh - Xpx) */
  height: clamp(600px, 95vh, 1080px);
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  width: 100%;
}

/* Leaflet legend/info (if used elsewhere) */
.info {
  padding: 6px 8px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}

.legend-line {
  display: inline-block;
  width: 30px;
  height: 0;
  border-top: 3px solid;
  margin-right: 8px;
}

/* Modal tweaks */
#timeSeriesModal .modal-content {
  padding: 5px;
  background-color: #fff;
}

.modal-backdrop.show {
  opacity: 1 !important;
  background-color: white;
}


#timeSeriesModalLabel {
  text-align: center;
  width: 100%;
}

/* Optional container styles for charts if you add them later */
#chartsContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.canvas-container {
  flex: 1;
  max-width: 100%;
  position: relative;
  background: #fff;
}

canvas {
  width: 100%;
  height: 100%;
}


