* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 0.625vw;
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 12px;
  }
}
@media screen and (max-width: 1440px) {
  html {
    font-size: 9px;
  }
}

body {
  font-family: Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
}
::-webkit-input-placeholder {
  color: #ccc;
}

/* 视图盒子 */
.view-box {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(
    -30deg,
    rgba(228, 242, 255, 1),
    rgba(249, 253, 255, 1) 40%,
    rgba(255, 249, 252, 1) 60%,
    rgba(223, 246, 255, 1)
  );
}

.header {
  margin-top: 2.5rem;
  padding: 0 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 16.67rem;
}
/* 协议样式 */
.agreement-Box {
  display: flex;
  align-items: center;
}
.public {
  font-size: 1.33rem;
  padding: 0.75rem 3rem;
  text-align: center;
  border-radius: 3rem;
  color: #3d55cf;
  background: #3d55cf1a;
  border: 1px solid #3d55cf;
}
.privacy {
  margin-right: 1.67rem;
}
.moor img {
  width: 3rem;
  height: 3rem;
  margin-right: 1.67rem;
}

/* 内容盒子 */
.content-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}

.login-left-banner {
  width: 35.6vw;
  max-width: 684px;
  margin-right: 6vw;
}

/* 表单 */
.form-box {
  padding: 4.17rem 6.67rem;
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 0px 1.33rem 2.67rem #c7cbd6;
}

/*忘记密码*/
.pwd-form {
  width: 34rem;
}

.form-title {
  font-size: 2.67rem;
  font-weight: 600;
  color: #090737;
  margin-bottom: 3rem;
  text-wrap: nowrap;
}

.form-extra-text {
  font-size: 1.33rem;
  color: #3d55cf;
  cursor: pointer;
}

/* 覆盖layui组件原始样式 */

.form-box .layui-tab-brief > .layui-tab-title .layui-this {
  color: #090737;
}

.form-box .layui-tab .layui-tab-title li {
  color: #85868a;
  padding: 0;
  margin-right: 4.17rem;
  font-size: 1.67rem;
  line-height: 4.17rem;
}
.layui-tab .layui-tab-title {
  border-bottom: 3px solid #eef0f2;
  height: 4.17rem;
}
.layui-tab-brief > .layui-tab-title .layui-this:after {
  border-bottom: 3px solid #090737;
  height: 4.17rem;
}
.layui-tab-content {
  width: 33.08rem;
  padding: 0;
  margin-top: 2.5rem;
}
.layui-form-item {
  margin-bottom: 1.67rem;
}
.layui-input,
.layui-select,
.layui-textarea {
  font-size: 1.5rem;
  height: 4.17rem;
  line-height: 4.17rem;
  border-radius: 3rem;
  background: #f1f3f6;
}
.layui-input::-webkit-input-placeholder {
  color: rgba(22, 28, 77, 0.5);
}
.layui-input-wrap .layui-input-prefix + .layui-input {
  padding: 0 3.8rem;
}
.layui-input-prefix,
.layui-input-affix {
  width: 4rem;
  line-height: 4.17rem;
}
.layui-input-prefix .layui-icon,
.layui-input-affix .layui-icon {
  font-size: 1.75rem;
  color: rgba(22, 28, 77, 0.5);
}

.layui-btn {
  font-size: 1.67rem;
  height: 4.17rem;
  line-height: 4.17rem;
  border-radius: 3rem;
}

.vercode-group .layui-input-prefix + .layui-input {
  padding-right: 10.6rem;
}
.vercode-group .layui-btn {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  color: #3d55cf;
  padding: 0 1.5rem;
  font-size: 1.5rem;
}
.vercode-group .layui-btn-disabled {
  border: none !important;
  background-color: transparent !important;
  color: rgba(22, 28, 77, 0.3) !important;
}

#codeImg {
  width: 100%;
  height: 4.17rem;
  padding-left: 10px;
}

.agreement-box {
  display: flex;
  position: absolute;
  top: 0;
  left: 10%;
  margin-top: 30px;
  flex-direction: column;
  width: 80%;
  background: #fff;
  border-radius: 5px;
}
.title-agreement {
  font-size: 30px;
  text-align: center;
  margin-bottom: 15px;
}
.effect-span {
  font-size: 15px;
  border: 1px solid rgb(0, 255, 8);
  border-radius: 2px;
  color: rgb(87, 237, 172);
  margin-left: 25px;
}
/* 内容盒子 */
.content-agreement {
  height: 65vh;
  border-radius: 5px;
  overflow-y: scroll;
  padding: 40px;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width: 12px;
  height: 10px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 0, 0, 0.4);
}

.login-btn-style {
  margin-top: 1.67rem;
}

#footerDiv {
  font-size: 12px;
  width: 100%;
  position: absolute;
  bottom: 25px;
  text-align: center;
  color: #999;
}

.view-box-mall {
  background-image: url("../sa-res/img/bg-mall.gif");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.view-box-mall .public {
  color: #fff;
}
.view-box-mall .content-box {
  background-color: #ffffff;
  border-radius: 3.5rem;
  box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.login-mall-left-banner {
  width: 52.5rem;
  max-width: 630px;
  height: 48.75rem;
  max-height: 585px;
}
.view-box-mall .form-box {
  box-shadow: none;
  border-radius: 0;
  padding-left: 5.83rem;
  padding-right: 5.83rem;
}
.view-box-mall #footerDiv {
  color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 992px) {
  .login-left-banner,
  .login-mall-left-banner {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .header {
    margin-top: 16px;
    padding: 0 12px;
  }
  .public {
    padding: 4px 8px;
  }
  .privacy {
    margin-right: 8px;
  }
  .view-box .form-box {
    padding: 16px 24px;
  }
}
