/* ===== MAP SECTION ===== */
.map-section {
  padding: 0;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.mapbox-container {
  width: 100%;
  height: 60vh;
  position: relative;
}

.mapbox-container.map-active {
  outline: 1px solid #333;
}

.mapbox-container.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
}

/* Fullscreen button */
.map-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #333;
  color: #ccc;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: #666;
  color: #fff;
}

/* Legend */
.map-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: #000;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.legend-line {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

.mapboxgl-canvas {
  filter: contrast(130%);
}

/* Mapbox overrides */
.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib {
  opacity: 0.3;
}

.mapboxgl-ctrl-scale {
  background: rgba(0, 0, 0, 0.6) !important;
  color: #ccc !important;
  border-color: #ccc !important;
  font-size: 11px;
  padding: 0 6px;
}

.mapboxgl-popup-content {
  background: #62000091 !important;
  color: #ccc !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
}

.mapboxgl-popup-close-button {
  color: #ccc !important;
  font-size: 18px;
}

.mapboxgl-popup-close-button:hover {
  color: #fff !important;
  background: transparent !important;
}

.mapboxgl-popup-tip {
  border-top-color: #111 !important;
}
