.filter-label {
    font-weight: bold;
    color: #000;
    margin-left: 8px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 14px;
    vertical-align: middle;
    display: none;
}

    
 /* Legende */
.legend {
  background: white;
  padding: 12px 16px; /*modified */
  font-size: 15px; 
  line-height: 20px;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
  font-family: "Arial Narrow", Arial, sans-serif;
}

.legend b {
  display: block;
  text-align: left;     
   margin-bottom: 4px;/*Espace entre tire legende et legende */
  font-size: 16px;
}

.legend div,
.legend span {
  text-align: left;      
}

.legend i {
  display: inline-block;
  width: 16px;/*modified */
  height: 12px;
  margin-right: 6px;
  vertical-align: middle;
}
      
.segment {
  flex: 1;
  height: 100%;
}

.segment.black {
  background: black;
}

.segment.white {
  background: white;
  border-left: 1px solid black;
}

.custom-scale-labels {
 display: flex;
  justify-content: space-between;
}
      .my-control {
  padding-left : 10px;
  padding-right : 10px;
  padding-bottom : 10px;
  background-color : white;
}

.button-class {
  padding : 2px;
  margin-top : 5px;
  width : 50px;
}

.input-number {
  width : 60px;
}
		.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

.leaflet-popup-content {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  margin: 8px 12px;
  color: #000;
}

.leaflet-popup-tip {
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

/* Optionnel : titres en gras propres */
.leaflet-popup-content strong,
.leaflet-popup-content b {
  font-weight: bold;
}
		/* ===== POPUP – TITRE & STATUT ===== */

.popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 2px;
}

.popup-subtitle {
  font-size: 13px;
  font-weight: bold;
  color: #777;
  margin-bottom: 6px;
}

.popup-status {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

.popup-status.colonisee {
  color: #b30000;
}

.popup-status.non-colonisee {
  color: #666;
}

		/* Bouton entonnoir */
/* Bouton entonnoir fermé */
.leaflet-bar .filter-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.leaflet-bar .filter-btn:hover {
    background-color: #f0f0f0;
}

/* Panneau complet */
.leaflet-bar .filter-panel {
    display: none; /* masqué par défaut */
    flex-direction: column;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    padding: 6px;
    width: 200px;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 1000;
}

.filter-panel h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: bold;
}

.filter-panel label {
    font-size: 13px;
    margin-top: 4px;
}

.filter-panel select,
.filter-panel input {
    font-size: 13px;
    padding: 2px 4px;
    margin-top: 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
}

.filter-panel button {
    margin-top: 6px;
    background: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    cursor: pointer;
    padding: 4px;
    font-size: 13px;
}

.filter-panel button:hover {
    background: #f0f0f0;
}
		/* ===== OVERLAY FILTRE (style portail) ===== */

.filter-overlay {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 3000;
}

.filter-overlay-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(34,34,34,0.9);
  color: #fff;
  padding: 26px 36px;
  border-radius: 4px;
  text-align: center;
  font-family: "Arial Narrow", Arial, sans-serif;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  min-width: 320px;
}

.filter-overlay-content h1 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 12px;
}

.filter-overlay-content p {
  font-size: 16px;
  margin: 0;
}

.filter-overlay-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 22px;
  cursor: pointer;
  color: #fff;
}

.filter-overlay-close:hover {
  color: #ccc;
}
/* Dropdown menu alignement titres */
.navbar-nav > li.dropdown .dropdown-menu li a {
    text-align: left;       /* aligne le texte à gauche */
    padding-left: 20px;     /* espace identique à tous les items */
    padding-right: 20px;
    font-size: 14px;        /* taille uniforme */
    font-weight: normal;    /* ajustable */
}
