.receipt-item-icon {
    cursor: pointer;
}

.receipt-item-icon.btn-link {
    text-decoration: none !important;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.receipt-item-icon-active {
    color: #198754 !important;
}

.receipt-item-icon-active:hover {
    color: #157347 !important;
}

.receipt-item-icon-muted {
    color: #d6dbe0 !important;
}

.receipt-item-icon-muted:hover {
    color: #adb5bd !important;
}

.accounting-category-tree-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
}

.accounting-category-tree-list > li {
    margin: 0.15rem 0;
}

.accounting-category-tree-node {
    border: 0;
    background: transparent;
    padding: 0.15rem 0.35rem;
    text-align: left;
    cursor: pointer;
    border-radius: 0.25rem;
}

.accounting-category-tree-node:hover {
    background: #e9ecef;
}

.accounting-category-tree-node.is-selected {
    background: #198754;
    color: #fff;
}

.accounting-category-tree-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.accounting-category-tree-list .accounting-category-tree-list {
    padding-left: 1.35rem;
    margin-top: 0.15rem;
}

.accounting-category-tree-list li {
    margin: 0.1rem 0;
}

.accounting-category-tree-node {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.25rem 0.4rem;
    text-align: left;
    cursor: pointer;
    border-radius: 0.25rem;
}

.accounting-category-tree-node:hover {
    background: #e9ecef;
}

.accounting-category-tree-node.is-selected {
    background: #198754;
    color: #fff;
}

.accounting-category-tree-toggle {
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    color: #6c757d;
}

.accounting-category-tree-label {
    flex: 1;
}

.accounting-category-tree-node.is-selected-path .accounting-category-tree-toggle {
    color: #0f5132;
}

.accounting-category-tree-node.is-selected {
    background: #198754;
    color: #fff;
    font-weight: 700;
}

.accounting-category-tree-node.is-selected-path {
    background: #d1e7dd;
    color: #0f5132;
}