@charset "utf-8";
/* 微信商户平台 风格 —— 登录 / 注册 */

:root{
  --g:#07C160; --gd:#06AD56; --ink:#1F2329; --sub:#8A9099;
  --line:#E6E8EB; --bg:#F4F5F7; --card:#fff;
}

*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{ height:100%; }
body.auth-body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;
  font-size:14px;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }

.auth-wrap{
  width:100%;
  max-width:420px;
  margin:0 auto;
  padding:56px 18px 40px;
}
.auth-brand{ text-align:center; }
.auth-logo{
  width:52px; height:52px; margin:0 auto 16px;
  border-radius:13px;
  background:linear-gradient(145deg,#0BD06C,#07C160);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 18px rgba(7,193,96,.24);
}
.auth-logo i{ color:#fff; font-size:26px; }
.auth-title{ font-size:20px; font-weight:600; letter-spacing:.5px; margin:0; color:var(--ink); }
.auth-sub{ font-size:13px; color:var(--sub); margin-top:8px; }

.auth-card{
  margin-top:28px;
  background:var(--card);
  border-radius:8px;
  padding:0 28px 26px;
  box-shadow:0 2px 10px rgba(17,24,39,.05), 0 12px 32px rgba(17,24,39,.05);
}

/* 切换 tab */
.auth-tabs{
  display:flex;
  margin:0 -28px 22px;
  border-bottom:1px solid var(--line);
}
.auth-tab{
  flex:1;
  text-align:center;
  padding:18px 0 14px;
  font-size:14px;
  color:#5A6068;
  position:relative;
  cursor:pointer;
}
.auth-tab.active{ color:var(--g); font-weight:600; }
.auth-tab.active::after{
  content:""; position:absolute; left:50%; bottom:-1px; transform:translateX(-50%);
  width:44px; height:2px; background:var(--g); border-radius:2px;
}

/* 表单 */
.auth-form{ margin:0; }
.auth-field{ margin-bottom:14px; position:relative; }
.auth-input{
  display:block;
  width:100%;
  height:44px;
  padding:0 14px;
  font-size:14px;
  color:var(--ink);
  background:#fff;
  border:1px solid var(--line);
  border-radius:5px;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
  font-family:inherit;
}
.auth-input::placeholder{ color:#A8AEB6; }
.auth-input:focus{ border-color:var(--g); box-shadow:0 0 0 3px rgba(7,193,96,.10); }
.auth-input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px #fff inset;
  -webkit-text-fill-color:var(--ink);
}

.auth-btn{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:44px;
  margin-top:6px;
  background:var(--g);
  color:#fff;
  font-size:15px;
  font-weight:600;
  letter-spacing:1px;
  border:0; border-radius:5px;
  cursor:pointer;
  transition:background .18s, transform .12s;
  font-family:inherit;
}
.auth-btn:hover{ background:var(--gd); }
.auth-btn:active{ transform:scale(.995); }
.auth-btn[disabled]{ opacity:.6; cursor:not-allowed; }

/* 链接行 */
.auth-links{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
  font-size:13px;
  color:#5A6068;
}
.auth-links a:hover{ color:var(--g); }

/* 其他登录 */
.auth-others{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--line);
  text-align:center;
}
.auth-others-title{ font-size:12.5px; color:#A0A6AE; letter-spacing:.5px; }
.auth-others-row{ display:flex; justify-content:center; gap:12px; margin-top:12px; }
.auth-other-btn{
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  transition:.18s;
}
.auth-other-btn:hover{ border-color:#CFD4DA; background:#FAFBFC; }
.auth-other-btn img{ width:22px; height:22px; border-radius:50%; }

/* 验证码容器 */
.captcha-box{ margin:2px 0 14px; min-height:44px; }
#captcha{ width:100%; }
#captcha_text{
  height:44px; line-height:44px;
  text-align:center;
  font-size:13px;
  color:#A8AEB6;
  background:#FAFBFC;
  border:1px dashed var(--line);
  border-radius:5px;
}
#captcha_wait{ display:none; text-align:center; padding:12px 0; color:var(--sub); font-size:12.5px; }
#captchaform{ display:none; }

/* 注册：条款勾选 */
.auth-check{
  display:flex; align-items:center; gap:8px;
  margin:4px 0 18px;
  font-size:13px;
  color:#5A6068;
}
.auth-check input[type=checkbox]{ width:15px; height:15px; accent-color:var(--g); }
.auth-check a{ color:var(--g); }

/* 提示条 */
.auth-note{
  margin:0 0 16px;
  padding:10px 12px;
  background:#F0FBF5;
  border-radius:5px;
  font-size:12.5px;
  color:#1E8E5A;
}

/* 验证码输入组 */
.auth-code-row{ display:flex; gap:10px; }
.auth-code-row .auth-input{ flex:1; }
.auth-code-btn{
  flex:none; width:108px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  border-radius:5px;
  background:#fff;
  color:#5A6068;
  font-size:13px;
  cursor:pointer;
  white-space:nowrap;
}
.auth-code-btn:hover{ border-color:var(--g); color:var(--g); }
.auth-code-btn[disabled]{ color:#B9BEC5; border-color:var(--line); cursor:default; }

/* 页脚 */
.auth-footer{
  margin-top:26px;
  text-align:center;
  font-size:12px;
  color:#A0A6AE;
  line-height:1.9;
}
.auth-footer a{ color:#8A9099; }
.auth-footer a:hover{ color:var(--g); }

/* 二次按钮（返回登录） */
.auth-btn-ghost{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:42px;
  margin-top:10px;
  border:1px solid var(--line);
  border-radius:5px;
  background:#fff;
  color:#5A6068;
  font-size:14px;
}
.auth-btn-ghost:hover{ border-color:var(--g); color:var(--g); }

/* 注册须知弹窗（覆盖 bootstrap modal） */
.modal-content{ border:0!important; border-radius:10px!important; box-shadow:0 18px 48px rgba(17,24,39,.18)!important; }
.modal-header{ border-bottom:1px solid var(--line)!important; padding:16px 20px!important; }
.modal-title{ font-size:16px; font-weight:600; }
.modal-body{ padding:18px 20px; font-size:13.5px; color:#3C424A; line-height:1.9; }
.modal-footer{ border-top:1px solid var(--line)!important; padding:12px 18px!important; }
.modal-footer .btn{ border-radius:5px; }

@media (max-width:420px){
  .auth-wrap{ padding:34px 14px 30px; }
  .auth-card{ padding:0 20px 22px; border-radius:8px; }
  .auth-tabs{ margin:0 -20px 20px; }
  .auth-title{ font-size:18px; }
}
