:root {
  --color-label: #565656;
  --color-placeholder: #acacac;
  --color-heading-text: #333;
  --color-text-error: #ef4444;
  --color-input-border: #e4e4e6;
  --color-input-border-shadow: rgba(228, 228, 230, 0.6);
  --color-button-text: rgba(255, 255, 255, 0.95);
  --color-button-text-disabled: rgba(255, 255, 255, 0.4);
  --color-primary: #0074d4;
}

/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */
.stripe-payment-sheet-wrap {
  box-sizing: border-box;
}
.stripe-payment-sheet-wrap *:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
  background: none;
  border: none;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}
.stripe-payment-sheet-wrap button {
  cursor: pointer;
}
.stripe-payment-sheet-wrap {
  display: block;
  width: 100%;
  background: #fff;
  padding: 32px 16px;
}
.stripe-payment-sheet-wrap .StripeElement {
  padding: 8px 16px;
  min-height: 64px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stripe-payment-sheet-wrap .StripeElement > .__PrivateStripeElement {
  width: 100%;
}
.stripe-payment-sheet-wrap .stripe-heading {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-heading-text);
  margin-bottom: 24px;
}
.stripe-payment-sheet-wrap .stripe-section-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-label);
  margin-bottom: 8px;
}
.stripe-payment-sheet-wrap .payment-info {
  margin-top: 8px;
}
.stripe-payment-sheet-wrap .stripe-element-errors {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-error);
}
.stripe-payment-sheet-wrap button {
  display: block;
  color: var(--color-button-text);
  background-color: var(--color-primary);
  width: 100%;
  text-align: center;
  padding: 16px 16px;
  font-size: 18px;
  border-radius: 6px;
  min-height: 42px;
}
.stripe-payment-sheet-wrap button:disabled {
  color: var(--color-button-text-disabled);
}