/**
 * G-SMASH V2 - Lightbox Styles
 * Extracted from main.js for maintainability
 */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-lightbox-overlay, 100000);
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-overlay.is-open {
  display: flex;
  animation: lightbox-fade-in 0.3s ease-out;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-image-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md, 10px);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
}
