$blue-color: #1472FF;
$yellow-color: rgba(255,161,20,1);

.ss-playback-downloader__wrapper {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2001;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* opacity: 0.6000000238418579; */
  background: rgba(0,0,0,0.6);
}

.ss-playback-downloader__header {
  margin: 40px auto 20px;
  width: 100%;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;

  img {
    width: 170px;
    height: 28px;
    opacity: 1;
    margin: 0 auto;
  }
}

.ss-playback-downloader__content-1 {
  margin-left: 40px;
  margin-top: 56px;
}

.ss-step-number {
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

.ss-main-text {
  height: 24px;
  opacity: 1;
  color: rgba(51,51,51,1);
  font-size: 20px;
  font-weight: 400;
  font-family: "PingFang SC";
  text-align: center;
  line-height: 24px;
  margin-top: 0;
  margin-bottom: 0;
}

.ss-first-line-1, .ss-second-line-1 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.ss-first-line-2{
  margin-left: 24px;
  margin-top: 12px;

  p {
    width: 160px;
    margin-top: 8px;
  }
}

.ss-second-part{
  margin-top: 24px;

  .ss-second-line-2 {
    margin-left: 24px;
    margin-top: 12px;
  }
}

.ss-download-border{
  width: 72px;
  height: 24px;
  border: 1px solid rgba(20,114,255,1);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;

  p {
    color: rgba(20,114,255,1);
    
    &:hover {
      cursor: pointer;
    }
  }
}

.ss-common-text{
  text-align: center;
  line-height: 22px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
}

.ss-first-part {
  margin-bottom: 32px;
}

.ss-playback-downloader__content {
  margin-left: 24px;
}

.ss-text-reason {
  height: 16px;
  opacity: 1;
  color: rgba(102,102,102,1);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;

  span {
    color: rgba(20,114,255,1);
    cursor: pointer;
  }
}

.ss-playback-downloader__body {
  position: relative;
  width: 800px;
  height: 480px;
  background: white;
  opacity: 1;
  border-radius: 4px;
}

 .ss-body-background-img {
  background-image: url("https://wechatapppro-1252524126.file.myqcloud.com/appAKLWLitn7978/image/b_u_5b2225aa46488_oGKN7IvA/kzp7h56h0no1.png");
  background-position: 399px 46px;
  background-size: 405px 434px;
  background-repeat: no-repeat;
 }

img.ss-playback-downloader__close {
  position: absolute;
  right: 16px;
  top: 16px;
  cursor: pointer;
}

.ss-playback-downloader_tab{
  display: flex;
  justify-content: center;
  align-items: center;
}

.ss-playback-downloader_tab-name{

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

  .ss-playback-downloader_tab-name-middle {
    position: absolute;
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    background-color: $blue-color;
  }
  .ss-playback-downloader_tab-item {
    border: 1px solid #ccc;
    width: 130px;
    height: 32px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ss-playback-downloader_tab-item-0 {
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }

  .ss-playback-downloader_tab-item-1 {
      border-left: none;
      border-top-right-radius: 4px;
      border-bottom-right-radius: 4px;
      position: relative;

    .ss-playback-downloader_tab-recommend-tag {
      z-index: 2;
      width: 64px;
      height: 20px;
      position: absolute;
      left: 80px;
      top: -22px;
      border: 1px solid red;
      border-radius: 4px;
  
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: red;
      color: white;
      font-size: 13px;
      font-weight: 500;
      line-height: 20px;

      .ss-playback-downloader_tab-recommend-tag_arrow {
        position: absolute;
        bottom: -12px;
        left: calc(50% - 18px);
        margin-right: 3px;
        border-bottom-width: 0;
        display: block;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 6px;
        border-top-color: red;
      }
    }
  }

  .ss-playback-downloader_tab-name-active {
    color: $blue-color;
    border-color: $blue-color;
  }

  .ss-playback-downloader_tab-item-disabled{
    color: #B2B2B2;
    border-color: #ccc;
    background-color: #F5F5F5;
    cursor: default;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
  }
}

.ss-video-infos{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  .ss-video-name {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    img {
      width: 24px;
      height: 24px;
      margin-right: 8px;
    }

    p {
      color: rgba(51,51,51,1);
      max-width: 493px;
      height: 24px;
      font-size: 16px;
      text-align: center;
      line-height: 24px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin-top: 0;
      margin-bottom: 0;
    }
  }

  .ss-video-encode-progress {
    height: 20px;
    margin-top: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    .ss-video-encode-progress-line {
      width: 524px;
      height: 8px;
      background: rgba(235,235,235,1);
      border-radius: 8px;
      // margin-right: 8px;
      

      .ss-video-encode-progress-line-inner {
        border-radius: 8px;
        height: 100%;
        width: 0;
        background-color: $blue-color;
      }

    }

    .ss-video-encode-progress-icon {
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 20px;
      height: 20px;
      bottom: 0px;
      right: -30px;
      img {
        width: 16px;
        height: 16px;
      }
    }
  }
}

.ss-encode-state{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 48px;
  p {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0;
  }
}
.ss-encode-state .ss-yellow-text {
  color: $yellow-color;
  font-weight: 600;
}

.ss-encode-state-0 {
  button {
    margin-bottom: 22px;
  }
}

.ss-encode-state-2 {
  button {
    margin-top: 16px;
  }
}

.ss-encode-state-4{
  button {
    margin-bottom: 8px;
  }
}

.ss-primary-btn {
  width: 88px;
  height: 32px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 20px;
  border-radius: 4px;
  outline: none;
  // margin-bottom: 22px;
  background-color: $blue-color;
  color: rgba(255,255,255,1);
  border: none;

  &:hover {
    cursor: pointer;
  }
}

.ss-install-btn {
  background-color: $blue-color;
  color: rgba(255,255,255,1);
  border: none;
}

.ss-download-video-btn {
  border: 1px solid $blue-color;
  background-color: white;
  color: $blue-color;
}

a#mp4Download{
  display: none;
}

.ss-playback-downloader__content-2 {
  position: relative;
  height: 360px;
}