.input-field-box {
  transition: border-color 0.5s ease;
  position: relative;
  padding: 0.75em 1em;
  border: 1px solid var(--bs-neutrals-300);
  border-radius: 0;
  height: 3em;
}

.input-field-box:hover,
.input-field-box.focused {
  border: 1px solid var(--bs-dark);
}

.input-field-box input {
  width: 100%;
  height: 100%;
  border: none;
  cursor: text;
  background-color: transparent;
  outline: unset;
}

.input-field-box label {
  position: absolute;
  top: 0.81rem;
  left: 1rem;
  padding-inline: 0.18rem;
  background-color: transparent;
  pointer-events: none;
  transition: 0.1s ease-in;
}

.input-field-box input:focus + label,
.input-field-box input:valid + label,
.input-field-box.focused label {
  font-size: 0.75rem;
  top: -0.65rem;
  color: #8b7856;
  background-color: var(--bs-secondary-50);
}
::placeholder {
  color: var(--bs-dark);
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
  /* Edge 12-18 */
  color: var(--bs-dark);
}
