/* 1. Dark overlay stays full-screen */
.nsz-modal {
  display: none;
  position: fixed;
  z-index: 999;
  /*top: 100px;*/
  inset: 0;                /* shorthand for top:0; right:0; bottom:0; left:0 */
  background: rgba(0,0,0,0.6);
}

/* 2. Modal box: responsive width & height, scroll inside if too tall */
.nsz-modal-content {
  box-sizing: border-box;             /* include padding in width/height */
  width: 90%;
  max-width: 600px;
  max-height: calc(100vh - 40px);     /* leave 20px gap top & bottom */
  margin: 10px auto;                  /* vertical gap + horizontal centering */
  background: #fff;
  padding: 20px;
  overflow-y: auto;                   /* scroll if content overflows */
  border-radius: 4px;
  font-size: 13px;
  position: relative;
}

/* 3. Close button stays fixed in corner of the box */
.nsz-modal-close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 24px;
  cursor: pointer;
}

/* 4. Footer/button styling unchanged */
.nsz-modal-footer {
  text-align: right;
  margin-top: 1em;
}
.nsz-contact-us-button {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 3px;
}
.nsz-contact-us-button:hover {
  background: #005177;
}

/* 5. Optional media‐query tweak for very small screens */
/*@media (max-width: 400px) {
  .nsz-modal-content {
    width: 95%;
    padding: 15px;
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }
}*/