.mila-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.mila-modal.active {
  display: block;
}

.mila-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.mila-modal__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  border-radius: 12px;

  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mila-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 10;

  border: 0;
  background: transparent;

  font-size: 32px;
  cursor: pointer;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .mila-modal__content {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: 12px;

    transform: none;

    width: auto;
    max-width: none;

    height: auto;
    max-height: none;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    border-radius: 12px;
  }

  .mila-modal__overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .mila-modal__close {
    top: 6px;
    right: 10px;
    font-size: 28px;
  }
}

@media screen and (max-width: 540px) {
  #MilaIframe {
    height: 50vh !important;
    min-height: 52vh !important;
    position: fixed;
    top: 138px !important;
    z-index: 100;
    width: 100% !important;
  }
}