        /* Panel flotante moderno */
.leaflet-control-layers {
    background: rgba(30, 30, 40, 0.9); /* semitransparente oscuro */
    color: #fff;
    border-radius: 16px;
    padding: 12px 16px;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    min-width: 200px;
    max-width: 260px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

/* Scroll elegante */
.leaflet-control-layers-list {
    max-height: 260px;
    overflow-y: auto;
    margin-top: 8px;
    padding-right: 4px;
}

/* Separador elegante */
.leaflet-control-layers-separator {
    height: 2px;
    margin: 10px 0;
    background: linear-gradient(to right, #4a4a8f, #6c92c4);
    border-radius: 1px;
}

/* Labels tipo “pill” */
.leaflet-control-layers label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 6px 0;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

/* Hover suave con degradado más armónico */
.leaflet-control-layers label:hover {
    background: linear-gradient(90deg, #6c92c4, #4a4a8f); /* azul suave a violeta oscuro */
    transform: translateX(3px);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Checkbox más grandes y modernos */
.leaflet-control-layers input {
    margin-right: 10px;
    accent-color: #6c92c4; /* azul suave */
    width: 20px;
    height: 20px;
}

/* Iconos de color circulares para cada capa */
.leaflet-control-layers label[data-layer="Tuberías"]::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #4a90e2; /* azul suave */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.7);
}

.leaflet-control-layers label[data-layer="Parcelas"]::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #f5a663; /* naranja pastel */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 5px rgba(245, 166, 99, 0.7);
}

/* Scrollbar personalizado */
.leaflet-control-layers-list::-webkit-scrollbar {
    width: 8px;
}

.leaflet-control-layers-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.leaflet-control-layers-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}
