:root {
  --auth-ink: #101a23;
  --auth-ink-soft: #263742;
  --auth-paper: #fbf7ef;
  --auth-paper-deep: #f0e7d7;
  --auth-green: #1d8968;
  --auth-green-dark: #11664e;
  --auth-gold: #d99a38;
  --auth-muted: #756e62;
  --auth-line: rgba(16, 26, 35, .14);
  --auth-white: #fffdf8;
  --auth-shadow: 0 30px 90px rgba(16, 26, 35, .16);
}

html {
  min-height: 100%;
  background: var(--auth-paper);
}

body {
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background:
    radial-gradient(circle at 8% 22%, rgba(29, 137, 104, .10), transparent 25rem),
    radial-gradient(circle at 94% 76%, rgba(217, 154, 56, .12), transparent 24rem),
    var(--auth-paper) !important;
  color: var(--auth-ink) !important;
  font-family: "DM Sans", Inter, sans-serif !important;
}

.auth-header,
.auth-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--auth-ink);
  font: 600 25px/1 "Fraunces", Georgia, serif;
  letter-spacing: -.04em;
  text-decoration: none;
}

.auth-brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--auth-ink);
  color: var(--auth-white);
  font: 500 10px/1 "DM Sans", sans-serif;
  letter-spacing: 0;
}

.auth-header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 600;
}

.auth-header-nav a,
.auth-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.auth-header-nav a:hover,
.auth-footer a:hover {
  color: var(--auth-green);
}

.auth-header-link {
  padding: 10px 15px;
  border: 1px solid var(--auth-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
}

.auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.auth-main > .container {
  width: 100%;
  max-width: 520px;
}

.auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--auth-line);
  color: var(--auth-muted);
  font-size: 11px;
}

.auth-footer strong {
  color: var(--auth-ink-soft);
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
}

.auth-footer-links {
  display: flex;
  gap: 18px;
}

.auth-page .shell {
  width: min(100%, 980px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
  border: 1px solid rgba(16, 26, 35, .10);
  border-radius: 26px;
  background: var(--auth-white);
  box-shadow: var(--auth-shadow);
}

.auth-page .intro {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  padding: 48px;
  background:
    linear-gradient(145deg, rgba(16, 26, 35, .96), rgba(17, 102, 78, .96)),
    var(--auth-ink);
}

.auth-page .intro::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -145px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.02);
}

.auth-page .intro .brand {
  position: relative;
  z-index: 1;
  color: var(--auth-white);
}

.auth-page .intro-content {
  position: relative;
  z-index: 1;
  margin-top: 138px;
}

.auth-page .intro h1 {
  max-width: 430px;
  margin: 14px 0 18px;
  color: var(--auth-white);
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.04em;
}

.auth-page .intro p {
  max-width: 390px;
  color: rgba(255,255,255,.70);
}

.auth-page .route {
  margin-top: 34px;
  color: rgba(255,255,255,.56);
}

.auth-page .route strong,
.auth-page .eyebrow {
  color: #8bd0b7;
}

.auth-page .form-panel {
  padding: 52px 46px;
}

.auth-page h2 {
  color: var(--auth-ink);
  letter-spacing: -.03em;
}

.auth-page .subtext,
.auth-page label,
.auth-page .signup-prompt,
.auth-page .login-prompt,
.auth-page .back {
  color: var(--auth-muted);
}

.auth-page input,
.auth-page textarea,
.auth-page select,
.auth-recovery input {
  min-height: 50px;
  border: 1px solid var(--auth-line) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--auth-ink) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-page input::placeholder,
.auth-recovery input::placeholder {
  color: #a39b8e;
}

.auth-page input:focus,
.auth-page textarea:focus,
.auth-page select:focus,
.auth-recovery input:focus {
  outline: 0 !important;
  border-color: var(--auth-green) !important;
  box-shadow: 0 0 0 4px rgba(29, 137, 104, .14) !important;
}

.auth-page button[type="submit"],
.auth-recovery button[type="submit"] {
  min-height: 50px;
  border-radius: 11px;
  background: var(--auth-green);
  color: var(--auth-white);
  box-shadow: 0 10px 24px rgba(29, 137, 104, .20);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.auth-page button[type="submit"]:hover,
.auth-recovery button[type="submit"]:hover {
  background: var(--auth-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(29, 137, 104, .25);
}

.auth-page button:focus-visible,
.auth-page a:focus-visible,
.auth-recovery button:focus-visible,
.auth-recovery a:focus-visible,
.auth-header a:focus-visible,
.auth-footer a:focus-visible {
  outline: 3px solid rgba(217, 154, 56, .55);
  outline-offset: 3px;
}

.auth-page .signup-link,
.auth-page .login-link,
.auth-page .forgot-link,
.auth-page .back,
.auth-recovery a {
  color: var(--auth-green);
}

.auth-page .signup-link:hover,
.auth-page .login-link:hover,
.auth-page .forgot-link:hover,
.auth-page .back:hover,
.auth-recovery a:hover {
  color: var(--auth-green-dark);
}

.auth-recovery {
  width: min(100%, 520px);
  padding: 44px 46px;
  border: 1px solid rgba(16, 26, 35, .10);
  border-radius: 24px;
  background: var(--auth-white);
  box-shadow: var(--auth-shadow);
}

.auth-recovery .logo {
  margin-bottom: 34px;
  text-align: left;
}

.auth-recovery .logo h1 {
  color: var(--auth-ink);
  font: 600 32px/1 "Fraunces", Georgia, serif;
  letter-spacing: -.04em;
}

.auth-recovery .logo span {
  color: var(--auth-green);
}

.auth-recovery .logo p,
.auth-recovery .description,
.auth-recovery .requirements,
.auth-recovery .login-link {
  color: var(--auth-muted);
}

.auth-recovery h2 {
  color: var(--auth-ink);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -.03em;
}

.auth-recovery .message {
  border-radius: 11px;
}

@media (max-width: 760px) {
  .auth-header,
  .auth-footer,
  .auth-main {
    width: min(100% - 32px, 560px);
  }

  .auth-header {
    min-height: 74px;
  }

  .auth-header-nav a:first-child {
    display: none;
  }

  .auth-main {
    padding: 20px 0 44px;
  }

  .auth-page .shell {
    grid-template-columns: 1fr;
  }

  .auth-page .intro {
    min-height: 300px;
    padding: 32px;
  }

  .auth-page .intro-content {
    margin-top: 62px;
  }

  .auth-page .intro h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .auth-page .form-panel {
    padding: 34px 28px 38px;
  }

  .auth-recovery {
    padding: 34px 28px;
  }

  .auth-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .auth-header,
  .auth-footer,
  .auth-main {
    width: calc(100% - 28px);
  }

  .auth-brand {
    font-size: 22px;
  }

  .auth-header-link {
    padding-inline: 12px;
  }
}
