body.auth-page {
  min-height: 100vh;
  background: #f8fafc;
  color: #475569;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.auth-page .aurora-shell-auth {
  width: 100%;
}

.auth-stage {
  width: min(560px, 100%);
}

.auth-stage.auth-stage-split {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: stretch;
}

.auth-panel {
  gap: 20px;
}

.auth-stage-split .auth-panel {
  border-radius: 0 8px 8px 0;
  border-color: #dbe4ef;
  background: #ffffff;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.auth-product-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid #dbe4ef;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #0f172a;
  color: #cbd5e1;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.08);
}

.auth-product-kicker {
  margin: 0;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.auth-product-panel h2 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.auth-product-panel p {
  margin: 16px 0 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

.auth-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(191, 219, 254, 0.42);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.auth-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(241, 245, 249, 0.82);
}

.auth-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted, #64748b);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.auth-switch-link:hover {
  color: var(--text-strong, #0f172a);
}

.auth-switch-link.is-active {
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary, #2563eb);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.auth-copy {
  display: grid;
  gap: 10px;
}

.auth-copy h1,
.auth-copy h2 {
  margin: 0;
}

.auth-copy h1,
.auth-copy h2 {
  color: #0f172a;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.auth-note {
  margin: 0;
  color: var(--text-muted, #748094);
  font-size: 15px;
  line-height: 1.65;
}

.auth-note-subtle {
  font-size: 13px;
}

.auth-account-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-type-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-type-option.active {
  border-color: rgba(37, 99, 235, 0.42);
  background: rgba(37, 99, 235, 0.08);
}

.auth-type-option input {
  margin-top: 3px;
}

.auth-type-option span {
  display: grid;
  gap: 4px;
}

.auth-type-option strong {
  color: var(--text-strong, #0f172a);
  font-size: 14px;
}

.auth-type-option small {
  color: var(--text-muted, #748094);
  font-size: 12px;
  line-height: 1.45;
}

.auth-actions {
  margin-top: 4px;
}

.auth-success {
  color: #1e8e5a;
  font-size: 14px;
  white-space: pre-wrap;
  min-height: 20px;
}

.auth-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text-muted, #748094);
  font-size: 14px;
}

.auth-footer a,
.auth-link {
  color: var(--primary, #2563eb);
  text-decoration: none;
}

.auth-footer a:hover,
.auth-link:hover {
  text-decoration: underline;
}

.auth-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
}

@media (max-width: 720px) {
  .auth-stage.auth-stage-split {
    grid-template-columns: 1fr;
  }

  .auth-stage-split .auth-panel,
  .auth-product-panel {
    border-radius: 8px;
  }

  .auth-stage-split .auth-panel {
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }

  .auth-product-panel {
    border-right: 1px solid #dbe4ef;
    border-radius: 8px 8px 0 0;
    padding: 24px;
  }

  .auth-product-panel h2 {
    font-size: 24px;
  }

  .auth-panel-head {
    align-items: stretch;
  }

  .auth-switch {
    width: 100%;
    justify-content: space-between;
  }

  .auth-switch-link {
    flex: 1 1 0;
  }

  .auth-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-account-type {
    grid-template-columns: 1fr;
  }
}
