/* ============================================================
   登录页美化：单栏居中 -> 左品牌叙事 + 右登录卡片
   只作用于 /login，其他页面不受影响（由 JS 加 class 控制）
   配色沿用 LezAPI 的青色主色，不改成紫色
   ============================================================ */

#lez-brand {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-right: 40px;
  animation: lez-fade-up .6s cubic-bezier(.2,.7,.3,1) both;
}

/* 双栏容器：原来的 min-h-screen 居中容器改成 grid */
.lez-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr) !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 64px !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 40px 48px !important;
  min-height: 100vh;
}

.lez-split > #lez-brand { grid-column: 1; display: flex; }
.lez-split > .w-full.max-w-md { grid-column: 2; width: 100%; max-width: 460px; justify-self: end; }

/* 右侧卡片：稍微加宽、加高，边距更从容 */
.lez-split .max-w-md .card-glass {
  border-radius: 20px !important;
  padding: 40px 36px !important;
}

@media (max-width: 1024px) {
  .lez-split {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 32px 20px !important;
  }
  .lez-split > .w-full.max-w-md { justify-self: center; max-width: 460px; }
  #lez-brand { display: none !important; }
}

/* ---------- 左侧品牌区 ---------- */
.lez-logo-row {
  display: flex; align-items: center; gap: 12px;
}
.lez-logo-badge {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 6px 20px rgba(20,184,166,.35);
  font-weight: 800; font-size: 22px; color: #fff;
}
.lez-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.lez-logo-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.lez-logo-sub {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(148,163,184,.85);
}

.lez-badge {
  align-self: flex-start;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px;
  color: #5eead4;
  background: rgba(20,184,166,.10);
  border: 1px solid rgba(20,184,166,.30);
}

.lez-h1 {
  margin: 0; font-size: 46px; line-height: 1.14;
  font-weight: 800; letter-spacing: -.03em;
  color: #e8eef5;
}
.lez-h1 .lez-grad {
  background: linear-gradient(100deg, #2dd4bf 0%, #14b8a6 45%, #0d9488 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lez-sub {
  margin: 0; font-size: 15px; line-height: 1.75;
  color: rgba(148,163,184,.95); max-width: 520px;
}

/* 状态卡片 */
.lez-status {
  margin-top: 8px; padding: 18px 20px;
  border-radius: 16px;
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(45,212,191,.14);
  backdrop-filter: blur(12px);
  max-width: 520px;
}
.lez-status-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(148,163,184,.75); margin-bottom: 6px;
}
.lez-live {
  color: #4ade80; display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: .1em;
}
.lez-live i {
  width: 6px; height: 6px; border-radius: 99px; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7);
  animation: lez-pulse 2s infinite;
}
.lez-status-title { font-size: 15px; font-weight: 600; color: #e2e8f0; margin-bottom: 14px; }

.lez-bars { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.lez-bars-label { font-size: 11px; color: rgba(148,163,184,.8); min-width: 56px; }
.lez-bar-track {
  flex: 1; display: flex; gap: 4px;
}
.lez-bar {
  flex: 1; height: 7px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(20,184,166,.15), rgba(20,184,166,.45));
  position: relative; overflow: hidden;
}
.lez-bar.on { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.lez-bar.on::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: lez-shine 2.4s infinite;
}
.lez-pct { font-size: 12px; font-variant-numeric: tabular-nums; color: #5eead4; min-width: 48px; text-align: right; }

.lez-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.lez-tag {
  font-size: 10px; padding: 3px 9px; border-radius: 6px;
  color: rgba(203,213,225,.85);
  background: rgba(148,163,184,.08);
  border: 1px solid rgba(148,163,184,.14);
}

/* ---------- 右侧卡片微调 ---------- */
.lez-split .card-glass input {
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lez-split .card-glass input:focus {
  box-shadow: 0 0 0 3px rgba(20,184,166,.14);
}
.lez-split .card-glass button[type="submit"],
.lez-split .card-glass form button {
  border-radius: 10px !important;
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
}
.lez-split .card-glass form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(20,184,166,.30);
  filter: brightness(1.05);
}

/* 页脚一行 */
#lez-footer {
  display: none;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(100,116,139,.9);
  letter-spacing: .02em;
}

@keyframes lez-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lez-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@keyframes lez-shine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(200%); }
  100% { transform: translateX(200%); }
}
/* ---------- 去掉右侧重复的品牌块（左侧已经有了）---------- */
.lez-split .max-w-md > .mb-8.text-center {
  display: none !important;
}

/* 卡片内边距收紧一点，双栏后不需要那么高 */
.lez-split .max-w-md .card-glass {
  padding: 40px 36px 36px !important;
}

/* 左侧整体垂直居中，并限制最大宽度 */
.lez-split > #lez-brand {
  align-self: center;
  justify-self: start;
  max-width: 560px;
  width: 100%;
}

/* 登录卡片给它一个柔和的边界光 */
.lez-split .max-w-md .card-glass {
  border: 1px solid rgba(45, 212, 191, 0.10) !important;
  background: rgba(15, 23, 42, 0.62) !important;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.65),
              0 0 0 1px rgba(255, 255, 255, 0.02) inset !important;
}

/* 移动端：只留卡片，品牌区隐藏（已有规则，这里再收紧边距） */
@media (max-width: 1024px) {
  .lez-split .max-w-md .card-glass { padding: 32px 24px !important; }
}