﻿/* Assure que le body et le html prennent toute la hauteur */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* La carte prend tout l'espace disponible */
#map {
  height: 100%;
  width: 100%;
}




#layerControls {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8); /* Fond sombre */
  color: white; /* Texte clair */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  align-items: center;
}

#layerControls input[type="checkbox"] {
  appearance: none; /* Supprime le style par défaut */
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #888;
  border-radius: 50%; /* Forme ronde */
  background-color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
}

#layerControls input[type="checkbox"]:checked {
  background-color: #f5aba2; /* Couleur verte lorsqu'elle est cochée */
  border-color: #fff;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.6); /* Effet lumineux */
}

#layerControls input[type="checkbox"]:hover {
  border-color: #bbb; /* Couleur plus claire au survol */
}

#layerControls input[type="checkbox"]:checked:after {
  content: ""; /* Ajoute un symbole de coche */
  display: block;
  font-size: 12px;
  color: white;
  text-align: center;
  line-height: 18px;
}


/* Custom popups 
.leaflet-popup-content {
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  color: #f5f5f5;
}

.leaflet-popup-tip {
  background: #333;
}

.leaflet-popup-content-wrapper {
  background: #222;
  color: white;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.5);
}*/


/* Personnalisation des popups */
.leaflet-popup-content-wrapper {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
  max-width: 200px;
}

.leaflet-popup-content {
  padding: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.leaflet-popup-tip {
  background-color: #fff;
  border: 1px solid #ddd;
}

.leaflet-popup .leaflet-popup-close-button {
  color: #ff6f61; /* Couleur personnalisée pour le bouton de fermeture */
  font-size: 20px;
  font-weight: bold;
}

.leaflet-popup .leaflet-popup-close-button:hover {
  color: #ff3b2f;
}





/* Apparence de la fenêtre de popup */
.leaflet-popup-content-wrapper {
  background-color: #fff; 
  border-radius: 12px; 
  position: relative; 
}


/* Contenu de la popup */
.leaflet-popup-content {
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

* {
    font-family: 'Raleway', sans-serif;
}

/* Appliquer la police à la popup */
.leaflet-popup-content-wrapper {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #333;
}

/* Pour les titres ou textes en gras */
.leaflet-popup-content h1,
.leaflet-popup-content h2,
.leaflet-popup-content h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

