body {
  margin: 0;
}

.blue {
  background-color: #d8e4f8;
}

.green {
  background-color: #e6f1f7;
}

.login {
  position: relative;
  height: 100vh;
  max-height: 80vw;
  min-height: 630px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blue .login {
  background-image: url("../img/bg-blue.png");
}

.green .login {
  background-image: url("../img/bg-green.png");
}

.login .form-container {
  position: absolute;
  top: 0px;
  bottom: 36px;
  left: 0;
  right: 0;
  width: 380px;
  height: 650px;
  padding: 30px 50px 20px;
  margin: auto;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 0 20px 0 rgba(12,63,128,0.14);
}

.login .form-container .logo {
  margin-bottom: 20px;
  text-align: center;
}

.login .form-container .logo img {
  width: 85px;
  height: 85px;
}

.login .form-container .logo img + img {
  margin-left: 30px;
}

.login .form-container .title {
  margin-bottom: 20px;
  text-align: center;
}

.login .form-container .title h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #333;
}

.login .form-container .title p {
  margin: 0;
  font-size: 16px;
  color: #999;
}

.login .app-input {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  font-size: 14px;
}

.login .app-input img {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  left: 10px;
}

.login .app-input-inner {
  display: inline-block;
  width: 100%;
  height: 40px;
  background-color: #fff;
  background-image: none;
  border-radius: 2px;
  border: 1px solid #dfe3e6;
  box-sizing: border-box;
  color: #666;
  font-size: inherit;
  line-height: 40px;
  outline: none;
  padding: 0 16px 0 48px;
}

.login .app-checkbox {
  position: relative;
  display: inline-block;
  color: #333;
  font-size: 0px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.login .app-checkbox-input {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  line-height: 1;
  vertical-align: bottom;
}

.login .app-checkbox-inner {
  display: inline-block;
  position: relative;
  border: 1px solid #dcdfe6;
  border-radius: 1px;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  background-color: #fff;
  z-index: 1;
}

.login .app-checkbox-inner::after {
  box-sizing: content-box;
  content: "";
  border: 1px solid #2A6CF8;
  border-left: 0;
  border-top: 0;
  height: 7px;
  left: 6px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg) scaleY(0);
  width: 3px;
  transition: transform .15s ease-in .05s;
  transform-origin: center;
}

.login .app-checkbox.is-checked .app-checkbox-inner::after {
  transform: rotate(45deg) scaleY(1);
}

.login .app-checkbox-label {
  display: inline-block;
  padding-left: 10px;
  line-height: 16px;
  font-size: 14px;
  vertical-align: bottom;
}

.login .form-assist {
  padding-top: 8px;
  margin-bottom: 16px;
}

.login .form-assist .reset-pwd {
  float: right;
  display: inline-block;
  line-height: 16px;
  font-size: 14px;
  color: #1672e8;
  cursor: pointer;
}

.login .form-container .button-div {
  margin-bottom: 20px;
}

.login .app-button {
  display: block;
  height: 40px;
  width: 100%;
  line-height: 40px;
  white-space: nowrap;
  cursor: pointer;
  color: #fff;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: .1s;
  font-weight: 500;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 0;
  font-size: 16px;
  border-radius: 2px;
  border: 0;
}

.blue .login .app-button {
  background: #1373CC;
}

.green .login .app-button {
  background: #25B769;
}

.login .app-button.default {
  background: #fff;
  border: 1px solid #DFE3E6;
}

.blue .login .app-button.default {
  color: #1373CC;
}

.green .login .app-button.default {
  color: #25B769;
}

.login .app-button span {
  letter-spacing: 5px;
}

.login .form-container .qr-code {
  padding-top: 6px;
  text-align: center;
}

.login .form-container .qr-code > div {
  display: inline-block;
}

.login .form-container .qr-code > div + div {
  margin-left: 80px;
}

.login .form-container .qr-code img {
  width: 85px;
  height: 85px;
}

.login .form-container .qr-code p {
  margin: 4px 0 0;
  font-size: 12px;
  text-align: center;
  color: #6C7880;
}

.login .copyright {
  position: absolute;
  bottom: 20px;
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: #6C7880;
  text-align: center;
}
