body {
    font-family: Arial, sans-serif;
    font-size: 24px;
    text-align: center;
    background-size: cover;
}

.page {
    position: fixed;
    font-size: small;
    width: 100%;
    top: 50px;
    left: 0px;
    bottom: 58px;
}

#map {
    height: 100%;
    width: 100%;
    background-color: #162016;
    background-image: url(img/fond.png);
}

#popup {
    width: 300px;
}

.hidden {
    display: none;
}

.sidebar {
    display: grid;
    position: absolute;
    overflow: hidden;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background-color: #ff6a00;
    border-radius: 5px;
    padding: 5px; /* Ajoute un peu d'espace à l'intérieur */
    box-sizing: border-box;
}

#img_legend {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 20px;
    left: 50px;
    z-index: 1000;
}

#top_sidebar {
    padding: 5px;
    margin-bottom: 5px;
    background-color: white;
    border-radius: 5px;
}

#img_sidebar {
    height: 50px;
    width: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

#dynamicSelect {
    margin-top: 5px;
    margin-bottom: 5px;
}

#list_legend {
    max-height: calc(100vh - 350px); /* Ajuste pour exclure l'espace pris par #top_sidebar et les marges */
    overflow-y: auto; /* Active le défilement vertical */
    border-radius: 5px;
    overflow-y: scroll; /* Active le défilement */
    -ms-overflow-style: none; /* Pour Internet Explorer et Edge */
    scrollbar-width: none; /* Pour Firefox */
}

#list_legend::-webkit-scrollbar {
    display: none; /* Pour les navigateurs basés sur WebKit (Chrome, Safari, Edge) */
}

.bug_btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
}

.category-view {
    background-color: white;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 5px;
}

.category-content {
    display: none; /* Masque les sections par défaut */
}

.category-title {
    background-color:rgb(255, 242, 225);
    border-radius: 5px;
    padding:5px;
}
