.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 20px;
  border-radius: 10px;
  background-color: white;
  -webkit-transform: translate3d(-50%, -50%, 0) !important;
  transform: translate3d(-50%, -50%, 0) !important;
}

.popup__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  text-align: left;
}

.popup__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0xNjUuNjYsMTAxLjY2LDEzOS4zMSwxMjhsMjYuMzUsMjYuMzRhOCw4LDAsMCwxLTExLjMyLDExLjMyTDEyOCwxMzkuMzFsLTI2LjM0LDI2LjM1YTgsOCwwLDAsMSwtMTEuMzItMTEuMzJMMTE2LjY5LDEyOCw5MC4zNCwxMDEuNjZhOCw4LDAsMCwxLDExLjMyLTExLjMyTDEyOCwxMTYuNjlsMjYuMzQtMjYuMzVhOCw4LDAsMCwxLDExLjMyLDExLjMyWk0yMzIsMTI4QTEwNCwxMDQsMCwxLDEsMTI4LDI0LDEwNC4xMSwxMDQuMTEsMCwwLDEsMjMyLDEyOFptLTE2LDBhODgsODgsMCwxLDAtODgsODhBODguMSw4OC4xLDAsMCwwLDIxNiwxMjhaIj48L3BhdGg+PC9zdmc+") no-repeat center / contain;
  cursor: pointer;
}

.popup__body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 80vh;
  overflow-y: auto;
}

.popup__title {
  font-size: 24px;
  font-weight: 600;
}

.popup__subtitle {
  font-size: 16px;
  font-weight: 600;
}

.popup__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
  .popup {
    max-width: calc(100% - 40px);
  }
}

@media only screen and (orientation: portrait) {
  .popup {
    max-width: calc(100% - 40px);
  }
}

.popup--get-started-form {
  max-width: 480px;
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
  .popup--get-started-form {
    max-width: calc(100% - 40px);
  }
}

@media only screen and (orientation: portrait) {
  .popup--get-started-form {
    max-width: calc(100% - 40px);
  }
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popup__success {
  display: none;
  margin: 0 auto;
  text-align: center;
  color: #4caf50;
  padding: calc(20px * 1.5) 0;
  background: #fff;
}

.popup__success-text {
  font-size: 14px;
  padding: 0;
  color: #333;
  font-weight: 600;
  margin: 0;
}

.success-checkmark {
  width: 80px;
  height: 115px;
  margin: 0 auto;
}

.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4caf50;
}

.success-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
  content: "";
  height: 100px;
  position: absolute;
  background: #fff;
  transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
  height: 5px;
  background-color: #4caf50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.success-checkmark .check-icon .icon-line.icon-line--tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.icon-line--long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(76, 175, 80, 0.5);
}

.success-checkmark .check-icon .icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: #fff;
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
  }

  5% {
    transform: rotate(-45deg);
  }

  12% {
    transform: rotate(-405deg);
  }

  100% {
    transform: rotate(-405deg);
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: calc(10px * 0.1);
    top: calc(10px * 1.9);
  }

  54% {
    width: 0;
    left: calc(10px * 0.1);
    top: calc(10px * 1.9);
  }

  70% {
    left: calc(-0.8 * 10px);
    width: calc(10px * 5);
    top: calc(10px * 3.7);
  }

  84% {
    width: calc(10px * 1.7);
    left: calc(10px * 2.1);
    top: calc(10px * 4.8);
  }

  100% {
    width: calc(10px * 2.5);
    left: calc(10px * 1.4);
    top: calc(10px * 4.5);
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: calc(10px * 4.6);
    top: calc(10px * 5.4);
  }

  65% {
    width: 0;
    right: calc(10px * 4.6);
    top: calc(10px * 5.4);
  }

  84% {
    width: calc(10px * 5.5);
    right: 0;
    top: calc(10px * 3.5);
  }

  100% {
    width: calc(10px * 4.7);
    right: calc(10px * 0.8);
    top: calc(10px * 3.8);
  }
}