/* 供应商注册页布局：单滚动条 + 表单对齐 */
html.register-page,
html.register-page body,
body.register-page {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #f6f9fd !important;
}

.register-page .page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
  background: #f6f9fd;
}

.register-page .page-body .bg-color-sky-light,
.register-page #register-form,
.register-page #register-success {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 16px 0 32px !important;
  margin-bottom: 0 !important;
  flex: 1 0 auto;
  background: transparent !important;
}

.register-page .register-form > .container,
.register-page .page-body .container {
  width: 1200px;
  max-width: calc(100% - 48px);
  height: auto !important;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 8px rgba(31, 45, 61, 0.06);
  padding: 8px 0 40px !important;
  margin: 0 auto;
}

.register-page .register-form .register-wrap {
  max-width: 720px;
  height: auto !important;
  margin: 0 auto;
  padding: 0 24px;
}

.register-page .register-form h2.register-title,
.register-page .page-body .register-title {
  padding: 16px 0 24px !important;
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: #333;
  text-align: center;
}

.register-page form#registerForm {
  padding: 0 !important;
  width: 100%;
}

.register-page .register-row,
.register-page #registerForm div.register-row {
  width: 100% !important;
  max-width: 720px;
  min-height: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 0;
  position: relative;
  clear: both;
}

.register-page .register-row .form-required {
  float: none !important;
  width: 148px !important;
  flex: 0 0 148px;
  margin: 0 16px 0 0 !important;
  padding: 0;
  line-height: 40px;
  text-align: right;
  font-size: 14px;
  color: #333 !important;
}

.register-page .required-star,
.register-page .register-row .form-required span,
.register-page .register-row .form-required .required-star {
  color: #f02b2b;
  margin-right: 4px;
  display: inline-block;
}

.register-page .register-control {
  flex: 1 1 360px;
  max-width: 480px;
  position: relative;
  min-width: 0;
}

.register-page .register-row .form-control,
.register-page #registerForm .register-row .form-control {
  width: 100% !important;
  max-width: 100%;
  height: 40px !important;
  float: none;
  display: block;
  margin: 0 !important;
  padding: 6px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  box-shadow: none;
  background: #fff;
}

.register-page .register-row .form-control:hover,
.register-page .register-row .form-control:focus {
  border-color: #29bece;
  outline: none;
  box-shadow: none;
}

.register-page .register-form .register-wrap .form-control.error,
.register-page .register-row .form-control.error {
  border-color: #c12e2a;
}

.register-page .password-input-wrap {
  position: relative;
}

.register-page .password-control .form-control,
.register-page .password-input-wrap .form-control {
  padding-right: 40px;
}

.register-page .password-toggle,
.register-page .password-input-wrap .password-toggle,
.register-page .register-row .glyphicon-eye-close,
.register-page .register-row .glyphicon-eye-open {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 16px;
  cursor: pointer;
  z-index: 2;
  display: block !important;
}
.register-page .register-row .glyphicon-eye-close:before,
.register-page .password-toggle.glyphicon-eye-close:before {
  content: '' !important;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../img/login/eye-close.png") no-repeat center center;
  background-size: cover;
}
.register-page .register-row .glyphicon-eye-open:before,
.register-page .password-toggle.glyphicon-eye-open:before {
  content: '' !important;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../img/login/eye-open.png") no-repeat center center;
  background-size: cover;
}

.register-page .password-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-height: 16px;
}

.register-page .register-form .password-bar {
  flex: 1;
  width: auto;
  height: 4px;
  margin: 0;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  vertical-align: middle;
}

.register-page .password-check-text {
  margin: 0;
  min-width: 24px;
  font-size: 12px;
  line-height: 16px;
  color: #999;
}

.register-page .phone-group,
.register-page .captcha-image-group,
.register-page .sms-group {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.register-page .phone-group {
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
  gap: 0;
}

.register-page .phone-group:hover,
.register-page .phone-group:focus-within {
  border-color: #29bece;
}

.register-page .phone-group .area-code-select {
  width: 150px;
  flex: 0 0 150px;
  height: 38px;
  border: 0;
  border-right: 1px solid #e5e5e5;
  background: #fff;
  text-align: center;
  text-align-last: center;
  padding: 0 8px;
  outline: none;
  box-shadow: none;
  appearance: auto;
}

.register-page .phone-group .form-control {
  flex: 1 1 auto;
  width: auto !important;
  height: 38px !important;
  border: 0 !important;
  margin: 0 !important;
  box-shadow: none;
}

.register-page .captcha-image-group .form-control {
  flex: 1 1 auto;
  width: auto !important;
}

.register-page .captcha-image-group img {
  width: 110px;
  height: 40px;
  flex: 0 0 110px;
  object-fit: contain;
  background: #f7f7f7;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  cursor: pointer;
}

.register-page .sms-group .form-control,
.register-page #registerForm div.register-row .obtainMsgCodeInp {
  flex: 1 1 auto;
  width: auto !important;
  margin: 0 !important;
}

.register-page #getCaptcha,
.register-page #registerForm button#getCaptcha {
  flex: 0 0 148px;
  width: 148px !important;
  height: 40px;
  margin: 0 !important;
  padding: 0 8px;
  border: 1px solid #29bece;
  background: #fff;
  color: #29bece;
  font-size: 13px;
  line-height: 38px;
  white-space: nowrap;
  border-radius: 2px;
}

