:root {
  --input-background-color: #eeebd3;
  --input-placeholder-color: #022d50;
  --input-text-color: #011627;
}

.form-text-field,
.form-select-field {
  position: relative;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.form-text-field input,
.form-select-field select {
  width: 100%;
  border: 0;
  background-color: var(--input-background-color);
  color: var(--input-text-color);
  font-size: 1rem;
  padding: 1.25rem 1rem 0.75rem;
  border-radius: 0.5rem;
}

.form-text-field input:disabled,
.form-select-field select:disabled {
  opacity: 0.7;
}

.form-text-field label,
.form-select-field label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1rem;
  color: var(--input-placeholder-color);
  cursor: text;
  transition: all 0.1s linear;
}

.form-text-field.active label,
.form-select-field.active label {
  top: 0.3rem;
  font-size: 0.7rem;
}

.form-text-field .leading {
  color: var(--input-text-color);
  position: absolute;
  top: 1rem;
  left: 1rem;
  cursor: text;
}

.form-text-field.with-leading input {
  padding-left: 2.6rem;
}

.form-text-field.with-leading label {
  left: 2.6rem;
}
