.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}

.lightbox--open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lightbox__prev,
.lightbox__next {
  position: static;
  flex-shrink: 0;
}

.lightbox__prev:disabled,
.lightbox__next:disabled {
  opacity: 0.3;
  cursor: default;
}

.lightbox__img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: default;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}

.lightbox__caption {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  width: 100%;
}
