.thumbnail {
    width: 30px;
    cursor: pointer;
}

/* Simple lightbox overlay for thumbnails */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* created hidden, then shown */
    align-items: center;
    justify-content: center;
    padding: 24px; /* screen padding */
    z-index: 9999;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    cursor: zoom-out;
}

/* Prevent background scroll when lightbox is open */
body.lb-no-scroll {
    overflow: hidden;
}
