@import url('../../core/variables.less');
.login-page {
  position: static; 
  font-family: "微软雅黑";
  padding: 0;
  min-width: 1200px;
  background: #21242E;
  height:100%;
  .login-main {
    min-width: 1200px;
  }
  .left-banner {
    position: fixed;
    min-width:315px;
    text-align:center;
    top: 50%;
    left: 30%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform:translate(-50%, -50%);
    .name{
      font-size: 30px;
      font-weight: 500;
      color: #FFFFFF;
      line-height: 42px;
      margin-top:11px;
    }
    .desc{  
      font-size: 14px;
      font-weight: 400;
      color: #FFFFFF;
      line-height: 20px;
      margin-top:10px;
    }
  }
  .login-box {
    min-width: 360px;
    height: 340px;
    position: fixed;
    top: 50%;
    left: 70%;
    -webkit-transform:translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    transform: translate(-50%, -50%);
    
    .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;
      height: 100%;
      overflow: hidden;
      background-color: #ffffff;
      border-radius: 4px; //box-shadow: 0 0 17px @sun;
      .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: .7;
          margin-bottom: 20px;
        }
        .items {
          ul {
            padding: 0;
            li {
              .icon {
                -webkit-transform: scale(.8);
                -moz-transform: scale(.8);
                -ms-transform: scale(.8);
                -o-transform: scale(.8);
                transform: scale(.8);
                display: inline-block;
                margin-right: 10px;
              }
              line-height: 30px;
              list-style-type: none;
            }
          }
        }
      }
      .r {
        flex: 1;
        -webkit-flex: 1;
        height: 100%;
        padding: 30px;
        box-sizing: border-box;
        position: relative;
        &.show-qrcode {
          .qrcode {
            display: block;
          }
          .top-right-tip {
            .computer {
              display: inline-block;
            }
            .icon-container {
              display: none;
            }
          }
        }
        .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 .3s linear;
          -moz-transition: all .3s linear;
          -ms-transition: all .3s linear;
          -o-transition: all .3s linear;
          transition: all .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;
            color: #333;
            height: 25px;
            width: 90px;
            border-radius: 3px;
            margin-top: 60px;
            font-size: 14px; // font-weight: 300;
            &:hover {
              color: #FF8534;
            }
            &::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:#5289FA;
            cursor: pointer;
          }
        }
        #sendVoiceVerifyCode {
          cursor: pointer;
        }
        .phoneverify-voice {
          // padding-left: 5px;
          margin-top: 10px;
          &::after {}
        }
        .submit {
          margin-top:11px;
          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 {
          button {
            display: block;
            width: 100%;
            background: @primary;
            color: #fff;
            font-size: 14px;
            font-weight: 400;
            line-height: 40px;
            border-radius: 4px;
            -webkit-transition: all .3s;
            -moz-transition: all .3s;
            -ms-transition: all .3s;
            -o-transition: all .3s;
            transition: all .3s;
            cursor: pointer;
            border: none;
            &:hover {
              opacity: 0.7;
              background: linear-gradient(90deg, #FFB714 0%, #FFAD34 100%);
            }
          }
        }
      }
    }
  }
} 