.modal-open .modal {
  overflow-x: hidden!important;
  overflow-y: hidden!important;
}
.normal-modal .modal-content {
  border-radius: 16px;
  margin-bottom: 12px;
  max-height: 640px;
}
.normal-modal .icon-close {
  font-size: 20px;
  position: absolute;
  right: 24px;
  top: 24px;
  font-weight: bold;
  z-index: 1;
}
.normal-modal .icon-download {
  font-size: 20px;
  position: absolute;
  right: 80px;
  top: 24px;
  font-weight: bold;
  z-index: 1;
}
.normal-modal .modal-icon {
  position: relative;
  width: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 24px;
}
.normal-modal .modal-icon i {
  font-size: 160px;
}
.normal-modal .modal-text {
  font-size: 14px;
  text-align: left;
  width: 100%;
  color: #555;
  padding-top: 8px;
  line-height: normal;
}
.normal-modal a {
  margin: 0;
  margin-top: 16px;
}
.input100 .modal-body {
  width: 100%;
}
.input100 .modal-dialog {
  max-width: 1108px;
  margin: auto;
  max-height: 310px;
  min-height: 100%;
}
.input100 .modal-dialog .modal-text {
  max-height: 454px;
  overflow: auto;
}
.input100 .modal-dialog .btn {
  max-width: 240px;
}
.modal-title {
  font-size: 40px;
  margin-bottom: 16px;
  padding-right: 0px;
  font-weight: bold;
  line-height: 36px;
}
.modal-title-small {
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 24px;
}
.modal-body {
  padding: 24px;
}
.modal-backdrop {
  z-index: 1039!important;
}
.modal-dialog.alert {
  max-width: 400px!important;
  padding: 0!important;
}

.list-optionModal.custom-radio label span.option-text {
  display: flex;
  align-items: center;
}

.list-optionModal.custom-radio label span.option-text i {
  width: 24px;
  display: inline-flex;
  height: 24px;
  align-items: center;
  background-position: center center;
  background-size: contain;
  border-radius: 4px;
  justify-content: left;
  margin-inline-end: 8px;
  border: 1px solid #ccc;
}
.appearance-options {
  display: flex;
  height: 230px;
  align-items: flex-start;
  justify-content: center;
}
.appearance-options a.list-optionModal label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.appearance-options a.list-optionModal label span.option-text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 16px;
  font-weight: 500;
}
.appearance-options a.list-optionModal label span.option-text .print-phone {
  margin-bottom: 8px;
}
.appearance-options a.list-optionModal label span.option-text .print-phone img {
  height: 120px;
  width: auto;
}
.appearance-options a.list-optionModal.custom-radio input+span {
  position: relative;
  right: 16px;
  background: yellow;
  left: 10px;
  top: 8px;
}
.appearance-options a.list-optionModal {
    display: inline-flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 220px;
    border-bottom: 0;
    font-size: 18px;
    width: 100%;
    margin: 0 8px;
    margin-inline-end: 0;
    line-height: normal;
    padding: 16px;
    color: #565656;
    border-radius: 8px;
}

@media (max-width: 1200px) {

.input100 .modal-body {
  width: 100%;
}
.input100 .modal-dialog {
  max-width: 928px;
  margin: auto;
  max-height: 310px;
  min-height: 100%;
}
.input100 .modal-dialog .modal-text {
  max-height: 454px;
  overflow: auto;
}
.input100 .modal-dialog .btn {
  max-width: 240px;
}
.normal-modal .modal-content {
  margin-bottom: 24px;
}
.modal-header {
  border: 0!important;
}

}


@media (max-width: 992px) {

  .input100 .modal-body {
    width: 100%;
  }
  .input100 .modal-dialog {
    max-width: 100%;
    margin: auto;
    max-height: 310px;
    min-height: 100%;
  }
  .input100 .modal-dialog .modal-text {
    max-height: calc(100vh - 294px);
    overflow: scroll;
  }
  .input100 .modal-dialog .btn {
    max-width: 240px;
  }
  .normal-modal .modal-content {
    border-radius: 8px;
    border: 0;
    max-height: 90%;
    overflow: hidden;
  }
  /* .modal-dialog-centered {
    align-items: flex-start!important;
  } */
  .normal-modal .modal.fade .modal-dialog {
    top: 64px;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    max-width: 100%;
  }
  .input100 .modal-body {
    height: initial;
  }
  .modal {
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 100050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    padding-left: 8px!important;
    padding-right: 8px!important;
}
.normal-modal .modal-content {
    height: auto;
}


}

@media (max-width: 768px) {

  .modal-title {
    font-size: 32px;
    margin-bottom: 16px;
    padding-right: 0px;
    font-weight: bold;
    line-height: 36px;
}
.modal-dialog {
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* altura máxima del modal */
  }
.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden; /* evita que el contenido se desborde */
  }
  .modal-header {
    flex-shrink: 0; /* el header NO se reduce, siempre visible */
  }
  .modal-body {
    overflow-y: auto;  /* scroll solo en el body */
    -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
  }

}

@media (max-width: 576px) {

  .modal-body {
    padding: 16px;
  }
  .normal-modal .icon-close {
    font-size: 20px;
    position: absolute;
    right: 16px;
    top: 20px;
    font-weight: bold;
    z-index: 1;
  }
  .normal-modal .modal-title {
    font-size: 24px;
    text-align: left;
    width: 100%;
    color: #111;
    padding-top: 0;
    line-height: normal;
    padding-bottom: 16px;
  }
  .normal-modal .modal-text {
    font-size: 14px;
  }
  .input100 .modal-dialog .btn {
    max-width: 100%;
  }
  .normal-modal .modal-title {
    font-size: 24px;
    text-align: left;
    width: 100%;
    color: #111;
    padding-top: 0;
    line-height: normal;
    padding-bottom: 0;
    padding-right: 40px;
    margin-bottom: 16px;
  }
  .normal-modal .modal-text {
    font-size: 14px;
    text-align: left;
    width: 100%;
    color: #555;
    padding-top: 0;
    line-height: normal;
    font-weight: 500;
  }
  .input100 .modal-dialog .modal-text {
    max-height: calc(100vh - 400px);
    overflow: scroll;
  }
  .modal-dialog.alert {
    max-width: 400px!important;
    padding: 0!important;
  }
  .normal-modal .icon-download {
    font-size: 24px;
    position: absolute;
    right: 64px;
    top: 16px;
    font-weight: bold;
    z-index: 1;
  }


}

@media (max-width: 400px) {

  .normal-modal .modal-title {
    font-size: 20px;
  }

}



