/* Lightbox CSS */
#ql-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#ql-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.ql-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.ql-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ql-lightbox.active .ql-lightbox-content {
    transform: scale(1);
}

.ql-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.ql-lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    transition: transform 0.2s;
}

.ql-lightbox-close:hover {
    transform: scale(1.1);
    color: #fca5a5;
}

@media (max-width: 768px) {
    .ql-lightbox-close {
        top: -40px;
        right: 0;
    }
}