#bloco_botoes {
  position: absolute;
  width: 15em;
  top: 10px;
  z-index: 500;
}

#mapid {
  height: 100vh;
  width: 100%;
}

.custom-popup .leaflet-popup-content-wrapper {
  width: 100%;
}

/* Estilos para a caixa de pesquisa flutuante */
.search-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.search-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s;
    background-color: #fff;
    font-size: 16px;
    outline: none;
}

/* Estiliza o botão flutuante */
#toggle-filter-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
    background-color: #007bff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

#search-button {
    position: relative;
    top: 0;
    margin-left: 5px;
    background-color: #007bff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Barra lateral de filtros */
#layer-sidebar {
    position: absolute;
    top: 0;
    right: -300px; /* Oculta inicialmente */
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -4px 0px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}

#layer-sidebar.show {
    right: 0;
}
