.sfc-sp-card {
	--sfc-sp-green: #32de8a;
	--sfc-sp-blue: #004889;
	box-sizing: border-box;
	width: 100%;
	padding: 24px;
	border: 1px solid #6b9fc8;
	border-radius: 30px;
	background: rgba(18, 64, 108, 0.25);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	font-family: "Avenir Next", Arial, sans-serif;
}

.sfc-sp-card,
.sfc-sp-card * {
	box-sizing: border-box;
}

.sfc-sp-form {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 24px;
	width: 100%;
	margin: 0;
}

.sfc-sp-fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.sfc-sp-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

.sfc-sp-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	width: 100%;
}

.sfc-sp-field label {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
}

.sfc-sp-field label span {
	color: var(--sfc-sp-green);
}

.sfc-sp-field input,
.sfc-sp-field textarea {
	display: block;
	width: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fff;
	color: #172c42;
	font: inherit;
	font-size: 16px;
	line-height: 22px;
	outline: none;
}

.sfc-sp-field input {
	height: 44px;
	padding: 10px;
}

.sfc-sp-row .sfc-sp-field:nth-child(2) input,
.sfc-sp-fields > .sfc-sp-field:not(.sfc-sp-message-field) input {
	height: 42px;
}

.sfc-sp-field textarea {
	height: 160px;
	min-height: 160px;
	padding: 10px;
	resize: none;
}

.sfc-sp-field input:focus,
.sfc-sp-field textarea:focus {
	border-color: var(--sfc-sp-green);
	box-shadow: 0 0 0 2px rgba(50, 222, 138, 0.2);
}

.sfc-sp-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}

.sfc-sp-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--sfc-sp-green);
}

.sfc-sp-consent label {
	margin: 0;
}

.sfc-sp-consent a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sfc-sp-consent a:hover,
.sfc-sp-consent a:focus-visible {
	color: var(--sfc-sp-green);
}

.sfc-sp-card .sfc-cfp-wrap {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	overflow: visible;
	clip: auto;
	clip-path: none;
	white-space: normal;
}

.sfc-sp-card .sfc-cfp-widget {
	margin: 0;
}

.sfc-sp-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.sfc-sp-download,
.sfc-sp-submit {
	min-height: 56px;
	border-radius: 8px;
	font-family: "Avenir Next", Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.sfc-sp-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 16px 24px;
	border: 1px solid #e0e0e0;
	background: #fff;
	box-shadow: 0 0 6px rgba(50, 222, 138, 0.1);
	color: var(--sfc-sp-blue);
	font-weight: 600;
}

.sfc-sp-download span {
	background-image: linear-gradient(-30deg, #0467c3 18.114%, #004889 84.35%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sfc-sp-download img {
	display: block;
	width: 24px;
	height: 24px;
}

.sfc-sp-download:hover,
.sfc-sp-download:focus-visible,
.sfc-sp-submit:hover,
.sfc-sp-submit:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgba(0, 72, 137, 0.16);
}

.sfc-sp-download--disabled {
	cursor: not-allowed;
	opacity: 0.72;
}

.sfc-sp-submit {
	padding: 16px 24px;
	border: 0;
	background: var(--sfc-sp-green);
	color: #fff;
	letter-spacing: 0.64px;
	text-transform: uppercase;
	cursor: pointer;
}

.sfc-sp-submit:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.sfc-sp-status {
	align-self: stretch;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.sfc-sp-status--success {
	color: var(--sfc-sp-green);
}

.sfc-sp-status--error {
	color: #ffd0d0;
}

.sfc-sp-card :focus-visible {
	outline: 2px solid var(--sfc-sp-green);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.sfc-sp-card {
		padding: 20px;
		border-radius: 24px;
	}

	.sfc-sp-row,
	.sfc-sp-actions {
		grid-template-columns: 1fr;
		flex-direction: column;
		align-items: stretch;
	}

	.sfc-sp-download,
	.sfc-sp-submit {
		width: 100%;
	}
}

/* The partner section switches to its mobile layout at 767px. Keep the
 * embedded form in sync so phones and small tablets never get a two-column
 * row or oversized controls. */
@media (max-width: 767px) {
	.sfc-sp-card {
		padding: 16px;
		border-radius: 18px;
	}

	.sfc-sp-form {
		gap: 18px;
	}

	.sfc-sp-fields {
		gap: 14px;
	}

	.sfc-sp-row {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.sfc-sp-field label {
		font-size: 15px;
		line-height: 1.35;
	}

	.sfc-sp-consent {
		font-size: 13px;
	}

	.sfc-sp-field input {
		height: 46px;
		padding: 10px 12px;
	}

	.sfc-sp-field textarea {
		height: 120px;
		min-height: 120px;
		padding: 10px 12px;
	}

	.sfc-sp-actions {
		gap: 12px;
	}

	.sfc-sp-download,
	.sfc-sp-submit {
		min-height: 48px;
		padding: 12px 16px;
		font-size: 15px;
	}
}
