<!-- Image Lightbox -->
<div id="image-lightbox" class="lightbox" onclick="closeLightbox(event)">
    <button class="lightbox-close" onclick="closeLightbox()" title="Close">&#x2715;</button>
    <button id="lightbox-auto-refresh" class="lightbox-refresh-btn" onclick="toggleKCTestAutoRefresh()" title="Stream live" style="display:none">&#x25B6;</button>
    <select id="lightbox-fps-select" class="lightbox-fps-select" onchange="onLightboxFpsChange(this.value)" style="display:none" title="Frames per second">
        <option value="1">1 fps</option>
        <option value="2">2 fps</option>
        <option value="3" selected>3 fps</option>
        <option value="5">5 fps</option>
    </select>
    <div class="lightbox-content">
        <img id="lightbox-image" src="" alt="Full size preview">
        <div id="lightbox-stats" class="lightbox-stats" style="display: none;"></div>
    </div>
</div>
