.sign-in-page {
  max-width: 36rem;
  padding-block: clamp(2.5rem, 8vw, 6rem);
}

.sign-in-page h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.03;
}

.auth-status { margin-top: .75rem; color: var(--muted); }
.auth-status:empty { display: none; }

.auth-form, .auth-providers {
  display: grid;
  gap: .55rem;
  margin-top: 1.25rem;
}

.auth-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}

.auth-form input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .5rem .65rem;
  border: 1px solid #829382;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.auth-form input + label { margin-top: .3rem; }
#auth-email-password { margin-top: .3rem; }
#auth-email-password input { margin-top: .55rem; }

.auth-primary, .auth-providers button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .55rem 1rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--paper);
  font-weight: 600;
  text-align: center;
}

.auth-form .auth-primary { margin-top: .45rem; }
.auth-primary:hover { background: #304b39; }

.auth-providers button {
  background: transparent;
  color: var(--forest);
}

.auth-providers button:hover { background: var(--sage); }
.sign-in-page button:disabled { cursor: wait; opacity: .72; }

.auth-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1rem;
  margin-top: .85rem;
}

.auth-options :is(button, a:not(.auth-primary)) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  font-size: .92rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
