.multiple-email-input {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
  padding: 0;
  font: inherit;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.15s ease;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  cursor: text;
}

.multiple-email-input:hover {
  background: #FFF8DD;
}

.multiple-email-input.focused,
.multiple-email-input:focus-within {
  border-color: #FFA600;
  background: #FFF8DD;
}

.multiple-email-input.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: transparent;
}

.multiple-email-input.disabled:hover {
  background: transparent;
}

.multiple-email-input:focus-visible {
  outline: none;
}

.multiple-email-input .email-inner-input {
  background: transparent;
  border: 0;
  outline: none;
  padding: 0;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
  flex: 1 1 120px;
  min-width: 120px;
  width: auto;
  box-shadow: none;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.multiple-email-input .email-inner-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-style: normal;
}

.multiple-email-input .email-inner-input:focus,
.multiple-email-input .email-inner-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 2px 6px 2px 8px;
  border-radius: 50px;
  background: #FFA600;
  color: #fff;
  line-height: 1.4;
  font: inherit;
  min-height: 20px;
}

.email-chip-error {
  background: #E43C3C;
  color: #fff;
}

.email-chip.highlighted {
  outline: 1px solid #FFA600;
}

.email-chip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.email-chip-remove {
  border: 0;
  background: #fff;
  cursor: pointer;
  padding: 0;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #FFA600;
}

.email-chip-remove:hover {
  background: #febf4c;
  color: #fff;
}

.email-chip-remove-error {
  color: #E43C3C;
}

.email-chip-remove-error:hover {
  background: #f06a6a;
  color: #fff;
}