/* ============================================================
   登录页专属渐变UI
   ============================================================ */
.login-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px;
  position: relative; overflow: hidden;
}
/* 浮动光斑 */
.login-page .orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.login-page .orb.o1 { width: 420px; height: 420px; background: #1d4ed8; top: -120px; left: -100px; }
.login-page .orb.o2 { width: 380px; height: 380px; background: #7c3aed; bottom: -120px; right: -80px; animation-delay: -4s; }
.login-page .orb.o3 { width: 260px; height: 260px; background: #06b6d4; top: 40%; left: 60%; animation-delay: -8s; }
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.15); }
}

.login-box {
  width: 100%; max-width: 410px; position: relative; z-index: 2;
  padding: 38px 34px 30px;
  background: linear-gradient(165deg, rgba(22,32,66,.88), rgba(12,17,40,.9));
  border: 1px solid var(--line-strong); border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 60px rgba(59,130,246,.18);
  animation: boxIn .6s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes boxIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }

.login-logo { text-align: center; margin-bottom: 8px; }
.login-logo .logo-dot {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 16px;
  background: var(--grad-main); display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 10px 36px rgba(79,70,229,.55);
}
.login-logo h1 { font-size: 21px; font-weight: 700; letter-spacing: 1px; }
.login-logo .sub { color: var(--txt-faint); font-size: 12.5px; margin-top: 6px; letter-spacing: 3px; }

.login-form { margin-top: 26px; }
.login-form .input-item { position: relative; margin-bottom: 18px; }
.login-form .input-item .ii-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--txt-faint); font-size: 16px; pointer-events: none;
}
.login-form input {
  width: 100%; padding: 13px 14px 13px 42px; border-radius: 12px;
  background: rgba(6, 11, 28, .8); border: 1px solid var(--line);
  color: var(--txt); font-size: 14.5px; outline: none; transition: .22s;
}
.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.18), 0 0 22px rgba(59,130,246,.3);
}
.login-btn {
  width: 100%; padding: 13px; border-radius: 12px; border: none; cursor: pointer;
  background: var(--grad-main); color: #fff; font-size: 15.5px; font-weight: 600;
  letter-spacing: 6px; transition: .22s; margin-top: 6px;
  box-shadow: 0 8px 28px rgba(79,70,229,.45);
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(79,70,229,.6); }
.login-btn:active { transform: translateY(0); }

.login-err {
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4);
  color: #fca5a5; border-radius: 10px; padding: 10px 14px; font-size: 13px;
  margin-bottom: 16px; display: none;
}
.login-err.show { display: block; animation: boxIn .3s; }

.login-footer {
  position: relative; z-index: 2; margin-top: 30px; text-align: center;
  color: var(--txt-faint); font-size: 12.5px; line-height: 2;
}
.login-footer a { color: var(--txt-dim); }
.login-footer .ver { color: var(--txt-faint); }
