/* ============================================================================
   ESTILOS PARA FILTROS TIPO EXCEL - Reutilizable
   Autor: Sistema
   Fecha: 2026-01-17
   Uso: Incluir en cualquier página que necesite filtros tipo Excel
   ============================================================================ */

.filter-header {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.filter-arrow {
    margin-left: 5px;
    font-size: 10px;
    color: #666;
}

.filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.filter-search {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.filter-options {
    max-height: 250px;
    overflow-y: auto;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.filter-option input[type="checkbox"] {
    margin-right: 8px;
}

.filter-actions {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.filter-btn {
    flex: 1;
    padding: 5px;
    background: #c00d32;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.filter-btn:hover {
    background: #a00a28;
}
