.psf-wrap {
	--psf-primary: #1769e0;
	--psf-primary-dark: #0f55bd;
	--psf-primary-soft: #eef5ff;
	--psf-text: #172033;
	--psf-muted: #667085;
	--psf-border: #dbe3ef;
	--psf-error: #c62828;
	--psf-success: #137a4b;
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100%;
	max-width: 760px;
	margin: 24px auto;
	padding: 0;
	vertical-align: top;
	overflow: hidden;
	contain: inline-size;
	color: var(--psf-text);
	font-family: inherit;
}

.psf-wrap *,
.psf-wrap *::before,
.psf-wrap *::after {
	box-sizing: border-box !important;
	min-width: 0;
	max-width: 100%;
}

.psf-form {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid rgba(23, 105, 224, .12);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
	box-shadow: 0 18px 50px rgba(31, 55, 90, .09);
	overflow: hidden;
}

.psf-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.psf-heading__icon {
	display: inline-flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	color: var(--psf-primary);
	background: var(--psf-primary-soft);
}

.psf-heading__icon svg {
	width: 27px;
	height: 27px;
	fill: currentColor;
}

.psf-heading > div {
	min-width: 0;
}

.psf-heading h2 {
	margin: 0 0 5px;
	padding: 0;
	color: var(--psf-text);
	font: inherit;
	font-size: clamp(20px, 3vw, 25px);
	font-weight: 800;
	line-height: 1.45;
}

.psf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px 14px;
}

.psf-field {
	min-width: 0;
}

.psf-field--full {
	grid-column: 1 / -1;
}

