.niko-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.25s ease, visibility 0.25s ease;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  -webkit-overflow-scrolling: touch;
}
.niko-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.niko-modal__backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(23, 23, 41, 0.65);
}

.niko-modal__dialog {
  position: relative;
  width: 600px;
  max-width: 100%;
  margin: auto;
  padding: 32px 24px 24px;
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
          box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.niko-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  color: #5b5b6e;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
.niko-modal__close:hover, .niko-modal__close:focus-visible {
  color: #171729;
  background: rgba(23, 23, 41, 0.08);
}

.niko-modal .hs-form-frame {
  max-width: 100%;
}
.niko-modal .hs-form-frame iframe {
  max-width: 100%;
}

body.niko-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .niko-modal {
    padding: 16px 12px;
  }
  .niko-modal__dialog {
    padding: 28px 16px 16px;
  }
}
