.sai-cf-payment-message {
	display: none;
	margin: 18px 0;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid #dbe3ef;
	background: #f8fafc;
	color: #0f172a;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.55;
	box-shadow: 0 10px 26px rgba(10, 31, 68, 0.08);
}

.sai-cf-payment-message .sai-cf-message-text {
	font-weight: 750;
}

.sai-cf-payment-message.sai-cf-info {
	border-color: rgba(10, 31, 68, 0.18);
	background: linear-gradient(135deg, rgba(10, 31, 68, 0.06), rgba(10, 31, 68, 0.02));
	color: #0A1F44;
}

.sai-cf-payment-message.sai-cf-success {
	border-color: rgba(22, 163, 74, 0.28);
	background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(22, 163, 74, 0.04));
	color: #166534;
}

.sai-cf-payment-message.sai-cf-error {
	border-color: rgba(220, 38, 38, 0.28);
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.10), rgba(220, 38, 38, 0.04));
	color: #991b1b;
}

.sai-cf-payment-message.sai-cf-pending {
	border-color: rgba(245, 158, 11, 0.36);
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(245, 158, 11, 0.05));
	color: #92400e;
}

.sai-cf-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 9px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	vertical-align: -3px;
	animation: sai-cf-spin 0.75s linear infinite;
}

button.sai-cf-button-loading,
input.sai-cf-button-loading,
.wpforms-submit.sai-cf-button-loading {
	position: relative;
	cursor: wait !important;
	opacity: 0.92;
	filter: saturate(0.95);
}

.sai-cf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.sai-cf-action {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 10px 16px;
	background: #0A1F44;
	color: #fff;
	font-weight: 850;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(10, 31, 68, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.sai-cf-action:hover,
.sai-cf-action:focus {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(10, 31, 68, 0.24);
	outline: none;
}

.sai-cf-verify-again {
	background: #2563eb;
}

.sai-cf-retry-payment {
	background: #0A1F44;
}

.sai-cf-payment-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(10, 31, 68, 0.54);
	backdrop-filter: blur(5px);
}

.sai-cf-payment-overlay-card {
	width: min(92vw, 390px);
	padding: 24px;
	border-radius: 22px;
	background: #fff;
	text-align: center;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.sai-cf-payment-overlay-title {
	margin: 12px 0 4px;
	color: #0A1F44;
	font-size: 20px;
	font-weight: 900;
}

.sai-cf-payment-overlay-text {
	color: #64748b;
	font-size: 14px;
	line-height: 1.55;
}

@keyframes sai-cf-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 640px) {
	.sai-cf-payment-message {
		margin: 16px 0;
		padding: 13px 14px;
		border-radius: 12px;
		font-size: 14px;
	}

	.sai-cf-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.sai-cf-action {
		width: 100%;
		padding: 12px 14px;
	}
}
