/* login */
.login-home {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: auto;
  overflow: auto;
}
.login-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 18px 24px;

  display: flex;
  align-items: center;

  .logo-system {
    height: 20px;

    img {
      display: block;
      height: 100%;
    }
  }
  .logo-divider {
    width: 1px;
    height: 18px;
    background: #bfbfbf;
    border-radius: 3px;
    margin: 0 14px;
  }

  .logo-school {
    height: 20px;
    line-height: 20px;

    img {
      display: inline-block;
      vertical-align: middle;
      max-height: 100%;
    }
  }
}
.login-container {
  position: absolute;
  top: 56px;
  bottom: 55px;
  left: 0;
  right: 0;
  background-image: url(../images/login-back.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.login-footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 55px;
  padding: 17px 10px;
  line-height: 22px;
  color: #8c8c8c;
  text-align: center;
  font-weight: 400;

  a {
    margin: 0 5px;

    &:hover {
      color: $--color-primary;
    }
  }
}

.login-box {
  position: absolute;
  width: 400px;
  min-height: 332px;
  top: 50%;
  right: 5.6%;
  transform: translateY(-50%);
  border-radius: 12px;
  background-color: #fff;
  overflow: hidden;
  padding: 40px;
}
.login-title {
  text-align: center;
  margin-bottom: 20px;
  height: 40px;
  h1 {
    font-size: 21px;
    font-weight: bold;
  }
}
.login-menu {
  .el-tabs__header {
    margin-bottom: 24px;
  }
  .el-tabs__active-bar {
    background-color: #262626;
  }
  .el-tabs__nav-wrap::after {
    background-color: #e5e5e5;
  }
  .el-tabs__item {
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    color: #d9d9d9;
    padding: 0 12px 22px;
    height: auto;

    &.is-active {
      color: #262626;
    }
  }
}
.login-form {
  .login-submit-btn {
    width: 100%;
  }
  .vlcode-right {
    width: 100px;
  }
  .vlcode-left {
    margin-right: 105px;
  }
  .el-input__inner {
    border-radius: 6px;
  }
  .el-form-item:last-child {
    margin-bottom: 0;
    margin-top: 36px;
  }

  .code-input {
    .el-input__inner {
      padding-right: 110px;
    }
    .el-input__suffix {
      right: 8px;
    }
    .code-btn {
      color: #5db9f9;
    }
    .el-icon-circle-close {
      position: absolute;
      right: 110px;
    }
  }
}
