/* ============================= */
/*         LIGHTBOX STYLES       */
/* ============================= */

/* Overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Image */
.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* Close Button */
.lightbox-close {
  top: 16px;
  right: 22px;
  font-size: 40px;
  line-height: 1;
}

/* Prev/Next Arrows */
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  padding: 0.5rem 1rem;
  opacity: 0.9;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* Disabled State */
.lightbox-prev.disabled,
.lightbox-next.disabled {
  opacity: 0.3;
  pointer-events: no