body.login-mode #root { display: none !important; }
body.login-mode { background: #eef1f7; }

.al-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 120px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.al-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  padding: 28px 24px 20px;
  text-align: center;
}
.al-logo {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 14px; background: #2563eb; color: #fff;
  font-size: 24px; font-weight: 700; line-height: 56px;
}
.al-card h1 { font-size: 20px; color: #1e293b; margin: 0 0 4px; font-weight: 600; }
.al-sub { font-size: 13px; color: #64748b; margin: 0 0 22px; }

.al-form { text-align: left; }
.al-title { font-size: 18px; font-weight: 600; color: #1e293b; text-align: center; margin-bottom: 6px; }
.al-hint { font-size: 12px; color: #64748b; text-align: center; margin: 0 0 18px; line-height: 1.6; }
.al-form label { display: block; font-size: 13px; color: #334155; margin: 12px 0 6px; }
.al-form input {
  width: 100%; box-sizing: border-box; height: 44px; padding: 0 12px;
  border: 1px solid #d5dbe5; border-radius: 8px; font-size: 15px; outline: none;
  background: #fff; color: #0f172a;
}
.al-form input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.al-form button {
  width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 8px;
  background: #2563eb; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.al-form button:disabled { opacity: .6; cursor: default; }
.al-msg { min-height: 18px; margin-top: 12px; font-size: 13px; line-height: 1.6; word-break: break-all; text-align: center; }

.al-foot { font-size: 12px; color: #94a3b8; margin: 22px 0 0; }

.al-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 14px 20px 20px; background: #fff;
  border-top: 1px solid #eef1f5; text-align: center;
  box-shadow: 0 -6px 18px rgba(15, 23, 42, .06);
}
.al-tip { font-size: 12px; color: #64748b; }
.al-err { font-size: 13px; color: #e5484d; line-height: 1.6; word-break: break-all; }
.al-spin {
  display: inline-block; width: 14px; height: 14px; margin-right: 8px;
  border: 2px solid #07c160; border-top-color: transparent; border-radius: 50%;
  animation: alspin .8s linear infinite; vertical-align: -2px;
}
@keyframes alspin { to { transform: rotate(360deg); } }

/* ===== 企业微信自动登录全屏遮罩 ===== */
.wx-auto{position:fixed;inset:0;background:#f8fafc;display:flex;align-items:center;justify-content:center;z-index:99999}
.wx-auto[hidden]{display:none!important}
.wx-box{text-align:center;padding:28px;max-width:300px}
.wx-spin{width:34px;height:34px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;margin:16px auto 14px;animation:wxspin .8s linear infinite}
@keyframes wxspin{to{transform:rotate(360deg)}}
.wx-auto p{color:#475569;font-size:14px;line-height:1.7;margin:0}
#wxRetry{margin-top:18px;padding:10px 22px;border:0;border-radius:10px;background:#2563eb;color:#fff;font-size:14px}
