/* Buttons, form fields and notices. */

.button,
button {
  font: inherit;
  font-weight: 650;
  color: var(--sheet);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.3;
}
.button:hover,
button:hover {
  background: #111d52;
  border-color: #111d52;
}
.button.plain,
button.plain {
  background: transparent;
  color: var(--ink);
}
.button.plain:hover,
button.plain:hover {
  background: var(--sheet);
}
button.link {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.3rem;
}
.hint {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  max-width: var(--measure);
}
input[type="text"],
textarea,
select {
  font: inherit;
  color: var(--ink);
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  padding: 0.5rem 0.65rem;
  width: 100%;
  max-width: 44rem;
}
textarea {
  min-height: 9rem;
  resize: vertical;
}
.field + .field {
  margin-top: 1.25rem;
}
.actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.notice {
  background: var(--sheet);
  border-left: 5px solid var(--ink);
  padding: 0.7rem 1rem;
  margin-bottom: 1.75rem;
  max-width: 50rem;
}
.notice.problem {
  border-left-color: var(--stamp-red);
}
