/* Instagram Gallery Popup Styles */

/* Popup overlay */
#simple-instagram-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Image container with navigation */
#simple-instagram-popup .popup-image-container {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    align-items: center;
}

#simple-instagram-popup img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

/* Navigation buttons */
.popup-nav {
    position: absolute;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    z-index: 1;
    transition: all 0.2s ease;
}

.popup-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.popup-prev {
    left: -60px;
}

.popup-next {
    right: -60px;
}

/* Instagram button container */
#simple-instagram-popup .popup-actions {
    margin-top: 20px;
}

/* Instagram button */
#simple-instagram-popup .instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#simple-instagram-popup .instagram-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Close button */
#close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: all 0.2s ease;
}

#close-popup:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-prev {
        left: 10px;
    }
    
    .popup-next {
        right: 10px;
    }
    
    #simple-instagram-popup .popup-image-container {
        max-width: 100%;
    }
}
