.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 30px 0 70px;
  min-height: calc(100vh - 100px);
}
.auth-story {
  position: relative;
  min-height: 640px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-3b2e24);
  color: var(--color-fff);
}
.auth-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-story:after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--image-shade);
}
.auth-story > div {
  position: absolute;
  bottom: 0;
  padding: 36px;
  z-index: 1;
}
.auth-story .eyebrow {
  color: var(--color-f7c19a);
}
.auth-story h2 {
  font-size: 39px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 15px 0;
}
.auth-story p {
  font-size: 14px;
  line-height: 1.8;
}
.auth-card {
  max-width: 450px;
  width: 100%;
  padding: 10px 0;
}
.auth-card h1 {
  font-size: 39px;
  letter-spacing: -1.3px;
  margin: 13px 0;
}
.auth-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
}
.auth-primary {
  display: flex;
  width: 100%;
  min-height: 50px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  font-size: 11px;
  color: var(--muted);
}
.auth-divider:before,
.auth-divider:after {
  content: '';
  height: 1px;
  background: var(--border);
  flex: 1;
}
.google-button {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--color-d5cabc);
  border-radius: 9px;
  background: var(--color-fffaf5);
  font: 600 13px var(--font-sans);
  color: var(--color-61574e);
  cursor: not-allowed;
}
.google-button small {
  font-size: 9px;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--color-eee5d9);
  font-weight: 400;
}
.auth-email {
  background: var(--color-efe4d6);
  padding: 13px;
  border-radius: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#createAccountForm label {
  display: block;
  margin: 22px 0 9px;
  font-size: 13px;
}
#createAccountForm .input {
  width: 100%;
  min-height: 49px;
}
.auth-switch {
  border-top: 1px solid var(--border);
  margin-top: 27px;
  padding-top: 24px;
  font-size: 13px;
}
.auth-switch a {
  margin-left: 5px;
}
.auth-footnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
#authError {
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 800px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 500px;
    margin: auto;
    padding-top: 24px;
    min-height: auto;
  }
  .auth-story {
    display: none;
  }
  .auth-card {
    max-width: none;
    padding: 22px 0;
  }
  .auth-card h1 {
    font-size: 34px;
  }
  .header .nav {
    display: flex !important;
  }
  .header {
    height: 80px;
  }
  .auth-subtitle {
    font-size: 14px;
  }
}
#authForm label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-33291f);
}
#authForm .input {
  width: 100%;
  min-height: 49px;
  color: var(--color-211a14);
  background: var(--color-fff);
  border: 1px solid var(--color-b9aa9b);
}
#authForm .input:focus {
  outline: 3px solid var(--color-a74d25);
  outline-offset: 2px;
}
#authForm .auth-primary {
  margin-top: 18px;
  justify-content: center;
}
.auth-card .textbutton {
  color: var(--color-713d24);
  text-decoration: underline;
  cursor: pointer;
  border: 0;
  background: none;
  font: inherit;
  padding: 8px 0;
}
.auth-card [hidden] {
  display: none !important;
}

.password-field {
  position: relative;
}
.password-field .input {
  padding-right: 54px !important;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 3px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--color-f5b77c);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.password-toggle:hover {
  background: var(--color-ffffff12);
}
.password-toggle[aria-pressed='true'] {
  background: var(--color-ffffff1c);
}
.password-toggle:focus-visible {
  outline: 2px solid var(--color-ffb36b);
  outline-offset: 1px;
}
