/* login */
.login-home {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 8;
  padding: 20px 0;
  background: @background-color;
  overflow: auto;

  &::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    opacity: 0.8;
    background-image: url(../images/home-back.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
}

.login-box {
  position: relative;
  width: 440px;
  padding: 64px 80px;
  margin: 160px auto 0;
  z-index: 9;
  background-color: @white;
  border-radius: @box-border-radius;

  .login-title {
    margin-bottom: 32px;
    text-align: center;

    h1 {
      line-height: 35px;
      font-size: 24px;
      color: @font-color-main;
    }
  }
  /* iview */
  .ivu-form-item {
    margin-bottom: 26px;
  }
}
.login-form {
  .ivu-form-item:last-child {
    margin: 0;
  }
}
.login-footer {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: @dark-color-lighter;
  line-height: 17px;
  margin-top: 20px;
  position: relative;
  z-index: 9;
}

// reset-pswd
.reset-pswd {
  // iview
  .ivu-modal-header,
  .ivu-modal-close {
    display: none;
  }
  .ivu-modal-body {
    top: 0;
    .login-home;
  }
}
