@import url("../../core/variables.less");
.login-page {
  position: static;
  font-family: "微软雅黑";
  padding: 0;
  min-width: 1200px;
  background: #F4F6FA;
  height: 100%;
  overflow-y: hidden;
  .logo-img-box{
    position: absolute;
    top:24px;
    right:32px;
    z-index:1;
    .logo-img{
      width:120px;
      display: inline-block;
    }
  }
 
  .login-main {
    min-width: 1200px;
    display: flex;
  }
  .left-banner {
    position: relative;
    width: 540px;
    height: 100vh;
    .img-box {
      background: #2966FF;
      width: 540px;
      height: 100vh;
      img {
        width: 540px;
        height: 800px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
      }
    }
  }
  .login-box {
    min-width: 740px;
    height: 100vh;
    width: calc(100vw - 500px);
    position: relative;
    .color-block {
      width: 256px;
      height: 256px;
      background: rgba(41, 102, 255, 0.05);
      position: absolute;
      top:0;
      left: 0;
      &.right-bottom-block {
        top:auto;
        left: auto;
        bottom: 0;
        right: 0;
      }
    }
    .go-to-site {
      position: absolute;
      bottom: -80px;
      width: 200px;
      margin: 0 auto;
      left: 50%;
      margin-left: -50px;
      a {
        color: #fff;
        text-decoration: none;
      }
      span.icon {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
        font-size: 12px;
        display: inline-block;
        margin-right: 10px;
      }
    }
    .login {
      display: flex;
      display: -webkit-flex;
      flex-direction: row;
      -webkit-flex-direction: row;
      width: 420px;
      height: 420px;
      position: absolute;
      left: 50%;
      top:50%;
      transform: translate(-50%,-50%);
      overflow: hidden;
      background-color: #ffffff;
      border-radius: 4px; 
      .ant-tabs-tab-btn {
        color: #999999;
        font-size: 18px;
        line-height: 25px;
        &.ant-tabs-tab-active {
          color: #333333;
        }
      }

      .ant-tabs-tab-active {
        .ant-tabs-tab-btn {
          color: #333333;
          font-weight:bold;
        }
      }
      .ant-tabs-nav::before {
        display: none;
      }
      .ant-tabs-tab {
        text-align: center;
        margin:0;
      }
      .ant-tabs > .ant-tabs-nav .ant-tabs-nav-list {
        margin: 0 auto;
      }
      .ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar {
        height: 4px;
      }

      .l {
        width: 280px;
        height: 100%;
        background: @primary;
        background: -webkit-gradient(
          linear,
          left top,
          left bottom,
          from(#ffaa1a),
          to(#ff8634)
        ) !important;
        display: flex;
        display: -webkit-flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        align-items: center;
        color: #ffffff;
        font-size: 12px;
        justify-content: center;
        -webkit-justify-content: center;
        .logo {
          height: 125px;
          img {
            height: 100%;
          }
        }
        .name {
          font-size: 16px;
          margin-bottom: 20px;
        }
        .desc {
          opacity: 0.7;
          margin-bottom: 20px;
        }
        .items {
          ul {
            padding: 0;
            li {
              .icon {
                -webkit-transform: scale(0.8);
                -moz-transform: scale(0.8);
                -ms-transform: scale(0.8);
                -o-transform: scale(0.8);
                transform: scale(0.8);
                display: inline-block;
                margin-right: 10px;
              }
              line-height: 30px;
              list-style-type: none;
            }
          }
        }
      }
      .r {
        flex: 1;
        -webkit-flex: 1;
        height: 100%;
        padding: 40px;
        box-sizing: border-box;
        position: relative;
        &.show-qrcode {
          .qrcode {
            display: block;
          }
          .top-right-tip {
            .computer {
              display: inline-block;
            }
            .icon-container {
              display: none;
            }
          }
        }
        .login-form{
          margin-top:32px;
        }
        .qrcode {
          display: none;
          text-align: center;
          position: absolute;
          background: #fff;
          z-index: 1;
          left: 20px;
          top: 28px;
          padding-top: 20px;
          img {
            display: inline-block;
            width: 180px;
          }
        }
        .top-right-tip {
          cursor: pointer;
          position: absolute;
          top: 4px;
          right: 4px;
          .computer {
            display: none;
          }
          .icon-container {
            position: relative;
            height: 32px;
            width: 32px;
            display: inline-block;
            .tips {
              width: 69px;
              position: absolute;
              top: 0;
              right: 36px;
              img {
                width: 100%;
              }
            }
            .shade {
              position: absolute;
              width: 100%;
              height: 150%;
              top: 0;
              margin-left: -100%;
              background: #fff;
              transform-origin: right top;
              transform: rotate(-45deg);
            }
          }
          span.icon {
            font-size: 32px;
          }
        }
        .title {
          font-size: 18px;
          font-weight: 500;
          color: #333333;
          line-height: 25px;
          text-align: center;
          font-weight: bold;
          margin-bottom: 43px;
          &::after {
          }
          .text1 {
            color: black;
          }
          .icon {
            font-size: 11px;
          }
          #login-method {
            width: 100%;
            text-align: center;
            span {
              color: #999;
              font-weight: 400;
              &:hover {
                color: #333;
              }
            }
            span.active {
              font-weight: 500;
              color: #333;
              &::after {
                content: "";
                display: block;
                width: 24px;
                height: 4px;
                border-radius: 3px;
                background: #ff8534;
                margin: 10px auto 0;
              }
            }
            #password-login {
              margin-right: 32px;
            }
          }
        }
        #password-icon {
          color: #bfbfbf;
          margin-right: 10px;
          cursor: pointer;
          &:hover {
            color: #fc9c6b;
          }
          -webkit-user-select: none;
          -moz-user-select: none;
          -o-user-select: none;
          -ms-user-select: none;
        }
        input {
          display: block;
          width: 100%;
          height: 40px;
          line-height: 40px;
          border: 1px solid #e8e8e8; // border-bottom: 1px solid @xm-color-border;
          padding-right: 30px;
          padding-left: 10px;
          margin-bottom: 16px;
          background-color: transparent;
          background-image: none;
          border-radius: 4px;
          box-sizing: border-box;
          -webkit-transition: all 0.3s linear;
          -moz-transition: all 0.3s linear;
          -ms-transition: all 0.3s linear;
          -o-transition: all 0.3s linear;
          transition: all 0.3s linear;
          &:focus,
          &:active,
          &:hover {
            outline: none; // border: none!important;
            // border-bottom: 1px solid @sun!important;
            box-shadow: none;
            border-color: @primary;
          }
        }
        ::-webkit-input-placeholder {
          /* WebKit, Blink, Edge */
          color: #ccc;
        }
        :-moz-placeholder {
          /* Mozilla Firefox 4 to 18 */
          color: #ccc;
        }
        ::-moz-placeholder {
          /* Mozilla Firefox 19+ */
          color: #ccc;
        }
        :-ms-input-placeholder {
          /* Internet Explorer 10-11 */
          color: #ccc;
        }
        input:-webkit-autofill,
        textarea:-webkit-autofill,
        select:-webkit-autofill {
          -webkit-box-shadow: 0 0 0 1000px white inset;
        }
        .username,
        .password,
        .phoneverify {
          height: 40px;
          position: relative;
          color: #666666;
          .icon {
            position: absolute;
            right: 5px;
            top: 5px;
            font-size: 20px;
          }
          #sendVerifyCode {
            cursor: pointer;
            display: flex;
            display: -webkit-flex;
            justify-content: center;
            -webkit-justify-content: center;
            align-items: center;
            -webkit-align-items: center;
            position: absolute;
            right: 10px;
            top: -53px; // border: 1px solid @sun;
            height: 25px;
            width: 90px;
            border-radius: 3px;
            margin-top: 60px;
            font-size: 14px; // font-weight: 300;
            color:#2966FF;
            &:hover {
              color: #2966FF;
            }
            &::before {
              content: "";
              display: block;
              height: 20px;
              width: 1px;
              background-color: #e8e8e8;
              margin-right: 10px;
            }
          }
        }
        .error-message {
          font-size: 14px;
          font-weight: 400;
          color: @warning;
          line-height: 20px;
          margin-top: 9px;
        }
        .network-message {
          text-align: center;
          font-size: 14px;
          color: #000;
          margin-top: 11px;
          .icon {
            font-size: 14px;
            color: @primary;
            margin-right: 8px;
          }
          .refresh {
            font-size: 14px;
            color: #2966FF;
            cursor: pointer;
          }
        }
        #sendVoiceVerifyCode {
          cursor: pointer;
        }
        .phoneverify-voice {
          // padding-left: 5px;
          margin-top: 10px;
          &::after {
          }
        }
        .submit {
          margin-top: 24px;
          button {
            // font-weight: 300;
          }
        }
        .apply {
          cursor: pointer;
          text-align: right;
          margin-top: 10px;
          color: #999;
          float: right; // font-weight: 300;
          span.icon {
            font-size: 12px;
            margin-left: 7px;
          }
          &:hover {
            color: #fc9c6b;
          }
        }
        .btn {
          #loginIn {
            display: block;
            width: 100%;
            background: @primary;
            color: #fff;
            font-size: 14px;
            font-weight: 400 !important;
            line-height: 40px !important;
            border-radius: 4px;
            -webkit-transition: all 0.3s;
            -moz-transition: all 0.3s;
            -ms-transition: all 0.3s;
            -o-transition: all 0.3s;
            transition: all 0.3s;
            cursor: pointer;
            border: none;
            text-align:center;
            &:hover {
              opacity: 0.7;
              background: #5C8AFF;
            }
          }
        }
      }
    }
  }
}
