/* Lightbox Styling */
.oaig-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.oaig-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    background-color: transparent;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.lightbox-close:hover {
    color: #ccc;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    margin-top: 15px;
    color: white;
    font-size: 14px;
    max-width: 80%;
    text-align: center;
    min-height: 20px;
}

.lightbox-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.lightbox-btn {
    background-color: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.lightbox-btn:hover {
    background-color: #4361ee;
    color: white;
    transform: translateY(-2px);
}

.lightbox-btn i {
    font-size: 16px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-image {
        max-height: 70vh;
    }
    
    .lightbox-caption {
        font-size: 12px;
    }
    
    .lightbox-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .lightbox-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 24px;
    }
    
    .lightbox-nav {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
} 