.auth-body {
  overflow-x: hidden;
}

.auth-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(96px + env(safe-area-inset-top)) 24px 32px;
}

.auth-card {
  width: min(930px, 100%);
  min-height: 570px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 28px;
  background: #f7f7f4;
  box-shadow: 0 28px 78px rgba(39,41,47,.24);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  padding: 48px;
  color: white;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.12) 0 1px, transparent 2px) 0 0 / 14px 14px,
    linear-gradient(152deg, #555965, #697695 48%, #798ab2);
}

.auth-visual .eyebrow {
  color: rgba(255,255,255,.65);
}

.auth-visual h1 {
  max-width: 380px;
  margin: 15px 0;
  color: white;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.auth-visual p {
  max-width: 390px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.7;
}

.auth-art {
  position: absolute;
  inset: auto 20px 18px 34px;
  height: 235px;
}

.auth-square,
.auth-circle,
.auth-line,
.auth-word {
  position: absolute;
  display: block;
}

.auth-square {
  inset: 28px auto auto 25px;
  width: 190px;
  height: 145px;
  border: 2px solid rgba(255,255,255,.56);
  border-radius: 24px;
  transform: rotate(-8deg);
}

.auth-circle {
  inset: 0 38px auto auto;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: #e2b968;
  box-shadow: 0 0 0 12px rgba(255,255,255,.12);
}

.auth-line {
  inset: 150px 20px auto 70px;
  height: 8px;
  border-radius: 999px;
  background: white;
  transform: rotate(7deg);
}

.auth-word {
  inset: auto 12px 0 auto;
  color: rgba(255,255,255,.9);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: .16em;
}

.auth-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.auth-form-panel h2 {
  margin: 8px 0 10px;
  color: #383a41;
  font-size: 38px;
  letter-spacing: -.03em;
}

.auth-form-panel > p {
  margin: 0 0 22px;
  color: #797b82;
  font-size: 11px;
  line-height: 1.6;
}

.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #e6c8cc;
  border-radius: 13px;
  color: #8e404a;
  background: #f9edef;
  font-size: 10px;
  line-height: 1.45;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #777980;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.auth-form input {
  height: 46px;
  border: 1px solid #d8d9dd;
  border-radius: 12px;
  padding: 0 13px;
  color: #3f4249;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.auth-form .btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.auth-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #93959a;
  font-size: 9px;
}

.auth-secondary-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  text-align: center;
}

.auth-secondary-actions .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.auth-text-link {
  color: #777a82;
  font-size: 9px;
  text-decoration: none;
}

.auth-text-link:hover {
  color: #566486;
}

@media (max-width: 760px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 260px;
    padding: 32px;
  }

  .auth-visual p {
    display: none;
  }

  .auth-art {
    opacity: .55;
    transform: scale(.72);
    transform-origin: bottom right;
  }

  .auth-form-panel {
    padding: 36px 30px;
  }
}
