#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0 0 0 / 85%);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

#lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 24px rgb(0 0 0 / 60%);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 1rem;
  z-index: 1001;
  user-select: none;
}

#lightbox-prev {
  left: 2rem;
}

#lightbox-next {
  right: 2rem;
}
