html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}
#map {
    height: 100%;
    width: 100%;
}

.leaflet-control-search {
    width: 200px; /* Ajustez selon vos préférences */
}

.leaflet-control-search input {
    font-size: 18px; /* Ajustez la taille de la police selon vos préférences */
    padding: 12px 20px; /* Ajustez le padding pour une barre plus grande */
}

.leaflet-control-search {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 130px; 
    transition: background-color 0.3s ease;
}

.leaflet-control-search:hover {
    background-color: rgb(104, 11, 11);
}

.leaflet-control-search input {
    border-radius: 25px;
    transition: box-shadow 0.3s ease;
}

.leaflet-control-search input:focus {
    box-shadow: 0 2px 4px rgba(208, 29, 29, 0.5);
}

.leaflet-control-search {
    position: fixed;
    top: -75px;  /* Ajustez pour définir la distance depuis le haut */
    left: 70%;  /* Centrer horizontalement */
    transform: translateX(-50%); /* Centrer horizontalement */
    z-index: 1000;  /* Assurez-vous qu'il s'affiche au-dessus des autres éléments */
}


#locateMe {
    position: fixed;
    top: 4em; /* Adjust this so it's below the search bar */
    left: 7em;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999; /* To ensure it's above other map elements but below the search bar */
}

#locateMe:hover {
    background-color: #45a049; /* Darker green on hover */
}

#language-selector {
    position: fixed;
    top: 4em; /* Adjust this so it's below the search bar */
    left: 15em;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999; /* To ensure it's above other map elements but below the search bar */
}
