.select2-container .samchi-select-selection,
.select2-container .samchi-select-options {
  --select-ink: #20243d;
  --select-paper: #fff;
  --select-line: #9aa4bb;
  --select-active: #ebedf6;
  --select-focus: #8d1525;
  border-color: var(--select-line);
  background: var(--select-paper);
  color: var(--select-ink);
}

.dark .select2-container :is(.samchi-select-selection, .samchi-select-options) {
  --select-ink: #f5f6fc;
  --select-paper: #202640;
  --select-line: #758099;
  --select-active: #384466;
  --select-focus: #f0cdd1;
}

.select2-container .samchi-select-selection {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  border-radius: .5rem;
}

.select2-container .samchi-select-selection .select2-selection__rendered { color: inherit; padding-inline: .75rem 1.75rem; }
.select2-container .samchi-select-selection .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
.select2-container .samchi-select-selection .select2-selection__arrow b { border-top-color: currentColor; }
.select2-container .samchi-select-selection:focus-visible { outline: 2px solid var(--select-focus); outline-offset: 2px; }
.select2-container .samchi-select-selection[aria-invalid="true"] { border-color: var(--select-focus); }
.select2-container .samchi-select-options .select2-search__field {
  border-color: var(--select-line);
  background: var(--select-paper);
  color: inherit;
}
.select2-container .samchi-select-options .select2-results__option[aria-selected="true"],
.select2-container .samchi-select-options .select2-results__option--highlighted[aria-selected] {
  background: var(--select-active);
  color: var(--select-ink);
}
.select2-container .samchi-select-options { z-index: 1051; }

.sf-support-filter-field:has([data-select-search]) { min-inline-size: min(11rem, 100%); }
.sf-support-filter-field > .select2-container { min-inline-size: 0; flex: 1; }
.sf-support-filter-field input[type="search"] { min-block-size: 2.75rem; max-inline-size: 100%; }
