.lightbox-modal {
  background: linear-gradient(145deg, #0b1120, #1b1f2b);
  border: none;
  border-radius: 0.2rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.65);
}

.lightbox-modal .modal-header {
  border: none;
  color: #f8fafc;
}

.lightbox-modal .modal-title {
  font-weight: 600;
}

.lightbox-modal .btn-close {
  filter: invert(1);
}

.lightbox-body {
  background: #0b1120;
  border-radius: 0 0 0.2rem 0.2rem;
  padding: 1.25rem 1.25rem 1.75rem;
  color: #e2e8f0;
}

.lightbox-body--public {
  background: linear-gradient(145deg, rgba(11, 17, 32, 0.85), rgba(17, 24, 39, 0.85));
  border-radius: 0.2rem;
  padding: 1.5rem;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lightbox-frame {
  flex: 1;
  background: #0b1120;
  border-radius: 0.2rem;
  box-shadow: inset 0 0 35px rgba(15,23,42,0.65), 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

.lightbox-frame img {
  display: block;
}

.lightbox-caption {
  font-size: 0.95rem;
  color: #cbd5f5;
  min-height: 1.4rem;
}

.lightbox-caption.lightbox-caption--public {
  color: #e2e8f0;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 5;
}

.lightbox-nav[data-side="prev"] {
  left: -1rem;
}

.lightbox-nav[data-side="next"] {
  right: -1rem;
}

.lightbox-nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.1);
  opacity: 0.9;
}

.lightbox-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lightbox-nav i {
  pointer-events: none;
}

@media (max-width: 768px) {
  .lightbox-body {
    padding: 1rem;
  }
  .lightbox-stage {
    gap: 0.75rem;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav[data-side="prev"] {
    left: 0.35rem !important;
    right: auto !important;
  }
  .lightbox-nav[data-side="next"] {
    right: 0.35rem !important;
    left: auto !important;
  }
}
