/* Video Player Base Styles */

/* Modal Close Buttons */
.userchatreqmodal .modal-header .btn-close, .searchmodal .modal-header .btn-close
{
  padding: 0;
    background: none;
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 100%;
    text-align: center;
    background: linear-gradient(267.6deg, #626060 19.74%, rgba(139, 139, 139, 0) 145.98%), linear-gradient(0deg, #444444, #444444);
    border: 1px solid rgba(98, 96, 96, .8);
    opacity: 1;
}

.playervideouserchat{
    overflow-y: auto;
    height: 50vh;
}

/*start scrollbar css [for comment section] */
::-webkit-scrollbar {
    width:12px;
    height:12px;
}
::-webkit-scrollbar-track {
  background: none;
}
::-webkit-scrollbar-thumb {
    border-radius:12px;
    border:4px solid rgba(255, 255, 255, 0);
    background-clip:content-box;
    background-color: #aaa;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}
/*end scrollbar css*/
.myvideo-1-dimensions.vjs-fluid:not(.vjs-audio-only-mode) {
    padding-top: 41.66%;
}
.video-js.vjs-fluid {
    width: 100%;
    max-width: 100%;
}
.related-like-section .likeseries-box .imgbox img {
    max-height: 250px;
    width: 100%;
}

/* Handle 15 items in Series You May Like section */
.related-like-section {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
}

/* Make the right content column match the height of left column */
.video-player-right-content {
    min-height: 600px;
}

/* When there's a poll, limit height */
.voting-block-content + .related-like-section {
    max-height: 50vh;
}

/* When there's no poll, stretch to fill available space */
.video-player-right-content > .related-like-section:first-child,
.video-player-right-content > .related-like-section:nth-child(2):last-child {
    flex: 1;
    height: auto;
    max-height: none;
}

/* Custom scrollbar for Series You May Like */
.related-like-section::-webkit-scrollbar {
    width: 6px;
}

.related-like-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.related-like-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.related-like-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Portrait Thumbnail Layout - Netflix Style 2:3 Ratio */
.related-like-section .webseries-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.related-like-section .likeseries-box {
    width: 100%;
}

.related-like-section .likeseries-box .imgbox {
    position: relative;
    width: 100%;
    padding-bottom: 150%; /* 2:3 portrait ratio (height is 1.5x width) */
    overflow: hidden;
    border-radius: 6px;
    background: #141414;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-like-section .likeseries-box .imgbox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}

.related-like-section .likeseries-box:hover .imgbox {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Mobile Grid Layout - 2 Columns Side by Side */
@media (max-width: 768px) {
    .related-like-section .webseries-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }

    .related-like-section .likeseries-box {
        margin-bottom: 0;
    }

    .related-like-section .likeseries-box .imgbox {
        padding-bottom: 150%; /* Maintain 2:3 portrait ratio on mobile */
        margin-bottom: 8px;
    }

    .related-like-section .likeseries-box .titlebox h4 {
        font-size: 14px;
        line-height: 16px;
    }

    .related-like-section .likeseries-box p {
        font-size: 11px;
        line-height: 14px;
    }

    /* Keep scroll on mobile but with grid layout */
    .related-like-section {
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* Tablet - 3 columns */
@media (min-width: 769px) and (max-width: 991px) {
    .related-like-section .webseries-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-like-section .likeseries-box {
        margin-bottom: 0;
    }
}

/* Desktop - 2 columns side by side with smaller thumbnails */
@media (min-width: 992px) {
    .related-like-section .webseries-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-like-section .likeseries-box {
        margin-bottom: 0;
    }

    .related-like-section .likeseries-box .imgbox {
        margin-bottom: 10px;
    }

    .related-like-section .likeseries-box .titlebox h4 {
        font-size: 14px;
        line-height: 18px;
    }

    .related-like-section .likeseries-box p {
        font-size: 11px;
        line-height: 15px;
    }
}
.emojionearea.emojionearea-inline>.emojionearea-editor {
    font-size: 16px !important;
}

.upload-content #preview {
    width: 100%;
}

      /* Video with Chat Layout */
  .video-with-chat-wrapper {
      position: relative;
  }

  /* Set specific spacing between video and content */
  .video-player-full-content {
      margin-top: 0px !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
  }

  #videocontainer {
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
  }

  /* Remove any extra spacing from the container above */
  .video-with-chat-wrapper {
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
  }

    .main-content-area{
      padding-bottom: 32px !important;
    }
