/* Fullscreen overlay for the lightbox */
#sdi-il-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
    cursor: pointer;
    z-index: 9999;
  }
  
  /* The displayed image */
  #sdi-il-overlay #sdi-il-image {
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%; /* for vertical centering with some top space */
    border: 2px solid #fff;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  
  /* (Optional) Example fade-in transition: */
  #sdi-il-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  #sdi-il-overlay.visible {
    opacity: 1;
  }