body {
  background: #f7fafc;
}
.log-head {
  margin-top: 30px;
  text-align: center;
}
.log-head h1 {
  font-size: 30px;
  margin: 30px 0;
  text-align: center;
  font-weight: normal;
  color: #555551;
}
.form-container {
  width: 360px;
  margin: 0 auto;
  font-size: 14px;
  padding: 0 20px 0;
}
.form-container form,
.form-container .form {
  background: #fff;
  display: block;
  padding: 10px 20px 0;
  border: 1px solid #e7ebef;
}
.form-container h3 {
  margin: 16px 0;
  text-align: center;
  font-size: 20px;
  font-weight: normal;
}
.back-text {
  padding: 10px 0;
  font-size: 0.875rem;
  margin-top: -2rem;
  display: none;
}
.form-ctrl {
  position: relative;
  padding: 10px 0;
  border-bottom: 1px solid #e7ebef;
}
.form-ctrl:last-child {
  border: none;
}
.form-ctrl input {
  width: 100%;
  background: #fff;
  outline: none;
  border: none;
  font-size: 16px;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}
input::-webkit-input-placeholder {
  color: #aaa;
}
input:-moz-placeholder {
  color: #aaa;
}
input::-moz-placeholder {
  color: #aaa;
}
input::-ms-input-placeholder {
  color: #aaa;
}
.form-ctrl img,
.form-ctrl a {
  position: absolute;
  right: 0;
  top: 10px;
  cursor: pointer;
}
.form-ctrl a {
  font-size: 14px;
}
.text-warn {
  position: relative;
  color: #fd7f24;
  margin-top: 10px;
}
.text-warn:before {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  background: url(https://cdn.kuaidi100.com/images/sso/login.png) -52px -80px
    no-repeat;
  content: "";
}
.btn-submit {
  padding: 0.8em 0;
  display: block;
  width: 100%;
  background: #fd7f24;
  color: #fff;
  text-align: center;
  font-size: 16px;
  outline: none;
  border: none;
  margin-top: 10px;
  border-radius: 3px;
  cursor: pointer;
}
.btn-submit:hover {
  background: #de6915;
}
.type {
  padding: 10px;
}
.type a {
  padding: 0 16px;
}
.type a.bd {
  border-right: 1px solid #3680e4;
}
.divide {
  color: #888;
  margin: 10px 0;
  text-align: center;
  position: relative;
  border-top: 1px dashed #888;
}
.divide span {
  position: absolute;
  left: 50%;
  top: -1em;
  background: #f7fafc;
  padding: 0 10px;
  margin-left: -2.2em;
}
.oauth {
  color: #666;
  padding: 0 10px;
  height: 40px;
}
.oauth a {
  display: inline-block;
  vertical-align: middle;
  width: 35px;
  height: 35px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-image: url(https://cdn.kuaidi100.com/images/sso/login.png);
  background-repeat: no-repeat;
}
.wx {
  background-position: -1px -39px;
}
.qq {
  background-position: -1px 0;
}
.jd {
  background-position: -39px -1px;
}
.tb {
  background-position: -39px -40px;
}
.pdd {
  background-position: -77px -1px;
}
.code-wrap {
  padding: 40px 0;
  background: #fff;
  border: 1px solid #dedede;
  border-top: 0;
  text-align: center;
  line-height: 3em;
}
.qr-code {
  position: relative;
  width: 170px;
  height: 170px;
  padding: 5px;
  border: 1px solid #e5e5e5;
  display: inline-block;
}
.code-wrap img {
  width: 100%;
  height: 100%;
}
.qr-code .img-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: none;
}
.qr-code .img-mask:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.9;
  filter: alpha(opacity=90);
  background: #fff;
}
.qr-code .img-mask p {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
}
.qr-code .img-mask span {
  position: absolute;
  top: 38%;
  left: 33%;
  margin-left: -28px;
  width: 120px;
  text-align: center;
  background: #ff7f02;
  border-radius: 4px;
  color: #fff;
  line-height: 40px;
  cursor: pointer;
}
.voice {
  text-align: right;
  padding: 10px;
}
.agreement {
  color: #888;
  margin-top: 15px;
  margin-left: 5px;
}
.agreement i {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -2px;
  border: 1px solid #aaa;
  margin-right: 5px;
  cursor: pointer;
  border-radius: 2px;
}
.agreement i.active {
  background: url(https://cdn.kuaidi100.com/images/sso/login.png?version=20171114)
    0 -105px #3681e4 no-repeat;
  border-color: #3681e4;
}
.form-container .info {
  margin: 20px 0;
  display: table;
}
.info .avatar {
  display: table-cell;
  vertical-align: middle;
  padding-right: 10px;
}
.info .avatar img {
  width: 40px;
  height: 40px;
  border: 1px solid #e9e9e9;
  border-radius: 50%;
}
.info .text {
  display: table-cell;
  vertical-align: middle;
  font-size: 14px;
}
.info .text h4 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 8px;
}
.find-success {
  margin-top: 40px;
  display: none;
}
.find-success p {
  text-align: center;
  font-size: 16px;
  margin: 20px;
}
@media screen and (max-width: 414px) {
  .form-container {
    width: auto;
  }
  .log-head img {
    max-width: 50%;
  }
  .info .text {
    font-size: 0.75rem;
  }
  .info .text h4 {
    font-size: 1rem;
    margin-bottom: 0;
  }
  .info .avatar {
    padding-right: 5px;
  }
  .log-head h1 {
    font-size: 1.2rem;
    margin: 15px 0;
  }
  .form-container h3 {
    margin: 10px 0;
    font-size: 1rem;
  }
  .form-ctrl input {
    font-size: 0.875rem;
  }
  .type [role="code"],
  [role="buyer"],
  [role="weixin"] {
    display: none !important;
  }
  .type a.bd {
    border: none;
  }
  .btn-submit {
    padding: 0.5em 0;
  }
  .type a {
    padding: 0;
  }
}
.wrap {
  padding: 16px;
  border-bottom: 1px solid #e7e7e7;
}
h3 {
  font-weight: normal;
  font-size: 16px;
  line-height: 2em;
}
.wrap p {
  margin-bottom: 16px;
  color: #888;
  font-size: 14px;
}
.btn {
  width: 100px;
  padding: 6px;
  font-size: 14px;
  line-height: 18px;
  vertical-align: middle;
}
.btn ~ .btn {
  margin-left: 12px;
}
.small-img {
  width: 30px;
  margin-right: 5px;
  vertical-align: middle;
}
.xcx {
  text-align: center;
}
.xcx img {
  max-width: 60%;
}
.btn i {
  display: inline-block;
  margin-right: 2px;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-size: 18px auto;
  background-image: url(https://cdn.kuaidi100.com/images/m/app.png?version=20180306);
}
.ios {
  background-position: 0 -31px;
}
.android {
  background-position: 0 -2px;
}
.text {
  padding: 15px 18px;
  font-size: 14px;
}
.qr-code-tab {
  display: none;
  background: #fff;
  border: 1px solid #dedede;
  border-bottom: 0;
  text-align: center;
}
.qr-code-tab span {
  display: inline-block;
  margin: 20px 25px 10px;
  width: 110px;
  line-height: 36px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
}
.qr-code-tab span.active {
  background: #317ee7;
  border-radius: 36px;
  color: #fff;
}
.code-txt {
  color: #888;
}

/* 新增登录协议同意提示 */
.new-login-agree .agreement {
  margin-top: 4px;
  word-break: keep-all;
}

.check-pre-tip {
  display: block;
  position: relative;
  color: #fff;
  width: fit-content;
  padding: 4px 6px;
  background-color: #5b5d5f;
  border-radius: 6px;
  margin: 2px;
}

.check-pre-tip::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 5px;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #5b5d5f transparent transparent transparent;
}