/*********************************
/*  Movie Details Start
*********************************/
.movieDetails__wrapper {
    position: relative;
    // max-width: 1460px;
    max-width: 85%;
    display: flex;
    gap: 20px;
    margin-left: auto;

    @include respond (medium) {
        max-width: 100%;
    }
}
.movieDetails__inner {
    width: calc(100% - 300px );
    // max-width: 1140px;
    margin: auto;

    @include respond (medium) {
        width: 100%;
    }
}
.movieDetails__info {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;

    @include respond (tabland) {
        grid-template-columns: auto;
    }

    .live__tag {
        font-family: var(--font-default);
        font-weight: 400;
        font-size: 16px;
        line-height: 18.75px;
        color: var(--color-white);
        padding: 3px 11px;
        padding-left: 25px;
        background: var(--color-primary);
        border-radius: 6px;
        position: relative;

        &::before {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 9px;
            width: 8px;
            height: 8px;
            background: var(--color-white);
            border-radius: 50%;
            animation: blink .3s alternate infinite;
        }

        @-webkit-keyframes blink {
            0% {
              opacity: 0.1;
            }
            100% {
              opacity: 1;
            }
          }
    }

    .channel__title {
        font-family: var(--font-roboto);
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: rgba(var(--color-white-rgb), 0.5);
        margin: 12px 0;
    }
    .title {
        font-family: var(--font-roboto);
        font-size: 24px;
        font-weight: 600;
        line-height: 28px;
        color: var(--color-white);
        margin-bottom: 12px;
    }
    .desc {
        font-family: var(--font-roboto);
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: rgba(var(--color-white-rgb), 0.5);

        display: -webkit-box;
        -webkit-line-clamp: 2;        /* Limits the text to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;

        &.expanded {
            -webkit-line-clamp: unset;   /* Removes the line limit */
            overflow: visible;
            max-height: none;             /* Allows the text to expand fully */
        }

    }
    .more__btn {
        font-family: var(--font-roboto);
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: var(--color-white);
        text-transform: capitalize;
        cursor: pointer;
    }
    .action__area {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 25px;
        a {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(var(--color-white-rgb), 0.3);
            border-radius: 50%;
            transition: var(--transition);

            &:hover {
                background: var(--color-primary);
            }

            svg {
                width: 16px;
                height: auto;

                path {
                    fill: var(--color-white);
                }
            }
        }
    }
}

.server__group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;

    .btn {
        padding: 8px 20px;
        // min-width: 110px;
        background: rgba(var(--color-white-rgb), 0.1);
        border: none;
        color: var(--color-white);

        &.active,
        &:hover {
            background: var(--color-primary);
        }
    }
}
/* Custom Tooltip Background */
.tooltip {
    &-inner {
        font-family: var(--font-roboto);
        font-size: 14px;
        font-weight: 400;
        line-height: 22px;
        color: var(--color-black);
        background: var(--color-white);
    }
    &-arrow {
        &::before {
            border-bottom-color: var(--color-white) !important;
        }
    }
}

.ads__wrapper {
    width: 300px;

    @include respond (medium) {
        // width: 160px;
        display: none;
    }
    img {
        width: 100%;
        height: auto;
        border-radius: 6px;
        margin-bottom: 24px;

        &:last-of-type {
            margin-bottom: 0;
        }
    }
}

.commentsRating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(var(--color-white-rgb), 0.1);
    padding: 19px 16px;
    border-radius: 6px;
    margin-bottom: 36px;

    @include respond (phone-sm) {
        flex-direction: column;
        gap: 12px;
    }

    .comments {
        font-family: var(--font-roboto);
        font-weight: 600;
        font-size: 20px;
        line-height: 22px;
        color: var(--color-white);
        margin: 0;

        @include respond (tabport) {
            font-size: 18px;
        }
    }
    .rating__inline {
        display: flex;
        align-items: center;
        gap: 5px;

        .title {
            font-family: var(--font-default);
            font-weight: 400;
            font-size: 16px;
            line-height: 18.75px;
            margin: 0;
            color: var(--color-white);
            text-transform: capitalize;
        }
        .rating {
            display: flex;
            align-items: center;
            gap: 3px;
            
            a {
                font-size: 16px;
                color: var(--color-white);
                transition: var(--transition);

                &:hover {
                    color: #ffc526;
                }
            }
        }
    }
}


/*********************************
/*  Movie Details End
*********************************/

/******** Video Card Start *********/
.videoCard {
    max-width: 100%;
    .plyr,
    video {
        width: 100%;
        border-radius: 10px;
        
        .plyr__controls {
            svg {
                fill: var(--color-white);
            }
            .plyr__control {
                &[aria-expanded=true],
                &:hover {
                    background: var(--color-primary);

                    svg {
                        fill: var(--color-white);
                    }
                }
            }
            input {
                color: var(--color-primary);
            }
            .plyr__volume {
                input {
                    width: 30px;
                }
            }
        }
        .plyr__control {
            &--overlaid {
                background: var(--color-white);
                color: var(--color-primary);
                opacity: 1;

                &:hover {
                    background: var(--color-primary);
                    color: var(--color-white);
                }
            }
        }
        .plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before {
            background: var(--color-primary);
        }
    }
}
/******** Video Card End *********/

/******** Video Gallery Start *********/
.video__content {
    .tabHeader {
        margin-bottom: 24px;
    }
}
.video__gallery {
    // margin-top: 24px;
    .gallery__item {
        margin-bottom: 20px;
        border-radius: 6px;
        overflow: hidden;

        img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 6px;
            transition: var(--transition);

            &:hover {
                transform: scale(1.05);
            }
        }
    }
}
/******** Video Gallery End *********/

