.payment-info {
  min-height: 200px;
  background-color: var(--primary-color);
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  padding: 32px;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.header * {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--text-color);
  font-weight: bold;
}

.header__brand img {
  height: 50px;
}

.payment-info-status h3 {
  text-align: center;
  font-weight: bold;
  color: var(--text-color);
  font-size: 1.7rem;
}

.payment-info-status {
  margin-bottom: 50px;
}

.header__amount {
  display: none;
  gap: 10px;
}

.header__amount-money {
  font-size: 2rem;
}

#submit {
  display: none;
  width: 100%;
  background-color: #24b47e;
  outline: none;
  border: none;
  padding: 16px;
  margin-top: 16px;
  border-radius: 8px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

#submit:hover {
  box-shadow: rgb(36, 180, 126, 0.5) 0px 7px 29px 0px;
}

.back-to-payment:hover {
  box-shadow: #ce5a67 0px 7px 29px 0px !important;
  background-color: var(--primary-color) !important;
  border: 5px solid #ce5a67 !important;
}

.back-to-payment {
  display: none;
  width: 100%;
  background-color: var(--primary-color);
  border: 5px solid #ce5a67;
  outline: none;
  padding: 16px;
  margin-top: 16px;
  border-radius: 8px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.invalid-session {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.invalid-session img {
  width: 100px;
}

.payment-loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-loader {
  width: 48px;
  height: 48px;
  border: 5px solid var(--text-color);
  border-bottom-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.submit-loader {
  width: 24px;
  height: 24px;
  border: 5px solid var(--text-color);
  border-bottom-color: #24b47e;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.error-message-container {
  display: none;
  margin-top: 45px;
  background-color: #e87575;
  border: 6px solid #844b4b;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 32px 16px;
  grid-template-columns: 50px 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 10px;
}

.error-message-icon {
  margin-right: 16px;
  background-color: #9c4b4b;
  border-radius: 255px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 2rem;
  grid-row: 1/3;
}

.error-message-icon span {
  color: #fff;
}

.error-message-container h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.7;
  color: #fff;
}

.error-message {
  font-size: 1rem;
}

/* @media (max-width: 960px) {
  .payment-info {
    width: calc(100% - 20px);
  }
} */
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: rgb(173, 173, 173);
  font-size: 0.7rem;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  bottom: 100%;
  left: 50%;
  margin-left: -110px;
  margin-right: auto;
}

.question-mark img {
  width: 25px;
}

.step-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 70px;
}

.step-line {
  width: 150px;
  height: 7px;
  background-color: var(--primary-color);
  opacity: 0.2;
  transition: all 0.2s;
}

.step {
  position: relative;
  transition: all 0.2s;
}

.step-num {
  width: 50px;
  height: 50px;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 100px;
  text-align: center;
  line-height: 50px;
  font-weight: bold;
  display: inline-block;
}

.step-desc {
  position: absolute;
  text-align: left;
  bottom: -40px;
  left: -40px;
  right: 0;
  width: 200px;
  font-weight: bold;
  font-size: 1rem;
  opacity: 0.7;
}

.step-active .step-num {
  background-color: var(--primary-color);
  color: #fff;
}

.step-active .step-desc {
  opacity: 1;
}

.payment-confirmation-details {
  display: none;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  color: #fff;
}

.payment-confirmation-label {
  font-size: 1.25rem;
  font-weight: bold;
}

.checkmark-divider {
  grid-column: 1/3;
  margin-top: 40px !important;
  width: 100%;
  border-top: 5px solid #fff;
  border-radius: 1rem;
  opacity: 0.7;
}

/* The container */
.checkmark-container {
  grid-column: 1/3;
  margin-top: 40px;
  border-radius: 8px;
  width: 100%;
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkmark-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 25px;
  width: 25px;
  border-radius: 8px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkmark-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkmark-container input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkmark-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkmark-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkmark-text {
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  text-align: left;
  font-weight: bold;
  color: #fff;
}

.checkmark-subtitle {
  opacity: 0.7;
  color: #fff;
  font-weight: bold;
}

@media (max-width: 500px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .payment-info-status {
    margin-top: 20px;
  }

  .header__amount {
    opacity: 0.5;
  }

  .error-message-icon {
    grid-row: 1/2;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.4rem;
    display: none;
  }

  .error-message-container h3 {
    grid-column: 1/3;
  }

  .error-message {
    grid-column: 1/3;
  }

  .step-line {
    width: 100px;
  }

  .payment-confirmation-details {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .payment-confirmation-detail:nth-child(2) {
    grid-row: 2;
  }
}
