.wizi-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  z-index: 99999;
  transition:
    visibility 0s linear 0.25s,
    opacity 0.25s 0s,
    transform 0.25s;
}

.wizi-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 10px;
  width: 100%;
  max-width: 630px;
  max-height: 95%;
  overflow: auto;
}

.wizi-modal-container {
  padding: 45px;
}

.wizi-modal-borderless {
  padding: 0;
}

.wizi-modal-fullscreen {
}

.wizi-close-button {
  position: absolute;
  top: 7px;
  right: 7px;
  cursor: pointer;
  font-size: 30px;
  color: #444;
}

.wizi-show-modal {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    visibility 0s linear 0s,
    opacity 0.25s 0s,
    transform 0.25s;
}

.wizi-modal-text-content h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 5px;
}

.wizi-modal-text-content ul {
  font-family: "Poppins", sans-serif;
  color: #444;
  margin-bottom: 10px;
  font-size: 16px;
}

.wizi-modal-text-content li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wizi-modal-text-content i {
  font-size: 26px;
}

@media screen and (max-width: 768px) {
  .wizi-modal-content {
    min-width: 80%;
  }
}

@media screen and (max-width: 450px) {
  .wizi-modal-content {
    width: 95%;
    max-height: 95%;
    overflow: auto;
  }

  .wizi-close-button {
    /* color: #fff; */
  }

  .wizi-modal-container {
    padding: 25px;
  }
}

/* Yousign Modal specific styles */
.wizi_modal_yousign {
  height: auto;
  max-height: 95vh;
  overflow-y: auto;
}

.wizi_modal_yousign .wizi_pricing_popup_card {
  height: auto;
}

/* Iframe specific sizing - 80% height on desktop */
.wizi_modal_yousign .yousign_iframe {
  min-height: 80vh;
  height: 80vh;
  width: 100%;
}

/* Mobile responsive - 95% height for iframe */
@media screen and (max-width: 768px) {
  .wizi_modal_yousign .yousign_iframe {
    min-height: 95vh;
    height: 95vh;
  }

  .wizi-modal-text-content h2 {
    font-size: 22px;
  }

  .wizi-modal-text-content ul {
    font-size: 15px;
  }

  .wizi-modal-text-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .wizi-modal-text-content i {
    font-size: 22px;
  }
}
