/* Simple Lightbox Styles */
.simple-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simple-lightbox-overlay.active {
    opacity: 1;
}

.simple-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.simple-lightbox-overlay.active .simple-lightbox-content {
    opacity: 1;
    transform: scale(1);
}

.simple-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border: 4px solid #fff;
    border-radius: 4px;
}

.simple-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.simple-lightbox-close:hover {
    opacity: 1;
}

.simple-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.simple-lightbox-prev,
.simple-lightbox-next {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
}

.simple-lightbox-prev:hover,
.simple-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.simple-lightbox-loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}