/* CC Stripe Checkout — wrapper styles to sit inside the green Foundations panel */
.cc-checkout {
	--cc-green-deep: #1d4835;
	--cc-green: #2a4736;
	--cc-lime: #a6c373;
	position: relative;
	width: 100%;
	min-height: 120px;
	font-family: "DM Sans", sans-serif;
	color: #fff;
}

.cc-checkout__form iframe { color-scheme: normal; }

.cc-checkout__testflag {
	display: inline-block;
	margin: 0 0 16px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(166, 195, 115, 0.18);
	color: var(--cc-lime);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cc-checkout__loading {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 24px 0;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}
.cc-checkout__loading[hidden] { display: none; }

.cc-checkout__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-top-color: var(--cc-lime);
	border-radius: 50%;
	animation: cc-spin 0.8s linear infinite;
}
@keyframes cc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cc-checkout__spinner { animation-duration: 2.4s; } }

.cc-checkout__error {
	margin-top: 16px;
	padding: 14px 18px;
	border-radius: 12px;
	background: rgba(255, 138, 122, 0.12);
	border: 1px solid rgba(255, 138, 122, 0.35);
	color: #ffd2cb;
	font-size: 15px;
	line-height: 1.45;
}

.cc-checkout__success {
	padding: 36px 32px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	outline: none;
}
.cc-checkout__success[hidden],
.cc-checkout__error[hidden],
.cc-checkout__form[hidden] { display: none; }

.cc-checkout__check {
	display: inline-flex;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--cc-lime);
	position: relative;
}
.cc-checkout__check::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 13px;
	width: 12px;
	height: 22px;
	border: solid var(--cc-green-deep);
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

.cc-checkout .cc-checkout__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: "Syne", sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.cc-checkout .cc-checkout__message {
	margin: 0 auto;
	padding: 0;
	max-width: 46ch;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
}

.cc-stripe-notice {
	padding: 12px 16px;
	border-radius: 8px;
	background: #fff3cd;
	color: #664d03;
	font-size: 14px;
}
