.query-builder>.group-container,
.query-builder>.group-container>.group>div,
.query-builder>.group-container>.group>.group--children>.group-or-rule-container {
    padding-right: 0;
}

.query-builder {
    margin: 0 0 0 -6px;
}

.query-builder-container {
    margin-top: 25px;
    margin-bottom: 25px;
}

.query-builder>.group-container>.group {
    border-color: var(--background-color);
}

.rule, .rule_group {
    background-color: var(--secondary-background-color);
}

.group {
    background-color: var(--background-color);
    border: 1px solid rgba(49, 51, 63, 0.2);
    border-radius: 8px;
}

.rule_group:has(.single-child) {
    background-color: var(--secondary-background-color);
    border-color: var(--background-color);
}

.group--children.single-child {
    margin-top: 0;
    margin-bottom: 0;
}

.rule--value .rule--widget .widget--valuesrc {
    margin-top: 8px;
}

.ant-btn:not(.type) {
    outline: 0;
    height: 33px;
}

.rule--header>.ant-btn-group {
    margin-top: -2.5px;
    margin-bottom: -2.5px;
}

.group--conjunctions {
    margin-left: -1px;
}

.ant-btn-group>button:nth-child(3) {
    margin-left: -2px !important;
}