/**
 * OpenStreetMap - Leaflet Map Styles
 */

/* Conteneur de la carte */
#osm-map-container {
  width: 100%;
  height: 600px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  background-color: #f5f5f5;
}

/* Responsive pour les appareils mobiles */
@media (max-width: 768px) {
  #osm-map-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  #osm-map-container {
    height: 300px;
  }
}

/* Popup Leaflet */
.leaflet-popup-content {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.leaflet-popup-content-wrapper {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-tip {
  background-color: white;
}

/* Icône du marqueur */
.leaflet-marker-icon {
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Boutons de contrôle Leaflet */
.leaflet-control {
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.leaflet-control-zoom {
  border: none;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font-size: 18px;
  line-height: 26px;
  background-color: white;
  color: #333;
  transition: background-color 0.2s ease;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background-color: #f4f4f4;
}

/* Attribution */
.leaflet-attribution {
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

/* Conteneur de carte dans une section */
.map-section {
  margin: 20px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.map-section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}
