.compoundSearchSelect {
  position: relative;
  width: 100%;
}

.compoundSearchSelect__control {
  position: relative;
  display: flex;
  align-items: center;
}

.compoundSearchSelect__input {
  width: 100%;
  min-width: 0;
  padding-right: 42px;
}

.compoundSearchSelect__clear {
  position: absolute;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #667085;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.compoundSearchSelect__clear:hover:not(:disabled) {
  background: #f2f4f7;
  color: #344054;
}

body.theme-velzon .compoundSearchSelect__clear {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #667085;
  box-shadow: none;
  font-size: 20px;
  font-weight: 400;
  transform: none;
  transition: none;
}

body.theme-velzon .compoundSearchSelect__clear:hover:not(:disabled) {
  background: #f2f4f7;
  color: #344054;
  box-shadow: none;
  transform: none;
}

.compoundSearchSelect__options {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: min(300px, 45vh);
  overflow: auto;
  padding: 5px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .16);
}

.compoundSearchSelect__options[hidden] {
  display: none;
}

.compoundSearchSelect__option {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #344054;
  text-align: left;
  cursor: pointer;
}

body.theme-velzon .compoundSearchSelect__option {
  min-height: 0;
  padding: 9px 11px;
  background: transparent;
  color: #344054;
  box-shadow: none;
  font-size: 14px;
  font-weight: 400;
  justify-content: flex-start;
  transform: none;
  transition: none;
}

.compoundSearchSelect__option:hover,
.compoundSearchSelect__option:focus,
.compoundSearchSelect__option.isActive {
  outline: none;
  background: #f2f4f7;
}

body.theme-velzon .compoundSearchSelect__option:hover:not(:disabled),
body.theme-velzon .compoundSearchSelect__option:focus,
body.theme-velzon .compoundSearchSelect__option.isActive {
  color: #344054;
  background: #f2f4f7;
  box-shadow: none;
  transform: none;
}

.compoundSearchSelect__empty {
  padding: 10px 11px;
  color: #98a2b3;
}

.compoundSearchSelect.isDisabled .compoundSearchSelect__input {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #667085;
  cursor: not-allowed;
  opacity: 1;
}

.compoundSearchSelect.isDisabled .compoundSearchSelect__clear {
  display: none;
}
