@import '~antd/es/style/themes/default.less';
@userPageLogin-prefix-cls: ~'@{ant-prefix}-pro-pages-user-login';
@keyframes loginTimeShow {
  0% {
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    zoom: 2;
  }
  50% {
    opacity: 1;
    top: 28px;
    left: 45px;
    transform: translate(0, 0);
    zoom: 1;
  }
  60% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
  70% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
  75% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
  100% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
}

.main {
  // width: 368px;
  margin: 0 auto;
  height: 100%;
  width: 100%;
  @media screen and (max-width: @screen-sm) {
    width: 95%;
  }

  .icon {
    margin-left: 16px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

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

  .other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;

    .register {
      float: right;
    }
  }
  .videLayer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: fill;
  }

  .inner {
    position: absolute;
    width: 100%;
    height: 84%;
    .loginTime {
      position: absolute;
      top: 50%;
      left: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 1;
      transform: translate(-50%, -50%);
      img[role='logo'] {
        height: 40px;
        vertical-align: middle;
      }
      &.loginTimeShow {
        animation-name: loginTimeShow;
        animation-duration: 1s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
      }
      .titleCase {
        display: flex;
        flex-direction: column;
        margin: -5px 0 0 20px;
        max-width: 570px;
        .title,
        .subtitle {
          font-family: 'Microsoft YaHei';
          text-align: left;
          overflow-wrap: break-word;
          color: #ffffff;
        }
        .title {
          font-size: 28px;
        }
        .subtitle {
          font-size: 12px;
          line-height: 1;
        }
      }
    }
    .divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.75);
      opacity: 0.29;
      width: 100%;
      position: absolute;
      top: 90px;
      color: #e1e1e1;
      padding: 0 0.7em;
    }
    .timeCase {
      .time,
      .dayofweek,
      .date {
        position: absolute;
        font-family: 'MicrosoftYaHeiUI';
        color: rgba(255, 255, 255, 1);
      }
      .time {
        top: 26px;
        right: 170px;
        font-size: 40px;
      }
      .dayofweek {
        top: 32px;
        right: 125px;
        font-size: 16px;
      }
      .date {
        top: 57px;
        right: 95px;
        font-size: 14px;
      }
    }
    .login-block {
      width: 800px;
      position: absolute;
      left: 50%;
      top: 50%;
      margin-left: -400px;
      margin-top: -150px;
      display: flex;
      background: #ffffff;
      img {
        margin-top: 50px;
        margin-bottom: 50px;
        margin-left: 30px;
      }
      .login-form {
        padding: 50px 50px 50px;
        background-color: #ffffff;
      }
    }
  }
  .caseHide {
    display: none !important   ;
  }

  .footerCase {
    width: 100%;
    height: 16%;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    .quickMark {
      position: absolute;
      bottom: 48px;
      text-align: center;
      width: 100%;
      font-size: 12px;
      min-height: 71px;

      &-single {
        text-align: center;
        width: 120px;
        display: inline-block;
        span {
          &.Android {
            display: block;
            background-image: url(https://panda-water.cn/web4/assets/images/login/dark/Android1.png);
            width: 26px;
            height: 32px;
            margin: auto;
            margin-bottom: 6px;
          }
          &.Wechat {
            display: block;
            background-image: url(https://panda-water.cn/web4/assets/images/login/dark/Wechat1.png);
            width: 34px;
            height: 32px;
            margin: auto;
            margin-bottom: 6px;
          }
          &.iphone {
            display: block;
            background-image: url(https://panda-water.cn/web4/assets/images/login/dark/iphone1.png);
            width: 28px;
            height: 32px;
            margin: auto;
            margin-bottom: 6px;
          }
        }
      }
      .Android-single .Android-code,
      .iphone-single .iphone-code {
        margin: 0px 0px 10px 0px;
        width: 150px;
        height: 150px;
        background: #fff;
        padding: 5px;
        display: none;
        transform: translateX(-15px);
      }
      .icon-Container {
        height: 50px;
        cursor: pointer;
      }
    }
    .copyright {
      position: absolute;
      z-index: 2;
      text-align: center;
      width: 100%;
      bottom: 10px;
      font-size: 13pz;
      color: #000000;
      .frontIcon {
        margin-top: -5px;
      }
      a {
        color: #000000;
      }
      .addons {
        display: none;
      }
      .split {
        border-left: 1px solid #000000;
        margin: 0 8px;
      }
      .glyphicon-qrcode {
        vertical-align: text-top;
      }
    }
  }

  :global {
    .antd-pro-login-submit {
      width: 100%;
      margin-top: 24px;
    }
  }
  .wechatQRcode {
    width: 250px;
    height: 220px;
    margin: 0 15px;
  }
  .loginDisplay {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    a {
      &:hover {
        color: @primary-color;
        transition: all 0.3s ease-in-out;
      }
    }
  }
  .captcha {
    color: @primary-6;
    font-weight: 400;
    cursor: pointer;
    font-size: 12px;
  }
}
