/* =========================================================
   login-polish.css — 登录页统一视觉层
   高优先级覆盖 styles / design-refresh / coupang / interface / airtable
   ========================================================= */

:root {
  --lp-bg: #eef2f7;
  --lp-ink: #0b1220;
  --lp-ink-2: #1c2433;
  --lp-muted: #667387;
  --lp-faint: #94a1b5;
  --lp-line: #e2e8f0;
  --lp-line-soft: #eef2f7;
  --lp-card: #ffffff;
  --lp-teal: #0d9488;
  --lp-teal-2: #0f766e;
  --lp-teal-soft: #ccfbf1;
  --lp-mint: #2dd4bf;
  --lp-amber: #f59e0b;
  --lp-amber-soft: #fef3c7;
  --lp-blue: #3b82f6;
  --lp-danger: #d6455d;
  --lp-radius: 14px;
  --lp-radius-sm: 10px;
  --lp-shadow: 0 30px 70px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.04);
  --lp-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --lp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 页面外壳 ---------- */
html body.login-page.login-modern {
  display: grid !important;
  min-height: 100vh !important;
  place-items: center !important;
  padding: 32px 24px !important;
  font-family: var(--lp-font) !important;
  background:
    radial-gradient(1100px 520px at 12% 8%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(900px 480px at 90% 92%, rgba(59, 130, 246, 0.10), transparent 55%),
    linear-gradient(165deg, #e9eef6 0%, var(--lp-bg) 45%, #e7edf5 100%) !important;
  background-attachment: fixed !important;
  background-image:
    radial-gradient(1100px 520px at 12% 8%, rgba(45, 212, 191, 0.16), transparent 60%),
    radial-gradient(900px 480px at 90% 92%, rgba(59, 130, 246, 0.10), transparent 55%),
    linear-gradient(165deg, #e9eef6 0%, #eef2f7 45%, #e7edf5 100%) !important;
}

html body.login-page.login-modern .login-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr) !important;
  width: min(1120px, calc(100vw - 48px)) !important;
  min-height: min(720px, calc(100vh - 64px)) !important;
  overflow: hidden !important;
  background: var(--lp-card) !important;
  background-image: none !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 22px !important;
  box-shadow: var(--lp-shadow) !important;
}

/* ---------- 左侧面板 ---------- */
html body.login-page.login-modern .login-head {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  min-height: 0 !important;
  padding: 36px 38px 32px !important;
  color: #e8eef6 !important;
  background-color: #0d1826 !important;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(155deg, #0d1826 0%, #112236 52%, #0c1522 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
}

/* 细网格纹理 */
html body.login-page.login-modern .login-head::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}

html body.login-page.login-modern .login-head > * {
  position: relative;
  z-index: 1;
}

html body.login-page.login-modern .login-brand-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

html body.login-page.login-modern .login-brand-row .brand-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 11px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
}

html body.login-page.login-modern .login-brand-row h1 {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

html body.login-page.login-modern .login-brand-row .brand-word {
  color: var(--lp-mint) !important;
  font-weight: 800 !important;
}

html body.login-page.login-modern .login-brand-row .brand-tagline {
  margin: 2px 0 0 !important;
  color: #8fa3b8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

html body.login-page.login-modern .login-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 主文案 */
html body.login-page.login-modern .login-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


html body.login-page.login-modern .hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

html body.login-page.login-modern .hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

html body.login-page.login-modern .hero-points li:hover {
  border-color: rgba(45, 212, 191, 0.35);
  transform: translateY(-1px);
}

html body.login-page.login-modern .hero-points .point-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--lp-mint);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 9px;
}

html body.login-page.login-modern .hero-points .point-icon svg {
  width: 16px;
  height: 16px;
}

