:root {
  --ifx-font-family: "Source Sans 3", 'Arial, sans-serif';
}

:host {
  display: flex;
}

.search-field {
  box-sizing: border-box;
  background-color: #FFFFFF;
  width: 100%;
  font-family: var(--ifx-font-family);
  position: relative;
}
.search-field .search-field__wrapper {
  box-sizing: border-box;
  height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #8d8786;
  border-radius: 1px;
  padding: 8px 16px;
  gap: 12px;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  position: relative;
  width: 100%;
  outline: none;
}
.search-field .search-field__wrapper:focus-visible:not(.disabled) {
  outline: 2px solid #0A8276;
  outline-offset: 2px;
}
.search-field .search-field__wrapper.search-field__wrapper-s {
  height: 36px;
}
.search-field .search-field__wrapper:hover:not(.focused, :focus) {
  border: 1px solid #3c3a39;
}
.search-field .search-field__wrapper .delete-icon {
  outline: 1px solid transparent;
  right: 12px;
  cursor: pointer;
}
.search-field .search-field__wrapper .delete-icon:focus-visible {
  outline: 2px solid #0A8276;
  outline-offset: 1px;
}
.search-field .search-field__wrapper input[type=text] {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: #8d8786;
  border: none;
  width: 100%;
  outline: none;
  height: 16px;
}
.search-field .search-field__wrapper input[type=text]:focus {
  outline: none;
  color: #1d1d1d;
}
.search-field .search-field__wrapper input[type=text]:disabled {
  background: #BFBBBB;
  color: #FFFFFF;
}
.search-field .search-field__wrapper input[type=text]:disabled::placeholder {
  color: #FFFFFF;
}
.search-field .search-field__wrapper.disabled {
  background: #BFBBBB;
  border: none;
  color: #FFFFFF;
}
.search-field .search-field__wrapper.disabled:hover {
  border: none;
  outline: none;
}
.search-field .search-field__wrapper.disabled .delete-icon {
  cursor: default;
}
.search-field .search-field__wrapper.disabled .delete-icon:focus-visible {
  outline: 1px solid transparent;
}
.search-field .suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  margin-top: 4px;
  border: 1px solid #EEEDED;
  box-shadow: 0px 6px 9px 0px rgba(29, 29, 29, 0.1);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  container-type: inline-size;
}
.search-field .suggestions-dropdown .suggestions-header {
  font-family: Source Sans 3;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #575352;
  border-bottom: 1px solid #EEEDED;
  padding: 12px 16px;
}
.search-field .suggestions-dropdown .suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.search-field .suggestions-dropdown .suggestion-item:last-child {
  border-bottom: none;
}
.search-field .suggestions-dropdown .suggestion-item:hover, .search-field .suggestions-dropdown .suggestion-item--selected {
  background-color: #EEEDED;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-icon {
  color: #575352;
  flex-shrink: 0;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-icon--history {
  color: #575352;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-text {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-text .suggestion-main-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-text .suggestion-scope {
  color: #8D8786;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: 2px;
  font-weight: 600;
  font-size: 0.75rem;
}
@container (max-width: 320px) {
  .search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-text {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-text .suggestion-main-text {
    width: 100%;
    max-width: 100%;
  }
  .search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-text .suggestion-scope {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
  }
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-count {
  color: #8D8786;
  margin-left: auto;
  flex-shrink: 0;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-delete-icon {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  color: #575352;
}
.search-field .suggestions-dropdown .suggestion-item .suggestion-content .suggestion-delete-icon:hover {
  color: #3C3A39;
}
.search-field .suggestions-dropdown .suggestion-item:hover .suggestion-delete-icon {
  opacity: 1;
  visibility: visible;
}
.search-field .search-field__wrapper.dropdown-open {
  border-radius: 1px 1px 0 0;
  border-color: #0A8276;
}