*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background: #fdfcec;
  color: #113600;
  font-family: bureausans, Helvetica, sans-serif;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2rem 0 1.5rem;
}

.eidsvoll-text {
  color: #347103;
  font-size: 1.5em;
  font-weight: 700;
}

.mdg-logo {
  height: 50px;
}

.info-box {
  background: #e0ffb2;
  padding: 1rem 1.25rem;
  border-radius: 1rem 0 1rem 0;
  margin-bottom: 1.5rem;
  font-size: 0.95em;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

input:not([type="radio"]),
textarea {
  border: 1px solid #113600;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 1em;
  width: 100%;
  background: transparent;
  font-family: inherit;
  color: #113600;
}

input:not([type="radio"]):focus,
textarea:focus {
  outline: 3px solid #113600;
  outline-offset: 2px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

#submitBtn {
  background: #113600;
  color: #fdfcec;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem 0 1rem 0;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
}

#submitBtn:hover {
  background: #ddff00;
  color: #0d0d0d;
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-msg {
  color: #c00;
  margin-top: 0.25rem;
  display: block;
}

#confirmation {
  border: 2px solid #347103;
  border-radius: 1rem 0 1rem 0;
  padding: 1.5rem;
  background: #e0ffb2;
  margin-top: 1.5rem;
}

.confirm-summary {
  background: #fdfcec;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.field-label {
  font-weight: 600;
  color: #347103;
}

.field-disclaimer {
  font-size: 0.8em;
  color: #5a7a4a;
  margin: 0 0 0.4rem 0;
  font-style: italic;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.radio-label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
