body {
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;

  &::before {
    content: "";
    width: 100vw;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #b9ceeb;
    //background-image: linear-gradient(45deg, #accbee 0%, #e7f0fd 100%);
    //background: url("../image/auth/auth-bg.svg") no-repeat center bottom;
    background-size: cover;
    z-index: -1;
  }

  .auth-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    .auth-main {
      width: 760px;
      height: 440px;
      background-color: #ffffff;
      position: relative;
      display: flex;
      justify-content: space-between;
      z-index: 10;
      flex-wrap: wrap;

      .logo-white,
      .logo {
        position: absolute;
        z-index: 999;
        left: 2rem;
        top: 2rem;

        img {
          height: 2.2rem;
        }
      }

      .logo-white {
        display: none;
      }

      &::after,
      &::before {
        position: absolute;
        background-color: rgba(255, 255, 255, .5);
        height: 300px;
        content: "";
        left: 13px;
        right: 13px;
        bottom: -13px;
        z-index: -1;
      }

      &::after {
        background-color: rgba(255, 255, 255, .3);
        left: 26px;
        right: 26px;
        bottom: -26px;
      }

      .login-copyright {
        width: 100%;
        text-align: center;
        line-height: 1;
        color: rgba(0, 0, 0, .4);
        margin-top: 70px;

        a {
          color: rgba(0, 0, 0, .4);
          padding-left: 10px;
        }
      }


      .left-main {
        background-color: rgba(223, 230, 255, .3);
        width: 50%;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 30px;
        box-sizing: border-box;

        img {
          width: 100%;
        }
      }

      .right-main {
        overflow: hidden;
        position: relative;
        width: 50%;
        padding: 15px 30px;
        box-sizing: border-box;

        .qrcode-icon {
          position: absolute;
          top: 0.8rem;
          right: 0.8rem;

          .item {
            display: none;
            cursor: pointer;

            &.active {
              display: block;
            }
          }

          img {
            width: 4rem;
          }
        }

        .login-main {
          display: none;

          &.active {
            display: block;
          }
        }

        #login_container {
          text-align: center;
          height: 35rem;
          overflow: hidden;
        }

        .binding-user {
          display: flex;
          align-items: center;
          margin-bottom: 25px;

          .avatar {
            width: 4rem;
            height: 4rem;
            flex-shrink: 0;

            img {
              width: 100%;
              height: 100%;
              border-radius: 0.5rem;
            }
          }

          .nickname {
            position: relative;
            height: 40px;
            box-sizing: border-box;
            padding: 0 15px;
            line-height: 38px;
            border: 1px #f1f1f1 solid;
            display: block;
            overflow: hidden;
            border-radius: 3px;
            width: 100%;
            margin-left: 1.5rem;
          }
        }

        .title {
          border-bottom: 1px #f5f5f5 solid;
          line-height: 40px;
          padding-bottom: 10px;
          font-size: 16px;
          color: #6b7a8f;
          font-weight: 500;
        }

        .login-button-icon {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          margin: 29px auto 0;

          .icon-item {
            cursor: pointer;

            i.iconfont {
              font-size: 33px;
              line-height: 38px;
            }

            i.icon-wechat {
              color: #07c160;
            }

            i.icon-douyin {
              color: #232323;
            }

            i.icon-qq {
              color: #0099ff;
            }

            i.icon-weibo,
            i.icon-gitee {
              color: #d81e06;
            }


            i.icon-github {
              color: #4f5a70;
            }
          }
        }

        .login-link {
          min-height: 20px;

          a {
            font-size: 12px;
            color: #8d8d8d;
            display: block;
            line-height: 1.35;
          }

          .text-right {
            text-align: right;
          }

          .layui-form-checkbox[lay-skin=primary],
          .layui-form-checkbox[lay-skin=primary] * {
            margin-top: 0;
            font-size: 12px !important;
            vertical-align: unset;
            float: left;
            padding-right: 0;

            span {
              color: #8d8d8d;
              font-size: 12px !important;
              line-height: 16px;

              a {
                line-height: 1;
                color: #1E9FFF;
              }
            }
          }

          .layui-form-checked[lay-skin=primary] {
            i {
              border-color: #86c1cb !important;
              background-color: #86c1cb !important;
            }
          }
        }

        .captcha,
        .getMobileCode {
          position: absolute;
          right: 0;
          top: 0;
          width: 140px;
          height: 46px;
          line-height: 46px;
          z-index: 1000;
          cursor: pointer;
          border-radius: 3px;
          overflow: hidden;
        }

        form {
          padding: 30px 0px 0px;
        }

        .layui-form-item {
          position: relative;
        }

        .layui-form {
          .layui-input-block {
            position: relative;
            padding: 5px 0;
            height: 46px;
            box-sizing: border-box;
            margin: 0 auto 25px;
            line-height: 14px;
            border: 1px #f1f1f1 solid;
            display: block;
            overflow: hidden;
            border-radius: 3px;
          }

          .layui-input {
            border: none;
            border-radius: 0;
            outline: none;
            height: 46px;
            font-size: 14px;
            padding: 0 15px;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1000;
            background-color: transparent;
          }

          .layui-form-label {
            position: absolute;
            display: inline-block;
            color: #aaa;
            padding: 0 8px;
            width: auto;
            font-size: 12px;
            top: 13px;
            left: 10px;
            transition: top 0.2s ease;
            cursor: text;
            background-color: #ffffff;
            z-index: 1000;
          }

          .input-left {
            width: 190px;
            position: static !important;
            margin-left: 0 !important;
          }
        }

        .input-item--error,
        .input-item--active {
          .layui-input-block {
            border: 1px solid #77a9fd35;

            &::after {
              -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0)
            }
          }
        }

        .input-item--error {
          .layui-input-block {
            border: none;
          }
        }

        .input-item--filled,
        .input-item--active {
          .layui-form-label {
            top: -12px;
          }
        }

        .login-btn {
          line-height: 46px;
          height: 46px;
        }
      }
    }
  }

  @media screen and (max-width: 850px) {
    .auth-container {
      .auth-main {
        width: 90%;

        .logo,
        .left-main {
          display: none !important;
        }


        .logo-white {
          position: absolute;
          top: -10rem;
          left: 50%;
          margin-left: -10rem;
          display: block;

          img {
            height: auto;
            width: 20rem;
          }
        }

        .right-main {
          width: 100% !important;
        }
      }
    }
  }

}

