/* ========== OVERLAYS.CSS ========== */

/* Video Lightbox */
#lightboxVideoOnly {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* ⭐ BELANGRIJK */
}

#lightboxVideoOnly .lightbox-content {
  background: #000;
  padding: 20px;
  border-radius: 8px;
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#lightbox-video-only {
  max-width: 100%;
  max-height: 70vh;
}

/* QR Overlay */
.qr-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.qr-overlay-content {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.qr-overlay-close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}
.qr-info {
  margin-top: 10px;
}

.qr-info-kader {
  background: white;
  border: 2px solid #444;
  padding: 10px;
  border-radius: 8px;
  max-width: 260px;
  font-size: 0.9rem;
  position: relative;
}

.qr-info-close {
  position: absolute;
  top: 4px;
  right: 6px;
  cursor: pointer;
  font-size: 18px;
  color: #900;
}

/* PDF Viewer */
#lightboxPDF {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

#pdfViewerBox {
  position: relative;
  width: 80vw;
  height: 85vh;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

#pdfCloseBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #c62828;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
}
.pdf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.pdf-overlay-content {
  background: white;
  width: 80%;
  height: 90%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.pdf-overlay-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-overlay-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #900;
}

/* Info Frame */
.info-frame {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 700px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  z-index: 9999;
}
.video-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.video-lightbox .lightbox-content {
  background: #000;
  padding: 20px;
  border-radius: 8px;
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-close {
  align-self: center;
  padding: 6px 12px;
  font-weight: bold;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
.foto-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.foto-lightbox .lightbox-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 80vw;
  max-height: 80vh;
  text-align: center;
}

.lightbox-close {
  margin-top: 10px;
  padding: 6px 12px;
  font-weight: bold;
  border: 2px solid #444;
  background: #eee;
  border-radius: 4px;
  cursor: pointer;
}
.blok {
  margin: 6px 0;
  padding: 0;
}
