.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
}

.lightbox-content iframe,
.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
}

.lightbox-close {
    top: 10px;
    right: 10px;
    transform: none;
}

.lightbox-prev {
    left: 50px;
}

.lightbox-next {
    right: 50px;
}

.lightbox-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
    margin: 10px;
    display: inline;
    border: 1px solid #ddd;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    max-width: 90%;
    text-align: center;
}