.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.94);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    padding: 20px;
}

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

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

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid #707070;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    padding: 10px;
    color: #fff;
    z-index: 3001;
}

.lightbox-close svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
    .lightbox-close svg {
        width: 32px;
        height: 32px;
    }
}
