body {
  margin: 0;
}

header {
  background-color: #0d0d0d;
}
header img {
  height: 48px;
  padding: 1em 3em;
}

main {
  margin: 3em;
}

h1 {
  margin-bottom: 2rem;
}

legend {
  font-size: 1.125rem;
  font-weight: bold;
}
fieldset {
  max-width: 42rem;
  border: 1px solid #c4c4c4;
  padding: 1rem;
  margin-bottom: 2.5rem;
}
fieldset p {
  color: #707070;
  margin-bottom: 1rem;
}

.field {
  margin-bottom: 1rem;
}

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

select,
input[type='text'] {
  width: 20rem;
  height: 1.5rem;
  padding: 0 0.25rem;
}

.actions {
  margin-top: 2rem;
}

button {
  -webkit-appearance: none;
  border: none;
  margin: 0;
  padding: 0.5rem 1rem 0.5rem 1rem;
  width: auto;
  background: #ff0066;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
button.secondary {
  border: 1px solid #ff0066;
  color: #ff0066;
  background-color: #fff;
}
.help {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  color: #c4c4c4;
}

.auth-message {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.submit-message {
  padding-left: 1rem;
  vertical-align: middle;
  font-weight: bold;
}

.submit-message:not(:empty)::before {
  content: '';
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 0.25rem;
  background-image: url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cG9seWdvbiBmaWxsPSIjNDNkODQzIiAgcG9pbnRzPSI5LjcwNyAxNC4yOTMgMTkgNSAyMC40MTQgNi40MTQgOS43MDcgMTcuMTIxIDQgMTEuNDE0IDUuNDE0IDEwIi8+PC9zdmc+);
  background-size: cover;
}

.error {
  display: inline-block;
  background-color: #ffec80;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 14px;
  border-radius: 4px;
}

.hidden {
  display: none;
}
