/* ============================================================
   byc 登录 / 注册 — 1:1 ASP 范式 (8a.hk auth.css 移植, byc- 前缀)
   独立文件, 只在 /login.html /register.html 加载
   ============================================================ */

/* ========== Hero ========== */
.byc-auth-hero {
  position: relative;
  padding: 120px 0 80px;
  margin-top: 20px;
  background: linear-gradient(180deg, #EAF0FE 0%, #F5F7FE 60%, #fff 100%);
  color: #1A1F36;
  overflow: hidden;
}
.byc-auth-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.byc-auth-circle { display: none; }
.byc-auth-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43,109,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,109,232,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
@keyframes bycAuthFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.02); }
}
.byc-auth-hero-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.byc-auth-hero-content { flex: 1; }
.byc-auth-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(43,109,232,0.10);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #2B6DE8;
  margin-bottom: 20px;
  border: 1px solid rgba(43,109,232,0.20);
}
.byc-auth-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #1A1F36;
  margin: 0 0 16px;
  line-height: 1.2;
}
.byc-auth-hero-subtitle {
  font-size: 17px;
  color: #5A6178;
  margin: 0 0 28px;
  line-height: 1.8;
}
.byc-auth-hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.byc-auth-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(43,109,232,0.08);
  border-radius: 6px;
  font-size: 14px;
  color: #2B6DE8;
  border: 1px solid rgba(43,109,232,0.15);
}
.byc-auth-hero-illu { flex-shrink: 0; width: 320px; height: 260px; }
.byc-auth-hero-illu svg { width: 100%; height: 100%; }

