/* ===========================================================
   登录页
   =========================================================== */
.login-page {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(460px, 0.88fr);
  min-height: 100vh;
  background: #fff;
}

/* ----- 左侧视觉 ----- */
.login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 36px 44px 30px;
  background: radial-gradient(120% 90% at 18% 12%, #14567f 0%, transparent 55%),
              radial-gradient(100% 80% at 92% 88%, #0d5d8c 0%, transparent 60%),
              linear-gradient(150deg, #072b45 0%, #0a3d5e 52%, #0b4a6f 100%);
  color: #fff;
}
.login-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 27, 44, .12) 0%, rgba(4, 27, 44, .06) 45%, rgba(4, 27, 44, .55) 100%);
  pointer-events: none;
}
.visual-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .95;
}
.visual-top, .visual-main, .visual-foot { position: relative; z-index: 2; }
.visual-top { display: flex; align-items: center; gap: 11px; }
.visual-top .logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff;
  backdrop-filter: blur(4px);
}
.visual-top .brand-name { font-size: 16px; font-weight: 650; color: #fff; letter-spacing: .3px; }
.visual-top .brand-name small { display: block; font-size: 10px; font-weight: 500; color: #9fcbe3; letter-spacing: 2px; }

.visual-main { margin-top: auto; padding-bottom: 26px; max-width: 560px; }
.visual-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 3px; color: #7fc6ea;
  text-transform: uppercase; margin-bottom: 16px;
}
.visual-eyebrow::before { content: ""; width: 26px; height: 1px; background: #5ea9cf; }
.visual-main h1 {
  font-size: 40px; line-height: 1.28; font-weight: 750;
  letter-spacing: .5px; margin-bottom: 16px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .18);
}
.visual-main h1 em { font-style: normal; color: #7fd4ff; }
.visual-main .sub { font-size: 13.5px; color: #b9d8e9; line-height: 1.8; max-width: 460px; }
.visual-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.visual-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #d3eaf7; font-size: 12px;
  backdrop-filter: blur(3px);
}
.visual-chips svg { width: 13px; height: 13px; color: #6fd3ff; }

.visual-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11.5px; color: #8fb6cb;
}
.visual-foot .dots { display: flex; gap: 5px; }
.visual-foot .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); }
.visual-foot .dots i.on { background: #58bff0; }

/* ----- 右侧表单 ----- */
.login-panel {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 40px 28px;
  position: relative;
  background:
    radial-gradient(60% 40% at 100% 0%, #f2f9fe 0%, transparent 70%),
    #fff;
}
.login-card { width: 100%; max-width: 372px; }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; }
.login-brand .brand-mark { width: 34px; height: 34px; font-size: 16px; }
.login-brand b { font-size: 15px; color: var(--blue-900); font-weight: 700; }
.login-brand span { font-size: 11px; color: var(--muted); display: block; letter-spacing: .6px; }
.login-card h2 { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: .5px; }
.login-card .login-sub { margin-top: 7px; color: var(--ink-3); font-size: 12.8px; }
.login-form { margin-top: 28px; display: flex; flex-direction: column; gap: 17px; }
.login-form .field > label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.login-form .input { height: 43px; border-radius: 9px; font-size: 13.5px; }
.login-form .input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,152,215,.12); }
.captcha-row { display: flex; gap: 10px; }
.captcha-row .input { flex: 1; }
.captcha-canvas {
  width: 104px; height: 43px; border-radius: 9px;
  border: 1px solid var(--line-2); cursor: pointer;
  background: #f4f9fd; flex: none;
}
.login-opts { display: flex; align-items: center; justify-content: space-between; margin-top: -3px; }
.login-opts a { font-size: 12.5px; }
.btn-login {
  height: 45px; width: 100%; border-radius: 9px;
  background: linear-gradient(92deg, #169bd5, #1e98d7);
  border: none; color: #fff; font-size: 14px; font-weight: 600;
  letter-spacing: 4px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 155, 213, .28);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-login:hover { filter: brightness(1.04); box-shadow: 0 10px 26px rgba(22, 155, 213, .34); }
.btn-login:active { transform: translateY(1px); }
.login-tip {
  margin-top: 18px; padding: 9px 12px; border-radius: 8px;
  background: #f6fafd; border: 1px dashed #d7e6f1;
  color: var(--muted); font-size: 11.5px; text-align: center;
}
.login-tip b { color: var(--ink-3); font-weight: 600; }
.login-copyright {
  position: absolute; bottom: 22px;
  color: #a9b7c4; font-size: 11px;
}
.login-copyright a { color: #7c9bb2; }
.login-copyright a:hover { color: var(--blue-700); }
.login-badge {
  position: absolute; top: 26px; right: 28px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 20px;
  background: #f3f9fd; color: var(--blue-700); font-size: 11px;
}
.login-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #35b37e; }

@media (max-width: 1024px) {
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-panel { min-height: 100vh; }
}

/* ----- 快捷入口 ----- */
.login-quick { width: 100%; max-width: 372px; margin-top: 22px; }
.lq-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; color: var(--muted); font-size: 11px; letter-spacing: 1px;
}
.lq-title span { width: 18px; height: 1px; background: #cfe0ec; }
.lq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lq-item {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px;
  background: #f8fbfd; text-decoration: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.lq-item:hover {
  border-color: #bfdff2; background: #f3faff;
  box-shadow: 0 4px 12px rgba(16, 42, 67, .06);
}
.lq-ico {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 7px;
  display: grid; place-items: center; background: #eaf4fd; color: #1477b8;
}
.lq-ico svg { width: 15px; height: 15px; }
.lq-item > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lq-item b {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink); font-size: 12px; font-weight: 600;
}
.lq-item > span:last-child span { color: var(--muted); font-size: 10.5px; }

@media (max-height: 840px) {
  .login-panel { justify-content: flex-start; padding-top: 30px; padding-bottom: 36px; }
  .login-brand { margin-bottom: 22px; }
  .login-form { margin-top: 20px; gap: 12px; }
  .login-card h2 { font-size: 23px; }
  .login-tip { margin-top: 12px; padding: 7px 10px; }
  .login-quick { margin-top: 16px; }
  .login-copyright { position: static; margin-top: 20px; }
  .login-badge { top: 18px; right: 20px; }
}
