.svhv-checkout-controls,
.svhv-status-card {
	--svhv-checkout-navy: var(--navy, #123a5d);
	--svhv-checkout-blue: var(--blue, #17679c);
	--svhv-checkout-orange: var(--orange, #f58a2b);
	--svhv-checkout-line: var(--line, #d7e1e9);
	--svhv-checkout-muted: var(--muted, #56697a);
}

#svhv-order-form .svhv-checkout-controls {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--svhv-checkout-line);
}

#svhv-order-form .svhv-legal-links {
	margin-bottom: 14px;
	color: var(--svhv-checkout-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

#svhv-order-form .svhv-legal-links a {
	color: var(--svhv-checkout-blue);
	text-decoration: underline;
	text-decoration-color: rgba(23, 103, 156, .35);
	text-underline-offset: 3px;
}

#svhv-order-form .svhv-legal-links a:hover {
	color: var(--svhv-checkout-navy);
	text-decoration-color: currentColor;
}

#svhv-order-form label.svhv-consent {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 11px;
	align-items: start;
	margin: 0 0 12px;
	padding: 14px 15px;
	border: 1px solid var(--svhv-checkout-line);
	border-radius: 11px;
	background: #f7fafc;
	color: var(--svhv-checkout-navy);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.48;
	cursor: pointer;
}

#svhv-order-form .svhv-consent:has(input:checked) {
	border-color: #aacbbb;
	background: #f1f8f4;
}

#svhv-order-form .svhv-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--svhv-checkout-orange);
}

#svhv-order-form .svhv-consent input[type="checkbox"]:focus-visible,
#svhv-payment-button:focus-visible,
.svhv-status-card a:focus-visible {
	outline: 3px solid rgba(245, 138, 43, .3);
	outline-offset: 3px;
}

#svhv-payment-button {
	display: block;
	width: 100%;
	margin-top: 17px;
	border: 0;
	background: var(--svhv-checkout-orange);
	color: #fff;
	cursor: pointer;
}

#svhv-payment-button:hover:not(:disabled) {
	filter: brightness(.96);
}

#svhv-payment-button[aria-busy="true"] {
	cursor: wait;
}

#svhv-payment-button:disabled {
	opacity: .68;
	cursor: not-allowed;
}

.svhv-payment-status,
.svhv-payment-error {
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.svhv-payment-status:empty,
.svhv-payment-error[hidden] {
	display: none !important;
}

.svhv-payment-status {
	background: #edf5fb;
	color: #234f72;
}

.svhv-payment-status.is-working {
	background: #fff6ea;
	color: #74440f;
}

.svhv-payment-error {
	border: 1px solid #e7b5b5;
	background: #fff2f2;
	color: #812525;
}

#svhv-order-form .svhv-payment-note {
	margin: 12px 0 0;
	color: var(--svhv-checkout-muted);
	font-size: 12px;
	line-height: 1.5;
	text-align: left;
}

.svhv-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.svhv-status-card {
	max-width: 720px;
	margin: 36px auto;
	padding: 28px;
	border: 1px solid var(--svhv-checkout-line);
	border-left: 5px solid var(--svhv-checkout-blue);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(18, 58, 93, .08);
	color: var(--svhv-checkout-muted);
}

.svhv-status-card h1,
.svhv-status-card h2,
.svhv-status-card h3 {
	margin: 0 0 9px;
	color: var(--svhv-checkout-navy);
}

.svhv-status-card p {
	margin: 0;
	line-height: 1.6;
}

.svhv-status-card.is-pending {
	border-left-color: var(--svhv-checkout-orange);
}

.svhv-status-card.is-success {
	border-left-color: #238358;
	background: #f4fbf7;
}

.svhv-status-card.is-error,
.svhv-status-card.svhv-status-cancel {
	border-left-color: #b84141;
	background: #fff8f8;
}

.svhv-status-card.is-neutral {
	border-left-color: #8091a0;
}

@media (max-width: 640px) {
	#svhv-order-form .svhv-checkout-controls {
		margin-top: 20px;
		padding-top: 20px;
	}

	#svhv-order-form label.svhv-consent {
		padding: 13px;
		font-size: 12.5px;
	}

	.svhv-status-card {
		margin: 22px 0;
		padding: 22px 18px;
		border-radius: 13px;
	}
}