.register-page #getCaptcha:disabled,
.register-page #registerForm button#getCaptcha:disabled {
  border-color: #ddd;
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.register-page .register-row .validation,
.register-page .register-form .register-wrap label.validation {
  display: block;
  width: 100%;
  margin: 4px 0 0 !important;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
  color: #f02b2b;
  float: none;
}

.register-page .field-hint {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: #999;
}

.register-page .register-agree {
  display: flex;
  align-items: flex-start;
  max-width: 480px;
  margin: 8px 0 12px 164px;
  padding: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: normal;
  color: #515769;
}

.register-page .register-agree input[type="checkbox"] {
  margin: 4px 8px 0 0;
  flex: 0 0 auto;
}

.register-page .register-agree-text {
  flex: 1 1 auto;
  min-width: 0;
}

.register-page .register-agree label {
  margin: 0;
  font-weight: normal;
  font-size: 14px;
  color: #515769;
  line-height: 22px;
  display: inline;
}

.register-page .register-agree a {
  color: #29bece;
}

html.register-page.cux-agree-open,
body.register-page.cux-agree-open {
  overflow: hidden !important;
}

.cux-agree-src {
  display: none !important;
}

.register-page .is-hidden,
#agreementModal.is-hidden {
  display: none !important;
}

.cux-agree-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 38, 49, 0.55);
}

.cux-agree-panel {
  width: 880px;
  max-width: 100%;
  max-height: 780px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 35px rgba(17, 17, 17, 0.18);
}

.cux-agree-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #e8e8e8;
  flex: 0 0 auto;
}

.cux-agree-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 26px;
}

.cux-agree-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #777;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cux-agree-close:hover {
  background: #f1f3f5;
  color: #333;
}

.agreement-tabs {
  display: flex;
  padding: 0 24px;
  border-bottom: 1px solid #e8e8e8;
  flex: 0 0 auto;
}

.agreement-tab {
  padding: 12px 2px;
  margin-right: 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #999;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.agreement-tab.active {
  border-color: #29bece;
  color: #29bece;
  font-weight: 600;
}

.agreement-content {
  overflow: auto;
  overflow-x: auto;
  overflow-y: auto;
  padding: 16px 24px 20px;
  flex: 1 1 auto;
  min-height: 0;
  background: #f6f9fd;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
}

.agreement-article-title {
  margin: 0 0 12px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.agreement-richtext {
  min-height: 1px;
}

.agreement-richtext,
.agreement-richtext * {
  box-sizing: border-box;
  max-width: 100%;
}

.agreement-richtext p {
  margin: 0 0 8px;
}

.agreement-richtext img,
.agreement-richtext video,
.agreement-richtext iframe,
.agreement-richtext svg {
  max-width: 100%;
  height: auto;
}

.agreement-richtext table {
  width: auto !important;
  max-width: 100%;
  border-collapse: collapse;
}

.agreement-richtext td,
.agreement-richtext th {
  word-break: break-word;
}

.agreement-progress {
  padding: 8px 24px;
  color: #999;
  font-size: 12px;
  line-height: 20px;
  flex: 0 0 auto;
  background: #fff;
}

.cux-agree-foot {
  display: flex;
  justify-content: flex-end;
  padding: 14px 24px;
  border-top: 1px solid #e8e8e8;
  flex: 0 0 auto;
}

.cux-agree-cancel,
.cux-agree-confirm {
  min-height: 36px;
  margin-left: 10px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.cux-agree-cancel {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
}

.cux-agree-cancel:hover {
  background: #f6f7f8;
}

.cux-agree-confirm {
  border: 0;
  background: #29bece;
  color: #fff;
}

.cux-agree-confirm:hover:not(:disabled) {
  background: #12aabd;
}

.cux-agree-confirm:disabled {
  background: #cfd4d8;
  cursor: not-allowed;
}

.register-page .register-error,
.register-page #Error-msg {
  width: auto;
  max-width: 480px;
  min-height: 20px;
  margin: 0 0 12px 164px;
  padding: 0;
  color: #f02b2b;
  font-size: 13px;
  line-height: 20px;
}

.register-page #registerButton,
.register-page .register-form .register-wrap .register-submit {
  display: block;
  width: 480px;
  max-width: calc(100% - 164px);
  height: 44px;
  margin: 0 0 8px 164px;
  font-size: 16px;
  font-weight: 500;
  line-height: 44px;
  padding: 0;
}

.register-page #register-success.hide {
  display: none !important;
}

.register-page .register-success-container {
  padding: 80px 24px !important;
  text-align: center;
  height: auto !important;
}

.register-page .register-success-container img {
  width: 100px;
  height: 100px;
}

.register-page .portal-footer {
  flex-shrink: 0;
  width: 100%;
}

.register-page .page-body .margin-b-20 {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .register-page .register-form > .container,
  .register-page .page-body .container {
    max-width: calc(100% - 24px);
    padding: 8px 0 24px !important;
  }

  .register-page .register-row .form-required {
    width: 100% !important;
    flex: 0 0 100%;
    text-align: left;
    line-height: 24px;
    margin: 0 0 6px !important;
  }

  .register-page .register-control {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .register-page .register-agree,
  .register-page .register-error,
  .register-page #Error-msg,
  .register-page #registerButton,
  .register-page .register-form .register-wrap .register-submit {
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }

  .cux-agree-mask {
    padding: 10px;
  }

  .agreement-content {
    padding: 16px 18px;
  }

  .cux-agree-head,
  .cux-agree-foot,
  .agreement-tabs {
    padding-left: 16px;
    padding-right: 16px;
  }
}
