
.lightbox {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #fffaeccc;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox.visible {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fffaecf8;
  cursor: pointer;
  font-weight: bold;
}

/* Smooth lightbox appearance */
.lightbox {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.1s ease, transform 0.3s ease;
    pointer-events: none;
  }
  
  .lightbox.visible {
    display: flex;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }