/* ===== 好好设计 720° 全景 · 登录/注册通用视觉 ===== */
.vr-auth-body {
  margin: 0;
  padding: 0;
  background: #eef3f9;
  color: #0f172a;
  font-family: "MiSans", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
.vr-auth-body .container,
.vr-auth-body .passport_container { width: auto; max-width: none; min-height: 0; margin: 0; text-align: left; }

.vr-auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

/* ---------- 左侧品牌视觉 ---------- */
.vr-auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 56px 40px;
  color: #fff;
  background:
    radial-gradient(1000px 620px at 12% 8%, rgba(37, 99, 235, .32), transparent 60%),
    radial-gradient(760px 560px at 92% 88%, rgba(6, 182, 212, .22), transparent 62%),
    linear-gradient(145deg, #060c18 0%, #0a1526 48%, #0b1c31 100%);
  isolation: isolate;
}
.vr-auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  opacity: .55;
}
.vr-auth-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .22), rgba(56, 189, 248, 0) 68%);
  filter: blur(6px);
}

.vr-auth-brand { display: flex; align-items: center; gap: 14px; min-height: 50px; }
.vr-auth-brand img { display: block; width: 158px; max-height: 50px; object-fit: contain; }
.vr-auth-brand-divider { width: 1px; height: 26px; background: rgba(255,255,255,.22); }
.vr-auth-brand-text { font-size: 13px; letter-spacing: .16em; color: rgba(255,255,255,.72); white-space: nowrap; }

.vr-auth-copy { margin-top: auto; padding-top: 56px; max-width: 620px; }
.vr-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 14px;
  border: 1px solid rgba(125, 211, 252, .28);
  border-radius: 999px;
  background: rgba(14, 116, 144, .14);
  color: #a5e4ff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
}
.vr-auth-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38e0ff;
  box-shadow: 0 0 12px #38e0ff;
}
.vr-auth-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.02em;
}
.vr-auth-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #8ed6ff 0%, #40c8ff 40%, #8ef0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vr-auth-copy p {
  margin: 20px 0 0;
  max-width: 510px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(226, 239, 255, .68);
}

.vr-auth-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.vr-auth-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(235, 246, 255, .88);
  font-size: 12.5px;
  backdrop-filter: blur(8px);
}
.vr-auth-feature svg { width: 15px; height: 15px; color: #5cd6ff; flex: 0 0 auto; }

/* 预览卡片 */
.vr-auth-preview {
  position: relative;
  margin-top: 42px;
  width: min(100%, 560px);
  height: 236px;
  flex: 0 0 auto;
}
.vr-auth-preview-main,
.vr-auth-preview-small {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #0b1524;
  box-shadow: 0 26px 60px -18px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.vr-auth-preview-main {
  left: 0;
  top: 0;
  width: 78%;
  height: 100%;
  border-radius: 20px;
  transform: rotate(-1.4deg);
}
.vr-auth-preview-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vr-auth-preview-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,12,24,0) 48%, rgba(4,12,24,.72) 100%);
}
.vr-auth-preview-small {
  right: 0;
  bottom: -12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 126px;
  border-radius: 18px;
  transform: rotate(3deg);
  background:
    radial-gradient(circle at 30% 20%, rgba(56,189,248,.28), transparent 58%),
    linear-gradient(145deg, rgba(14, 32, 56, .96), rgba(8, 20, 38, .98));
  backdrop-filter: blur(12px);
  text-align: center;
}
.vr-auth-preview-small strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #e0f7ff, #5cd6ff 55%, #8ef0d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vr-auth-preview-small span { margin-top: 9px; color: rgba(220, 240, 255, .66); font-size: 10.5px; letter-spacing: .06em; }
.vr-auth-preview-badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(5, 15, 28, .62);
  border: 1px solid rgba(255,255,255,.16);
  color: #dff4ff;
  font-size: 11.5px;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}
.vr-auth-preview-badge span { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }

.vr-auth-foot {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(203, 225, 245, .42);
  font-size: 11.5px;
}

/* ---------- 右侧登录卡片 ---------- */
.vr-auth-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 44px;
  background:
    radial-gradient(720px 480px at 100% 0%, rgba(191, 219, 254, .55), transparent 62%),
    radial-gradient(620px 520px at 0% 100%, rgba(207, 250, 254, .48), transparent 60%),
    #f1f5fb;
}
.vr-auth-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 64, 175, .10) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 0%, #000 55%, transparent 100%);
  opacity: .45;
  pointer-events: none;
}
.vr-auth-card {
  position: relative;
  width: 100%;
  max-width: 438px;
  padding: 40px 38px 32px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.92);
  box-shadow: 0 32px 80px -32px rgba(15, 40, 80, .35), 0 2px 8px rgba(15, 40, 80, .05);
  backdrop-filter: blur(16px);
  animation: vrAuthCardIn .55s cubic-bezier(.22, .9, .3, 1) both;
}
@keyframes vrAuthCardIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.vr-auth-mobile-brand { display: none; margin-bottom: 22px; }
.vr-auth-mobile-brand img { width: 148px; max-height: 48px; object-fit: contain; }

