/* Lightbox Styles */
.wpmg-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.wpmg-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.wpmg-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.wpmg-lightbox.active .wpmg-lightbox-content {
    transform: scale(1);
}

.wpmg-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.wpmg-lightbox-close:hover {
    background: rgba(0,0,0,0.8);
    transform: rotate(90deg);
}

.wpmg-lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.wpmg-lightbox-caption {
    padding: 20px;
    background: white;
}

.wpmg-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.wpmg-lightbox-nav:hover {
    background: rgba(0,0,0,0.8);
}

.wpmg-lightbox-prev {
    left: 20px;
}

.wpmg-lightbox-next {
    right: 20px;
}