body { margin: 0;
    font-family: Arial, sans-serif;
}

#mapa { 
    height: 100vh; 
    width: 100%;
}

#legenda {
    position: absolute;
    top: 80px;
    right: 10px;
    background: white;
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-size: 14px;
    z-index: 1000;
}

#legenda div {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

.icone-legenda {
    width: 18px;
    height: 18px;
    object-fit: contain;
    background-color: silver;
    border-radius: 100px;
}


.item-legenda {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.item-legenda span {
    display: block;
    color: black;
}

.item-legenda.desativado {
    opacity: .4;
}

.total {
    margin-left: auto;
    background: #eee;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
}

.grid-2 {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin: 5px 0 0 0;
}
hr {
    margin: 0;
    padding: 0;
}




path.leaflet-interactive:hover { 
    stroke-width: 8 !important;
}

img.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive {
    background-color: #fff;
    border-radius: 100px;
}
img.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive:hover {
    opacity: 0.6;
}






button.padrao{
    background: #a6a6a7;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
button.on{
    background: #2563eb;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
button.off{
    background: #eb2525;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
button:hover{
    opacity: 0.7;
    transform: scale(1.1);
}

input{
    width: 100%;
    margin-bottom: 8px;
    padding: 4px;
    box-sizing: border-box;
}

span{
    color: green;
    font-size: 12px;
    margin-left: 5px;
    display: none;
}

P{
    margin-top: 2px;
    font-size: 12px;
    color: #555;
}




.fundo-verde {
    background-color: #10b981 !important; /* Verde */
    border-radius: 100px;
}

.fundo-vermelho {
    background-color: #ef4444 !important; /* Vermelho */
    border-radius: 100px;
}


#controles-busca{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}




.cliente-on {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background-color: green;
}

.cliente-off {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background-color: red;
}