.nook-filter-group-bubble {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin: 0 1rem;
    isolation: isolate;
}
.nook-filter-group-bubble .form-group {
    margin: 0 !important;
}
.nook-filter-group-bubble af-field {
    --nook-icon-color: var(--crm-c-primary);
    height: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: var(--crm-c-background4);
    border: var(--crm-panel-border);
    border-left: 0;
    border-right: 0;
    position: relative;
    margin-bottom: 0.25rem;
}
.nook-filter-group-bubble af-field > * {
    --crm-input-height: calc(2rem - 2px);
    --crm-input-line-height: calc(2rem - 2px);
    height: var(--crm-input-height);
    max-height: var(--crm-input-height);
    line-height: var(--crm-input-line-height);
}
.nook-filter-group-bubble af-field::after,
.nook-filter-group-bubble af-field::before {
    content: '';
    display: block;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    z-index: -1;
    background: inherit;
    position: absolute;
    top: 0;
    outline: var(--crm-panel-border);
}
.nook-filter-group-bubble af-field::after {
    right: -1rem;
}
.nook-filter-group-bubble af-field::before {
    left: -1rem;
}
.nook-filter-group-bubble af-field label {
    white-space: nowrap;
    padding-right: 0;
}
.nook-filter-group-bubble af-field .crm-i {
    width: 1.25rem;
    text-align: center;
}
.nook-filter-group-bubble label::after {
    content: ':';
}
.nook-filter-group-bubble .select2-container {
    /* override select2 auto width of 100% */
    max-width: 12rem!important;
}
.nook-filter-group-bubble .select2-container {
    --crm-input-border-color: none;
    --crm-input-background: none;
}
.nook-filter-group-bubble .select2-container .select2-arrow {
    border-left: 0;
}
.nook-filter-group-bubble .select2-container .select2-choice * {
    --crm-input-line-height: 2rem;
}
.nook-filter-group-bubble .select2-container .select2-choice .select2-chosen {
    margin-right: 0;
}
.nook-filter-group-bubble af-field .form-control[type=text] {
    border: 0;
    background: none;
}
.nook-filter-group-bubble af-field .form-control[type=text]:focus,
.nook-filter-group-bubble af-field .select2-container:focus-within {
    outline: 1px solid var(--crm-c-primary);
}
.nook-filter-group-bubble .form-inline {
    padding: 0;
}

.nook-filter-group-bubble af-field.af-field-type-radio .crm-af-field {
    display: flex;
    align-items: center;
}
