.form {
  display: flex;
  flex-direction: column;
  font-size: 12pt;
}

.form-title {
  display: flex;
  flex-direction: row;
  font-weight: bold;
  font-size: 14pt;
  width: 20em;
  border-bottom: 1px solid black;
  margin-bottom: 0.25em;
}

.form-field {
  display: flex;
  flex-direction: row;
  margin-bottom: 0.25em;
}

.form-field input {
  padding: 0.125em 0.25em 0.125em 0.25em;
  border-radius: 0.5em;
}

.form-controls {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-top: 1px solid black;
  margin-top: 0.25em;
}

.form-error {
  background-color: red;
  color: white;
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
  padding: 1em 0 1em 0;
  margin-top: 1em;
}

.field-label {
  width: 10em;
  text-align: right;
}

.field-label::after {
  content: ":";
}

.valid-field {
  background-color: #d5ffd5;
}

.invalid-field {
  background-color: #ffa5b4;
}

.visibility {
  transform: translateX(-1.5em) translateY(0.4em) scaleX(-1);
  user-select: none;
  cursor: pointer;
  pointer-events: all;
  height: 1.35em;
  padding: 0.125em;
}