/******** Actress Item Start *********/
.actressItem {
    display: flex;
    align-items: center;
    gap: 12px;

    @include respond (tabland) {
        margin-bottom: 24px;
    }

    .thumb {
        width: 100px;
        height: 100px;
        border-radius: 6px;
        
        img {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 6px;
        }
    }
    .content {
        .title {
            font-family: var(--font-roboto);
            font-weight: 500;
            font-size: 20px;
            line-height: 22px;
            color: var(--color-white);
            margin-bottom: 8px;

            @include respond (tabland) {
                font-size: 16px;
            }
        }
        .designation {
            font-family: var(--font-roboto);
            font-weight: 400;
            font-size: 14px;
            line-height: 22px;
            color: var(--color-white);
            margin-bottom: 12px;
            display: block;
            text-transform: capitalize;
        }
        .social__icon {
            display: flex;
            align-items: center;
            gap: 6px;

            a {
                font-size: 13px;
                height: 28px;
                width: 28px;
                background: rgba(var(--color-white-rgb), 0.2);
                color: var(--color-white);
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
            }
        }
    }
}

/******** Actress Item End *********/


/******** Playlist Area Start *********/
.playlist__area {
    padding: 20px;
    border-radius: 6px;
    background: rgba(var(--color-white-rgb), 0.1);
    border: 1px solid rgba(var(--color-white-rgb), 0.1);

    .flex__area {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }
    .playlist__meta {
        .title {
            font-family: var(--font-roboto);
            font-weight: 600;
            font-size: 20px;
            line-height: 22px;
            color: var(--color-white);
            transition: var(--transition);
            margin: 0;
        }
        .meta {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 0;

            span {
                font-family: var(--font-roboto);
                font-weight: 400;
                font-size: 14px;
                line-height: 16.41px;
                color: #F1F1F1CC;
                display: flex;
                align-items: center;
                gap: 6px;
                border-right: 1px solid #FFFFFF24;
                padding-right: 14px;

                &:last-of-type {
                    border: none;
                    padding-right: 0;
                }

                i {
                    font-size: 16px;
                }
            }
        }
    }
    .collapse__btn {
        background-color: transparent;
        border: none;
        outline: none;
        color: var(--color-white);
        font-size: 25px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .playlist__single {
        padding-top: 20px;
        border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
        
        
        .playlist__overflow {
            max-height: 600px;
            overflow: auto;
            
            &::-webkit-scrollbar {
                width: 2px;
                height: 2px;
            }
            &::-webkit-scrollbar-track {
                background-color: #5e5e5e;
            }
        }

        .videolist {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 20px;

            &:last-of-type {
                margin-bottom: 0;
            }

            .thumb {
                max-width: 176px;
                width: 100%;
                height: 100px;
                border-radius: 4px;
                position: relative;
                
                img {
                    width: 100%;
                    height: 100%;
                    display: block;
                    object-fit: cover;
                    border-radius: 4px;
                }
                .overlay {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: rgba(var(--color-black-rgb) 0.2);
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    button {
                        background-color: transparent;
                        border: none;
                        outline: none;
                        color: var(--color-white);
                        font-size: 20px;
                    }
                }
            }
            .content {
                flex: 1;
                h5 {
                    font-family: var(--font-default);
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 14px;
                    letter-spacing: 0px;
                    color: var(--color-white);
                    position: relative;
                    padding-left: 15px;
                    margin-bottom: 8px;

                    &::before {
                        content: "";
                        position: absolute;
                        left: 0;
                        top: 5px;
                        height: 4px;
                        width: 4px;
                        border-radius: 50%;
                        background: var(--color-white);
                    }
                }
                .title {
                    font-family: var(--font-default);
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 20px;
                    color: var(--color-white);
                    margin-bottom: 12px;

                    a {
                        color: currentColor;
                        transition: var(--transition);
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        -webkit-box-orient: vertical;
                    }
                }
                span {
                    font-family: var(--font-default);
                    font-weight: 400;
                    font-size: 12px;
                    line-height: 14.06px;
                    color: var(--color-white);
                    background: rgba(var(--color-white-rgb), 0.1);
                    padding: 2px 8px;
                    border-radius: 4px;
                }
            }
            &:hover {
                .title a {
                    color: var(--color-primary);
                }
            }
        }
    }
}
/******** Playlist Area End *********/


/******** Share Content Start *********/
.shareContent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    .url {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: var(--font-default);
        font-weight: 400;
        font-size: 22.45px;
        line-height: 26.31px;
        color: #333333;

        a {
            color: #0095FF;
            transition: var(--transition);

            &:hover {
                color: var(--color-primary);
            }
        }
    }
    .copyBtn {
        background: transparent;
        font-size: 20px;
        border: none;
        outline: none;
        color: #333333;
        height: 30px;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.shareIcons {
    margin-top: 20px;
    .title {
        font-family: var(--font-default);
        font-weight: 400;
        font-size: 22.45px;
        line-height: 26.31px;
        color: #333333;
        margin-bottom: 16px;
    }
    .icons {
        display: flex;
        align-items: center;
        gap: 12px;

        a {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-heading);
            color: var(--color-white);
            font-size: 16px;
            border-radius: 50%;
            transition: var(--transition);

            &:hover {
                background: var(--color-primary);
            }
        }
    }
}

/******** Share Content End *********/
