* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: Roboto, San Francisco, Helvetica Neue, Helvetica, Arial, PingFangSC-Light, Hiragina Sans GB, WenQuanYi Micro Hei, microsoft yahei ui, microsoft yahei, sans-serif;
}

ul,
li {
  list-style: none;
}

.login-root {
  width: 100%;
  height: 100%;
  background-image: url(/resources/framework/static/images/login-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.login-warpper {
  position: absolute;
  width: 460px;
  left: unset;
  right: 13%;
  top: 50%;
  transform: translate(0, -50%);
  background: #fff;
  backdrop-filter: blur(10px);
  overflow: hidden;
  padding: 50px;
}

.login-warpper.position-right {
  left: unset;
  right: 13%;
}
.login-warpper.position-left {
  right: unset;
  left: 13%;
}
.login-warpper.position-middle {
  right: unset;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login-warpper .tea-h2 {
  width: 100%;
  line-height: 32px;

  display: flex;
}
.login-warpper .tea-h2 img {
  width: 50px;
  height: 36px;
}
.login-warpper .tea-h2 span {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  text-align: left;
  text-indent: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  }
}

.login-form {
  padding: 40px 100px 70px;
  display: flex;
  flex-direction: column;
}

.account-type {
  margin: 15px 0 30px;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
}

.account-type li {
  flex: 1;
  text-align: center;
  line-height: 46px;
  font-weight: 400;
  position: relative;
}

.account-type li::after {
  width: 100%;
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  border-bottom: 3px solid #ddd;
}

.account-type li.active {
  color: #006eff;
}

.account-type li.active::after {
  width: 100%;
  border-bottom-color: #006eff;
  -webkit-transition: border-color .15s ease-in-out, width .15s ease-in-out, height .15s ease-in-out;
  transition: border-color .15s ease-in-out, width .15s ease-in-out, height .15s ease-in-out;
}

.login-form-item {
  line-height: 1.5;
}

.login-form-item.hide {
  visibility: hidden;
  height: 0;
}

.login-form-item .login-form-item__label {
  display: none;
}

.login-form-item .login-form-item__controls {
  width: 100%;
  color: #000;
  word-break: break-word;
  width: 100%;
  vertical-align: top;
  position: relative;
  font-size: 0;
  position: relative;
}

.log-error{
  height: 30px;
  width: 100%;
  color: red;
  line-height: 30px;
  font-size: 12px;
}

.checkbox-warpper {
  display: flex;
  align-items: center;
}
.checkbox-warpper .login-form-item_checkbox {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  background-color: #C9CDD2;
}
.checkbox-warpper .login-form-item_checkbox-label {
  color: #888888;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 22px;
  text-indent: 10px;
}

.tea-input {
  display: inline-block;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  font-size: 16px;
  transition: none;
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 2px;
  border: none;
  color: #444;
  background-color: rgba(64,77,93,0.05);
}

.tea-input.icon {
  text-indent: 20px;
}
.tea-input.icon+.input-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 10px;
  top: 15px;
  z-index: 999;
  background-repeat: no-repeat;
  background-size: cover;
}
.tea-input[name=username]+.input-icon {
  background-image: url(/resources/framework/static/images/ic_account.svg);
}
.tea-input[name=password]+.input-icon {
  background-image: url(/resources/framework/static/images/ic_password.svg);
}

.tea-input::-webkit-input-placeholder,
.tea-textarea::-webkit-input-placeholder {
  color: #444;
  text-indent: 20px;
}

.tea-input::-moz-placeholder,
.tea-textarea::-moz-placeholder {
  color: #444;
  text-indent: 20px;
}

.tea-input:-ms-input-placeholder,
.tea-textarea:-ms-input-placeholder {
  color: #444;
  text-indent: 20px;
}

.tea-input:-moz-placeholder,
.tea-textarea:-moz-placeholder {
  color: #444;
  text-indent: 20px;
}

.tea-input:hover,
.tea-textarea:hover {
  outline: 0
}

.tea-input:focus,
.tea-textarea:focus {
  border-color: #006eff;
  outline: 0
}

.tea-input:disabled,
.tea-textarea:disabled {
  background-color: #f2f2f2;
  color: #bbb;
  background-image: none;
  cursor: not-allowed
}

.tea-input:disabled:focus,
.tea-input:disabled:hover,
.tea-textarea:disabled:focus,
.tea-textarea:disabled:hover {
  border-color: #ddd
}

.tea-input[readonly=readonly],
.tea-input[readonly],
.tea-textarea[readonly=readonly],
.tea-textarea[readonly] {
  background-color: #f2f2f2;
  color: #444
}

.tea-input[readonly=readonly]:focus,
.tea-input[readonly=readonly]:hover,
.tea-input[readonly]:focus,
.tea-input[readonly]:hover,
.tea-textarea[readonly=readonly]:focus,
.tea-textarea[readonly=readonly]:hover,
.tea-textarea[readonly]:focus,
.tea-textarea[readonly]:hover {
  outline: 0 none;
  border-color: #ddd
}

.is-error .tea-input,
.is-error .tea-textarea {
  color: #e1504a;
  border-color: #e1504a
}

.tea-input::-ms-clear {
  display: none
}

input {
  writing-mode: horizontal-tb !important;
  text-rendering: auto;
  color: -internal-light-dark(black, white);
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  appearance: auto;
  cursor: text;
  background-color: -internal-light-dark(rgb(255, 255, 255), rgb(59, 59, 59));
  margin: 0em;
  padding: 1px 2px;
  border-width: 2px;
  border-style: inset;
  border-color: -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
  border-image: initial;
}

.login-form-operate {
  border: 0;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
}

.login-form-operate .tea-btn {
  border: 0;
  width: 100%;
  font-size: 16px;
  height: 48px;
  line-height: 48px;
  margin-right: 0;
}

.tea-btn {
  height: 30px;
  min-width: 24px;
  padding: 0 20px;
  background-color: #006eff;
  color: #fff;
  border: 1px solid #006eff;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  outline: 0 none;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 12px;
  vertical-align: middle;
  white-space: nowrap;
}

.tea-btn:hover {
  border-color: #0063e5;
  background-color: #0063e5;
  text-decoration: none;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.tea-btn:active,
.tea-btn:focus {
  transition: all .3s ease-in-out;
}

.tea-btn:active {
  border-color: #0058cc;
  background-color: #0058cc;
}

.tea-btn:focus {
  border-color: #006eff;
  background-color: #006eff;
}

.tea-btn:active,
.tea-btn:focus {
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

button,
select {
  text-transform: none;
}

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

button {
  appearance: auto;
  -webkit-writing-mode: horizontal-tb !important;
  font-style: ;
  font-variant-ligatures: ;
  font-variant-caps: ;
  font-variant-numeric: ;
  font-variant-east-asian: ;
  font-weight: ;
  font-stretch: ;
  font-size: ;
  font-family: ;
  text-rendering: auto;
  color: -internal-light-dark(black, white);
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: center;
  align-items: flex-start;
  cursor: default;
  box-sizing: border-box;
  background-color: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));
  margin: 0em;
  padding: 1px 6px;
  border-width: 2px;
  border-style: outset;
  border-color: -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
  border-image: initial;
}

[type=button],
[type=reset],
[type=submit],
button {
  -webkit-appearance: button;
  cursor: pointer;
}

/* 三方登录 */
.third-login-box {
  margin-top: 20px;
  color: #D85A40;
}
.third-login__text-center {
  text-align: center;
}
.third-login__title-warpper {
  cursor: pointer;
}

.platform-version {
  color: #888888;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  margin-top: 20px;
  text-align: center;
}