*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  -ms-text-size-adjust: 100%;
  /* 解决IOS默认滑动很卡的情况 */
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

body {
  height: 100%;
  overflow: auto;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Source Han Sans CN, PingFang SC, Microsoft YaHei, Arial,
    sans-serif;
  background-color: #fff;
  font-size: 0.16rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

em,
i,
strong {
  font-style: normal;
}

ul,
ol,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}
input {
  outline: none;
}
input:focus {
  outline: none;
}

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

/* 移动端点击a链接出现蓝色背景问题解决 */
a:link,
a:active,
a:visited,
a:hover {
  background: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

.clearfix {
  zoom: 1;
}
.clearfix::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  line-height: 14px;
  position: relative;
}
input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px;
}
input[type="checkbox"]:checked::before {
  content: "\2713";
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: 1px solid #3464e0;
  color: #3464e0;
  font-size: 16px;
}

/* 设置HTML5元素为块 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
main,
section {
  display: block;
}

.page {
  background: #fff;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page .logo {
  position: absolute;
  top: 30px;
  left: 10%;
}
.login {
  width: 400px;

  box-shadow: 2px 2px 5px #f2f0ed, -2px -2px 5px #f2f0ed;
  padding-bottom: 30px;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.login-main {
  display: flex;
}

.login-main .login-left {
  position: relative;
  width: 400px;
}
.login-main .login-img {
  width: 400px;

  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.login-form {
  width: 300px;
  margin: 0 45px;
}
.login-form .form-title {
  display: flex;
  display: -webkit-flex;
  align-items: flex-end;
  margin-top: 35px;
}
.login-form .form-title h2 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.form-main {
  margin-top: 20px;
}
.form-main .form-item {
  margin-top: 10px;
}
.form-item label {
  font-size: 14px;
  display: block;
  font-weight: bold;
}
.form-item p {
  position: relative;
  /* padding-bottom: 5px; */

  margin-top: 5px;
}
.form-item p input {
  width: 100%;
  padding: 10px 8px;
  border: 1px solid #dcdfe6;
  font-size: 14px;
  border-radius: 3px;
}
.form-item p.forget input {
  width: 260px;
  flex: 1;
}
.form-item p.forget {
  display: flex;
}
.form-item p.forget a {
  padding: 5px;
  color: #b52626;
  font-size: 13px;
  font-weight: bold;
}

.form-item p.verify {
  display: flex;
  align-items: center;
  border: 1px solid #dcdfe6;
  border-radius: 3px;
}
.form-item p.verify input {
  flex: 2 1;
  border: none;
}

.form-item p.verify span {
  display: block;
  color: #c1c1c1;
  font-size: 14px;
  text-align: center;

  flex: 1 1;
  font-weight: bold;
  position: relative;
}
.form-item p.verify span::before {
  content: "";
  height: 18px;
  width: 2px;
  background: #dcdfe6;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -8px;
  border-radius: 3px;
}

.form-btn {
  margin-top: 30px;
}
.form-btn span {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 40px;
  margin: 0 auto;
  background: #3464e0;
  text-align: center;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
  line-height: 40px;
}

.f-t-right span {
  color: #dedddd;
  display: inline-block;
  margin: 0 5px;
}

.form-btn.mt-50 {
  margin-top: 50px;
}
.error {
  margin-top: 4px;
  margin-left: 8px;
  color: red;
  display: block;
  font-size: 14px;
}
@media screen and (max-width: 900px) {
  .page .logo {
    left: 50%;
    transform: translate(-50%);
  }
  .login {
    width: 100%;

    box-shadow: none;
    height: 450px;
    display: block;
    border-radius: 0;
    overflow: hidden;
  }
  .login-form {
    width: 100%;
    margin: 0 30px;
  }
  .form-main .form-item label {
    font-size: 16px;
  }
  .form-main .form-item input {
    font-size: 15px;
    padding: 10px 8px;
  }
  .login-form .form-title {
    margin-top: 0;
    justify-content: center;
    margin-bottom: 20px;
  }

  .form-item p.verify span {
    font-size: 16px;
    flex: 1 1;
  }
  .error {
    display: none !important;
  }
}
.msg {
  position: fixed;
  padding: 10px;
  color: #fff;
  font-size: 16px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  z-index: 99999;
}

.form-check {
  margin-top: 20px;
}

.form-check .form-checkout-list {
  margin-left: 10px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.form-check a {
  display: inline-block;
  color: #3464e0;
  font-weight: bold;
}

.form-check label {
  display: inline-block;
  font-size: 12px;
  color: #666;
  margin-left: 5px;
}
