/* Personalização da caixa de rotas */
.leaflet-routing-container {
    background: rgba(255, 255, 255, 0.95); /* Fundo branco semi-transparente */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Remover botão "Recalcular Rota" */
.leaflet-routing-container .leaflet-routing-alt {
    display: none;
}

/* Estilizar a lista de etapas da rota */
.leaflet-routing-container .leaflet-routing-alternatives-container {
    padding: 10px;
}

/* Personalizar os textos das direções */
.leaflet-routing-container .leaflet-routing-alt h2 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Melhorar os itens da lista de direções */
.leaflet-routing-container .leaflet-routing-alt div {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

/* Remover a última borda */
.leaflet-routing-container .leaflet-routing-alt div:last-child {
    border-bottom: none;
}

#map {
    height: 450px !important;
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.leaflet-routing-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.leaflet-routing-container.leaflet-bar.leaflet-control {
    display: none;
}

.est-temp-dist {
    display: flex;
    justify-content: center;
}

.calc-dist {
    margin: 30px;
    text-align: center;
    font-family: 'Montserrat Alternates';
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 425px) and (min-width: 320px) {
    #map {
        height: 300px !important;
        
    }
}

@media only screen and (max-width: 768px) and (min-width: 425px) {
    #map {
        height: 300px !important;    
    }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    #map {
        height: 300px !important;    
    }
}
 

