:host {
  display: block;
  width: 100%;
}

:host(:focus-visible) {
  outline: none;
}

.option {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  height: var(--ifx-select-option-height, 40px);
  padding: 0 16px;
  background-color: #ffffff;
  font-family: var(--ifx-font-family);
  font-size: 0.875rem;
  color: #1d1d1d;
  transition: background-color 0.2s ease-in-out;
}
.option:hover {
  background-color: #f7f7f7;
}
.option--selected {
  color: #0a8276;
  font-weight: 600;
}
.option--disabled {
  cursor: default;
  color: #bfbbbb;
}
.option--disabled:hover {
  background-color: transparent;
}
.option.search-hidden {
  display: none !important;
}
.option.search-match .search-highlight {
  font-weight: 600;
}

:host(:focus-visible) .option {
  outline: 2px solid #0a8276;
  outline-offset: -2px;
}

.option-label {
  flex-grow: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.option-check {
  flex-shrink: 0;
  color: #0a8276;
}