.psf-field label {
	display: block;
	margin: 0 0 8px;
	color: #344054;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}

.psf-field label > span {
	color: var(--psf-error);
}

.psf-field input,
.psf-field select,
.psf-field textarea {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 44px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--psf-border);
	border-radius: 12px;
	outline: 0;
	color: var(--psf-text);
	background: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	line-height: 1.8;
	transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.psf-field input:not([aria-invalid="true"]):focus,
.psf-field select:not([aria-invalid="true"]):focus,
.psf-field textarea:not([aria-invalid="true"]):focus {
	background: #fbfdff;
}

.psf-field textarea {
	min-height: 68px;
	max-height: 120px;
	resize: vertical;
}

.psf-field input::placeholder,
.psf-field textarea::placeholder {
	color: #98a2b3;
	opacity: 1;
}

.psf-field input:hover,
.psf-field select:hover,
.psf-field textarea:hover {
	border-color: #b9c8dd;
}

.psf-field input:focus,
.psf-field select:focus,
.psf-field textarea:focus {
	border-color: var(--psf-primary);
	box-shadow: 0 0 0 4px rgba(23, 105, 224, .1);
}

.psf-field input[aria-invalid="true"],
.psf-field select[aria-invalid="true"],
.psf-field textarea[aria-invalid="true"] {
	border-color: var(--psf-error);
	background: #fffafa;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, .08);
}

.psf-select-wrap {
	position: relative;
}

.psf-select-wrap select {
	position: relative;
	z-index: 1;
	padding-left: 42px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.psf-select-arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 16px;
	width: 9px;
	height: 9px;
	margin-top: -7px;
	border-right: 2px solid #667085;
	border-bottom: 2px solid #667085;
	transform: rotate(45deg);
	pointer-events: none;
}

.psf-field-error {
	display: block;
	min-height: 19px;
	margin-top: 5px;
	font-size: 11.5px;
	line-height: 1.65;
}

.psf-field-error {
	min-height: 0;
	color: var(--psf-error);
	font-weight: 600;
}

.psf-field-error:not(:empty) {
	margin-top: 5px;
}

.psf-field--captcha {
	padding: 10px 12px;
	border: 1px dashed #c8d8ef;
	border-radius: 14px;
	background: #f9fbff;
}

.psf-field--captcha label {
	margin-bottom: 10px;
}

.psf-captcha-question {
	margin-right: 4px;
	color: var(--psf-primary);
	font-size: 16px;
	direction: ltr;
	unicode-bidi: isolate;
}

.psf-captcha-row {
	display: flex;
	align-items: stretch;
	gap: 8px;
	max-width: 230px;
}

.psf-captcha-row input {
	text-align: center;
	direction: ltr;
}

.psf-captcha-refresh {
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--psf-border);
	border-radius: 12px;
	color: var(--psf-primary);
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.psf-captcha-refresh:hover,
.psf-captcha-refresh:focus {
	border-color: var(--psf-primary);
	color: var(--psf-primary-dark);
	background: var(--psf-primary-soft);
}

.psf-captcha-refresh svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.psf-captcha-refresh.is-spinning svg {
	animation: psf-spin .8s linear infinite;
}

.psf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 46px;
	margin: 14px 0 0;
	padding: 9px 18px;
	border: 0;
	border-radius: 13px;
	color: #fff;
	background: var(--psf-primary);
	box-shadow: 0 9px 20px rgba(23, 105, 224, .2);
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.6;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.psf-submit:hover,
.psf-submit:focus {
	color: #fff;
	background: var(--psf-primary-dark);
	box-shadow: 0 11px 24px rgba(23, 105, 224, .25);
	transform: translateY(-1px);
}

.psf-submit:disabled {
	cursor: wait;
	opacity: .72;
	transform: none;
}

.psf-spinner {
	display: none;
	width: 17px;
	height: 17px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
}

.psf-submit.is-loading .psf-spinner {
	display: block;
	animation: psf-spin .75s linear infinite;
}

.psf-response {
	display: none;
	margin-top: 14px;
	padding: 11px 13px;
	border-radius: 11px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.8;
}

.psf-response.is-success,
.psf-response.is-error {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.psf-response.is-success {
	border: 1px solid #b7e4cf;
	color: var(--psf-success);
	background: #f0fbf6;
}

.psf-response.is-success::before {
	display: inline-flex;
	flex: 0 0 21px;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	margin-top: 1px;
	border-radius: 50%;
	color: #fff;
	background: #16a465;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	content: '\2713';
}

.psf-response.is-error {
	border: 1px solid #f1c0c0;
	color: var(--psf-error);
	background: #fff5f5;
}

.psf-honeypot {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

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

@media (max-width: 640px) {
	.psf-wrap {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		padding: 0;
		line-height: normal;
	}

	.psf-wrap + br,
	.psf-wrap + p:empty,
	.psf-wrap + div:empty {
		display: none !important;
	}

	.psf-form {
		width: 100% !important;
		max-width: 100% !important;
		padding: 12px;
		border-radius: 14px;
	}

	.psf-heading {
		align-items: center;
		gap: 9px;
		margin-bottom: 10px;
	}

	.psf-heading__icon {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
		border-radius: 11px;
	}

	.psf-heading__icon svg {
		width: 20px;
		height: 20px;
	}

	.psf-heading h2 {
		margin: 0;
		font-size: 18px;
		line-height: 1.4;
	}

	.psf-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.psf-field--full {
		grid-column: auto;
	}

	.psf-field input,
	.psf-field select,
	.psf-field textarea {
		min-height: 40px;
		padding: 6px 10px;
		border-radius: 10px;
		font-size: 16px;
		line-height: 1.45;
	}

	.psf-field label {
		margin-bottom: 3px;
		font-size: 12.5px;
		line-height: 1.45;
	}

	.psf-field textarea {
		min-height: 54px;
		max-height: 75px;
	}

	.psf-field--captcha {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 132px;
		align-items: center;
		gap: 4px 8px;
		padding: 7px 9px;
	}

	.psf-field--captcha label {
		margin: 0;
	}

	.psf-field--captcha .psf-field-error {
		grid-column: 1 / -1;
	}

	.psf-captcha-row {
		width: 132px;
		max-width: 100%;
		gap: 5px;
	}

	.psf-captcha-row input,
	.psf-captcha-refresh {
		min-height: 38px;
		height: 38px;
	}

	.psf-captcha-refresh {
		flex-basis: 38px;
		width: 38px;
		border-radius: 9px;
	}

	.psf-submit {
		min-height: 42px;
		margin-top: 9px;
		padding: 7px 14px;
		border-radius: 10px;
	}

	.psf-response {
		margin-top: 8px;
		padding: 7px 9px;
		font-size: 12px;
	}

	.psf-field-error:not(:empty) {
		margin-top: 2px;
		font-size: 11px;
		line-height: 1.45;
	}
}

@media (max-width: 360px) {
	.psf-field--captcha {
		grid-template-columns: minmax(0, 1fr) 118px;
	}

	.psf-captcha-row {
		width: 118px;
	}

	.psf-captcha-question {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psf-wrap *,
	.psf-wrap *::before,
	.psf-wrap *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
