/* Site-wide form standard, based on Account aanmaken. */
:root {
  --tmd-label-gap: .5rem;
  --tmd-field-gap: 1.125rem;
}

.tmd-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--tmd-label-gap);
  min-width: 0;
  margin: 0 0 var(--tmd-field-gap);
  padding: 0;
  color: #f4eaf2;
  font-size: .875rem;
  line-height: 1.5;
}

.tmd-field > label {
  display: block;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}

.tmd-field > :is(input, textarea, select) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 3rem;
  margin: 0;
  padding: .75rem;
  border: 1px solid #796778;
  border-radius: 4px;
  background: #100e12;
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

.tmd-field > textarea {
  resize: none;
  height: 6.25rem;
  min-height: 6.25rem;
  overflow-y: auto;
}

.tmd-field > :is(input, textarea, select):focus-visible {
  outline: 3px solid #ff9bad;
  outline-offset: 3px;
}

.tmd-field > :is(.tmd-field-hint, .callback-small) {
  margin: 0;
  font-size: .875rem;
  line-height: 1.6;
  color: #c9bfce;
}

/* Photo crop controls retain their native slider appearance. */
.tmd-field > input[type=range] {
  min-height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