/* ========== Main 区 ========== */
.byc-auth-main { background: #f7f9fc; padding: 60px 0 80px; }
.byc-auth-container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ========== Card ========== */
.byc-auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}
.byc-auth-card-header {
  padding: 32px 40px;
  border-bottom: 1px solid #e8ecf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.byc-auth-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.byc-auth-card-title svg { width: 28px; height: 28px; color: #2B6DE8; }
.byc-auth-header-links { font-size: 14px; color: #5a6689; }
.byc-auth-header-links a {
  color: #2B6DE8;
  text-decoration: none;
  font-weight: 500;
}
.byc-auth-header-links a:hover { text-decoration: underline; }
.byc-auth-card-body { padding: 50px 80px 60px; }
.byc-auth-form { width: 100%; }

/* ATPL-78: login 双 tab 切换 (密码 / 手机号) */
.byc-auth-tabs {
  display: flex; align-items: center; padding: 0 40px;
  border-bottom: 1px solid #e8ecf3; gap: 32px;
}
.byc-auth-tab {
  font-size: 18px; font-weight: 600; color: #8a93a8;
  padding: 22px 0 18px; cursor: pointer; position: relative;
  border-bottom: 2px solid transparent; user-select: none;
}
.byc-auth-tab:hover { color: #2B6DE8; }
.byc-auth-tab--active { color: #1a1a2e; border-bottom-color: #2B6DE8; }

/* 手机号登录 SMS 获取按钮 (跟 register.html 范式一致) */
.byc-auth-sms-send {
  flex-shrink: 0; height: 100%; padding: 0 14px;
  background: #2B6DE8; color: #fff; font-size: 13px;
  border: none; border-left: 1px solid #e8ecf3; cursor: pointer;
  white-space: nowrap;
}
.byc-auth-sms-send:hover:not(:disabled) { background: #1f5bc7; }
.byc-auth-sms-send:disabled { background: #b8c1d6; cursor: not-allowed; }

/* ========== Form-group 3 段式 ========== */
.byc-auth-form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(15px);
  animation: bycAuthFadeIn 0.5s ease forwards;
}
.byc-auth-spacer { width: 180px; flex-shrink: 0; }
.byc-auth-form-group:nth-child(1) { animation-delay: 0.05s; }
.byc-auth-form-group:nth-child(2) { animation-delay: 0.10s; }
.byc-auth-form-group:nth-child(3) { animation-delay: 0.15s; }
.byc-auth-form-group:nth-child(4) { animation-delay: 0.20s; }
.byc-auth-form-group:nth-child(5) { animation-delay: 0.25s; }
.byc-auth-form-group:nth-child(6) { animation-delay: 0.30s; }
.byc-auth-form-group:nth-child(7) { animation-delay: 0.35s; }
@keyframes bycAuthFadeIn { to { opacity: 1; transform: translateY(0); } }

.byc-auth-input-box {
  display: flex;
  align-items: stretch;
  width: 480px;
  flex-shrink: 0;
  border: 1px solid #e8ecf3;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}
.byc-auth-input-box:focus-within {
  border-color: #2B6DE8;
  box-shadow: 0 0 0 3px rgba(43, 109, 232, 0.08);
}
.byc-auth-input-box.has-error {
  border-color: #ff4d4f;
  animation: bycAuthShake 0.4s ease;
}
.byc-auth-input-box.has-error:focus-within { box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.08); }
.byc-auth-input-box.has-success { border-color: #52c41a; }
.byc-auth-input-box.has-success:focus-within { box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.08); }
.byc-auth-input-box.has-success .byc-auth-form-label {
  color: #52c41a;
  background: #f6ffed;
  border-right-color: #52c41a;
}
@keyframes bycAuthShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.byc-auth-form-label {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #1a1a2e;
  background: #fafafa;
  border-right: 1px solid #e8ecf3;
  transition: all 0.3s;
}
.byc-auth-input-box:focus-within .byc-auth-form-label {
  color: #2B6DE8;
  background: #f0f5ff;
  border-right-color: #2B6DE8;
}
.byc-auth-input {
  flex: 1;
  height: 50px;
  padding: 0 16px;
  border: none;
  font-size: 15px;
  color: #1a1a2e;
  background: transparent;
  outline: none;
  font-family: inherit;
  transition: all 0.3s;
  min-width: 0;
}
.byc-auth-input::placeholder { color: #bfbfbf; transition: color 0.3s; }
.byc-auth-input:focus::placeholder { color: #d9d9d9; }
.byc-auth-input:disabled,
.byc-auth-input[readonly] {
  background: #f5f5f5;
  color: #5a6689;
}

/* Suffix (eye + check + strength) */
.byc-auth-input-suffix {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  flex-shrink: 0;
}
.byc-auth-toggle-password {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #999;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.byc-auth-toggle-password:hover { color: #2B6DE8; }
.byc-auth-toggle-password svg { width: 20px; height: 20px; }
.byc-auth-check-icon {
  width: 20px;
  height: 20px;
  color: #52c41a;
  display: none;
}
.byc-auth-input-box.has-success .byc-auth-check-icon { display: block; }

.byc-auth-pass-strength {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 3px;
  display: none;
}
.byc-auth-pass-strength.show { display: inline-block; }
.byc-auth-pass-strength.weak   { color: #ff4d4f; background: #fff2f0; }
.byc-auth-pass-strength.medium { color: #faad14; background: #fffbe6; }
.byc-auth-pass-strength.strong { color: #52c41a; background: #f6ffed; }

/* SMS 验证码按钮 (内嵌 input-box 右侧, 跟 ASP 范式) */
.byc-auth-sms-btn {
  flex-shrink: 0;
  height: 50px;
  padding: 0 18px;
  background: #2B6DE8;
  border: none;
  border-left: 1px solid #e8ecf3;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: inherit;
}
.byc-auth-sms-btn:hover:not(:disabled) { background: #1E5AC7; }
.byc-auth-sms-btn:disabled {
  background: #d9d9d9;
  color: #999;
  cursor: not-allowed;
}

/* Tip (右侧 tooltip) */
.byc-auth-tip {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.byc-auth-tip-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  background: #e6f4ff;
  border: 1px solid #91caff;
  border-radius: 4px;
  font-size: 13px;
  color: #1677ff;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.byc-auth-tip-content::before {
  content: '';
  position: absolute;
  left: -7px; top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right-color: #91caff;
  border-left: none;
}
.byc-auth-tip-content::after {
  content: '';
  position: absolute;
  left: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #e6f4ff;
  border-left: none;
}
.byc-auth-tip-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.byc-auth-tip-content.error   { color: #ff4d4f; border-color: #ffccc7; background: #fff2f0; }
.byc-auth-tip-content.error::before { border-right-color: #ffccc7; }
.byc-auth-tip-content.error::after  { border-right-color: #fff2f0; }
.byc-auth-tip-content.success { color: #52c41a; border-color: #b7eb8f; background: #f6ffed; }
.byc-auth-tip-content.success::before { border-right-color: #b7eb8f; }
.byc-auth-tip-content.success::after  { border-right-color: #f6ffed; }

/* ========== Login: links row + remember ========== */
.byc-auth-links-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 28px;
  padding: 0 180px;
}
.byc-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #5a6689;
  cursor: pointer;
  user-select: none;
}
.byc-auth-remember input { width: 16px; height: 16px; accent-color: #2B6DE8; margin: 0; }
.byc-auth-link-primary {
  color: #2B6DE8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.byc-auth-link-primary:hover { color: #1E5AC7; text-decoration: underline; }
.byc-auth-link-muted {
  color: #8c94a8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.byc-auth-link-muted:hover { color: #2B6DE8; }

/* ========== Register: agreement ========== */
.byc-auth-agreement {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0;
  opacity: 0;
  transform: translateY(15px);
  animation: bycAuthFadeIn 0.5s ease forwards;
  animation-delay: 0.4s;
}
.byc-auth-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #2B6DE8;
  cursor: pointer;
  margin-right: 10px;
  transition: transform 0.2s;
}
.byc-auth-checkbox:hover { transform: scale(1.1); }
.byc-auth-agreement-text {
  font-size: 14px;
  color: #5a6689;
  line-height: 1.6;
}
.byc-auth-agreement-text a {
  color: #2B6DE8;
  text-decoration: none;
  transition: color 0.3s;
}
.byc-auth-agreement-text a:hover { color: #1E5AC7; text-decoration: underline; }

/* ========== Submit Button ========== */
.byc-auth-btn-wrap { display: flex; justify-content: center; }
.byc-auth-submit-btn {
  width: 480px;
  height: 52px;
  background: #2B6DE8;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(15px);
  animation: bycAuthFadeIn 0.5s ease forwards;
  animation-delay: 0.45s;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  letter-spacing: 2px;
}
.byc-auth-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.byc-auth-submit-btn:hover:not(:disabled)::before { left: 100%; }
.byc-auth-submit-btn:hover:not(:disabled) {
  background: #1E5AC7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 109, 232, 0.35);
}
.byc-auth-submit-btn:active:not(:disabled) { transform: translateY(0); }
.byc-auth-submit-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.byc-auth-submit-btn:disabled::before { display: none; }

/* ========== Card Footer ========== */
.byc-auth-card-footer {
  padding: 20px 40px;
  background: #f7f9fc;
  border-top: 1px solid #e8ecf3;
  text-align: center;
}
.byc-auth-footer-text { font-size: 14px; color: #5a6689; margin: 0; }
.byc-auth-footer-text a {
  color: #2B6DE8;
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
}
.byc-auth-footer-text a:hover { text-decoration: underline; }

/* ========== Features (3 个底部图标) ========== */
.byc-auth-features { display: flex; justify-content: center; gap: 40px; margin-top: 40px; }
.byc-auth-feature { text-align: center; }
.byc-auth-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(43, 109, 232, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.byc-auth-feature-icon svg { width: 24px; height: 24px; color: #2B6DE8; }
.byc-auth-feature-title { font-size: 14px; font-weight: 500; color: #1a1a2e; margin: 0; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .byc-auth-spacer,
  .byc-auth-tip { display: none; }
  .byc-auth-input-box { flex: 1; width: auto; }
  .byc-auth-submit-btn { width: 100%; }
  .byc-auth-links-row { padding: 0; }
}
@media (max-width: 768px) {
  .byc-auth-hero { padding: 80px 0 50px; }
  .byc-auth-hero-row { flex-direction: column; text-align: center; }
  .byc-auth-hero-illu { display: none; }
  .byc-auth-hero-tags { justify-content: center; }
  .byc-auth-hero-title { font-size: 28px; }
  .byc-auth-main { padding: 40px 0 60px; }
  .byc-auth-card { margin-top: -60px; border-radius: 12px; }
  .byc-auth-card-header { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  .byc-auth-card-body { padding: 30px 24px 36px; }
  .byc-auth-card-footer { padding: 18px 24px; }
  .byc-auth-form-label { width: 80px; font-size: 13px; }
  .byc-auth-input { height: 46px; font-size: 14px; }
  .byc-auth-sms-btn { height: 46px; padding: 0 14px; font-size: 13px; }
  .byc-auth-submit-btn { width: 100%; height: 48px; }
  .byc-auth-features { gap: 20px; }
  .byc-auth-feature-icon { width: 44px; height: 44px; }
  .byc-auth-feature-title { font-size: 13px; }
}


/* =====================================================
   ATPL-221P: landui 框架双栏布局 (左品牌 + 右登录卡片)
   - byc UCloud 浅蓝设计语言 (跟首页 hero 一致)
   - 单 section, 一屏一目了然 (撤旧 .byc-auth-hero + .byc-auth-main 上下堆叠)
   ===================================================== */
.byc-auth-page {
  position: relative;
  padding: 36px 0 48px;
  background: linear-gradient(180deg, #EAF0FE 0%, #F5F7FE 60%, #fff 100%);
  overflow: hidden;
}
/* ATPL-221Z: 装饰全部集中到登录卡左侧 (一组团), 主 hero + 4 个 qe-* 围绕浮动, 不散落
   左半页只留品牌信息文字, 装饰团跟卡片视觉对称构图 */
.byc-auth-page-bg { display: none; }
.byc-auth-page .byc-auth-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(43,109,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,109,232,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* 浅蓝光晕底色 (烘托卡片左侧装饰团) */
.byc-auth-page::before {
  content: ''; position: absolute;
  top: 50%; right: 30%;
  width: 600px; height: 600px;
  transform: translate(50%, -50%);
  background: radial-gradient(circle, rgba(43,109,232,0.18) 0%, rgba(43,109,232,0.04) 50%, transparent 75%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(30px);
}
/* 装饰团容器: row 内 flex item (左 deco | 右 card), 自身 relative 让 icon 用 absolute 定位 */
.byc-auth-deco {
  position: relative;
  flex-shrink: 0;
  width: 580px; height: 716px;
  pointer-events: none;
}
@media (max-width: 991px) {
  .byc-auth-deco { display: none; }
}
/* ATPL-221Z3: 大图 + 小图分散范式
   - 中央大图 hero.png: 420×340 居中靠上 (deco 中部主视觉)
   - 5 个小 product-*.png 分散在大图周围, 不挤压不重叠 */
.byc-auth-deco::before {
  content: ''; position: absolute;
  top: 22%; left: 50%;
  transform: translateX(-50%);
  width: 420px; height: 340px;
  background-image: url('/static/web/img/3d-icons/hero.png');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  animation: bycHeroBob 9s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(43,109,232,0.20));
  z-index: 1;
}
.byc-auth-icon {
  position: absolute; pointer-events: none;
  background-size: contain; background-repeat: no-repeat;
  filter: drop-shadow(0 12px 24px rgba(43,109,232,0.18));
  z-index: 2;
}
/* 5 个小图避开大图中央区 (top 158~498, left 80~500) — 散布上下左右 */
.byc-auth-icon--domain { top: 2%;    left: 4%;    width: 96px; height: 80px; background-image: url('/static/web/img/3d-icons/product-domain.png'); animation: bycIconDriftRight 7s ease-in-out infinite; }
.byc-auth-icon--ssl    { top: 6%;    right: 0;    width: 96px; height: 80px; background-image: url('/static/web/img/3d-icons/product-ssl.png');    animation: bycIconDriftLeft 8s ease-in-out infinite; animation-delay: -2s; }
.byc-auth-icon--host   { top: 50%;   left: -5%;   width: 96px; height: 80px; background-image: url('/static/web/img/3d-icons/product-host.png');   animation: bycIconDriftLeft 9s ease-in-out infinite; animation-delay: -1s; }
.byc-auth-icon--db     { bottom: 12%; left: 14%;  width: 104px; height: 86px; background-image: url('/static/web/img/3d-icons/product-db.png');     animation: bycIconDriftRight 8s ease-in-out infinite; animation-delay: -3s; }
.byc-auth-icon--idc    { bottom: 4%;  right: 8%;  width: 110px; height: 92px; background-image: url('/static/web/img/3d-icons/product-idc.png');    animation: bycIconDriftLeft 10s ease-in-out infinite; animation-delay: -5s; }
@keyframes bycHeroBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-14px); }
}
@keyframes bycIconDriftRight {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(28px); }
}
@keyframes bycIconDriftLeft {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-28px); }
}

/* 双栏布局 (撤 brand 后: deco 靠左对齐 logo + card 靠右, space-between) */
.byc-auth-row {
  position: relative; z-index: 5;
  display: flex; gap: 60px;
  align-items: center; justify-content: space-between;
  min-height: 716px;
}
@media (max-width: 991px) {
  .byc-auth-row { flex-direction: column; gap: 32px; justify-content: center; }
}

/* 左: 品牌信息 */
.byc-auth-brand {
  flex: 1; max-width: 560px;
  padding: 24px 0;
}
.byc-auth-brand-title {
  font-size: 32px; font-weight: 700; color: #1A1F36;
  line-height: 1.3; margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.byc-auth-brand-sep { color: #2B6DE8; }
.byc-auth-brand-sub {
  font-size: 15px; color: #5A6178;
  margin: 0 0 28px; line-height: 1.6;
}
.byc-auth-brand-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.byc-auth-brand-list li {
  font-size: 14px; color: #1A1F36; line-height: 1.5;
  display: flex; align-items: center; gap: 12px;
}
.byc-auth-li-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2B6DE8; flex-shrink: 0;
}
@media (max-width: 991px) {
  .byc-auth-brand { max-width: 100%; text-align: center; }
  .byc-auth-brand-list li { justify-content: center; }
  .byc-auth-brand-title { font-size: 26px; }
}

/* 右: 登录卡片 (ATPL-221U: 框架放大, input 间距加宽) */
.byc-auth-page .byc-auth-card {
  flex-shrink: 0;
  width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(43,109,232,0.14), 0 6px 20px rgba(0,0,0,0.05);
  padding: 0;
  margin-top: 0;
  overflow: hidden;
}
@media (max-width: 991px) {
  .byc-auth-page .byc-auth-card { width: 100%; max-width: 420px; }
}
/* 头部 - "会员登录" 标题 + QR 扫码登录预留 (ATPL-221U: padding 加大) */
.byc-auth-card-head {
  padding: 36px 44px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.byc-auth-qr {
  width: 36px; height: 36px; padding: 0;
  background: transparent; border: none; cursor: pointer;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.byc-auth-qr:hover { background: rgba(43,109,232,0.08); }
.byc-auth-qr-ico {
  display: block;
  width: 24px; height: 24px;
  background-color: #5A6178;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><rect x='3' y='3' width='7' height='7' rx='1'/><rect x='14' y='3' width='7' height='7' rx='1'/><rect x='3' y='14' width='7' height='7' rx='1'/><line x1='14' y1='14' x2='14' y2='15'/><line x1='17' y1='14' x2='17' y2='17'/><line x1='14' y1='17' x2='15' y2='17'/><line x1='14' y1='20' x2='17' y2='20'/><line x1='20' y1='14' x2='20' y2='20'/><line x1='17' y1='20' x2='20' y2='20'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'><rect x='3' y='3' width='7' height='7' rx='1'/><rect x='14' y='3' width='7' height='7' rx='1'/><rect x='3' y='14' width='7' height='7' rx='1'/><line x1='14' y1='14' x2='14' y2='15'/><line x1='17' y1='14' x2='17' y2='17'/><line x1='14' y1='17' x2='15' y2='17'/><line x1='14' y1='20' x2='17' y2='20'/><line x1='20' y1='14' x2='20' y2='20'/><line x1='17' y1='20' x2='20' y2='20'/></svg>");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.byc-auth-qr:hover .byc-auth-qr-ico { background-color: #2B6DE8; }
.byc-auth-page .byc-auth-card-title {
  font-size: 20px; font-weight: 600; color: #1A1F36;
  margin: 0;
  letter-spacing: 0.5px;
}
.byc-auth-page .byc-auth-card-body { padding: 0 44px; }

/* === Input 字段 (landui icon + input + action 一体范式) === */
/* ATPL-221U: input 框架放大 + 上下间距加宽 (用户反馈 "文本框上下间距太近")
   ATPL-221V: fld margin-bottom 4 + tip height 16 = 20px 总间距 (稳态布局, 不抖) */
.byc-auth-fld {
  position: relative;
  display: flex; align-items: center;
  width: 100%; height: 52px;
  margin-bottom: 4px;
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #E4E7ED inset;
  transition: box-shadow 0.15s;
}
.byc-auth-fld:hover { box-shadow: 0 0 0 1px #C0C4CC inset; }
.byc-auth-fld:focus-within {
  box-shadow: 0 0 0 1px #2B6DE8 inset, 0 0 0 2px rgba(43,109,232,0.10);
}
.byc-auth-fld-ico {
  flex-shrink: 0;
  width: 42px; height: 100%;
  background-color: #B0B6C5;
  -webkit-mask-image: var(--byc-fld-ico);
          mask-image: var(--byc-fld-ico);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 18px 18px; mask-size: 18px 18px;
  transition: background-color 0.15s;
}
.byc-auth-fld:focus-within .byc-auth-fld-ico { background-color: #2B6DE8; }
.byc-auth-fld-prefix {
  flex-shrink: 0;
  font-size: 14px; color: #4A5168;
  padding-right: 8px;
  border-right: 1px solid #E8EBF0;
  margin-right: 10px;
  height: 22px; line-height: 22px;
}
.byc-auth-fld-input {
  flex: 1; min-width: 0;
  height: 100%;
  border: none; outline: none;
  background: transparent;
  font-size: 14px; color: #1A1F36;
  font-family: inherit;
  padding-right: 12px;
}
.byc-auth-fld-input::placeholder { color: #B0B6C5; }
.byc-auth-fld-action {
  flex-shrink: 0;
  padding: 0 14px; height: 32px; margin-right: 8px;
  background: rgba(43,109,232,0.08); border: none; border-radius: 4px;
  color: #2B6DE8; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.byc-auth-fld-action:hover { background: rgba(43,109,232,0.14); color: #1E5BC6; }
.byc-auth-fld-action:disabled { background: #F2F3F5; color: #B0B6C5; cursor: not-allowed; }
/* ATPL-221V: eye 按钮 1:1 复用 .byc-auth-toggle-password (register/forgot 同款),
   不再自创 .byc-auth-eye. 仅在登录卡片内调位置/尺寸 */
.byc-auth-page .byc-auth-toggle-password {
  width: 36px; height: 100%;
  margin-right: 4px;
}
.byc-auth-page .byc-auth-toggle-password svg { width: 18px; height: 18px; }
.byc-auth-captcha-img {
  flex-shrink: 0;
  height: 100%; width: 100px;
  border: none; border-left: 1px solid #E8EBF0;
  cursor: pointer; background: #f5f7fa;
  object-fit: cover;
}

/* 4 个 icon variants (mask-image SVG, byc 主蓝 mask) */
.byc-auth-fld-ico--mobile {
  --byc-fld-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='6' y='2' width='12' height='20' rx='2'/><line x1='10' y1='18' x2='14' y2='18'/></svg>");
}
.byc-auth-fld-ico--shield {
  --byc-fld-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2L4 6v6c0 5 3.5 9 8 10 4.5-1 8-5 8-10V6l-8-4z'/><path d='M9 12l2 2 4-4'/></svg>");
}
.byc-auth-fld-ico--user {
  --byc-fld-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/></svg>");
}
.byc-auth-fld-ico--lock {
  --byc-fld-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'><rect x='5' y='11' width='14' height='10' rx='2'/><path d='M8 11V7a4 4 0 018 0v4' stroke-linecap='round'/></svg>");
}
.byc-auth-fld-ico--captcha {
  --byc-fld-ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>");
}

/* tip 提示 (ATPL-221T: 复刻 landui Element Plus 交互 — 默认不显示, 仅 error 时红色弹出)
   真测 landui: errsCount:0 默认, 点 "登录" 后才 visible:true color #FF4C4F bottom -14px */
.byc-auth-page .byc-auth-tip {
  position: relative;
  height: 16px; margin: 0; padding: 0 4px;
  width: auto !important;
  display: block !important;
  align-items: unset !important;
  overflow: visible;
}
.byc-auth-page .byc-auth-tip-content {
  position: static !important;
  font-size: 12px; color: #FF4C4F;
  line-height: 16px;
  display: none !important;
  opacity: 1 !important; visibility: visible !important;
  background: transparent !important; border: none !important; box-shadow: none !important;
  padding: 0 !important; margin: 0 !important; transform: none !important;
  white-space: nowrap;
}
.byc-auth-page .byc-auth-tip-content::before,
.byc-auth-page .byc-auth-tip-content::after { display: none !important; }
.byc-auth-page .byc-auth-tip-content.error {
  display: block !important;
  color: #FF4C4F !important;
}
/* landui 范式: success/show (focus hint) 不显示, 仅 error 红色 */
/* error 时 input border 变红 (跟 Element Plus is-error 一致) */
.byc-auth-page .byc-auth-fld.has-error {
  box-shadow: 0 0 0 1px #FF4C4F inset;
}
.byc-auth-page .byc-auth-fld.has-error:focus-within {
  box-shadow: 0 0 0 1px #FF4C4F inset, 0 0 0 3px rgba(255,76,79,0.12);
}
.byc-auth-page .byc-auth-fld.has-error .byc-auth-fld-ico { background-color: #FF4C4F; }
/* 成功态: row 绿边 + icon 绿色 + 右浮绿对勾 (1:1 landui has-success) */
.byc-auth-page .byc-auth-fld.has-success {
  box-shadow: 0 0 0 1px #67C23A inset;
}
.byc-auth-page .byc-auth-fld.has-success .byc-auth-fld-ico { background-color: #67C23A; }
.byc-auth-page .byc-auth-fld.has-success::after {
  content: '';
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='7.4' fill='none' stroke='%2367C23A' stroke-width='1.2'/><path d='M4.5 8 L7 10.5 L11.5 5.5' fill='none' stroke='%2367C23A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none;
  z-index: 3;
}
/* tip 容器已预留 16px 高度, error 时无需额外间距 */

/* ============================================================
   微信扫码登录 — 页内切换 (参考 landui: 不弹窗, 登录卡片内 "账号表单 ↔ 二维码" 切换)
   + 第三方快捷登录区 (QQ / 微信 图标, 卡片底部)
   ============================================================ */
/* 右上角图标: 账号态=二维码图标(切扫码) / 扫码态加 .is-back=显示器图标(切回账号登录) */
.byc-auth-qr.is-back .byc-auth-qr-ico {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='13' rx='1.5'/><line x1='8' y1='21' x2='16' y2='21'/><line x1='12' y1='17' x2='12' y2='21'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='13' rx='1.5'/><line x1='8' y1='21' x2='16' y2='21'/><line x1='12' y1='17' x2='12' y2='21'/></svg>");
}
/* 扫码区 (页内, 默认隐藏) — flex:1 撑满主体固定高度区, 内部 justify-center 让二维码垂直居中
   (高度由骨架的 .byc-auth-card-body min-height 统一约束, 不在这里硬编码) */
.byc-auth-scan {
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  flex: 1 1 auto;
}
.byc-auth-scan-qrwrap {
  width: 200px; height: 200px; margin: 0 auto;
  border: 1px solid #e6e9ef; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.byc-auth-scan-qrwrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.byc-auth-scan-loading { color: #b0b6c5; font-size: 13px; }
.byc-auth-scan-mask {
  position: absolute; inset: 0; background: rgba(255,255,255,.94);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; color: #666; font-size: 13px; gap: 6px;
}
.byc-auth-scan-mask.show { display: flex; }
.byc-auth-scan-mask b { color: #2B6DE8; }
.byc-auth-scan-tip { font-size: 14px; color: #555; line-height: 1.7; margin: 18px 0 0; }
.byc-auth-scan-tip b { color: #1aad19; }
.byc-auth-scan-tip .byc-auth-scan-sub { display: block; font-size: 12px; color: #9aa0ad; margin-top: 2px; }
/* (扫码态绑手机号子区已删 — 首次扫码未绑定统一跳 /connect 关联页) */
/* 扫码态底部明确返回入口 (右上角图标之外的直观返回) */
.byc-auth-scan-back-row { text-align: center; margin-top: 16px; }
.byc-auth-scan-back { font-size: 13px; color: #2B6DE8; cursor: pointer; text-decoration: none; }
.byc-auth-scan-back:hover { text-decoration: underline; }

/* 第三方快捷登录区 (卡片底部; account 态显示, 扫码态隐藏) */
.byc-auth-third {
  display: flex; align-items: center; gap: 12px;
}
.byc-auth-third-label { font-size: 13px; color: #9aa0ad; }
.byc-auth-third-ico {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s, opacity .15s;
}
.byc-auth-third-ico svg { width: 20px; height: 20px; display: block; }
.byc-auth-third-ico:hover { transform: translateY(-2px); }
.byc-auth-third-qq { color: #12b7f5; }
.byc-auth-third-wx { color: #1aad19; }

/* ============================================================
   ATPL-221Z6: 注册 / 找回密码 — 1:1 真测复刻 landui (el-form-item DOM 范式)
   landui 实测: wrapper 360×45, label 浮 absolute 在 wrap 内 left:0 top:1 w:80 h:43
                padding-left:12, border-right:1px #DDD, color:#999, lh:43, bg:transparent
                input padding-left:95 (label 让位), font 12 color #606266
                SMS btn absolute 浮 wrap 内 right:6 top:6 w:110 h:32 bg 主蓝
                error: label 红字 + wrap 红边 + 右侧浮 msg 红 box
   ============================================================ */
.byc-auth-reg-page {
  background: #F3F5F8;
  padding: 60px 0 80px;
}
.byc-auth-reg-card {
  width: 800px; max-width: 92%;
  margin: 0 auto;
  background: #fff;
  border-radius: 4px;
  padding: 40px 80px 48px;
}
.byc-auth-reg-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.byc-auth-reg-title {
  font-size: 20px; font-weight: 500; color: #1A1F36;
  margin: 0 0 0 200px;
}
.byc-auth-reg-login {
  font-size: 13px; color: #5A6178;
}
.byc-auth-reg-login a {
  color: #2B6DE8; text-decoration: none; margin-left: 4px;
}
.byc-auth-reg-login a:hover { text-decoration: underline; }

/* 每行: position relative w 360 h 45 (wrapper 范围), msg 浮 wrap 外右侧 */
.byc-auth-reg-row {
  position: relative;
  width: 360px;
  height: 45px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #DCDFE6 inset;
  transition: box-shadow 0.15s;
}
.byc-auth-reg-row:focus-within {
  box-shadow: 0 0 0 1px #2B6DE8 inset;
}
/* label 浮在 wrap 内左侧 (transparent bg + 右侧 1px 灰线) */
.byc-auth-reg-label {
  position: absolute;
  left: 0; top: 1px;
  width: 80px; height: 43px;
  padding-left: 12px;
  font-size: 14px; color: #999;
  line-height: 43px;
  border-right: 1px solid #DDD;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}
/* input: padding-left 95 让 label 位置, 加 right padding 给 ⓘ / SMS btn 让位 */
.byc-auth-reg-input {
  width: 100%; height: 100%;
  padding: 0 12px 0 95px;
  border: none; outline: none;
  background: transparent;
  font-size: 12px; color: #606266;
  font-family: inherit;
  border-radius: 4px;
}
.byc-auth-reg-input::placeholder { color: #B0B6C5; }
/* SMS 验证码 row: input padding-right 给 button 让位 */
.byc-auth-reg-row--sms .byc-auth-reg-input { padding-right: 124px; }
.byc-auth-reg-sms-btn {
  position: absolute;
  right: 6px; top: 6px;
  width: 110px; height: 32px;
  background: #2B6DE8; color: #fff; border: none;
  font-size: 13px; cursor: pointer; font-family: inherit;
  border-radius: 3px;
  transition: background 0.15s;
}
.byc-auth-reg-sms-btn:hover { background: #1E5BC6; }
.byc-auth-reg-sms-btn:disabled { background: #B0C2E5; cursor: not-allowed; }
/* 图形验证码 row: input padding-right 让 img */
.byc-auth-reg-row--captcha .byc-auth-reg-input { padding-right: 114px; }
/* 密码 row: input padding-right 给 eye + ⓘ 让位 */
.byc-auth-reg-row--pass .byc-auth-reg-input { padding-right: 56px; }
.byc-auth-reg-eye {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: none; border: none; cursor: pointer; padding: 0;
  color: #B0B6C5;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.byc-auth-reg-eye:hover { color: #2B6DE8; }
.byc-auth-reg-eye svg { width: 18px; height: 18px; }
/* pass row valid: 对勾移到 eye 左边 (避开 eye) */
.byc-auth-reg-row--pass.has-success::after { right: 38px; }
.byc-auth-reg-captcha-img {
  position: absolute;
  right: 1px; top: 1px;
  height: 43px; width: 100px;
  border-left: 1px solid #E8EBF0;
  cursor: pointer; background: #f5f7fa;
  object-fit: cover;
}

/* ⓘ tooltip 图标 (橙色, hover 弹 data-tip 内容): 浮在 wrap 外右侧 */
.byc-auth-reg-icon {
  position: absolute;
  right: -30px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  cursor: help;
  z-index: 2;
}
.byc-auth-reg-icon::after {
  content: '!';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.4px solid #F59E0B;
  color: #F59E0B;
  font-family: Arial, sans-serif; font-size: 11px; font-weight: 600;
  text-align: center; line-height: 13px;
  background: transparent;
}
.byc-auth-reg-icon[data-tip]:hover::before {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 10px); top: 50%;
  transform: translateY(-50%);
  background: #1F2433; color: #fff;
  font-size: 12px; line-height: 1.5;
  padding: 8px 12px; border-radius: 3px;
  max-width: 320px; min-width: 240px;
  white-space: normal;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* 默认: ⓘ 仅 hint 类型 (密码字段) 才显示, 错误时整行变红 ⓘ 也显示 */
.byc-auth-reg-row:not(.has-error) .byc-auth-reg-icon:not(.byc-auth-reg-icon--hint) {
  display: none;
}

/* 错误态: label 红字 + row 红边 + msg 显示 + ⓘ 红 */
.byc-auth-reg-row.has-error {
  box-shadow: 0 0 0 1px #FF4C4F inset;
}
.byc-auth-reg-row.has-error .byc-auth-reg-label {
  color: #FF4C4F;
  border-right-color: #FF4C4F;
}
.byc-auth-reg-row.has-error .byc-auth-reg-icon::after {
  border-color: #FF4C4F;
  color: #FF4C4F;
}

/* 成功态: row 绿边 + 右浮绿对勾 (1:1 landui is-success #67C23A) */
.byc-auth-reg-row.has-success {
  box-shadow: 0 0 0 1px #67C23A inset;
}
.byc-auth-reg-row.has-success::after {
  content: '';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='7.4' fill='none' stroke='%2367C23A' stroke-width='1.2'/><path d='M4.5 8 L7 10.5 L11.5 5.5' fill='none' stroke='%2367C23A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none;
  z-index: 3;
}
/* sms / captcha row: 右侧有按钮/img, 对勾左移让位 */
.byc-auth-reg-row--sms.has-success::after { right: 130px; }
.byc-auth-reg-row--captcha.has-success::after { right: 116px; }

/* 错误 msg 浮 wrap 外右侧 (跟 row 同高) */
.byc-auth-reg-msg {
  display: none;
  position: absolute;
  left: calc(100% + 12px); top: 50%;
  transform: translateY(-50%);
  font-size: 12px; color: #FF4C4F;
  background: #FFF5F5;
  border: 1px solid #FFCCC7;
  padding: 6px 10px; border-radius: 3px;
  white-space: nowrap;
  z-index: 5;
}
.byc-auth-reg-row.has-error .byc-auth-reg-msg { display: block; }

/* 同意协议 (在 row 下方, 跟 row 同 width 居中) */
.byc-auth-reg-agree {
  width: 360px;
  margin: 8px auto 20px;
}
.byc-auth-reg-agree-label {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 12px; color: #5A6178;
  cursor: pointer; line-height: 1.6;
}
.byc-auth-reg-checkbox {
  width: 14px; height: 14px; margin: 2px 0 0;
  accent-color: #2B6DE8; cursor: pointer; flex-shrink: 0;
}
.byc-auth-reg-agree a {
  color: #2B6DE8; text-decoration: none;
}
.byc-auth-reg-agree a:hover { text-decoration: underline; }

/* 注册/重置按钮 (跟 row 同 width 居中, 高 48) */
.byc-auth-reg-submit {
  display: block;
  width: 360px; height: 48px;
  margin: 0 auto;
  background: #B6D2F8; color: #fff; border: none;
  border-radius: 4px;
  font-size: 16px; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
  letter-spacing: 2px;
}
.byc-auth-reg-submit.byc-auth-reg-submit--ready {
  background: #2B6DE8;
}
.byc-auth-reg-submit.byc-auth-reg-submit--ready:hover { background: #1E5BC6; }
.byc-auth-reg-submit:disabled { cursor: not-allowed; }

@media (max-width: 768px) {
  .byc-auth-reg-card { padding: 24px; }
  .byc-auth-reg-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .byc-auth-reg-title { margin-left: 0; }
  .byc-auth-reg-row, .byc-auth-reg-agree, .byc-auth-reg-submit { width: 100%; max-width: 360px; }
  .byc-auth-reg-msg { position: static; transform: none; margin-top: 4px; }
  .byc-auth-reg-icon { right: 8px; }
}

/* === 同意服务协议 复选框行 (register.html 用) === */
.byc-auth-agree-row {
  margin: 8px 0 16px;
  font-size: 13px; color: #5A6178;
}
.byc-auth-agree {
  display: flex; align-items: flex-start; gap: 8px;
  cursor: pointer;
}
.byc-auth-agree input[type="checkbox"] {
  width: 16px; height: 16px; margin: 2px 0 0;
  accent-color: #2B6DE8; cursor: pointer; flex-shrink: 0;
}
.byc-auth-agree span { line-height: 1.5; }
.byc-auth-agree a {
  color: #2B6DE8; text-decoration: none;
}
.byc-auth-agree a:hover { text-decoration: underline; }

/* === 切换链接行 (landui 范式: 左 切换 + 右 立即注册, ATPL-221U 间距加大) === */
.byc-auth-switch-row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 0 22px;
  font-size: 14px;
  white-space: nowrap;
}
.byc-auth-switch-link {
  color: #2B6DE8; text-decoration: none; cursor: pointer;
}
.byc-auth-switch-link:hover { text-decoration: underline; }
.byc-auth-reg-link { color: #5A6178; }
.byc-auth-reg-link a {
  color: #2B6DE8; text-decoration: none; font-weight: 500; margin-left: 4px;
}
.byc-auth-reg-link a:hover { text-decoration: underline; }

/* === 主蓝 full-width 登录按钮 (ATPL-221U 加大) === */
.byc-auth-page .byc-auth-submit-btn {
  width: 100%; height: 52px;
  background: #2B6DE8; color: #fff; border: none;
  border-radius: 4px; font-size: 16px; font-weight: 500;
  cursor: pointer; transition: background 0.15s, transform 0.1s;
  font-family: inherit;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.byc-auth-page .byc-auth-submit-btn:hover { background: #1E5BC6; }
.byc-auth-page .byc-auth-submit-btn:active { transform: translateY(1px); }
.byc-auth-page .byc-auth-submit-btn:disabled { background: #B0C2E5; cursor: not-allowed; }

/* === 卡片底部 - 忘记密码 (右对齐, ATPL-221U 加大 padding) === */
/* ============================================================
   登录卡片底层骨架 — head / body / foot 三段, account ↔ scan 共用,
   切换只换 body 内容 + foot 内容, 卡片宽/高/头/尾位置全锁死 (不再缝补)
   ============================================================ */
.byc-auth-page .byc-auth-card { display: flex; flex-direction: column; }
/* 主体固定高度区: 账号表单 / 二维码 共用此高度区, 表单撑满 / 二维码居中 */
.byc-auth-page .byc-auth-card-body { min-height: 288px; display: flex; flex-direction: column; }
#bycAuthFormPane { flex: 1 1 auto; padding-top: 8px; }
/* 底部固定一行 (位置永不变): 容器居中包裹, 内部 account 行 space-between / scan 行返回链接 */
.byc-auth-card-foot {
  padding: 16px 44px 32px;
  min-height: 80px;   /* 固定底部高度(border-box): 账号态 footAccount(图标32) / 扫码态 scanBack 都在此高度内居中, 锁死 cardH */
  display: flex; align-items: center; justify-content: center;
}
.byc-auth-foot-account { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.byc-auth-foot-spacer { flex: 1; }
.byc-auth-foot-scanback { font-size: 13px; color: #2B6DE8; text-decoration: none; cursor: pointer; }
.byc-auth-foot-scanback:hover { text-decoration: underline; }

/* /connect 账号关联页 (微信/QQ 未绑定: 绑定已有 / 注册新 两入口) */
.byc-connect-tip { font-size: 14px; color: #555; line-height: 1.6; margin: 0 0 18px; text-align: center; }
.byc-connect-tip b { color: #1aad19; }
.byc-connect-tabs { display: flex; margin-bottom: 22px; border-bottom: 1px solid #e8ebf0; }
.byc-connect-tab {
  flex: 1; text-align: center; padding: 10px 0; font-size: 15px; color: #5A6178;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.byc-connect-tab:hover { color: #2B6DE8; }
.byc-connect-tab--active { color: #2B6DE8; border-bottom-color: #2B6DE8; font-weight: 500; }
.byc-connect-pane .byc-auth-fld { margin-bottom: 14px; }
.byc-connect-pane .byc-auth-submit-btn { margin-top: 6px; }
.byc-auth-foot-forget {
  font-size: 14px; color: #5A6178; text-decoration: none;
}
.byc-auth-foot-forget:hover { color: #2B6DE8; }

