@media screen and (min-width: 768px) {
  .payment-modal .modal-dialog {
    max-width: 730px;
  }

  #popup-step-1-premium.payment-modal .modal-dialog {
    max-width: 850px;
  }
}

.payment-modal .modal-body {
  padding: 2.125rem 1.25rem;
}

@media (max-width: 768px) {
  .payment-modal .modal-body {
    padding: 1.25rem;
  }
}

#popup-step-1 .modal-body {
  background: linear-gradient(291.66deg, #713ff4 25.14%, #cd55ff 104.99%);
  color: #fff;
}

#popup-step-1-premium .modal-body {
  padding: 30px 50px;
  background: linear-gradient(291.66deg, #6b3cd0 25.14%, #0d0d25 104.99%);
  color: #fff;
  text-align: center;
}

.payment-modal .modal-content {
  border-radius: 10px;
  overflow: hidden;
  border: 0;
}

#popup-step-1 .panel-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.payment-modal .close-modal {
  position: absolute;
  outline: none;
  top: 12px;
  right: 12px;
  background-color: #fff;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  z-index: 10;
}

.payment-modal .close-modal::before,
.payment-modal .close-modal::after {
  content: "";
  position: absolute;
  background: #000;
  height: 2px;
  width: 16px;
  top: 0;
  left: 0;
}

.payment-modal .close-modal::before {
  transform: rotate(45deg) translate(15px, 5px);
}

.payment-modal .close-modal::after {
  transform: rotate(-45deg) translate(-5px, 15px);
}

