/* Register layout shell — form controls use ant-ui from app.css */

html {
  font-family: sans-serif;
  text-size-adjust: 100%;
  font-size: 10px;
  -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  background: #f9f9f9;
  font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  height: 100%;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

a {
  background-color: transparent;
  color: #999;
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  overflow: visible;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

.text-left {
  text-align: left;
}

.clearfix::before,
.clearfix::after {
  display: table;
  content: " ";
}

.clearfix::after {
  clear: both;
}

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.font12 {
  font-size: 12px;
}

.font14 {
  font-size: 14px;
}

.font24 {
  font-size: 24px;
}

.font28 {
  font-size: 28px;
}

.gray_3 {
  color: #333;
}

.gray_9 {
  color: #999;
}

.blue {
  color: #2189ff;
}

.blue0 {
  color: #6fa0ff;
}

.marin0_8 {
  margin: 0 8px;
}

.marginb_16 {
  margin-bottom: 16px;
}

/* header / footer shell */
.headtop {
  background: #fff;
  box-shadow: 0 2px 4px 0 rgb(209 209 209 / 50%);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

.headtop .pull-left {
  height: 84px;
}

.headtop img {
  vertical-align: middle;
}

.headtop .pull-left span {
  margin-left: 18px;
  vertical-align: middle;
  display: inline-block;
  height: 100%;
  line-height: 84px;
}

.headtop a {
  line-height: 84px;
  border-left: 1px solid #dadada;
  padding: 0 15px;
}

.headtop a,
.headtop span {
  color: #333;
}

.headtop a.blue {
  padding-left: 0;
  border-left: 0;
}

.headtop a:last-child {
  padding-right: 0;
}

.w1200 {
  width: 1200px;
  margin: 0 auto;
}

.main_a {
  position: relative;
  min-height: 100%;
  margin-top: 0;
  color: #999;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.main_con {
  flex: 1;
  align-items: center;
  justify-content: center;
  display: flex;
}

.posi_retop {
  width: 100%;
}

.foot {
  width: 100%;
  padding: 18px 0;
  text-align: center;
}

.foot p span {
  margin-right: 23px;
}

.foot p {
  margin: 8px 0 10px;
}

.foot a {
  color: #666;
}

/* register card — keep original footprint, don't shrink */
.mainbox {
  width: 480px;
  height: auto;
  box-sizing: border-box;
  margin: 0 auto;
}

.logbox {
  width: 480px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 8px 0 #f2f2f2;
  border-radius: 10px;
  border: 1px solid #f2f2f2;
}

.logbox a {
  color: #2189ff !important;
}

.logbox_padding {
  padding: 40px 40px 48px;
}

.reg-form .ant-form-item {
  margin-bottom: 20px;
  text-align: left;
}

.reg-form .ant-input-lg {
  height: 40px;
}

.reg-form .ant-input-group > img {
  height: 40px;
  width: 110px;
  object-fit: cover;
  border-radius: 6px;
}

.reg-form .reg-agree {
  text-align: left;
  margin-bottom: 20px;
  line-height: 1.7;
}

.reg-form .reg-agree a {
  color: #333 !important;
}

.reg-tip {
  font-size: 12px;
  color: #ff4d4f;
  margin-bottom: 12px;
  text-align: left;
}

/* success page */
.succeedbox {
  background: #fff;
  box-shadow: 0 0 10px #e8e8e8;
  border: 1px solid #e8e8e8;
  margin: 40px auto 0;
  border-radius: 8px;
  padding: 48px 56px 64px;
  width: 520px;
  box-sizing: border-box;
}

.succeedbox p,
.succeedbox h2 {
  text-align: center;
}

.succeedbox p {
  padding-bottom: 10px;
}

.succeedbox h2 {
  padding: 20px 0 8px;
  font-size: 22px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.erroricon_b {
  background: url('/image/erroricon_b.png') no-repeat left center;
  padding-left: 18px;
}

.succeed-form {
  text-align: left;
  max-width: 360px;
  margin: 28px auto 0;
}

.succeed-form .ant-form-item {
  margin-bottom: 20px;
}

.succeed-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 360px;
  margin: 28px auto 0;
}

.succeed-actions .btn {
  flex: 1;
}
