/* ------------------------------
   BASE STYLES
------------------------------ */
body {
    background-color: #97c0e5;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ------------------------------
   MAP CONTAINERS
------------------------------ */
#carte-container {
  width: 100%;
  height: 1200px;
  transform-origin: top left;
  position: relative;

}

#carteCes {
    width: 100%;
    height: 100%;
    background-color: transparent;
}


/* ------------------------------
  LÉGENDE CES et Antennes
------------------------------ */
#legende-flottante{
    position: fixed;
    top: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1000;
    padding: 10px;
}

.cercle {
    height: 10px;
    width: 10px;
}

#legende-flottante {
    left: 10px;
    min-width: 180px;
    cursor: move;
}

#legende-header
 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #666;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 1.2em;
    cursor: move;
    z-index: 1100;
    position: relative;
}


#toggle-legende {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-left: 10px;
}

#legende-contenu {
    margin-top: 5px;
    transition: all 0.3s ease;
}

#legende-contenu.hidden {
    display: none;
}



/* ------------------------------
 ZOOM IDF 
------------------------------ */

.zoom-idf {
    position: fixed;
    top: 10px;
    background-color: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px;
    right: 10px;
    width: 250px;
    height: 250px;

}

#popup-externe {
    margin-top: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-family: Arial, sans-serif;
    font-size: 0.8em;
    border-radius: 5px;
    position: fixed; 
    width: 250px;
    height: auto;
    right: 10px;
    top: 275px;
    padding: 10px;
    z-index: 500;
    display: none;
}

#popup-externe .fermer-popup {
    position: fixed;
    top: 285px;
    right: 15px;
    font-size: 1em;
    color: #444;
    cursor: pointer;
}
		
#zoom-idf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #666;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    cursor: move;
    z-index: 1100;
    position: relative;
}

.zoom-idf,
.zoom-idf .leaflet-map-pane,
.zoom-idf .leaflet-popup-pane {
    overflow: visible !important;
}



/* ------------------------------
   LABELS & TEXT
------------------------------ */
.city-label{
    font-family: 'Open Sans', sans-serif;
    color: #1a1a27;
    font-size: 15px;
    fill: #222;
    text-shadow: 1px 1px 2px white;
    text-transform: capitalize;
    text-align: center;
    pointer-events: auto;
}

.city-label:hover {
    color:black;
    fill: #007BFF;
    font-weight: bold;
    cursor: pointer;
}


/* ------------------------------
   LEAFLET SPECIFIC
------------------------------ */

/*  Filtres CES et Antennes*/
.leaflet-control-layers {
    top: 100px;
    font-family: "Arial";
    font-size: 1.2em;
}

.leaflet-control-easyPrint,
.leaflet-touch .leaflet-bar a:first-child {
    display: none;
}

.leaflet-popup-tip,
.custom-popup .leaflet-popup-tip {
    display: none;
}

.leaflet-popup-content-wrapper {
    background-color: rgba(251, 251, 251, 0.95);
}

.dep-popup,
.region-popup {
    text-align: center;
    font-family: "Arial Black";
}

.leaflet-control-layers label.decalage-ville {
    padding-left: 20px;
}

