/* Ajuste para el dropdown */
.dropdown-menu {
    background: white;
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    margin-top: 5px;
    
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .dropdown-menu li a {
        color: #333;
        padding: 8px 12px;
        display: block;
        text-decoration: none;
        transition: background-color 0.15s ease;
    }


        .dropdown-menu li a:hover {
            background-color: #f0f0f0;
            color: #000;
        }

    
    .dropdown-menu li.active a {
        background-color: #f0f0f0;
        color: #000;
    }



.category-toggle {
    cursor: pointer !important;
    background-color: #fff !important; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

/* menú de checkboxes */
.checkbox-menu {
    padding: 10px !important;
    max-height: 250px !important;
    overflow-y: auto !important;
}

    .checkbox-menu li {
        display: block;
        padding: 5px 0;
    }

    .checkbox-menu label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-weight: normal;
        margin: 0;
        color: #333;
        width: 100%;
    }

    .checkbox-menu input[type="checkbox"] {
        margin-right: 10px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .checkbox-menu label:hover {
        background-color: #f9f9f9;
    }
