body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100vh;
}

.reset {
  width: min(100%, 600px);
  margin: 4rem auto;
  padding: 2rem 1rem;
  text-align: center;
  border: 2px solid rgb(var(--pri));
  color: rgb(var(--pri));
}

.reset #instruction {
  margin-bottom: 1em;
  font-size: .9em;
  opacity: .5;
}

.reset__fields {
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
}

.reset__fields label {
  display: flex;
  flex-flow: column nowrap;
}

.reset__fields p {
  font-size: 1.2em;
  text-align: left;
}

.reset__fields input {
  padding: .5em;
  width: 100%;
  border: 0;
  outline: 0;
  text-align: left;
  background-color: transparent;
  border-bottom: 2px solid rgb(var(--pri));
  color: inherit;
  font-size: 1em;
}

.reset__fields input::placeholder {
  color: inherit;
  opacity: .5;
}

.reset #reset {
  font-size: .9em;
  margin-top: 1rem;
}

.reset a {
  color: inherit;
  font-weight: bolder;
  transition: opacity .2s;
}

.reset a:hover,
.reset a:focus {
  opacity: .75;
}

.reset button {
  margin-top: 1em;
  padding: .5em;
  width: 100%;
  border: 0;
  outline: 0;
  text-align: center;
  background-color: transparent;
  color: inherit;
  font-size: 1em;
  cursor: pointer;
  background-color: rgb(var(--pri));
  color: rgb(var(--sec));
}