/* Importations - notez que les imports tels que définis par @use ne sont pas valides en CSS pur, ils doivent être traités manuellement ou en utilisant un compilateur */
/* Importer manuellement les fichiers de variables, d'utilitaires, de réinitialisation, de debug, et de base */

/* hack bootstrap */
.mb-5 {
  margin-bottom: 5px !important;
}
a {
  color: inherit !important;
}

select {
  border-radius: 5px;
  border: 1px solid #ccc;
  color: #333;
  font-size: 16px;
  height: 30px;
  width: 100%;
  padding: 2px;
  cursor: pointer;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
select option {
  color: #333;
  font-size: 16px;
  padding: 5px;
  line-height: 40px;
  background-color: #fff;
}
select option:checked {
  color: #fff;
  background-color: #007bff;
}

/* les zones */
:root {
  --hauteur-barre-menu: 60px;
}
#page-interactive-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

#menu-page-interactive {
  color: white;
  display: flex;
  height: var(--hauteur-barre-menu);
  width: 100%;
  background-color: var(--primary);
  z-index: 800;
  box-shadow: 0 0 15px #333;
}

a.titre-menu-carte {
  font-size: 30px;
  font-weight: 700;
}
#cadre-page-interactive {
  display: flex;
  flex: auto;
}

#interactive_map_container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: calc(100vh - var(--hauteur-barre-menu));
}

#filter-map {
  display: flex;
  overflow: auto;
  overflow-x: hidden;
  flex-direction: column;
  width: 33%;
  max-width: 450px;
  background-color: #595959;
  color: white;
}
#filter-map::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 8px;
}
#filter-map::-webkit-scrollbar {
  width: 8px;
}

#app-map {
  display: flex;
  flex: 1 1 auto;
}

.cadre-filtre-section {
  padding: 15px;
  border-radius: var(--border-radius);
  background-color: #ffffff10;
}
.cadre-filtre-section:hover {
  box-shadow: 0 0 15px 1px rgba(255, 255, 255, 0.3);
}
div.checkbox label:hover {
  text-decoration: underline;
}

/* la bouton d'aide */
.btn-help {
  background-color: var(--primaire);
  border: 0;
  border-radius: 20%;
  padding: 0px 5px;
  margin-left: 10px;
}
.btn-help span {
  font-weight: 700;
  color: white;
}
.btn-help:hover {
  transition: 0.2s;
  color: black;
}

.text-help {
  color: var(--color);
}

/* hook de leaflet */
.leaflet-top.leaflet-left {
  display: none;
}

.leaflet-popup-content-wrapper {
  font-family: var(--font-family);
  color: var(--color);
  font-size: 16px;
  line-height: 24px;
  width: 350px;
  border-radius: 5px;
}
.leaflet-container a.leaflet-popup-close-button {
  top: 3px;
  right: 7px;
  font: 18px Tahoma, Verdana, sans-serif;
  font-weight: 700 !important;
}
div.popup-style{
    border-radius: 5px;
}
.popup-style {
  font-family: var(--font-family);
}
.popup-style a {
  text-decoration: underline;
}
.popup-style p {
  margin: 0 0 10px 0;
  font-family: inherit;
}
