html {
  max-width: 70ch;
  margin: 0 auto 1rem auto;
  font-family: "system-ui";
  font-size: 2em;
  padding: 0 1.5em;
  color: #999955;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

.control>label,
legend {
  font-size: 0.67rem;
  font-weight: bold;
}

fieldset {
  border: 1px solid #555533;
  border-radius: 8px;
  margin-bottom: 0.34rem;
}

input,
textarea,
select {
  border: 1px solid #555533;
  border-radius: 8px;
  min-height: 1.25rem;
  font-size: 1rem;
  margin-bottom: 0.34rem;
  color: #999955;
  overflow: hidden;
}

select:-webkit-autofill,
input:-webkit-autofill {
  -webkit-text-fill-color: #999955 !important;
}

input[type="text"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="email"],
input[type="radio"],
input[type="checkbox"] {
  margin: 0;
  vertical-align: text-bottom;
  width: 100%;
}

input[type="radio"],
input[type="checkbox"] {
  width: 1rem;
}

input[type="date"],
input[type="time"] {
  max-width: 15ch;
}

input[type="submit"] {
  padding: .33rem 2rem;
  color: #eeeeaa;
  background-color: #555533;
}

input:disabled {
  opacity: 0.4;
}

textarea,
select {
  padding: 8px;
  display: block;
  width: 100% !important;
}

textarea {
  display: block;
  min-height: 2rem;
  max-height: 6rem;
}


.input-error {
  color: red;
  outline: 1px solid red;
}

.date-control {
  display: flex;
}

.date-control>* {
  margin-right: .5rem;
}

input.date {
  max-width: 8rem;
  display: none;
}

.date-control .day {
  max-width: 3rem;
  text-align: right;
}

.date-control .month {
  max-width: 6rem;
}

.date-control .year {
  text-align: left;
  max-width: 6rem;
}

.confirm {
  height: 60vh;
  margin: 0;
  display: flex;
  justify-items: center;
  align-items: center;
}