/**
 * VCP Custom Lightbox Styles
 */

.vcp-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vcp-fadeIn 0.3s ease;
}

@keyframes vcp-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.vcp-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.vcp-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #72B972;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    transition: opacity 0.2s ease;
}

.vcp-lightbox-close:hover {
    opacity: 0.8;
}

.vcp-lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcp-lightbox-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

/* Proporções específicas */
.vcp-lightbox-container[data-ratio="9:16"] {
    aspect-ratio: 9 / 16;
}

.vcp-lightbox-container[data-ratio="1:1"] {
    aspect-ratio: 1 / 1;
}

.vcp-lightbox-container[data-ratio="16:9"] {
    aspect-ratio: 16 / 9;
}

/* Responsivo */
@media (max-width: 768px) {
    .vcp-lightbox-container {
        max-width: 95vw;
        max-height: 70vh;
    }
    
    .vcp-lightbox-close {
        top: -35px;
        font-size: 35px;
        width: 35px;
        height: 35px;
    }
}

