@import "mixins";
@import "variables";

:host {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    @media screen and (min-width: $breakpoint-medium) {
        flex-direction: row;
        min-width: 300px;
    }

    ::ng-deep {
        @include ng-select-facet-values;
    }
}

ng-select {
    width: 100%;
    @media screen and (min-width: $breakpoint-medium) {
        min-width: 300px;
    }
}

.search-header {
    padding: 8px 10px;
    border-bottom: 1px solid var(--color-component-border-100);
    cursor: pointer;

    &.selected, &:hover {
        background-color: var(--color-component-bg-200);
    }
}
