.auth-page {
  min-height: 100vh;
}

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

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 30px;
  align-items: stretch;
}

.auth-shell-single {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.auth-info,
.auth-card {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}

.auth-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.auth-info::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -96px;
  bottom: -136px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 141, 240, 0.20), transparent 68%);
}

.auth-card {
  padding: 38px;
}

.auth-card h2,
.auth-card h1 {
  margin-bottom: 8px;
  color: var(--blue-950);
  letter-spacing: -0.04em;
}

.auth-help {
  color: var(--muted);
  margin-bottom: 26px;
}

.auth-card form {
  display: grid;
  gap: 12px;
}

.auth-card label {
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.94rem;
}

.auth-card input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.auth-card input:focus {
  border-color: rgba(28, 116, 217, 0.52);
  box-shadow: 0 0 0 4px rgba(47, 141, 240, 0.12);
}

.auth-submit {
  width: 100%;
  margin-top: 10px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.auth-message {
  min-height: 24px;
  margin: 4px 0 0;
  font-weight: 760;
}

.auth-message.ok {
  color: var(--blue-700);
}

.auth-message.error {
  color: #b42318;
}

.auth-note,
.auth-target {
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--blue-050));
  display: grid;
  gap: 4px;
}

.auth-note strong,
.auth-target strong {
  color: var(--blue-900);
}

.auth-note span,
.auth-target span {
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-card-center {
  text-align: center;
}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-info,
  .auth-card {
    padding: 28px;
  }
}
