/* login */
.login-home {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 8;
  padding: 20px 0;
  background: linear-gradient(
    90deg,
    rgba(71, 195, 233, 1) 0%,
    rgba(92, 158, 238, 1) 100%
  );
  overflow: auto;

  .view-footer {
    z-index: 99;
    position: fixed;
  }

  &::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-position: center center;
  }
}

.login-box {
  position: absolute;
  width: 400px;
  top: 50%;
  left: 50%;
  z-index: 9;
  transform: translate(-50%, -50%);
  overflow: hidden;

  &.register {
    position: static;
    transform: none;
    margin: 20px auto;
  }
}
.login-title {
  margin-bottom: 50px;
  text-align: center;
  h1 {
    line-height: 40px;
    font-size: 34px;
    color: #fff;
  }
}
.login-form {
  .ivu-form-item:last-child {
    margin: 0;
  }
}

.login-link {
  padding: 10px 0;
  overflow: hidden;
  a {
    color: @borderGray;
    font-size: 15px;
    font-weight: 600;
    margin-right: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    float: left;
    &:last-child {
      float: right;
    }
  }
  a:hover {
    color: @mainColor;
    text-decoration: underline;
  }
}

/* iview */
.login-box .ivu-form-item {
  margin-bottom: 26px;
}
