/*
 * Estilos para Leaflet Routing Machine
 */
.leaflet-routing-container {
    background-color: white;
    padding: 10px;
    margin: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    font-size: 12px;
    max-height: 300px;
    overflow-y: auto;
}

.leaflet-routing-alt {
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
}

.leaflet-routing-alt table {
    border-collapse: collapse;
    width: 100%;
}

.leaflet-routing-alt tr:hover {
    background-color: #eee;
}

.leaflet-routing-alt td {
    padding: 2px;
}

.leaflet-routing-container h2 {
    font-size: 14px;
    margin: 0 0 10px 0;
}

.leaflet-routing-container h3 {
    font-size: 12px;
    margin: 10px 0 5px 0;
}

.leaflet-routing-icon {
    background-image: url('images/routing-icons.png');
    background-repeat: no-repeat;
    background-size: 240px 20px;
    background-position: 0 0;
    width: 20px;
    height: 20px;
}

.leaflet-routing-icon-continue { background-position: 0 0; }
.leaflet-routing-icon-sharp-right { background-position: -20px 0; }
.leaflet-routing-icon-turn-right { background-position: -40px 0; }
.leaflet-routing-icon-bear-right { background-position: -60px 0; }
.leaflet-routing-icon-u-turn { background-position: -80px 0; }
.leaflet-routing-icon-sharp-left { background-position: -100px 0; }
.leaflet-routing-icon-turn-left { background-position: -120px 0; }
.leaflet-routing-icon-bear-left { background-position: -140px 0; }
.leaflet-routing-icon-depart { background-position: -160px 0; }
.leaflet-routing-icon-enter-roundabout { background-position: -180px 0; }
.leaflet-routing-icon-arrive { background-position: -200px 0; }
.leaflet-routing-icon-via { background-position: -220px 0; }

.leaflet-routing-geocoder-result {
    font-size: 12px;
    border-bottom: 1px solid #ccc;
    padding: 5px;
}

.leaflet-routing-geocoder-result:hover {
    background-color: #eee;
    cursor: pointer;
}

.leaflet-routing-geocoder-selected, 
.leaflet-routing-geocoder-result:hover {
    background-color: #ddd;
}

.leaflet-routing-geocoder-no-results {
    font-style: italic;
    color: #888;
}

/* Estilos personalizados para botones de ruta */
.bdi-medical-route-btn {
    background-color: #FF9800;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 14px;
}

.bdi-medical-route-btn:hover {
    background-color: #F57C00;
}

/* Estilos para el panel de ruta */
.bdi-route-summary {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    margin: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
    max-width: 300px;
}

.bdi-route-summary h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.bdi-route-summary p {
    margin: 2px 0;
    font-size: 12px;
}

.bdi-close-route {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-weight: bold;
}
