﻿/* classObservation · login.aspx 的 样式（第 1 块）
   2026-10-05 从 login.aspx 页内抽出。改完用 _probe/hashCO.py --do 重算 ?v=。 */
:root{ --primary:#1B62DD; --primary-2:#3E8BFF; --bg:#F4F5F7; --txt:#1A1A1A; --txt2:#767C8A; --line:#E6E8EC; --danger:#E34D59; }
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
     background:var(--bg);color:var(--txt);display:flex;min-height:100vh}

/* ---------- 左侧品牌区 ---------- */
.brand{flex:1 1 54%;position:relative;overflow:hidden;color:#fff;display:flex;flex-direction:column;
       padding:46px 56px;background:linear-gradient(135deg,#123C86 0%,var(--primary) 48%,var(--primary-2) 100%)}
.brand::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;
               border:1px solid rgba(255,255,255,.10);right:-120px;top:-90px}
.brand::after{content:"";position:absolute;width:560px;height:560px;border-radius:50%;
              background:rgba(255,255,255,.05);right:-70px;bottom:-260px}
.brand-head{display:flex;align-items:center;gap:12px}
.brand-head .emblem{width:44px;height:44px;display:block;flex:none}
.brand-head .schoolname{height:26px;display:block}
.brand-main{flex:1;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}
.brand-main .dash{width:36px;height:4px;background:rgba(255,255,255,.85);border-radius:2px;margin-bottom:26px}
.brand-main h1{font-size:46px;font-weight:700;letter-spacing:3px;margin:0 0 14px}
.brand-main .sub{font-size:15px;color:rgba(255,255,255,.8)}
.feats{margin-top:40px}
.feats .item{display:flex;align-items:flex-start;margin-bottom:20px}
.feats .ico{width:34px;height:34px;border-radius:8px;flex:none;background:rgba(255,255,255,.14);
            text-align:center;line-height:34px;font-size:15px;margin-right:13px}
.feats .t{font-size:14.5px;font-weight:600;margin-bottom:3px}
.feats .d{font-size:12px;color:rgba(255,255,255,.6)}
.brand-foot{font-size:12px;color:rgba(255,255,255,.42);position:relative;z-index:1}

/* ---------- 右侧扫码区 ---------- */
.panel{flex:1 1 46%;display:flex;align-items:center;justify-content:center;padding:28px}
.card{width:400px;max-width:100%;background:#fff;border-radius:18px;padding:34px 28px 26px;text-align:center;
      box-shadow:0 12px 40px rgba(20,30,60,.10)}
.card .pill{display:inline-block;font-size:12px;color:var(--primary);background:#EEF3FE;border-radius:999px;
            padding:5px 16px;margin-bottom:16px}
.card h2{font-size:21px;margin:0 0 8px}
.card .tip{font-size:13px;color:var(--txt2);margin-bottom:18px}
.card .err{font-size:12.5px;color:var(--danger);background:#FDF0F1;border:1px solid #F7D4D8;
           border-radius:8px;padding:8px 10px;margin-bottom:14px;word-break:break-all}
.qrwrap{position:relative;width:330px;height:400px;max-width:100%;margin:0 auto;border:1px solid var(--line);
        border-radius:14px;overflow:hidden;background:#fff}
.qrwrap iframe{width:100%;height:100%;border:0;display:block}
.qrmask{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
        gap:12px;background:#fff;font-size:13px;color:var(--txt2);z-index:2;padding:20px;text-align:center}
.qrmask .retrybtn{display:none;border:1px solid var(--primary);color:var(--primary);background:#fff;
                  border-radius:8px;padding:7px 20px;font-size:13px;cursor:pointer;font-family:inherit}
.qrnote{font-size:12.5px;color:var(--txt2);margin-top:16px}
.divider{font-size:11px;color:#C2CCC7;margin:18px 0 10px}
.help{font-size:12px;color:#A8B3AE;line-height:1.8}
.help b{color:var(--txt2);font-weight:500}

@media (max-width:860px){
  body{flex-direction:column}
  .brand{padding:26px 22px;min-height:0}
  .brand-main{display:none}
  .brand-head .emblem{width:36px;height:36px}.brand-head .schoolname{height:20px}
  .panel{flex:1;padding:20px 14px 32px;align-items:flex-start}
  .card{padding:26px 20px 22px}
  .qrwrap{height:380px}
}
