.vlb-16132ba7-container {
    display: inline-block;
    width: 100%;
}

.vlb-16132ba7-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
}

.vlb-16132ba7-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Lightbox Modal CSS */
.vlb-16132ba7-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vlb-fade-in 0.3s ease forwards;
}

body.admin-bar .vlb-16132ba7-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .vlb-16132ba7-overlay {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.vlb-16132ba7-inner {
    position: relative;
    width: 90%;
    max-width: 960px;
    margin: auto;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    animation: vlb-zoom-in 0.3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.vlb-16132ba7-aspect-ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.vlb-16132ba7-aspect-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vlb-16132ba7-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: opacity 0.2s;
    outline: none;
}

.vlb-16132ba7-close:hover {
    opacity: 0.8;
}

body.vlb-16132ba7-active {
    overflow: hidden !important;
}

/* Animations */
@keyframes vlb-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes vlb-zoom-in {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

/* Closing animations */
.vlb-16132ba7-overlay.vlb-16132ba7-closing {
    animation: vlb-fade-out 0.3s ease forwards;
}
.vlb-16132ba7-overlay.vlb-16132ba7-closing .vlb-16132ba7-inner {
    animation: vlb-zoom-out 0.3s ease forwards;
}

@keyframes vlb-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes vlb-zoom-out {
    from { transform: scale(1); }
    to { transform: scale(0.9); }
}
