/* Video Slider Styles */
.video-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.video-slider-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.video-slider-container .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-slide-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

/* Video Element Styles */
.video-slide-wrapper .video-player {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #000;
}

.video-slider-wrapper .video-slide-wrapper video.video-element {
    width: 100%;
    height: 100% !important;
    object-fit: scale-down ;
    display: block;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Custom controls under the video (always visible) */
.video-slide-wrapper .video-custom-controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

.video-slide-wrapper .video-custom-controls .vsc-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.video-slide-wrapper .video-custom-controls .vsc-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.video-slide-wrapper .video-custom-controls .vsc-time {
    display: flex;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
}

.video-slide-wrapper .video-custom-controls .vsc-progress {
    flex: 1 1 auto;
    min-width: 120px;
}

/* Embed Wrapper Styles */
.video-embed-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-embed-wrapper .video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Navigation Arrows */
.video-slider-container .swiper-button-next,
.video-slider-container .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-slider-container .swiper-button-next:hover,
.video-slider-container .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.video-slider-container .swiper-button-next::after,
.video-slider-container .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Pagination Dots - Position above video controls */
.video-slider-container .swiper-pagination {
    bottom: 60px;
    z-index: 15;
}

.video-slider-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.video-slider-container .swiper-pagination-bullet-active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .video-slider-container {
        height: 60vh;
    }

    .video-slider-container .swiper-button-next,
    .video-slider-container .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .video-slider-container .swiper-button-next::after,
    .video-slider-container .swiper-button-prev::after {
        font-size: 16px;
    }

    .video-slider-container .swiper-pagination {
        bottom: 80px;
    }

    .video-slider-container .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .video-slider-container {
        height: 50vh;
    }

    .video-slider-container .swiper-button-next,
    .video-slider-container .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .video-slider-container .swiper-button-next::after,
    .video-slider-container .swiper-button-prev::after {
        font-size: 14px;
    }
}

/* Full Width Container */
.elementor-widget-video-slider {
    width: 100%;
}

.elementor-widget-video-slider .elementor-widget-container {
    margin: 0;
    padding: 0;
    width: 100%;
}

