 
    /* The overlay background */
    .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      display: none;           /* hidden by default */
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    /* The pop-up container */
    .popup-content {
      position: relative;
      max-width: 90vw;
      max-height: 90vh;
    }

    .popup-content img {
      max-width: 100%;
      max-height: 100%;
      display: block;
      border-radius: 4px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    }

    /* Close button */
    .popup-close {
      position: absolute;
      top: -10px;
      right: -10px;
      background: #fff;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-weight: bold;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    }

    .popup-close:hover {
      background: #f0f0f0;
    }
