.mb-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #f4f6f8;
  color: #1c1c1c;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.mb-page a {
  color: #1c1c1c;
  text-decoration: none;
}

.mb-header {
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
}

.mb-wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.mb-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.mb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.mb-nav a {
  color: #2b2b2b;
  font-weight: 600;
}

.mb-nav a:hover,
.mb-nav a.is-on {
  color: #e23b3b;
}

.mb-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px 48px;
}

.mb-main-top {
  align-items: flex-start;
}

.mb-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-top: 3px solid #e23b3b;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 24, 32, 0.06);
  padding: 32px 32px 28px;
}

.mb-card-wide {
  max-width: 920px;
}

.mb-card h1 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: #171717;
}

.mb-card h1::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: #e23b3b;
  vertical-align: 0.12em;
}

.mb-lead {
  margin: 0 0 22px;
  color: #667085;
  font-size: 14px;
}

.mb-field {
  margin-bottom: 16px;
}

.mb-field label,
.pay-title {
  display: block;
  width: auto;
  margin: 0 0 8px;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 700;
  float: none;
}

.mb-page input[type="text"],
.mb-page input[type="password"],
.mb-card .form-control {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  color: #1c1c1c;
  font-size: 14px;
  box-shadow: none;
  box-sizing: border-box;
}

.mb-page input[type="text"]:focus,
.mb-page input[type="password"]:focus,
.mb-card .form-control:focus {
  border-color: #1c1c1c;
  outline: none;
  box-shadow: none;
}

.mb-code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mb-code input[type="text"],
.mb-code .form-group {
  flex: 1;
  margin: 0;
}

.mb-code img {
  display: block;
  width: 108px;
  height: 44px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.mb-code a {
  color: #e23b3b;
  font-weight: 700;
  white-space: nowrap;
}

.mb-submit,
.mb-card .btn-primary {
  display: block;
  width: 100%;
  height: 46px;
  margin-top: 6px;
  border: 0;
  border-radius: 8px;
  background: #1c1c1c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mb-submit:hover,
.mb-card .btn-primary:hover,
.mb-card .btn-primary:focus {
  background: #e23b3b;
  border-color: #e23b3b;
  color: #fff;
}

.mb-extra {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #667085;
}

.mb-extra a:hover {
  color: #e23b3b;
}

.mb-error {
  min-height: 0;
  margin: 0 0 10px;
  color: #e23b3b;
  font-size: 13px;
}

.mb-card .input-group-addon {
  background: #f6f7f9;
  border-color: #d8dee6;
  color: #667085;
}

.mb-card .form-group {
  margin-bottom: 16px;
}

.mb-agree,
#regAgreementBox,
#regAgreementBox span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: auto;
  margin-top: 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

#regAgreementBox span {
  display: inline;
  margin-left: 0;
}

.mb-agree input {
  margin-top: 3px;
  flex: none;
}

.mb-agree a,
#regAgreement,
#regAgreementPrivacy,
#regAgreement:hover,
#regAgreementPrivacy:hover {
  color: #e23b3b;
  text-decoration: none;
}

.mb-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f8fa;
  color: #475467;
}

.mb-note a {
  font-weight: 700;
}

.mb-note a:hover {
  color: #e23b3b;
}

.pay-page .fl,
.pay-page .fr,
.pay-page .clear,
.pay-page .clearfix {
  float: none;
}

.pay-bank-form,
.pay-money,
.pay-bank-info,
.pay-info {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-bank-form > li {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  list-style: none;
}

.pay-account-1,
.pay-account-2 {
  margin-bottom: 16px;
}

.pay-input {
  display: block;
  max-width: 420px;
}

.pay-money,
.pay-bank-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pay-money li,
.pay-bank-info li {
  list-style: none;
  margin: 0;
}

.pay-public,
.pay-bank-icon {
  display: none;
}

.pay-money a,
.pay-bank-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #fff;
  color: #1c1c1c;
  text-decoration: none;
}

.pay-money li.cur a,
.pay-bank-info li.cur a,
.e_banks li.cur a {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fff;
}

.pay-money a:hover,
.pay-bank-info a:hover {
  border-color: #1c1c1c;
  color: #1c1c1c;
}

.pay-bank-info li.cur a:hover,
.e_banks li.cur a:hover,
.pay-money li.cur a:hover {
  background: #e23b3b;
  border-color: #e23b3b;
  color: #fff;
}

.mb-footer {
  background: #fff;
  border-top: 1px solid #e7ebf0;
}

.mb-footer .mb-wrap {
  min-height: 72px;
  display: block;
  padding-top: 16px;
  padding-bottom: 16px;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.7;
}

.mb-footer p {
  margin: 0;
}

.mb-footer a {
  color: #98a2b3;
}

.mb-footer a:hover {
  color: #e23b3b;
}

.mb-auth {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #e8ebf0;
}

.mb-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(145deg, #f7f8fa 0%, #e6e9ee 42%, #f8f1f1 100%);
}

.mb-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(226, 59, 59, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(28, 28, 28, 0.08), transparent 26%),
    radial-gradient(circle at 70% 80%, rgba(226, 59, 59, 0.12), transparent 30%);
  animation: mb-glow 16s ease-in-out infinite alternate;
}

.mb-bg i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
  animation: mb-float 18s ease-in-out infinite;
}

.mb-bg i:nth-child(1) {
  width: 460px;
  height: 460px;
  left: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(226, 59, 59, 0.34), rgba(226, 59, 59, 0) 68%);
}

.mb-bg i:nth-child(2) {
  width: 560px;
  height: 560px;
  right: -160px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(28, 28, 28, 0.16), rgba(28, 28, 28, 0) 70%);
  animation-duration: 22s;
  animation-delay: -7s;
}

.mb-bg i:nth-child(3) {
  width: 280px;
  height: 280px;
  left: 46%;
  top: 18%;
  background: radial-gradient(circle, rgba(226, 59, 59, 0.22), rgba(226, 59, 59, 0) 70%);
  animation-duration: 14s;
  animation-delay: -4s;
}

.mb-auth .mb-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: transparent;
  border-bottom: 0;
}

.mb-auth .mb-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin: 0;
  padding: 88px 16px 28px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.mb-stage {
  width: 100%;
  max-width: 440px;
  margin: auto;
}

.mb-auth .mb-card {
  max-width: none;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 60px rgba(20, 24, 32, 0.12);
  backdrop-filter: blur(10px);
}

.mb-auth .mb-footer {
  background: transparent;
  border-top: 0;
}

.mb-auth .mb-footer .mb-wrap {
  max-width: none;
  min-height: 0;
  padding: 16px 0 0;
  text-align: center;
}

@keyframes mb-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(48px, -36px, 0) scale(1.08);
  }
}

@keyframes mb-glow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-3%, 2%, 0) scale(1.06);
  }
}

@media (max-width: 767px) {
  .mb-wrap {
    min-height: 58px;
  }

  .mb-logo img {
    height: 32px;
  }

  .mb-card,
  .mb-card-wide {
    padding: 22px 16px 20px;
  }

  .mb-card h1 {
    font-size: 22px;
  }

  .mb-code {
    flex-wrap: wrap;
  }
}
