.ict-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0px;
  box-sizing: border-box;
}

.ict-popup.is-open {
  display: flex;
}

.ict-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.ict-popup__window {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #64a1e7;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: ictPopupIn 0.25s ease-out;
}

.ict-popup__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 36px;
  cursor: pointer;
}

.ict-popup__close:hover,
.ict-popup__close:focus {
  background: #000000;
}

.ict-popup__image {
  display: block;
  width: 100%;
  height: auto;
}

.ict-popup__content {
  padding: 0px 0px 0px;
}



body.ict-popup-open {
  overflow: hidden;
}

@keyframes ictPopupIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .ict-popup {
    padding: 2px;
  }

  .ict-popup__content {
    padding: 0px;
    height: 0px;
  }

  .ict-popup__content h2 {
    font-size: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ict-popup__window {
    animation: none;
  }
}