.custom-prompt {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgb(37, 118, 113, 0.5);
  z-index: 99999;
}

.custom-prompt--close {
  display: flex !important;
  animation: closeCustomPrompt .5s;
}

@keyframes closeCustomPrompt {
  from {
    visibility: visible;
    opacity: 1;
  }
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.custom-prompt--show {
  display: flex !important;
  animation: openCustomPrompt .2s;
}

@keyframes openCustomPrompt {
  from {
    visibility: hidden;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}

.custom-prompt__box {
  max-width: 460px;
  padding: 42px 45px;
  background: white;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  animation: closeCustomPromptBox .4s;
}

@keyframes closeCustomPromptBox {
  from {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  to {
    transform: translateY(100px);
    visibility: hidden;
    opacity: 0;
  }
}

.custom-prompt--show .custom-prompt__box {
  animation: showCustomPromptBox .5s;
}

@keyframes showCustomPromptBox {
  from {
    transform: translateY(100px);
    visibility: hidden;
    opacity: 0;
  }
  to {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
}

@media(min-width: 600px) {
  .custom-prompt__box {
    padding: 42px 80px;
  }
}

.custom-prompt__message-heading {
  font-weight: bold;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  color: #000000;
  margin: 28px 0;
}

.custom-prompt__close-btn {
  font-weight: bold;
  font-size: 23px;
  padding: 14px 40px;
  line-height: 34px;
  color: var(--primary-invert);
  background: var(--primary);
  border-radius: 8px;
  transition: .2s all;
}

.custom-prompt__close-btn:hover,
.custom-prompt__close-btn:focus {
  opacity: .7;
}

@media(min-width: 600px) {
  .custom-prompt__close-btn {
    font-size: 28px;
    padding: 18px 80px;
  }
}

.custom-prompt__discard-btn {
  margin-top: 20px;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: var(--primary);
}