/* ── 认证页卡片：复用 BI 看板 .gc 模块卡片风格 ── */
body {
  background: #040a18;
  color: #d0e4ff; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-card {
  position: relative;
  background: rgba(6,12,40,.82);
  border: none; border-radius: 2px;
  padding: 2.5rem;
  width: 100%; max-width: 420px;
  box-shadow: inset 0 0 20px rgba(0,40,120,.12), 0 4px 20px rgba(0,0,0,.20);
}
.auth-card.wide { max-width: 480px; }

/* 主边框：霓虹蓝紫渐变 */
.auth-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 2px;
  border: 1.5px solid;
  border-image: linear-gradient(180deg,
    rgba(100,200,255,.55) 0%, rgba(0,160,255,.35) 15%,
    rgba(60,50,200,.18) 50%, rgba(140,40,200,.18) 85%,
    rgba(80,140,255,.35) 100%) 1;
  pointer-events: none; z-index: 2;
  box-shadow: 0 0 6px rgba(0,180,255,.10);
}

/* 顶部聚光亮线 */
.auth-card::after {
  content: ''; position: absolute; top: -2px; left: 10%; right: 10%;
  height: 2px; z-index: 7;
  background: radial-gradient(ellipse at center,
    rgba(180,230,255,.45), rgba(0,200,255,.20), transparent);
}

/* 四角 L 形角标 */
.corner { position: absolute; pointer-events: none; z-index: 6; }
.corner.tl { top: -6px; left: -6px; width: 28px; height: 28px;
  border-top: 3px solid rgba(100,200,255,.80); border-left: 3px solid rgba(100,200,255,.80);
  box-shadow: 0 0 6px rgba(0,180,255,.25); }
.corner.tr { top: -6px; right: -6px; width: 28px; height: 28px;
  border-top: 3px solid rgba(100,200,255,.80); border-right: 3px solid rgba(100,200,255,.80);
  box-shadow: 0 0 6px rgba(0,180,255,.25); }
.corner.bl { bottom: -6px; left: -6px; width: 24px; height: 24px;
  border-bottom: 2.5px solid rgba(160,80,255,.70); border-left: 2.5px solid rgba(160,80,255,.70);
  box-shadow: 0 0 6px rgba(140,60,255,.20); }
.corner.br { bottom: -6px; right: -6px; width: 24px; height: 24px;
  border-bottom: 2.5px solid rgba(160,80,255,.70); border-right: 2.5px solid rgba(160,80,255,.70);
  box-shadow: 0 0 6px rgba(140,60,255,.20); }

/* 标题头区 */
.auth-head {
  position: relative;
  border-bottom: 1px solid rgba(0,140,255,.25);
  background: linear-gradient(90deg, rgba(40,16,100,.20), rgba(20,12,80,.12), rgba(0,40,120,.08), transparent);
  margin: -2.5rem -2.5rem 1.5rem -2.5rem;
  padding: .8rem 2.5rem;
}
.auth-head h2 {
  font-weight: 800; color: #00d4ff; font-size: 1.5rem; letter-spacing: .15em; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  text-shadow: 0 0 18px rgba(0,212,255,.3);
}
.auth-head h2::before {
  content: ''; display: inline-block; width: 4px; height: 20px;
  background: #00d4ff; border-radius: 2px;
  box-shadow: 0 0 8px #00d4ff;
}
.auth-head p {
  text-align: center; font-size: .88rem; color: #8aa8cc; margin: .5rem 0 0;
}

/* 表单控件 */
.form-control {
  background: rgba(0,40,80,.4); border: 1px solid rgba(0,120,200,.12);
  color: #d0e4ff; border-radius: 4px;
}
.form-control:focus {
  background: rgba(0,40,80,.6); border-color: #00d4ff;
  color: #fff; box-shadow: 0 0 8px rgba(0,212,255,.25);
}
.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #3a8bff);
  border: none; font-weight: 600;
}
.btn-primary:hover { background: linear-gradient(135deg, #3a8bff, #00d4ff); }
.alert { font-size: 0.9rem; }

/* QR 码区 */
.qr-container { text-align: center; margin: 1.2rem 0; }
.qr-container img { border-radius: 6px; border: 1.5px solid rgba(0,120,200,.25); }
.secret-text {
  font-family: monospace; background: rgba(0,40,80,.4);
  padding: 6px 12px; border-radius: 4px; display: inline-block;
  color: #00d4ff; letter-spacing: 2px;
  border: 1px solid rgba(0,120,200,.12);
}
