.tree-filter-container {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}
.tree-parent {
    margin-bottom: 0.25rem;
}
.tree-node {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}
.tree-node:hover {
    background-color: rgba(79, 70, 229, 0.05);
}
.tree-node.selected {
    background-color: rgba(79, 70, 229, 0.1);
}
.tree-expand-icon {
    transition: transform 0.2s;
    margin-right: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}
.tree-expand-icon.expanded {
    transform: rotate(90deg);
}
.tree-checkbox {
    margin-right: 0.5rem;
    color: #6b7280;
}
.tree-checkbox .checked {
    color: #4f46e5;
}
.tree-label {
    flex: 1;
    font-size: 0.875rem;
}
.tree-count {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}
.tree-children {
    margin-left: 1rem;
}

.active-filters-section {
    background: rgba(79, 70, 229, 0.05);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
}
.active-filters-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.active-filters-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4338ca;
}
.active-filters-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    background: rgba(79, 70, 229, 0.15);
    color: #4338ca;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.filter-card-collapsible .filter-card-header {
    cursor: pointer;
    user-select: none;
}
.filter-card-collapsible .filter-card-arrow {
    transition: transform 0.2s ease;
}
.filter-card-collapsible .filter-card-content {
    transition: all 0.2s ease;
}

/* Filter Modal Footer Actions */
.filter-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.filter-footer-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.filter-footer-btn-secondary {
    background: #fff;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.filter-footer-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.filter-footer-btn-primary {
    background: #4f46e5;
    color: #fff;
}

.filter-footer-btn-primary:hover {
    background: #4338ca;
}
