.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: 30px;
  padding-top: 34px;
  padding-bottom: 28px;
  margin: 0 auto;

  video {
    width: 100%;
  }

  :global {
    .plyr {
      height: 100%;
      border-radius: 30px;
    }

    .plyr__video-wrapper {
      border-radius: 30px;
    }

    .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;
    }

    .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;
    }

    .plyr__menu {
      &>.plyr__control[data-plyr="settings"] {
        font-size: 0;
        padding: 0;
        background-color: transparent;

        &::before {
          content: ' ';
          display: inline-block;
          background: url('./images/video-speed1.png') no-repeat center;
          background-size: contain;
          width: 32px;
          height: 32px;
        }

        svg {
          display: none !important;
        }
      }
    }
  }

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

.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;

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

  &::before {
    left: 34px;
  }

  &::after {
    right: 34px;
  }


  .videoCountContent {
    overflow-x: auto;
    white-space: nowrap;

    span {
      font-size: 13px;
      color: #000000;
      line-height: 18px;
      background: #E8EBEE;
      border-radius: 14px;
      padding: 4px 7px;
      display: inline-block;

      &.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;

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

    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: 0 auto;
  border-radius: 50px;
}