@import "~tplus-components/dist/index.less";
@input_border_c:#DADADA;
.t_login_modal{
  footer{
    display: none;
  }
}
.u-modal{
  .t_login_modal{
    .u-modal-header{
      display: none;
    }
    .u-modal-body{
      padding: 0;
    }
    .loginPage{
      margin-top: 20%;
    }
    .loginBox{
      position: static;
      margin: 0 auto;
    }
    .u-modal-content, .loginPage{
      background: transparent;
      box-shadow: none;
      border: none;
    }
  }
}
.loginPage {
  width: 100%;
  height: 100%;
  background: url("https://newretail.static.chanjet.com/login-bg.png");
  // background-size: 620px;
  background-repeat: no-repeat;
  background-position: top left;
  background-color: #fff;
  -webkit-user-select: none;
  -webkit-app-region: drag;
  position: relative;
  .login-page-bg-text{
    font-size: 46px;
    color: #FFFFFF;
    position: absolute;
    left: 5%;
    top: 8%;
  }
  .pos-login-bottom-bg{
    position: absolute;
    bottom: 0;
    background: url("https://newretail.static.chanjet.com/login-bg-bottom.png");
    background-repeat: no-repeat;
    background-position: 60%;
    height: 140px;
    width: 100%;
  }
  .animation{
    transition: all 0.2s ease-in-out;
  }
  .animation;
  .loginBox {
    width: 420px;
    height: 450px;
    padding: 45px 32px;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.23);
    border-radius: 23px;
    position: fixed;
    right: 20%;
    top: 14%;
    z-index: 1;
    display: none;
    overflow: hidden;
    .animation;
    .pos-login-input-content{
      .tplus-input-container{
        .tplus-input{
          .u-select-search-field{
            padding: 0px;
          }
        }
      }
    }
    .experience-loading{
      .shape-container{
        margin: 0 auto;
      }
      .tplus-spin .circle {
        border-color: #FF8C25;
        border-top-color: transparent;
        margin: 0 auto;
      }
      h1{
        margin-top: 20px;
        color: #888;
      }
    }
    .experience-btn{
      color: #FF8C25;
      font-size: 16px;
      display: block;
      width: 70px;
      text-align: center;
      margin: 16px auto 20px auto;
      cursor: pointer;
    }
    &.pos-logined{
      height: 282px;
      top: 24%;
    }
    &.formal-login-box{
      height: 270px !important;
    }
    &.cloud-pos-loaded-animate{
      display: block !important;
      animation: showloginbox .6s forwards;
    }
    @keyframes showloginbox {
      from {opacity: .2;}
      to {opacity: 1; margin-top: -2%;}
    }
    .login-button{
      width: 100%;
      height: 48px;
      background: #FF8C25;
      color: #fff;
      border-radius: 8px;
      border: none;
      margin-top: 16px;
      font-size: 18px;
      letter-spacing: 6px;
      &.login-button-disabled{
        background: #c8c8cd;
      }
    }
    .control-bar{
      position: relative;
      margin-top: 20px;
      .u-checkbox-label{
        font-size: 14px;
        color: #666666;
      }
      .reset-pass{
        font-size: 14px;
        color: #FF3830;
        position: absolute;
        right: 0px;
      }
    }
    .tplus-input-wrapper{
      margin-bottom: 18px;
      .u-select-selection-rendered{
        margin-left: 0px;
      }
      .u-select-selection-placeholder{
        color: #999;
        left: 0px;
      }
      .u-select-disabled{
        background-color: transparent;
      }
      input{
        font-size: 16px;
        &::-webkit-input-placeholder {
          font-size: 16px;
          color: #999;
        }
        &:-moz-placeholder {
          font-size: 16px;
          color: #999;
        }
      }
      input:-webkit-autofill,
      input:-webkit-autofill:hover,
      input:-webkit-autofill:focus,
      input:-webkit-autofill:active {
          -webkit-transition-delay: 99999s;
          -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
      }
      .u-select-selection-selected-value{
        padding-left: 0px;
      }
    }
    .tplus-input-wrapper{
      &.tplus-input-disabled{
        border-color: @input_border_c;
      }
      .tplus-input-icon{
        color: #999;
        &.tplus-input-clear {
          color: #bdbdbd;
        }
      }
    }
    .select-org, .select-store, .select-pos{
      .u-select-selection{
        font-size: 16px;
      }
    }
  }
  footer{
    width: 100%;
    height: 42px;
    position: fixed;
    bottom: 0px;
    line-height: 42px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 -2px 4px 0 rgba(0,0,0,0.04);
    font-size: 12px;
    color: #75787B;
    span{
      color: #5677f7;
    }
  }
}
//检查更新
.CheckModalContainer {
  .body {
    width            : 400px;
    height           : 200px;
    padding          : 0;
    border-radius    : 15px;
    background       : url(https://newretail.static.chanjet.com/update-bg.jpg);
    background-repeat: no-repeat;

    .top {
      display    : flex;
      align-items: center;
      height     : 118px;
      margin-left: 36px;

      .left img {
        width : 38px;
        height: 38px;
      }

      .right {
        margin-left: 16px;
        font-size  : 14px;
        color      : #FFFFFF;
        font-weight: 500;

        .b2{
          color: #FFFFFF;
          font-size: 12px;
        }
      }
    }

    .floatBox{

      position: absolute;
      top:13px;
      right: 16px;
      color: #FFFFFF;
      i{font-size: 20px;cursor: pointer;}
    }

    .bottom {
      .first {
        margin    : 0px 30px;
        margin-top: 32px;
      }

      .second {
        text-align: right;
        margin    : 30px 30px 0px 0px;

        span {
          font-size: 14px;
          color    : #FF4F6D;
        }

        button {
          border-radius: 20px;
          margin-left  : 16px;
          font-size    : 12px;
        }
      }
    }

    .u-progress-bar {
      background-color: #FF8C25
    }
  }

  .u-modal-content {
    border-radius: 15px;
  }
}
.u-notification{
  z-index: 2999;
}
.update-pos-notification{
  .u-notification-notice-title{
    font-size: 18px;
    color: #E60012;
    line-height: 18px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .u-notification-notice-description{
    font-size: 14px;
    color: #000000;
    line-height: 24px;
  }
}

@media (max-width: 1600px) {
  .loginPage{
    // background-position: 14% 22%;
    .loginBox {
      right: 14%;
    }
  }
}


@media (max-width: 1300px) {
  .loginPage{
    // background-position: 10% 22%;
    .loginBox {
      right: 10%;
    }
  }
}

@media (max-width: 1100px) {
  .loginPage{
    // background-position: 2% 22%;
    .loginBox {
      right: 4%;
    }
  }
}
@media (max-width: 600px) {
  .loginPage{
    // background-position: center 22%;
    .loginBox {
      left: 50%;
      margin-left: -210px;
    }
  }
}
@media (max-height: 760px) {
  .t_login_modal {
    .loginPage {
      margin-top: 10% !important;
    }
  }
}

@media (max-height: 680px) {
  .t_login_modal {
    .loginPage {
      margin-top: -5% !important;
    }
  }
}


.text-animation{
  display: inline-block;
  opacity: 0;
}

@keyframes text-animation {
  from {opacity: .2; transform: translate3d(-55%,0, 0);}
  to {opacity: 1; transform: translate3d(0, 0, 0);}
}
