/* Login Page */
.login-shell{
  padding: 54px 0 70px;
}
.login-card{
  max-width: 460px;
  margin: 0 auto;
  padding: 26px 26px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 48px rgba(15,23,42,.10);
  position: relative; /* for in-card toast */
}
.login-title{
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 14px;
  color: rgba(15,23,42,.88);
  text-align: center;
}
.login-wechat{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: rgba(15,23,42,.78);
  font-weight: 600;
}

.login-wechat:focus{
  outline: none;
  box-shadow: 0 0 0 .22rem rgba(47,111,236,.12);
  border-color: rgba(47,111,236,.30);
}
.login-wechat:focus-visible{ outline: none; }
.login-wechat .wx-ico{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(34,197,94,.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.login-divider{
  display:flex;
  align-items:center;
  gap: 12px;
  color: rgba(15,23,42,.42);
  font-size: 12px;
  margin: 16px 0 14px;
}
.login-divider:before,
.login-divider:after{
  content:"";
  height:1px;
  flex:1 1 auto;
  background: rgba(15,23,42,.10);
}
.form-ui{
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
}
.form-ui:focus{
  box-shadow: 0 0 0 .2rem rgba(47,111,236,.12);
  border-color: rgba(47,111,236,.38);
  background: #fff;
}
.captcha-row{
  display:flex;
  gap: 10px;
}
.captcha-img{
  width: 140px;
  height: 50px;
  display: block;
  object-fit: fill;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.login-btn{
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 0;
  background: rgba(15,23,42,.48);
  color: #fff;
  font-weight: 700;
}
.login-btn.btn-brand{
  background: #2f6fec;
}
.login-foot{
  text-align:center;
  margin-top: 14px;
  font-size: 13px;
}
.login-foot a{
  color: rgba(47,111,236,.96);
  text-decoration: none;
  font-weight: 600;
}


/* WeChat icon */
.login-wechat .wx-ico {
  width: 22px;
  height: 22px;
  display: inline-block;
  border-radius: 50%;
  background-color: #1AAD19;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23ffffff' d='M347.7 252.9c-124.6 0-225.7 83.5-225.7 186.5 0 59.8 34.2 112.9 87.6 147.5l-24.6 74.1 86.2-43.7c23.7 6.5 49.1 10 76.5 10 124.6 0 225.7-83.5 225.7-186.5S472.3 252.9 347.7 252.9zm-68.3 106.3c21.7 0 39.4 17.6 39.4 39.4S301.1 438 279.4 438s-39.4-17.6-39.4-39.4 17.7-39.4 39.4-39.4zm136.6 0c21.7 0 39.4 17.6 39.4 39.4S437.7 438 416 438s-39.4-17.6-39.4-39.4 17.7-39.4 39.4-39.4z'/%3E%3Cpath fill='%23ffffff' d='M902 600.6c0-103-101.1-186.5-225.7-186.5-124.6 0-225.7 83.5-225.7 186.5 0 103 101.1 186.5 225.7 186.5 23.6 0 46.4-3 68-8.6l93.1 44.8-26.2-78.9c56.9-34.8 90.8-88.7 90.8-143.8zm-294-52.8c-21.7 0-39.4-17.6-39.4-39.4s17.6-39.4 39.4-39.4 39.4 17.6 39.4 39.4-17.7 39.4-39.4 39.4zm136.6 0c-21.7 0-39.4-17.6-39.4-39.4s17.6-39.4 39.4-39.4 39.4 17.6 39.4 39.4-17.7 39.4-39.4 39.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
  box-shadow: 0 6px 14px rgba(26, 173, 25, .25);
}



/* WeChat QR modal */
.wechat-safe{
  padding: 22px 22px 18px;
}
.wechat-safe-title{
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}
.wechat-safe-sub{
  color: rgba(15,23,42,.55);
  font-size: 14px;
  margin: 0 0 14px;
}
.wechat-safe-qr{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
}
.wechat-safe-qr img{
  width: 280px;
  height: 280px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  padding: 12px;
}
.wechat-safe-actions{
  display:flex;
  justify-content:flex-end;
  margin-top: 8px;
}
.wechat-safe-actions .btn{ border-radius: 10px; padding: 8px 18px; }
@media (max-width: 576px){
  .wechat-safe{ padding: 18px 16px 14px; }
  .wechat-safe-title{ font-size: 22px; }
  .wechat-safe-qr img{ width: 240px; height: 240px; }
}
