/* 1.2.0: explanation text, steps, privacy line, return notice; selectors are scoped to the
   popup and use !important where themes (BeTheme) style every button/input globally. */
.invaise-checkout-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 23, 51, 0.6);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.invaise-checkout-popup-backdrop[hidden] {
  display: none;
}
.invaise-checkout-popup {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 30px 30px 24px;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  font-family: inherit;
  color: #444;
  text-align: left;
  box-sizing: border-box;
}
.invaise-checkout-popup .invaise-checkout-popup-close {
  position: absolute !important;
  top: 10px;
  right: 12px;
  background: none !important;
  border: none !important;
  padding: 4px 8px !important;
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer;
  color: #888 !important;
  box-shadow: none !important;
}
.invaise-checkout-popup .invaise-checkout-popup-close:hover {
  color: #333 !important;
}
.invaise-checkout-popup .invaise-checkout-popup-title {
  margin: 0 28px 8px 0;
  font-size: 21px;
  line-height: 1.3;
}
.invaise-checkout-popup .invaise-checkout-popup-product {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mfn-button-theme-bg, #2271b1);
}
.invaise-checkout-popup .invaise-checkout-popup-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
}
.invaise-checkout-popup .invaise-checkout-popup-label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 13px;
  color: #333;
}
.invaise-checkout-popup .invaise-checkout-popup-email {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 11px 12px !important;
  font-size: 15px;
  border: 1px solid #cfd5e1 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-sizing: border-box;
}
.invaise-checkout-popup .invaise-checkout-popup-email:focus {
  border-color: var(--mfn-button-theme-bg, #2271b1) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}
.invaise-checkout-popup .invaise-checkout-popup-error {
  color: #c0392b;
  font-size: 13px;
  margin: 8px 0 0;
}
.invaise-checkout-popup .invaise-checkout-popup-continue {
  display: block;
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 13px 12px !important;
  font-size: 15px !important;
  font-weight: 600;
  border: none !important;
  border-radius: 6px !important;
  background: var(--mfn-button-theme-bg, #2271b1) !important;
  color: #fff !important;
  cursor: pointer;
  box-shadow: none !important;
}
.invaise-checkout-popup .invaise-checkout-popup-continue:hover {
  opacity: 0.92;
}
.invaise-checkout-popup .invaise-checkout-popup-continue:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.invaise-checkout-popup .invaise-checkout-popup-next {
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}
.invaise-checkout-popup .invaise-checkout-popup-steps {
  list-style: none;
  counter-reset: invaise-step;
  margin: 0;
  padding: 0;
}
.invaise-checkout-popup .invaise-checkout-popup-steps li {
  counter-increment: invaise-step;
  position: relative;
  margin: 0 0 8px;
  padding-left: 30px;
  font-size: 13px;
  line-height: 1.5;
}
.invaise-checkout-popup .invaise-checkout-popup-steps li::before {
  content: counter(invaise-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef1f7;
  color: #17274d;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.invaise-checkout-popup .invaise-checkout-popup-privacy {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef0f4;
  font-size: 12px;
  line-height: 1.5;
  color: #888;
}
.invaise-checkout-popup .invaise-checkout-popup-privacy a {
  color: inherit;
  text-decoration: underline;
}
.invaise-checkout-notice {
  text-align: center;
}
.invaise-checkout-notice .invaise-checkout-popup-title {
  margin: 0 0 10px;
}
.invaise-checkout-notice-icon {
  width: 52px;
  height: 52px;
  margin: 4px auto 14px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 700;
  line-height: 52px;
  color: #fff;
  background: #3ba776;
}
.invaise-checkout-notice.is-cancelled .invaise-checkout-notice-icon {
  background: #9aa3b5;
}
.invaise-checkout-quantity-row {
  margin-bottom: 10px;
}
