.generic_filter_container>div {
    margin: 18px 0 0 0;
}

.generic_filter_container .generic_filter_fields {
    display: grid;
    grid-gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}
.generic_filter_container .generic_filter_fields .connectedSortable {
    float: none !important;
}
.generic_filter_container li.ui-draggable {
    position: relative;
}
.generic_filter_container li.ui-draggable .generic_filter_remove {
    position: absolute;
    opacity: 0;
    color: #ff3f3f;
    top: 4px;
    right: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.generic_filter_container li.ui-draggable:hover .generic_filter_remove {
    opacity: 1;
}