.form-step {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.form-step .btn-circle {
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.428571429;
  border-radius: 25px;
  background: #f6f7f8;
  border: 1px solid #ccc;
  color: #555;
  margin: 0 15px;
  position: relative;
}

.form-step .btn-circle.step-active {
  background: linear-gradient(168.26deg, #c57bff 15.09%, #454bcb 141.04%);
  border-color: #c57bff;
  color: #fff;
}

.form-step .btn-circle:first-child::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #ccc;
  position: absolute;
  left: 100%;
  top: 14px;
}

/* Step 1 */
@media (max-width: 991px) {
  .payment-form {
    margin-top: 20px;
  }
}

.payment-form .panel-title {
  margin-bottom: 15px;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.payment-form .promotion strong {
  color: #fff35c;
}

.popup-container .note {
  font-size: 13px;
  color: #fff;
  text-align: center;
  margin-top: 8px;
}

.input-icon {
  position: relative;
}

.payment-type .elsa-svg {
  display: block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.input-icon .form-control {
  height: 42px;
  padding-left: 45px;
  line-height: normal;
  border: none;
  appearance: none;
}

.form-control.is-error::placeholder {
  color: #eb0027;
}

.error-messages {
  padding: 5px 0 5px 30px;
  font-weight: bold;
  line-height: 1.2;
  background: transparent url("../popup/icon-warning.svg") no-repeat left center;
  color: #ff0;
}

.error-messages p {
  margin-bottom: 5px;
}

.error-messages p:last-child {
  margin-bottom: 0;
}

.elsa-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
}

.icon-user {
  background-image: url("../popup/icon-user.svg");
}

.icon-phone {
  background-image: url("../popup/icon-phone.svg");
}

.icon-email {
  background-image: url("../popup/icon-email.svg");
}

.icon-graduation {
  background-image: url("../popup/icon-graduation.svg");
}

.icon-arrow {
  width: 12px !important;
  height: 12px !important;

  background: url("../popup/icon-arrow.svg") no-repeat center/contain;
  left: unset;
  right: 12px;
}

.copy-code {
  display: flex;
  height: 42px;
  margin-bottom: 20px;
  background: #ffffff;
  box-shadow: inset 0px 4px 4px rgb(0 0 0 / 25%);
  border-radius: 100px;
}

.copy-code .discount-code {
  margin-inline: auto;
  color: #2f2f2f;
  font-size: 20px;
  font-weight: 900;
  line-height: 42px;
}

.copy-code .common-btn.btn-default {
  width: 150px;
  height: 100%;
  padding: 10px;
  margin: 0;
}

.payment-form .common-btn {
  display: flex;
  width: 100%;
  margin: 20px auto 0;
}

.payment-modal .heading-new {
  background: #915cd4;
  border-radius: 20px;
  max-width: 300px;
  position: relative;
  margin: -30px auto 0;
}

.payment-modal .heading-text {
  color: #fff35c;
  font-size: 20px;
  padding: 12px;
  margin-bottom: 0;
  font-weight: 600;
}

/* Step 2 */
.elsa-upgrade-container .title {
  font-size: 1.125rem;
}

.elsa-plan {
  margin-bottom: 30px;
}

.elsa-plan__item {
  margin-bottom: 10px;
  text-align: center;
}
.elsa-plan__item:last-child {
  margin-bottom: 0;
}

.payment-list {
  list-style: none;
  padding-left: 0;
}

.payment-list .method-item {
  border: 1px solid rgba(33, 37, 41, 0.2);
  border-radius: 20px;
  overflow: hidden;
}

.payment-list .method-item + .method-item {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .payment-list .method-item {
    max-width: 395px;
    margin: 0 auto;
  }
}

.elsa-plan__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 125px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
}

.elsa-plan__inner.active {
  background: linear-gradient(180deg, #6653da 0%, #2e18b4 100%);
  color: #fff;
  border-color: #4839e1;
}

.elsa-plan__title {
  margin-bottom: 15px;
  font-size: 1.125rem;
}

.elsa-plan__price .base-price {
  font-size: 14px;
  color: #a5a4b8;
  text-decoration: line-through;
}

.elsa-plan__price .discount-price {
  font-size: 1.125rem;
  font-weight: bold;
}

.elsa-upgrade-container .panel {
  padding-left: 20px;
}

.discount-code-input {
  max-width: 400px;
  display: flex;
  background: #f5f5f5;
  border: 1px solid rgba(33, 37, 41, 0.2);
  border-radius: 20px;
  margin: 0 auto 8px;
  overflow: hidden;
}

.discount-code-input .common-btn {
  height: 40px;
  font-size: 1.125rem;
  flex: 0 0 130px;
}

.discount-code-input input {
  display: block;
  border: 0;
  background: transparent;
  padding: 5px 10px;
  flex: 1;
  width: calc(100% - 130px);
  outline: none;
  text-align: center;
  font-size: 1.125rem;
  font-weight: bold;
  color: #116cc8;
}

.discount-code-comment {
  margin-bottom: 8px;
  font-size: 14px;
  text-align: center;
}

.payment-type {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 76px;
  padding-left: 44px;
  position: relative;
  cursor: pointer;
}

.payment-type::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  position: absolute;
  left: 15px;
  top: 50%;
  margin-top: -9px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #24b7f3;
  border: 3px solid #fff;
}
.active.payment-type::before {
  background: #24b7f3;
}
.payment-type .method-title {
  max-width: 80%;
}
.payment-type .method-title h4 {
  margin: 0;
  font-size: 1.125rem;
}
.payment-type .method-title .text-inst {
  margin: 0;
  font-size: 11px;
}
.payment-icon img,
.payment-icon span {
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}
.payment-list .text {
  font-size: 9px;
  line-height: 1.8;
}
.elsa-upgrade-container .title {
  font-weight: bold;
}
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.payment-method .payment-services img {
  margin: 0 5px;
}

.payment-method .hint {
  font-size: 12px;
}
.payment-method__content {
  display: none;
  padding: 0 20px 20px;
}
.payment-method__content h5 {
  margin-bottom: 5px;
  font-size: inherit;
  border-top: 1px solid #BEC4D0;
  padding-top: 15px;
}
.payment-method__content .bank-info {
  list-style: none;
  padding: 0;
  border-bottom: 1px solid #BEC4D0;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.payment-method__content .bank-info li + li {
  margin-bottom: 5px;
}
.bank-info .common-btn {
  width: auto;
  font-size: 12px;
  font-weight: 400;
  height: 35px;
  border-radius: 5px;
  padding: 0 10px;
}
.bank-info .bank-id {
  outline: none;
  border: 0;
  font-size: 1em;
}
.payment-method__content .bank-contact {
  color: #666;
}
.bank-contact p {
  margin-bottom: 8px;
}
.bank-contact p:last-child {
  margin-bottom: 0;
}
.active + .payment-method__content {
  display: block;
  font-size: 12px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

#loader-cover {
  display: none;
  text-align: center;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(50, 115, 220, 0.3);
  z-index: 10000;
}
.payment-submit {
  text-align: center;
  margin: 20px 0;
}
.voucher-message {
  text-align: center;
}
.voucher-message span {
  display: inline-block;
  padding-left: 28px;
  font-size: 14px;
  background-repeat: no-repeat;
  background-position: left center;
}
.voucher-message .is-success {
  background-image: url("../popup/tick-icon.svg");
  color: #3cadff;
}
.voucher-message .is-invalid {
  background-image: url("../popup/times-icon.svg");
  color: #bc001f;
}
