.auth-body {
  background:
    linear-gradient(135deg, rgba(17, 26, 46, .96), rgba(35, 48, 82, .92)),
    #111a2e;
}

.auth-shell {
  width: min(1020px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 430px);
  align-items: center;
  gap: 72px;
  padding: 48px 0;
}

.auth-intro {
  color: #eef2ff;
}

.auth-brand {
  margin-bottom: 52px;
  color: #fff;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: .03em;
}

.auth-brand span {
  color: #a8afff;
}

.auth-intro .eyebrow {
  color: #8f9bff;
}

.auth-intro h1 {
  max-width: 620px;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.auth-copy {
  max-width: 560px;
  margin: 0;
  color: #aeb9d1;
  font-size: 15px;
  line-height: 1.8;
}

.auth-card {
  padding: 30px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(2, 8, 23, .32);
}

.auth-card-head h2 {
  margin: 7px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.auth-error {
  margin-top: 20px;
  padding: 11px 13px;
  color: #a32222;
  background: #fff3f3;
  border: 1px solid #f2c9c9;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label > span {
  color: #66738a;
  font-size: 12px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  background: #fbfcfe;
}

.auth-form label.auth-password-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -8px;
  cursor: pointer;
}

.auth-form label.auth-password-toggle > span {
  color: #66738a;
  font-size: 12px;
  font-weight: 600;
}

.auth-form label.auth-password-toggle input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: #4f46e5;
}

.auth-submit {
  height: 44px;
  margin-top: 4px;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: #4038c9;
  outline: none;
}

.auth-note {
  margin: 18px 0 0;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .auth-shell {
    width: min(460px, calc(100% - 32px));
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0;
  }

  .auth-brand {
    margin-bottom: 30px;
  }

  .auth-intro h1 {
    font-size: 32px;
  }
}
