.iframe-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* match your iframe height */
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
}

.zip-gate-overlay {
  position: absolute;
  top: 125vh;
  left: 50%;         /* stick to the right side */
  width: 475px;        /* cover the right half */
  height: 500px;
   background: transparent; 
   /*background: rgba(255, 0, 0, 0.1); /* light red tint w/ high transparency */
  cursor: pointer;
  z-index: 10;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 650px;
  max-width: 90%;

  p {
    margin-bottom: 40px;
    margin-top: 12px;
  }

  input {
    width: 100%;
    height: 40px;
    padding: 12px;
  }

  img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
  }
}

.zip-form {
  border: none;
}

/* TOAST */
/* Inline error */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 8px;
}

/* Toast styling */
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: rgba(var(--espresso));
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 12px;
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}

#toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}


/* MEDIA QUERIES */

@media only screen and (max-width: 850px) {
    .zip-gate-overlay {
        width: 100%;
        top: 160vh;
        left: 0%;
        height: 200px;
    }
}

@media only screen and (max-width: 500px) {
    .zip-gate-overlay {
        height: 225px;
    }
}