 
 
 /* base CSS */
  
 body {
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            position: relative;
        }
        #map {
            width: 100%;
            height: 100%;
        }
         

        
        
                /* Slide Right */
  
        #sidebar {
            width: 250px; /* Largeur de la sidebar */
            height: 100%;
            background: #DFDCE3; /* sidebar DROITE */
            padding: 20px;  
            box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
            position: fixed;
            top: 0;
            right: -270px; /* Position initiale de la sidebar (juste à l'extérieur) */
            transition: right 0.1s ease-in-out;
            z-index: 5; /* S'assurer que la sidebar reste au-dessus de la carte */
        }
        #sidebar.active {
            right: 0; /* La sidebar est visible lorsque active */
        }
        #sidebar h2 {
           color: #607476;
           font-family: 'verdemoderna', sans-serif;
           font-size: 1em;
           font-weight: normal;
           text-transform: uppercase;
           text-align:center;
        }
        #chart-container {
            position: relative;
            width: 100%;
            height: 300px;
            
        }
      
        .button {
            margin: 5px 0;
            padding: 10px;
            background-color: #235860;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
        }
        .button:hover {
            background-color: #718E90;
        }
        #close-sidebar {
            margin-top: 10px;
            background-color: #d9534f;
        }
        #close-sidebar:hover {
            background-color: #b52b27;
        }
        #toggle-sidebar {
            position: fixed;
            top: 0;
            right: 0px; /* Position à 20px du bord droit */
            width: 20px;
            height: 100%;
            background:#235860;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 10; /* Le bouton au-dessus de la sidebar */
            border-left: 2px solid #0D2E31;
            transition: right 0.1s ease; /* Ajout de transition pour le déplacement du bouton */
        }
        #toggle-sidebar:hover {
             background: #718E90;
        }
        #toggle-sidebar span {
            transform: rotate(90deg);
            font-size: 20px;
            user-select: none;
        }

        #toggle-sidebar.active {
            right: 290px; /* Position du bouton lorsque la sidebar est ouverte */
        }

        .histo {
           cursor: pointer;
        }
            
/* THE END Slide Right */

