.stripe-popup {
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
  z-index: 11;
}

.stripe-popup.hidden {
  display: none;
}

.stripe-popup .screen {
  max-width: var(--max-screen-size);
  max-height: 90vh;
  width: 90%;
  background-color: var(--color-white);
  border: none;
  border-radius: 10px;
  overflow-x: hidden;
  overflow-y: auto;
}

.stripe-popup .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stripe-popup .heading button {
  background-color: transparent;
  border: none;
}

.stripe-popup .heading button img {
  width: 30px;
  height: 30px;
}

.stripe-popup .heading .aligning-item {
  width: 42px;
}

.stripe-popup .total-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1rem;
  padding-block: 2rem;
}

.stripe-popup .grey-background {
  background-color: #f1f1f1;
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.stripe-popup .grey-background .confirm-payment-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--color-white);
  padding-block: 1rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.stripe-popup .grey-background .confirm-payment-btn img {
  width: 20px;
}

.stripe-popup .grey-background .confirm-payment-btn:hover {
  opacity: 0.9;
}

.stripe-popup .grey-background .confirm-payment-btn:active {
  opacity: 0.7;
}

.stripe-popup .grey-background .pay-safe-secure {
  background-color: var(--color-white);
}