.vr-auth-card-head { margin-bottom: 26px; }
.vr-auth-card-head h2 {
  margin: 0;
  color: #0b1526;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.02em;
}
.vr-auth-card-head p { margin: 9px 0 0; color: #7b8ba3; font-size: 13px; line-height: 1.7; }
.vr-auth-register { float: right; margin-top: 5px; color: #2563eb; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.vr-auth-register:hover { color: #1d4ed8; text-decoration: none; }

.vr-auth-error {
  display: none;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #be123c;
  font-size: 12.5px;
  line-height: 1.55;
}
.vr-auth-error.show { display: flex; animation: vrAuthShake .34s ease; }
.vr-auth-error svg { width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; }
@keyframes vrAuthShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  55% { transform: translateX(5px); }
  80% { transform: translateX(-2px); }
}

.vr-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1.5px solid #e1e8f2;
  background: #f8fafd;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.vr-field:focus-within {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}
.vr-field.is-error { border-color: #fb7185; box-shadow: 0 0 0 4px rgba(251, 113, 133, .10); }
.vr-field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex: 0 0 48px;
  color: #91a2b8;
}
.vr-field-icon svg { width: 18px; height: 18px; }
.vr-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 0;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a;
  font-size: 15px;
  font-family: inherit;
}
.vr-field input::placeholder { color: #a3b0c2; }
.vr-field input:-webkit-autofill {
  -webkit-text-fill-color: #0f172a;
  box-shadow: 0 0 0 1000px #f8fafd inset !important;
}
.vr-pwd-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 100%;
  flex: 0 0 46px;
  border: 0;
  background: none;
  color: #94a3b8;
  cursor: pointer;
}
.vr-pwd-toggle:hover { color: #2563eb; }
.vr-pwd-toggle svg { width: 18px; height: 18px; }

/* 找回密码步骤条 */
.vr-auth-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.vr-auth-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #98a6b8;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.vr-auth-step-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #dbe3ee;
  border-radius: 50%;
  background: #fff;
  color: #98a6b8;
  font-size: 11px;
  font-weight: 700;
  transition: .2s;
}
.vr-auth-step-dot svg { width: 12px; height: 12px; }
.vr-auth-step.is-active { color: #0f172a; font-weight: 600; }
.vr-auth-step.is-active .vr-auth-step-dot {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.vr-auth-step.is-done { color: #64748b; }
.vr-auth-step.is-done .vr-auth-step-dot {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}
.vr-auth-step-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #dbe3ee, #e8eef7);
}

.vr-sms-btn {
  height: 38px;
  flex: 0 0 auto;
  margin-right: 7px;
  padding: 0 13px;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: .16s ease;
}
.vr-sms-btn:hover:not([disabled]) { border-color: #93c5fd; background: #dbeafe; }
.vr-sms-btn[disabled] { cursor: default; color: #94a3b8; border-color: #e2e8f0; background: #f8fafc; }

.vr-field-captcha input { padding-right: 4px; }
.vr-captcha-btn {
  height: 38px;
  width: 104px;
  flex: 0 0 104px;
  margin-right: 6px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f2;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.vr-captcha-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vr-captcha-btn:hover { border-color: #93c5fd; }

.vr-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 20px;
  font-size: 12.5px;
}
.vr-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #64748b; font-weight: 400; cursor: pointer; }
.vr-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.vr-check-box {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  transition: .16s;
}
.vr-check input:checked + .vr-check-box { border-color: #2563eb; background: #2563eb; }
.vr-check input:checked + .vr-check-box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.vr-check input:focus-visible + .vr-check-box { box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.vr-auth-link { color: #2563eb; text-decoration: none; font-weight: 500; }
.vr-auth-link:hover { color: #1d4ed8; text-decoration: none; }

.vr-btn-login {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .72);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  font-family: inherit;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.vr-btn-login:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -14px rgba(37, 99, 235, .8); filter: saturate(1.06); }
.vr-btn-login:active { transform: translateY(0); }
.vr-btn-login[disabled] { cursor: default; opacity: .82; transform: none; }
.vr-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vrSpin .7s linear infinite;
}
.vr-btn-login.loading .vr-spinner { display: block; }
@keyframes vrSpin { to { transform: rotate(360deg); } }

.vr-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: #9aa8ba;
  font-size: 11.5px;
  letter-spacing: .08em;
}
.vr-auth-divider::before,
.vr-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #e2e8f0 22%, #e2e8f0 78%, transparent);
}
.vr-third-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vr-third-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border: 1px solid #e3e9f2;
  border-radius: 10px;
  background: #fff;
  color: #526173;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: .16s ease;
}
.vr-third-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(15,40,80,.4); }
.vr-third-btn.qq:hover { border-color: #8ec5ff; color: #1683e8; background: #f4f9ff; }
.vr-third-btn.wx:hover { border-color: #a7e8c3; color: #078f4b; background: #f2fcf6; }
.vr-third-btn.wb:hover { border-color: #ffc0c8; color: #d62a43; background: #fff5f6; }
.vr-third-btn svg { width: 17px; height: 17px; }
.vr-third-btn.qq svg { color: #1683e8; }
.vr-third-btn.wx svg { color: #07c160; }
.vr-third-btn.wb svg { color: #e6162d; }

.vr-auth-note { margin: 22px 0 0; text-align: center; color: #a2afc0; font-size: 11px; line-height: 1.7; }
.vr-auth-note a { color: #7b8ba3; text-decoration: none; }
.vr-auth-note a:hover { color: #2563eb; }

/* 注册/找回密码页沿用同一外壳但不显示左侧时 */
.vr-auth-card .alert { border-radius: 10px; }

@media (max-width: 1180px) {
  .vr-auth-visual { padding: 38px 40px 34px; }
  .vr-auth-preview { height: 206px; }
  .vr-auth-preview-small { width: 116px; height: 116px; }
}

@media (max-width: 980px) {
  .vr-auth-shell { display: block; min-height: 100vh; }
  .vr-auth-visual {
    min-height: 320px;
    padding: 26px 24px 74px;
    justify-content: flex-start;
  }
  .vr-auth-brand img { width: 140px; }
  .vr-auth-copy { margin-top: 34px; padding-top: 0; }
  .vr-auth-copy h1 { font-size: 30px; max-width: 460px; }
  .vr-auth-copy p { margin-top: 12px; font-size: 13.5px; line-height: 1.75; max-width: 440px; }
  .vr-auth-features { margin-top: 18px; gap: 8px; }
  .vr-auth-feature { padding: 7px 11px; font-size: 11.5px; }
  .vr-auth-preview,
  .vr-auth-foot { display: none; }
  .vr-auth-main { align-items: flex-start; padding: 0 20px 40px; background: #f1f5fb; }
  .vr-auth-main::before { display: none; }
  .vr-auth-card {
    max-width: 520px;
    margin: -48px auto 0;
    padding: 30px 26px 26px;
    border-radius: 22px;
  }
  .vr-auth-card-head h2 { font-size: 24px; }
}

@media (max-width: 560px) {
  .vr-auth-visual { min-height: 270px; padding: 22px 20px 62px; }
  .vr-auth-brand { gap: 10px; }
  .vr-auth-brand img { width: 126px; max-height: 42px; }
  .vr-auth-brand-divider { display: none; }
  .vr-auth-brand-text { display: none; }
  .vr-auth-eyebrow { margin-bottom: 14px; font-size: 10.5px; padding: 6px 11px; }
  .vr-auth-copy { margin-top: 26px; }
  .vr-auth-copy h1 { font-size: 26px; line-height: 1.24; }
  .vr-auth-copy p { display: none; }
  .vr-auth-features { margin-top: 15px; }
  .vr-auth-feature { padding: 6px 10px; font-size: 11px; }
  .vr-auth-main { padding: 0 14px 30px; }
  .vr-auth-card { margin-top: -44px; padding: 26px 18px 22px; border-radius: 20px; }
  .vr-auth-card-head { margin-bottom: 20px; }
  .vr-auth-card-head h2 { font-size: 22px; }
  .vr-auth-steps { margin-bottom: 18px; gap: 8px; }
  .vr-auth-step { font-size: 11.5px; gap: 6px; }
  .vr-auth-step-dot { width: 20px; height: 20px; font-size: 10px; }
  .vr-sms-btn { padding: 0 10px; font-size: 11.5px; }
  .vr-field { height: 50px; }
  .vr-field input { font-size: 16px; }
  .vr-third-row { gap: 8px; }
  .vr-third-btn { font-size: 11.5px; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .vr-auth-card { animation: none; }
  .vr-btn-login, .vr-third-btn { transition: none; }
}
