.tree {
    padding: 0;
    margin: 0;
}

.tree-node {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tree-node.leaf {
    margin-left: 14px;
}

.tree-node-content {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.tree-node-content:hover {
    background-color: #d7ebf9;
}

.tree-expander {
    width: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    cursor: pointer;
    font-size: 7px;
    color: #666;
    transition: transform 0.2s;
}

.tree-expander.expanded {
    transform: rotate(90deg);
}

.tree-checkbox {
    margin-right: 8px;
    cursor: pointer;
}

.tree-label {
    flex: 1;
    padding: 3px 0;
}

.tree-node.selected > .tree-node-content > .tree-label {
    background-color: #94c9ef;
}

.tree-children {
    margin-left: 20px;
    padding-left: 0;
    list-style: none;
    display: none;
}

.tree-children.expanded {
    display: block;
}

.tree-loading {
    color: #666;
    font-style: italic;
    margin-left: 14px;
    padding: 4px 0;
}

.tree.filtered {
    display: none;
}

.highlight {
    background-color: #fff3cd;
    font-weight: bold;
}