/* ============================================================
 * 悦点进销存 Web 版 · 页面样式：登录页 + 启动画面（pages/login.css）
 * ------------------------------------------------------------
 * 对应文件：index.html（登录表单 DOM）/ js/app.js（登录逻辑）
 * 想改登录页外观：只改本文件；主框架（侧边栏/顶栏）在 css/layout.css
 * ============================================================ */
/* ================= 启动画面 ================= */
.boot { position: fixed; inset: 0; z-index: 9999; background: linear-gradient(180deg, #1d2129 0%, #14161a 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; transition: opacity .35s; }
.boot.off { opacity: 0; pointer-events: none; }
/* 20261112c：品牌标透明 PNG 直接显示、无方块背景、无发光，只做轻微浮动 */
.boot-logo { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; animation: logoBob 3.4s ease-in-out infinite; }
/* Logo 图片（20261112b 起为 resources/app-logo-plain.png）：原图四周有透明留白，
   放大一点让图形视觉尺寸与旧版接近；不裁切、不加底色。 */
.boot-logo img, .ll-logo img, .lc-logo img { width: 100%; height: 100%; object-fit: contain; display: block; transform: none; }
.boot-txt { color: rgba(255, 255, 255, .85); letter-spacing: 4px; font-size: 15px; }
.boot-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.boot-bar i { display: block; width: 40%; height: 100%; border-radius: 3px; background: var(--grad); animation: bootmove 1.1s ease-in-out infinite; }
@keyframes bootmove { 0% { transform: translateX(-100%); } 100% { transform: translateX(450%); } }

/* ================= 登录页 ================= */
.login-page { position: fixed; inset: 0; display: flex; }
.login-left { flex: 1.1; position: relative; overflow: hidden; background: linear-gradient(150deg, #0b1e3c 0%, #123f7a 52%, #0a5a70 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 56px 60px; }
/* turn130k-27：网格极缓慢平移，画面「活着」但不抢视线（42px 一个循环，位移到整格才无缝） */
.ll-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%); animation: llGrid 30s linear infinite; }
@keyframes llGrid { from { background-position: 0 0, 0 0; } to { background-position: 42px 42px, 42px 42px; } }
.ll-grid::after { content: ""; position: absolute; width: 460px; height: 460px; right: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(15, 198, 194, .35), transparent 65%); filter: blur(10px); }
/* turn130k-18 美化：左下加一团缓慢漂移的紫色光斑，画面不再只有一块渐变 */
.ll-grid::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(114, 46, 209, .38), transparent 65%); filter: blur(16px); animation: llGlow 9s ease-in-out infinite alternate; }
@keyframes llGlow { from { transform: translate(0, 0) scale(1); opacity: .85; } to { transform: translate(60px, -40px) scale(1.12); opacity: 1; } }
.ll-brand { position: relative; }
.ll-logo { width: 66px; height: 66px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; animation: llFloat 5.5s ease-in-out infinite; }
@keyframes llFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.ll-brand h1 { font-size: 40px; letter-spacing: 6px; margin-bottom: 10px; background: linear-gradient(92deg, #fff 55%, #6ee7e3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ll-sub { color: rgba(255, 255, 255, .55); letter-spacing: 2px; font-size: 12px; }
.ll-feats { position: relative; display: flex; flex-direction: column; gap: 14px; }
/* 特征项玻璃卡片化：半透明底 + 细边框 + hover 浮起，比裸文本更精致 */
.ll-feat { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 13px 16px; border-radius: 14px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); transition: transform .2s, background .2s, border-color .2s; }
.ll-feat:hover { transform: translateX(5px); background: rgba(255, 255, 255, .1); border-color: rgba(55, 212, 208, .45); }
/* turn130k-27：特征图标「微动」——三个图标三种节奏、错开延迟，hover 时点亮外圈 */
.ll-feat i { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #37d4d0; font-style: normal; font-size: 19px; display: flex; align-items: center; justify-content: center; animation: llIcoBob 3.6s ease-in-out infinite; }
.ll-feat:nth-child(2) i { animation-name: llIcoPulse; animation-duration: 2.8s; animation-delay: .5s; }
.ll-feat:nth-child(3) i { animation-name: llIcoRock; animation-duration: 4.4s; animation-delay: 1s; }
.ll-feat:hover i { color: #6ee7e3; box-shadow: 0 0 0 5px rgba(55, 212, 208, .12); }
@keyframes llIcoBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes llIcoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes llIcoRock { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.ll-feat b { font-size: 16px; letter-spacing: 1px; align-self: center; }
.ll-feat span { color: rgba(255, 255, 255, .55); font-size: 12.5px; margin-top: 4px; }
/* 20261117ba：第三条「订货商城」是链接 —— 整卡可点，右侧留箭头位，hover 时箭头右移变亮 */
.ll-feat-mall { position: relative; padding-right: 36px; text-decoration: none; color: inherit; }
.ll-feat-mall::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: rgba(255, 255, 255, .42); transition: transform .2s, color .2s; }
.ll-feat-mall:hover::after { transform: translate(4px, -50%); color: #6ee7e3; }
.ll-feat-mall:hover { border-color: rgba(55, 212, 208, .55); }
.ll-feat-mall:focus-visible { outline: 2px solid rgba(110, 231, 227, .8); outline-offset: 2px; }
/* 20261117bb：内容条 3 → 4 条，第四条图标复用上浮但换节奏/延迟（不与前三条同拍） */
.ll-feat:nth-child(4) i { animation-duration: 4.6s; animation-delay: 1.2s; }
/* 20261117bb：矮屏（笔记本 768 高 / 缩放 125%）收紧间距，保证 4 条 + 页脚不会被裁切 */
@media (max-height: 840px) {
  .login-left { padding-top: 38px; padding-bottom: 38px; }
  .ll-logo { margin-bottom: 16px; }
  .ll-brand h1 { font-size: 34px; margin-bottom: 6px; }
  .ll-feats { gap: 10px; }
  .ll-feat { padding: 10px 16px; }
  .ll-feat-mall { padding-right: 36px; }
  .ll-feat b { font-size: 15px; }
  .ll-feat span { font-size: 12px; margin-top: 3px; }
}
.ll-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255, 255, 255, .35); font-size: 12px; }
/* turn130k-52：版权 + ICP 备案号竖排；turn130k-53：备案号/技术支持链接复用同一组样式 */
.ll-copy { display: flex; flex-direction: column; gap: 5px; }
/* 2026-10-27：双下载卡（安卓 + 鸿蒙）纵向排列；二维码略缩，避免页脚过高 */
.ll-dls { display: flex; flex-direction: column; gap: 8px; }
.ll-dls .ll-dl { padding: 8px 14px 8px 8px; }
.ll-dls .ll-dl-qr { width: 62px; height: 62px; padding: 4px; }
.ll-dls .ll-dl-txt b { font-size: 12.5px; }
.ll-dls .ll-dl-txt span { font-size: 11px; }
.ll-icp { color: rgba(255, 255, 255, .45); font-size: 12px; text-decoration: none; letter-spacing: .2px; transition: color .2s; }
.ll-icp:hover { color: #6ee7e3; text-decoration: underline; }
/* 20261111f：在线客服移到登录卡内「技术支持」右侧 —— .lc-cs 文案 + .lc-qq 腾讯 QQ 经典蓝按钮（官方企鹅 SVG）。
   旧页脚 .ll-cs/.ll-qq 已随 HTML 撤除 */
.lc-cs { color: var(--t3); font-size: 12px; white-space: nowrap; }
.lc-qq {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; margin-left: 4px;
  border-radius: 4px; background: #12b7f5; color: #fff; font-size: 12px; line-height: 1.5;
  text-decoration: none; transition: background .2s, transform .15s; user-select: none; vertical-align: middle;
}
.lc-qq:hover { background: #2fc1f7; text-decoration: none; color: #fff; }
.lc-qq:active { transform: scale(.96); }
.qq-ico { width: 14px; height: 14px; flex: none; }
/* turn130k-32：安卓版下载二维码区 —— 白底码块 + 文案，玻璃卡片化，整块可点击下载 APK */
.ll-dl { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.ll-dl:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); border-color: rgba(55, 212, 208, .45); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); }
.ll-dl-qr { width: 78px; height: 78px; flex: none; border-radius: 10px; background: #fff; padding: 5px; box-sizing: border-box; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.ll-dl-qr svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.ll-dl-txt { display: flex; flex-direction: column; gap: 4px; }
.ll-dl-txt b { font-size: 13.5px; color: #fff; letter-spacing: 1px; }
.ll-dl-txt span { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
/* 20261111s：扫码下载提示 —— 微信/QQ 内置浏览器会拦 APK 下载，明确要求用手机浏览器扫 */
.ll-dl-note {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  margin-top: 2px; padding: 1px 7px; border-radius: 999px;
  font-style: normal; font-size: 11px; line-height: 1.7; letter-spacing: .2px;
  color: #6ee7e3; background: rgba(55, 212, 208, .14); border: 1px solid rgba(55, 212, 208, .35);
}
.ll-dl-note::before { content: "▣"; font-size: 10px; }
.login-right { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--bg); position: relative; }
.login-right::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 119, 255, .08) 1px, transparent 1px); background-size: 22px 22px; }
/* 右上角一团品牌色柔光，跟左侧光斑呼应 */
.login-right::after { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 119, 255, .1), transparent 62%); pointer-events: none; }
.login-card { position: relative; width: 420px; background: var(--card); border-radius: 22px; box-shadow: 0 24px 70px rgba(29, 33, 41, .16); padding: 42px 42px 30px; animation: cardIn .45s ease; overflow: hidden; }
/* 卡片顶部一条品牌渐变细线，视觉锚点 */
.login-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
/* 登录卡白底：20261112c 起不加任何光晕，只保留轻微浮动，避免淡蓝图形被光晕糊掉 */
.lc-logo { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; animation: logoBob 3.4s ease-in-out infinite; }
.lc-head h2 { font-size: 23px; letter-spacing: 1px; }
.lc-head p { color: var(--t3); font-size: 12px; margin-top: 3px; }
.lc-body { display: flex; flex-direction: column; gap: 16px; }
.login-page .field label { display: block; font-size: 13px; color: var(--t2); margin-bottom: 7px; font-weight: 500; }
.ctrl { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; height: 48px; background: #f7f8fa; transition: border .15s, box-shadow .15s, background .15s; }
.ctrl:hover { border-color: #c9cdd4; }
.ctrl:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(22, 119, 255, .12); background: #fff; }
.f-ico { width: 17px; height: 17px; color: var(--t3); flex: none; transition: color .15s; }
.ctrl:focus-within .f-ico { color: var(--brand); }
.ctrl input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--t1); min-width: 0; }
.captcha { width: 108px; height: 36px; border-radius: 8px; cursor: pointer; flex: none; border: 1px solid var(--line); background: #fff; }
/* 图片验证码状态提示（命中本地缓存 / 本地无缓存时的说明） */
.cap-tip { margin-top: 6px; font-size: 12px; line-height: 1.5; color: #ff7d00; }
.btn-send { flex: none; border: 0; background: rgba(22, 119, 255, .08); color: var(--brand); font-size: 13px; padding: 8px 13px; border-radius: 9px; cursor: pointer; transition: background .15s, transform .1s; }
.btn-send:hover:not(:disabled) { background: rgba(22, 119, 255, .16); }
.btn-send:active:not(:disabled) { transform: scale(.96); }
.btn-send:disabled { color: var(--t3); background: #f2f3f5; cursor: not-allowed; }
.agree { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--t2); cursor: pointer; }
.agree input { accent-color: var(--brand); width: 15px; height: 15px; }
.agree a { color: var(--brand); text-decoration: none; font-weight: 500; }
.agree a:hover { text-decoration: underline; }
.btn-login { height: 48px; border: 0; border-radius: 12px; background: var(--grad); color: #fff; font-size: 16px; letter-spacing: 8px; cursor: pointer; box-shadow: 0 10px 24px rgba(22, 119, 255, .35); transition: transform .15s, box-shadow .15s, filter .15s; position: relative; overflow: hidden; }
/* 按钮扫光：hover 时一道高光划过，提升质感 */
.btn-login::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .5s; }
.btn-login:hover::after { left: 130%; }
.btn-login:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(22, 119, 255, .42); }
.btn-login:active { transform: none; }
.btn-login:disabled { filter: grayscale(.4); cursor: wait; }
.lc-tip { text-align: center; color: var(--t3); font-size: 12px; line-height: 1.6; }
/* turn130k-53：登录卡底部技术支持链接（公司官网） */
/* 2026-11-08：链接整块不拆行，避免窄屏把「技」字单独甩到下一行 */
.lc-tip a.lc-tech { color: var(--t3); text-decoration: none; transition: color .2s; white-space: nowrap; }
.lc-tip a.lc-tech:hover { color: var(--brand); text-decoration: underline; }
/* 2026-11-08：登录方式切换（与全站 .tabs 同款：白底横条 + 主题色下划线） */
.lc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line, #e5e6eb); margin: 0 0 16px; }
.lc-tab { flex: 1; text-align: center; padding: 10px 6px; font-size: 14px; color: var(--t2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; user-select: none; transition: color .15s; }
.lc-tab:hover { color: var(--brand); }
.lc-tab.active { color: var(--brand); font-weight: 600; border-bottom-color: var(--brand); }
.lc-row { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; color: var(--t3); margin: -2px 0 4px; }
.lc-row a { color: var(--brand); text-decoration: none; font-weight: 500; }
.lc-row a:hover { text-decoration: underline; }
.lc-row-tip { font-size: 12px; color: var(--t3); line-height: 1.6; }
/* 2026-11-08 注册页修正：
   ① components.css 的 .field input[type=text] 白底内框规则没覆盖 password，
      导致密码框是「无边框裸输入」且比手机号/姓名框矮一截 —— 这里补齐同款内框；
   ② 注册按钮是 inline-block，被 .btn-login 的 letter-spacing:8px 撑成窄块，改成整行按钮；
   ③ 密码框尾部增加「显示/隐藏」眼睛按钮。 */
.login-page .field input[type=password] {
  flex: 1; min-width: 0; width: auto; height: 42px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px; padding: 0 13px;
  font-size: 13.5px; font-family: inherit; color: var(--t1); background: #fff;
  outline: 0; transition: border .15s, box-shadow .15s, background .15s;
}
.login-page .field input[type=password]:hover { border-color: #c9cdd4; }
.login-page .field input[type=password]:focus { border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(22, 119, 255, .12); }
/* 切到明文后与相邻 text 输入框保持同宽，避免宽度跳动 */
.login-page .field input[type=text] { width: auto; }
.pwd-toggle { flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--t3); cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: color .15s, background .15s; }
.pwd-toggle:hover { color: var(--brand); background: rgba(22, 119, 255, .08); }
.pwd-toggle:active { transform: scale(.92); }
.pwd-toggle svg { width: 18px; height: 18px; }
.pwd-toggle .eye-off { display: none; }
.pwd-toggle.show .eye-open { display: none; }
.pwd-toggle.show .eye-off { display: block; }
/* 2026-11-08：密码复杂度实时提示 + 三段强度条（规则与后端 checkPasswordStrength 一致） */
.pwd-rule { margin-top: 7px; font-size: 12px; line-height: 1.5; color: var(--t3); transition: color .15s; }
.pwd-rule.err { color: #f53f3f; }
.pwd-rule.ok { color: #00b42a; }
.pwd-meter { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.pwd-meter i { flex: 1; height: 4px; border-radius: 2px; background: #e5e6eb; transition: background .2s; }
.pwd-meter em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; margin-left: 3px; }
.pwd-meter.lv1 i.on { background: #f53f3f; }
.pwd-meter.lv2 i.on { background: #ff7d00; }
.pwd-meter.lv3 i.on { background: #00b42a; }
.pwd-meter.lv1 em { color: #f53f3f; }
.pwd-meter.lv2 em { color: #ff7d00; }
.pwd-meter.lv3 em { color: #00b42a; }
/* 注册面板内部不是 flex 容器，字段之间要自己留白，否则「确认密码」会贴住上一个密码框 */
#lg-reg-only .field + .field { margin-top: 14px; }
#lg-reg-only .lc-row-tip { margin: 10px 0 0; }
#lg-reg-only .btn-login { display: block; width: 100%; letter-spacing: 2px; margin-top: 16px; }
#lg-reg-only .lc-back-row { margin: 16px 0 0; }
@media (max-width: 900px) { .login-left { display: none; } .login-card { width: 92%; max-width: 420px; } }

/* 20261112c：logo 只「动」不「发光」——上下浮动 + 缩放呼吸，
   滤镜光晕 / 明暗闪烁一律不用。启动画面与白底登录卡共用；
   登录左栏已有 llFloat，不再叠加。背景装饰光斑 llGlow 属于页面背景，不受此约束。 */
@keyframes logoBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
}
