.leaflet-interactive {
    user-select: none;           /* Désactive la sélection de texte par l'utilisateur */
    pointer-events: none;        /* Empêche l'image de capturer les événements de souris */
}
.leaflet-image-layer {
    -webkit-user-drag: none; /* Désactiver le drag sur WebKit (Chrome, Safari) */
    -moz-user-drag: none;    /* Désactiver le drag sur Firefox */
}
html, body {
    height: 100%;
    margin: 0;
}
.leaflet-container {
    height: 400px;
    width: 600px;
    max-width: 100%;
    max-height: 100%;
}
.leaflet-popup-content {
    word-wrap: break-word;
    white-space: normal;
    max-width: 200px;
}
#btnCreditsId {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    width: 150px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
#texteInfo {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: "Helvetica Neue", Arial, sans-serif;
    z-index: 1000;
    padding: 10px 20px;
    color: red;
    border: none;
    top: 50%;
    left: 50%;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    pointer-events: none; /* pour ne pas gêner les clics sur la carte */
}
#log {
    position: absolute;
    font-family: "Helvetica Neue", Arial, sans-serif;
    z-index: 1000;
    padding: 10px 20px;
    color: red;
    border: none;
    bottom: 2%;
    left: 2%;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
    pointer-events: none; /* pour ne pas gêner les clics sur la carte */
}
#btnCreditsId:hover {
    background-color: #ff7373;
}
#btnCreditsId:disabled {
    background-color: #ff7373;
}
#fenetreCreditsId {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #ffdede;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ff0000;
    border-width: 3px;
    width: 80%;
    height: 60%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    overflow: auto;
    max-height: 80vh;
    word-wrap: break-word;
    font-size: 10px;
}
.croixCreditsId {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.croixCreditsId:hover {
    color: black;
}
#btnEditor {
    position: absolute;
    width: 150px;
    top: 60px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
#btnEditor:hover {
    background-color: #ff7373;
}
#btnEditor:disabled {
    background-color: #ff7373;
}
#btnVecteur {
    position: absolute;
    top: 100px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    width: 150px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
#btnVecteur:hover {
    background-color: #ff7373;
}
#btnVecteur:disabled {
    background-color: #ff7373;
}
#btnSave {
    position: absolute;
    top: 140px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    width: 150px;
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}
#btnSave:hover {
    background-color: #ff7373;
}
#btnSave:disabled {
    background-color: #ff7373;
}
#btnMaps {
    background: none;
    border: none;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    background-color: #ff0000;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    width: 160px;
}
#btnMaps:hover {
    background-color: #ff7373;
}
#btnMaps:disabled {
    background-color: #ff7373;
}
.btnMaps-container {
    position: absolute;
    top: 20px;
    left: 80px;
    z-index: 1000;
    display: inline-block;
}
#btnMapsList {
    display: none;
    position: absolute;
    top: 37px;
}
#btnMapsList button {
    width: 160px;
    font-size: 14px;
    text-align: center;
    background-color: #ffa5a5;
    color: #ffffff;
    padding: 6px;
    border: 1px solid rgb(255, 181, 181);
    text-decoration: none;
    border-radius: 5px;
    display: block;
}
#btnMapsList button:hover {
    background-color: #ff7373;
}

#btnLocations {
    background: none;
    border: none;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
    background-color: #ff0000;
    color: white;
    width: 250px;
    padding: 10px 20px;
    cursor: pointer;
    min-width: 160px;
}
#btnLocations:hover {
    background-color: #ff7373;
}
#btnLocations:disabled {
    background-color: #ff7373;
}
.btnLocations-container {
    position: absolute;
    top: 20px;
    left: 300px;
    width: 250px;
    z-index: 1000;
    display: inline-block;
}
.leaflet-brut-text {
    font-size: 14px;
    color: black;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0);
    padding: 4px;
    border-radius: 5px;
}
#btnLocationsList {
    overflow-y: auto;
    height: 300px;
    width: 249px;
    position: absolute;
    top: 37px;
    border-radius: 5px;
    padding-right: 1px;
    scrollbar-width: thin;
    scrollbar-color: #ff0000 rgb(255, 181, 181);
    z-index: 2000;
}
.item {
    background-color: #ffa5a5;
    position: absolute;
    width: 100%;
    padding: 5px;
    color: white;
    box-sizing: border-box;
    text-align: center; /* Centre le texte horizontalement */
    border: 1px solid rgb(255, 181, 181);
    border-radius: 5px;
    cursor: pointer;
    z-index: 2000;
}
.item:hover {
    background-color: #ff7373;
}
.item:disabled {
    background-color: #ffc1c1;
}

