/* ========================================
   Map Styles
   ======================================== */

.map-section {
  padding-top: 80px;
  background: var(--light-gray);
}

.map-container {
  position: relative;
  height: 75vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#map {
  height: 100%;
  width: 100%;
  z-index: 1;
}

.map-attribution {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-attribution-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.leaflet-control-container .leaflet-control-zoom {
  margin: 20px;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a {
  background: white !important;
  color: #374151 !important;
  border: none !important;
  font-size: 16px !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  transition: all 0.3s ease !important;
}

.leaflet-control-zoom a:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
}

.leaflet-control-zoom-in {
  border-radius: 8px 8px 0 0 !important;
}

.leaflet-control-zoom-out {
  border-radius: 0 0 8px 8px !important;
}

@media (max-width: 768px) {
  .map-container {
    height: 60vh;
    border-radius: 12px;
  }

  .map-attribution {
    top: 12px;
    padding: 8px 14px;
    max-width: calc(100% - 40px);
  }

  .map-attribution-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 50vh;
  }

  .map-attribution {
    top: 8px;
    padding: 6px 12px;
  }

  .map-attribution-text {
    font-size: 0.75rem;
  }
}
