/**
 * Estilos para Panel Redimensionable de Filtros
 */

.recorrido-filters-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.recorrido-filters {
    position: relative;
    background: var(--c-bkg-card, white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: width 0.2s ease;
    min-width: 0; /* Permite que se reduzca */
}

/* Handle de redimensionamiento */
.recorrido-filters-resizer {
    position: absolute;
    top: 0;
    right: -6px;
    width: 12px;
    height: 100%;
    cursor: col-resize;
    background: rgba(102, 126, 234, 0.05);
    z-index: 10;
    user-select: none;
    touch-action: none;
    transition: background 0.2s;
}

.recorrido-filters-resizer:hover {
    background: rgba(102, 126, 234, 0.15);
}

.recorrido-filters-resizer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 60px;
    background: var(--c-primary, #667eea);
    border-radius: 2px;
    opacity: 0.6;
    transition: opacity 0.2s, width 0.2s, height 0.2s;
    box-shadow: 0 0 4px rgba(102, 126, 234, 0.3);
}

.recorrido-filters-resizer:hover::after {
    opacity: 0.9;
    width: 5px;
    height: 70px;
    box-shadow: 0 0 6px rgba(102, 126, 234, 0.5);
}

.recorrido-filters-resizer.active::after {
    opacity: 1;
    width: 5px;
    height: 80px;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.7);
}

/* Indicador visual durante el arrastre */
.recorrido-filters-resizing {
    user-select: none;
    pointer-events: none;
}

.recorrido-filters-resizing * {
    pointer-events: none;
}

/* Tema oscuro */
[data-theme="dark"] .recorrido-filters-resizer {
    background: rgba(75, 124, 243, 0.08);
}

[data-theme="dark"] .recorrido-filters-resizer:hover {
    background: rgba(75, 124, 243, 0.2);
}

[data-theme="dark"] .recorrido-filters-resizer::after {
    background: var(--c-primary, #4b7cf3);
    box-shadow: 0 0 4px rgba(75, 124, 243, 0.4);
}

[data-theme="dark"] .recorrido-filters-resizer:hover::after {
    box-shadow: 0 0 6px rgba(75, 124, 243, 0.6);
}

[data-theme="dark"] .recorrido-filters-resizer.active::after {
    box-shadow: 0 0 8px rgba(75, 124, 243, 0.8);
}