html body.login-page.login-modern .hero-points strong {
  display: block;
  color: #f2f7fb;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

html body.login-page.login-modern .hero-points span {
  display: block;
  margin-top: 2px;
  color: #8fa3b8;
  font-size: 12px;
  line-height: 1.55;
}

/* 预览卡片 */
html body.login-page.login-modern .login-preview {
  display: grid !important;
  gap: 12px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 15px 16px 13px !important;
  background:
    linear-gradient(160deg, rgba(45, 212, 191, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.045) !important;
  background-image:
    linear-gradient(160deg, rgba(45, 212, 191, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: var(--lp-radius) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(6px);
}

html body.login-page.login-modern .preview-toolbar {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: transparent !important;
  border: 0 !important;
  color: #93a9bd !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

html body.login-page.login-modern .preview-toolbar span {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #33445a !important;
  border: 0 !important;
}

html body.login-page.login-modern .preview-toolbar span:nth-child(1) { background: var(--lp-mint) !important; }
html body.login-page.login-modern .preview-toolbar span:nth-child(2) { background: var(--lp-amber) !important; }
html body.login-page.login-modern .preview-toolbar span:nth-child(3) { background: var(--lp-blue) !important; }

html body.login-page.login-modern .preview-toolbar strong {
  margin-left: auto !important;
  color: #7d93a9 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

html body.login-page.login-modern .preview-grid {
  display: grid !important;
  grid-template-columns: 1.25fr 0.9fr 0.8fr !important;
  gap: 9px !important;
}

html body.login-page.login-modern .preview-metric {
  min-width: 0 !important;
  padding: 11px 12px !important;
  background: rgba(11, 18, 32, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
}

html body.login-page.login-modern .preview-metric span {
  display: block !important;
  color: #7f94aa !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

html body.login-page.login-modern .preview-metric strong {
  display: block !important;
  margin-top: 5px !important;
  color: #f4f8fc !important;
  font-family: var(--lp-font) !important;
  font-size: 19px !important;
  font-weight: 750 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
}

html body.login-page.login-modern .preview-metric .trend-down {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 6px;
  color: #5eead4;
  background: rgba(45, 212, 191, 0.12);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

html body.login-page.login-modern .preview-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px !important;
}

html body.login-page.login-modern .preview-row span {
  display: inline-flex !important;
  min-height: 24px;
  align-items: center !important;
  padding: 3px 10px !important;
  color: #a5f3e6 !important;
  background: rgba(45, 212, 191, 0.12) !important;
  border: 1px solid rgba(45, 212, 191, 0.22) !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 650 !important;
}

html body.login-page.login-modern .preview-row span:nth-child(2) {
  color: #fde68a !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.22) !important;
}

html body.login-page.login-modern .preview-row span:nth-child(3) {
  color: #bfdbfe !important;
  background: rgba(59, 130, 246, 0.14) !important;
  border-color: rgba(59, 130, 246, 0.24) !important;
}

html body.login-page.login-modern .preview-chart {
  display: grid !important;
  height: 58px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: end !important;
  gap: 7px !important;
  padding: 10px 12px !important;
  background: rgba(11, 18, 32, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
}

html body.login-page.login-modern .preview-chart i {
  display: block !important;
  height: 42% !important;
  background: linear-gradient(180deg, #2dd4bf, #0d9488) !important;
  border-radius: 4px 4px 2px 2px !important;
}

html body.login-page.login-modern .preview-chart i:nth-child(1) { height: 38% !important; }
html body.login-page.login-modern .preview-chart i:nth-child(2) { height: 58% !important; background: linear-gradient(180deg, #fbbf24, #d97706) !important; }
html body.login-page.login-modern .preview-chart i:nth-child(3) { height: 48% !important; }
html body.login-page.login-modern .preview-chart i:nth-child(4) { height: 78% !important; background: linear-gradient(180deg, #60a5fa, #2563eb) !important; }
html body.login-page.login-modern .preview-chart i:nth-child(5) { height: 62% !important; }
html body.login-page.login-modern .preview-chart i:nth-child(6) { height: 70% !important; background: linear-gradient(180deg, #34d399, #059669) !important; }

html body.login-page.login-modern .preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7d93a9;
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

html body.login-page.login-modern .preview-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html body.login-page.login-modern .preview-live i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--lp-mint);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
  animation: lp-pulse 2s ease-in-out infinite;
}

@keyframes lp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* 底部数据条 */
html body.login-page.login-modern .login-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

html body.login-page.login-modern .login-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
}

html body.login-page.login-modern .login-stats strong {
  color: #f2f7fb;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

html body.login-page.login-modern .login-stats span {
  color: #7f94aa;
  font-size: 11px;
  font-weight: 500;
}

/* ---------- 右侧表单 ---------- */
html body.login-page.login-modern .login-form {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 15px !important;
  min-height: 0 !important;
  padding: 48px 44px 40px !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.login-page.login-modern .login-form .form-head {
  margin-bottom: 6px;
}

html body.login-page.login-modern .login-form .form-eyebrow {
  margin: 0 0 8px;
  color: var(--lp-teal) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
}

html body.login-page.login-modern .login-form .form-title {
  margin: 0 !important;
  color: var(--lp-ink) !important;
  font-size: 26px !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

html body.login-page.login-modern .login-form .form-sub {
  margin: 6px 0 0 !important;
  color: var(--lp-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* 页签 */
html body.login-page.login-modern .auth-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4px !important;
  margin: 2px 0 4px !important;
  padding: 4px !important;
  background: #f1f5f9 !important;
  border: 1px solid var(--lp-line-soft) !important;
  border-radius: 999px !important;
}

html body.login-page.login-modern .auth-tab {
  height: 38px !important;
  color: var(--lp-muted) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
}

html body.login-page.login-modern .auth-tab:hover {
  color: var(--lp-ink-2) !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

html body.login-page.login-modern .auth-tab.active {
  color: var(--lp-teal-2) !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

/* 输入字段 */
html body.login-page.login-modern .login-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

html body.login-page.login-modern .login-form label {
  margin: 0 !important;
  color: var(--lp-ink-2) !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em !important;
}

html body.login-page.login-modern .login-form .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

html body.login-page.login-modern .login-form .input-icon {
  position: absolute;
  left: 13px;
  display: grid;
  place-items: center;
  color: var(--lp-faint);
  pointer-events: none;
}

html body.login-page.login-modern .login-form .input-icon svg {
  width: 17px;
  height: 17px;
}

html body.login-page.login-modern .login-form input,
html body.login-page.login-modern.login-page .login-form input:not([type="checkbox"]) {
  width: 100% !important;
  height: 46px !important;
  padding: 0 42px 0 40px !important;
  color: #0b1220 !important;
  background-color: #f8fafc !important;
  background-image: none !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

html body.login-page.login-modern .login-form input:hover {
  border-color: #cbd5e1 !important;
}

html body.login-page.login-modern .login-form input:focus {
  background: #ffffff !important;
  border-color: var(--lp-teal) !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14) !important;
  outline: none !important;
}

html body.login-page.login-modern .login-form input::placeholder {
  color: var(--lp-faint) !important;
  font-weight: 400 !important;
}

/* 密码可见切换 */
html body.login-page.login-modern .login-form .password-toggle {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--lp-faint);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

html body.login-page.login-modern .login-form .password-toggle:hover {
  color: var(--lp-teal-2);
  background: rgba(13, 148, 136, 0.08);
}

html body.login-page.login-modern .login-form .password-toggle.is-visible {
  color: var(--lp-teal-2);
}

html body.login-page.login-modern .login-form .password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

/* 保持登录 */
html body.login-page.login-modern .remember-me {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  cursor: pointer;
  user-select: none;
}

html body.login-page.login-modern .remember-me input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

html body.login-page.login-modern .remember-me .checkbox-box {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1.5px solid var(--lp-line);
  border-radius: 5px;
  background: #fff;
  transition: all 0.15s ease;
}

html body.login-page.login-modern .remember-me .checkbox-box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(42deg) scale(0);
  transition: transform 0.15s ease;
}

html body.login-page.login-modern .remember-me input:checked + .checkbox-box {
  background: var(--lp-teal);
  border-color: var(--lp-teal);
}

html body.login-page.login-modern .remember-me input:checked + .checkbox-box::after {
  transform: rotate(42deg) scale(1);
}

html body.login-page.login-modern .remember-me input:focus-visible + .checkbox-box {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}

html body.login-page.login-modern .remember-me .remember-text {
  color: var(--lp-muted) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}

/* 错误提示：空内容时完全隐藏 */
html body.login-page.login-modern .login-error {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--lp-danger) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 12.5px !important;
  font-weight: 550 !important;
  line-height: 1.5 !important;
}

html body.login-page.login-modern .login-error:not(.is-empty) {
  padding: 9px 12px !important;
  background: rgba(214, 69, 93, 0.08) !important;
  border: 1px solid rgba(214, 69, 93, 0.18) !important;
  border-radius: 9px !important;
}

html body.login-page.login-modern .login-error.is-empty {
  display: none !important;
}

/* 提交按钮 */
html body.login-page.login-modern .login-form > button[type="submit"],
html body.login-page.login-modern #submitAuth {
  height: 48px !important;
  margin-top: 4px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--lp-teal) 0%, var(--lp-teal-2) 100%) !important;
  border: 0 !important;
  border-radius: var(--lp-radius-sm) !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.28) !important;
  cursor: pointer !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease !important;
}

html body.login-page.login-modern .login-form > button[type="submit"]:hover,
html body.login-page.login-modern #submitAuth:hover {
  background: linear-gradient(135deg, #0b7c72 0%, #0c5f59 100%) !important;
  box-shadow: 0 16px 34px rgba(13, 148, 136, 0.34) !important;
  transform: translateY(-1px) !important;
  filter: none !important;
}

html body.login-page.login-modern .login-form > button[type="submit"]:active,
html body.login-page.login-modern #submitAuth:active {
  transform: translateY(0) scale(0.985) !important;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.22) !important;
}

/* 底部提示 */
html body.login-page.login-modern .login-form .form-foot {
  margin: 8px 0 0 !important;
  text-align: center;
}

html body.login-page.login-modern .secure-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-faint) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
}

html body.login-page.login-modern .secure-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--lp-teal);
  fill: none;
}

/* ---------- 深色模式 ---------- */
html[data-theme="dark"] body.login-page.login-modern {
  background:
    radial-gradient(1000px 500px at 14% 10%, rgba(45, 212, 191, 0.10), transparent 60%),
    linear-gradient(165deg, #0b1017 0%, #101722 55%, #0b1017 100%) !important;
  background-image:
    radial-gradient(1000px 500px at 14% 10%, rgba(45, 212, 191, 0.10), transparent 60%),
    linear-gradient(165deg, #0b1017 0%, #101722 55%, #0b1017 100%) !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-shell {
  background: #121821 !important;
  border-color: #232c38 !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-form {
  background: #121821 !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-form .form-title {
  color: #e8eef6 !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-form .form-sub,
html[data-theme="dark"] body.login-page.login-modern .remember-me .remember-text {
  color: #8b98a8 !important;
}

html[data-theme="dark"] body.login-page.login-modern .auth-tabs {
  background: #0d1218 !important;
  border-color: #232c38 !important;
}

html[data-theme="dark"] body.login-page.login-modern .auth-tab {
  color: #8b98a8 !important;
}

html[data-theme="dark"] body.login-page.login-modern .auth-tab.active {
  color: var(--lp-mint) !important;
  background: #1a222c !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-form label {
  color: #c5d0dc !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-form input {
  background: #0d1218 !important;
  border-color: #2a3440 !important;
  color: #e8eef6 !important;
}

html[data-theme="dark"] body.login-page.login-modern .login-form input:focus {
  background: #121821 !important;
  border-color: var(--lp-teal) !important;
}

html[data-theme="dark"] body.login-page.login-modern .remember-me .checkbox-box {
  background: #0d1218;
  border-color: #2a3440;
}

html[data-theme="dark"] body.login-page.login-modern .login-form > button[type="submit"],
html[data-theme="dark"] body.login-page #submitAuth {
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.22) !important;
}

html[data-theme="dark"] body.login-page.login-modern .secure-hint {
  color: #5c6a7a !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  html body.login-page {
    padding: 18px !important;
    place-items: stretch !important;
  }

  html body.login-page.login-modern .login-shell {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-height: auto !important;
  }

  html body.login-page.login-modern .login-head {
    padding: 28px 24px 24px !important;
  }

  html body.login-page.login-modern .hero-points li {
    padding: 9px 11px;
  }

  html body.login-page.login-modern .login-form {
    padding: 30px 24px 28px !important;
  }
}

@media (max-width: 560px) {
  html body.login-page.login-modern .preview-grid {
    grid-template-columns: 1fr !important;
  }

  html body.login-page.login-modern .login-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  html body.login-page.login-modern .login-stats strong {
    font-size: 15px;
  }
}
