/**
 * Video Lightbox Widget Styles
 */
.video-lightbox-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.video-lightbox-btn .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border-style: solid;
    transition: border-color 0.3s ease;
}

.video-lightbox-btn .play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.video-lightbox-btn .play-icon svg {
    display: block;
    transition: fill 0.3s ease;
}

.video-lightbox-btn .btn-text {
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Lightbox Overlay */
.video-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-overlay .lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.video-lightbox-overlay .lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-lightbox-overlay .lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.video-lightbox-overlay .lightbox-close:hover {
    transform: rotate(90deg);
}

.video-lightbox-overlay .lightbox-close svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .video-lightbox-btn {
        flex-direction: column;
        text-align: center;
    }

    .video-lightbox-btn .btn-text {
        margin-left: 0 !important;
        margin-top: 15px;
    }
}
