.pre-register-video {
  min-height: calc(100vh - 176px);
  background: url('./images/banner.png') no-repeat top center #C7F4FF;
  background-size: contain;
  padding-top: 160px;
  overflow: hidden;
}

.videoContainer {
  position: relative;
  margin: 0 6px;
  background: url('./images/video-bg.png') no-repeat center;
  background-size: contain;
  min-height: 265px;
}

.video-content {
  position: relative;
  width: 100%;
  --plyr-color-main: #FF8057;
  width: 303px;
  height: 171px;
  border-radius: 18px;
  padding-top: 34px;
  padding-bottom: 28px;
  margin: 0 auto;

  .coverImg {
    width: 100%;
    height: 100%;
    border-radius: 30px;
  }

  video {
    width: 100%;
  }

  :global {
    .video-back {
      position: absolute;
      left: 20px;
      top: 20px;
      color: #fff;
      z-index: 99;
      font-size: 24px;
      width: 30px;
      height: 30px;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 50%;
      padding: 4px 5px 4px 3px;
    }


    .video-js {
      width: 100%;
      height: 100%;
      border-radius: 30px;
      overflow: hidden;
    }


    .plyr__poster {
      background-size: cover;
    }

    .plyr__control--overlaid {
      border: 1px solid #fff;
      background-color: rgba(0, 0, 0, 0.2) !important;
    }

    .plyr--video .plyr__control:hover {
      background-color: transparent !important;
    }

    .video-js {
      width: 100%;
      height: 100%;
    }

    .tcp-skin .vjs-play-progress {
      background-color: var(--van-primary) !important;
    }

    .vjs-slider:focus {
      box-shadow: none !important;
    }

    .video-js .vjs-progress-control:hover .vjs-progress-holder {
      font-size: 1em !important;
    }

  }

  .video {
    position: relative;
    border-radius: 18px;
  }
}

.videoCount {
  // position: relative;
  // margin-top: 5px;
  // background: url('./images/video-count.png') no-repeat center;
  // background-size: contain;
  // min-height: 82px;
  // box-sizing: content-box;
  // padding: 60px 36px 0;
  position: relative;
  margin: 8px 14px 12px;
  // background: url('./images/flow-path-bg.png') no-repeat center;
  // background-size: contain;
  background: linear-gradient(180deg, #BFF4FF 0%, #80D3E1 100%);
  box-shadow: 0px 2px 4px 0px rgba(23, 89, 202, 0.92), inset 0px -9px 6px 0px #64BDFF, inset 0px 3px 4px 0px #FFFFFF;
  border-radius: 25px;
  padding: 12px 10px 11px;

  .videoTitle {
    display: block;
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -93px;
    width: 186px;
    height: 32px;
    background: url('./images/video-path-title.png') no-repeat center;
    background-size: contain;
  }

  &::before,
  &::after {
    content: ' ';
    position: absolute;
    top: -33px;
    width: 11px;
    height: 44px;
    background: url('./images/icon-connect.png') no-repeat center;
    background-size: contain;
  }

  &::before {
    left: 34px;
  }

  &::after {
    right: 34px;
  }


  .videoCountContent {
    padding: 31px 20px 14px;
    font-size: 14px;
    color: #2D1A18;
    line-height: 26px;

    background: linear-gradient(180deg, #FFFFFA 0%, rgba(255, 255, 253, 0.87) 90%, rgba(255, 255, 255, 0.52) 100%);
    box-shadow: 0px 1px 6px 0px #D9EFF8;
    border-radius: 18px;
    border: 5px solid #139CF1;

    span {
      font-size: 13px;
      color: #000000;
      line-height: 18px;
      background: #E8EBEE;
      border-radius: 14px;
      padding: 4px 9px;
      display: inline-block;
      margin-right: 8px;
      margin-bottom: 6px;

      &.active {
        font-weight: 600;
        color: #FFFFFF;
        background: #198CFE;
      }

      // &+span {
      //   margin-left: 8px;
      // }
    }

    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.loadingVideo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10;
}

.messageContainer {
  margin: 0 10px 20px;
  // background: url('./images/message-bg.png') no-repeat center;
  // background-size: contain;
  // min-height: 440px;
  background: linear-gradient(180deg, #BFF4FF 0%, #80D3E1 100%);
  box-shadow: 0px 2px 4px 0px rgba(23, 89, 202, 0.92), inset 0px -9px 6px 0px #64BDFF, inset 0px 3px 4px 0px #FFFFFF;
  border-radius: 25px;
  padding: 12px 10px 11px;

  .messageContent {
    padding: 12px 20px 12px;
    font-size: 14px;
    color: #2D1A18;
    line-height: 26px;

    background: linear-gradient(180deg, #FFFFFA 0%, rgba(255, 255, 253, 0.87) 90%, rgba(255, 255, 255, 0.52) 100%);
    box-shadow: 0px 1px 6px 0px #D9EFF8;
    border-radius: 18px;
    border: 5px solid #139CF1;

    &>div {
      text-align: justify;
    }

    // p {
    //   text-align: justify;
    // }

    // .c1 {
    //   text-indent: 2em;

    //   span {
    //     color: #DD3210;
    //   }
    // }
  }

  .bottom {
    padding-top: 30px;
  }
}

.submitBtn {
  width: 190px;
  height: 53px;
  background: url('./images/pre-btn.png') no-repeat center;
  background-size: contain;
  border: none;
  display: block;
  margin: 20px auto 0;
  border-radius: 50px;
}