﻿.advanced-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 36%;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
}

@media screen and (max-width: 1366px), screen and (max-width: 1920px) and (min-resolution: 1.25dppx), screen and (max-width: 1920px) and (-webkit-min-device-pixel-ratio: 1.25) {
    .advanced-filter-panel {
        width: 45%;
    }
}


    .advanced-filter-panel.visible {
        transform: translateX(0);
    }

    .advanced-filter-panel * {
        max-width: 100%; /* Asegura que todos los elementos respeten el ancho del contenedor */
    }

.advanced-filter-header {
    position: sticky;
    top: 0; 
    z-index: 10;
    background-color: white;
    border-bottom: 1px solid #ccc;
    padding: 1rem;
}

.advanced-filter-footer {
    position: sticky;
    bottom: 0;
    z-index: 10; 
    background-color: white;
    border-top: 1px solid #ccc;
    padding: 1rem;
}
