.filter-tree {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    width: 100%;
}

.tree-node {
    margin: 5px 0;
    padding-left: 10px;
}

.node-header {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 0;
}

.toggle-arrow {
    width: 12px;
    height: 12px;
    border: solid #666;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

    .toggle-arrow.expanded {
        transform: rotate(-45deg);
    }

.node-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.node-title {
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.starting-unit {
    color: #e63946;
    font-weight: bold;
}

.child-nodes {
    display: none;
    padding-left: 20px;
    margin-top: 2px;
}

    .child-nodes.expanded {
        display: block;
    }
