/* ─── 登录页 ─────────────────────────────────────────────────────────────── */
#login-page {
  display: flex; height: 100vh; position: relative; overflow: hidden; background: #060e1e;
}
#login-canvas {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
/* 登录页流动极光 + 暗角（衬在左侧动态背景，呼应门户高级感） */
.login-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; filter: blur(70px); opacity: .5; pointer-events: none; animation: loginAuroraHue 52s linear infinite; }
@keyframes loginAuroraHue { 0% { filter: blur(70px) hue-rotate(0deg); } 100% { filter: blur(70px) hue-rotate(360deg); } }
.login-aurora span { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; animation: loginFloat 24s ease-in-out infinite; }
.login-aurora .la1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #2563eb, transparent 65%); }
.login-aurora .la2 { width: 40vw; height: 40vw; left: 6vw; bottom: -18vw; background: radial-gradient(circle, #7c3aed, transparent 65%); animation-delay: -8s; }
.login-aurora .la3 { width: 34vw; height: 34vw; left: 22vw; top: 16vh; background: radial-gradient(circle, #0ea5e9, transparent 62%); animation-delay: -15s; }
@keyframes loginFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(4vw,3vh) scale(1.12); } 66% { transform: translate(-3vw,-2vh) scale(.92); } }
.login-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120vw 120vh at 30% 50%, transparent 55%, rgba(3,6,14,.5) 100%); }
.login-left {
  flex: 1;
  background: linear-gradient(145deg, rgba(6,14,30,.90) 0%, rgba(12,30,58,.58) 45%, rgba(7,18,36,.92) 100%);
  display: flex; flex-direction: column; justify-content: safe center; overflow-y: auto; padding: 64px;
  position: relative; z-index: 3;
}
.login-left::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent2), var(--primary));
  background-size: 200% 100%; animation: shimmer 3s linear infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.login-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 56px;
}
.login-brand-logo {
  width: 54px; height: 54px; object-fit: contain; border-radius: 14px;
  padding: 7px; background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(6,182,212,.28), 0 0 0 1px rgba(255,255,255,.18);
  animation: loginLogoFloat 6s ease-in-out infinite;
}
@keyframes loginLogoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.login-brand-text .name {
  font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .5px;
}
.login-brand-text .sub {
  font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; letter-spacing: 1px;
}
.login-headline {
  font-size: 44px; font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 18px;
  letter-spacing: -1.5px;
}
.login-headline span {
  background: linear-gradient(90deg, var(--accent), #38bdf8, #818cf8, var(--accent));
  background-size: 220% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: loginTitleFlow 8s linear infinite;
}
@keyframes loginTitleFlow { to { background-position: 220% center; } }
.login-company {
  font-size: 14px; font-weight: 700; letter-spacing: 5px; margin-bottom: 44px;
  background: linear-gradient(90deg, var(--accent), #818cf8, #c4b5fd, var(--accent));
  background-size: 200% 100%; animation: shimmer 4s linear infinite;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-features { display: flex; flex-direction: column; gap: 12px; }
.login-feature {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; backdrop-filter: blur(8px);
}
/* 四个特性横条为静态展示，不做鼠标悬停高亮 */
@media (prefers-reduced-motion: reduce) {
  .login-aurora, .login-aurora span, .login-brand-logo, .login-headline span { animation: none !important; }
}
.login-feature-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(6,182,212,.18), rgba(26,86,219,.14)); flex-shrink: 0;
  border: 1px solid rgba(6,182,212,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.18);
  overflow: hidden;
}
.login-feature-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.login-feature-text .title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.login-feature-text .desc { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
.login-footer {
  position: absolute; bottom: 24px; left: 64px;
  font-size: 12px; color: rgba(255,255,255,.25); letter-spacing: .5px;
}
.login-right {
  width: 460px; background: #fff; display: flex; flex-direction: column;
  justify-content: safe center; overflow-y: auto; padding: 36px 52px; position: relative; z-index: 3;
  box-shadow: -34px 0 90px rgba(0,0,0,.5);
}
.login-right::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(26,86,219,.3) 30%, rgba(6,182,212,.3) 70%, transparent);
}
.login-right-logo { text-align: center; margin-bottom: 20px; }
.login-right-logo img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; border-radius: 16px; padding: 9px; background: #fff; box-shadow: 0 10px 28px rgba(26,86,219,.16), 0 0 0 1px rgba(226,232,240,.9); }
.login-right-logo .title { font-size: 24px; font-weight: 800; color: var(--gray-900); letter-spacing: -.3px; }
.login-right-logo .subtitle {
  font-size: 12px; color: var(--gray-500); margin-top: 5px; letter-spacing: 2px;
  font-weight: 600;
}
.login-form-title { font-size: 26px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.login-form-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: 9px; font-size: 14px; color: var(--gray-800);
  transition: border-color .2s, box-shadow .2s; outline: none; background: var(--gray-50);
}
.form-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.btn-login {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff; border: none; border-radius: 9px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(26,86,219,.35);
}
.btn-login:hover { background: linear-gradient(135deg, #1245b0, #1a56db); box-shadow: 0 6px 20px rgba(26,86,219,.45); transform: translateY(-1px); }
.btn-login:active { transform: scale(.98); }
.login-error { color: var(--danger); font-size: 13px; margin-top: 10px; min-height: 18px; text-align: center; }
.login-hint { margin-top: 20px; padding: 12px 14px; background: var(--gray-50); border-radius: 9px; border: 1px solid var(--gray-200); }
.login-hint-title { font-size: 12px; font-weight: 600; color: var(--gray-600); margin-bottom: 4px; }
.login-hint-item { font-size: 12px; color: var(--gray-500); }


/* 登录页项目名：在大标题右侧、以细分隔线 + 青色文字内联呈现（克制、不喧宾夺主）*/
.login-headline .hl-project {
  display: inline-block; vertical-align: middle;
  margin-left: 18px; padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.22);
  font-size: 24px; font-weight: 700; letter-spacing: 1px; line-height: 1;
  color: #7dd3fc; -webkit-text-fill-color: #7dd3fc; background: none;
  position: relative; top: -6px;
}
.login-headline .hl-project:empty { display: none; }
