.subscribe-checkout-page .js-subscribe-checkout-stripe {
	align-items: start;
}

.subscribe-checkout-page .maze-stripe-field,
.js-billing-page .maze-stripe-field {
	background: rgba(18, 19, 23, 0.6);
	border: 1px solid rgba(203, 172, 112, 0.3);
	border-radius: 8px;
	box-sizing: border-box;
	color: rgb(253, 253, 253);
	display: flex;
	align-items: center;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	height: 46px;
	max-height: 46px;
	min-height: 46px;
	overflow: hidden;
	padding: 0 16px;
	width: 100%;
	outline: none;
}

.subscribe-checkout-page .maze-stripe-field iframe,
.js-billing-page .maze-stripe-field iframe {
	display: block;
	height: 22px !important;
	min-height: 0 !important;
	margin: 0 !important;
}

.subscribe-checkout-page .maze-stripe-field .__PrivateStripeElement,
.subscribe-checkout-page .maze-stripe-field .StripeElement,
.js-billing-page .maze-stripe-field .__PrivateStripeElement,
.js-billing-page .maze-stripe-field .StripeElement {
	width: 100%;
	line-height: 1;
}

.subscribe-checkout-page .maze-stripe-field:focus-within,
.js-billing-page .maze-stripe-field:focus-within {
	border-color: rgba(203, 172, 112, 0.65);
	box-shadow: 0 0 0 1px rgba(203, 172, 112, 0.2);
}

.subscribe-checkout-page .js-subscribe-checkout-payment-error {
	color: rgb(248, 113, 113);
	font-family: Inter, sans-serif;
	font-size: 0.88rem;
	margin-top: 12px;
}

.subscribe-checkout-page .js-subscribe-checkout-payment-error.hidden {
	display: none;
}

.subscribe-checkout-page .js-subscribe-checkout-submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.subscribe-checkout-page .js-subscribe-checkout-submit-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(18, 19, 23, 0.2);
	border-top-color: rgb(18, 19, 23);
	border-radius: 50%;
	animation: maze-subscribe-submit-spin 0.7s linear infinite;
}

.subscribe-checkout-page .js-subscribe-checkout-submit.is-loading {
	cursor: wait;
}

.subscribe-checkout-page .js-subscribe-checkout-submit.is-loading .js-subscribe-checkout-submit-label {
	visibility: hidden;
}

.subscribe-checkout-page .js-subscribe-checkout-submit.is-loading .js-subscribe-checkout-submit-spinner {
	display: block;
	position: absolute;
}

@keyframes maze-subscribe-submit-spin {
	to {
		transform: rotate(360deg);
	}
}

.js-billing-page .js-billing-current-card.hidden,
.js-billing-page .js-billing-new-card-label.hidden,
.js-billing-page .js-billing-card-form.hidden {
	display: none;
}

.js-billing-page .js-billing-card-error.hidden {
	display: none;
}

.js-billing-page .js-billing-card-save {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.js-billing-page .js-billing-card-save-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(18, 19, 23, 0.2);
	border-top-color: rgb(18, 19, 23);
	border-radius: 50%;
	animation: maze-subscribe-submit-spin 0.7s linear infinite;
}

.js-billing-page .js-billing-card-save.is-loading {
	cursor: wait;
}

.js-billing-page .js-billing-card-save.is-loading .js-billing-card-save-label {
	visibility: hidden;
}

.js-billing-page .js-billing-card-save.is-loading .js-billing-card-save-spinner {
	display: block;
	position: absolute;
}

.js-billing-page .billing-saved-card__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgb(224, 135, 112);
	font-family: Inter, sans-serif;
	font-size: 0.78rem;
	line-height: 1.2;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.js-billing-page .billing-saved-card__expiry {
	color: rgb(138, 147, 174);
	font-family: Inter, sans-serif;
	font-size: 0.85rem;
	white-space: nowrap;
}

.js-billing-page .billing-saved-card__trailing {
	display: flex;
	align-items: center;
	gap: 12px;
}

.js-billing-page .billing-saved-card--backup .billing-saved-card__expiry--on-hover {
	overflow: hidden;
	max-width: 0;
	opacity: 0;
	transition: max-width 0.25s ease, opacity 0.2s ease;
}

.js-billing-page .billing-saved-card--backup:hover .billing-saved-card__expiry--on-hover,
.js-billing-page .billing-saved-card--backup:focus-within .billing-saved-card__expiry--on-hover {
	max-width: 12rem;
	opacity: 1;
}

.js-billing-page .billing-saved-card__remove:hover {
	opacity: 0.8;
}

.js-billing-page .billing-saved-card__remove:disabled {
	opacity: 0.5;
	cursor: wait;
}
