.le-form-wrap {
	--le-navy: #14447f;
	--le-navy-dark: #103762;
	--le-ink: #20314a;
	--le-muted: #728095;
	--le-line: #e6ebf2;
	--le-bg: #f6f8fc;
	--le-red: #be414f;
	--le-green: #217653;
	--le-radius: 12px;
	--le-shadow: 0 12px 42px rgba(31, 51, 80, 0.12);
	font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--le-ink);
	max-width: 760px;
	margin: 0 auto;
	position: relative;
	box-sizing: border-box;
}

.le-form-wrap *,
.le-form-wrap *::before,
.le-form-wrap *::after {
	box-sizing: border-box;
}

.le-form-wrap h2,
.le-form-wrap h3,
.le-form-wrap h4,
.le-form-wrap p {
	margin: 0;
}

.le-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: block;
}

.le-form-card {
	background: #fff;
	border: 1px solid var(--le-line);
	border-radius: var(--le-radius);
	overflow: hidden;
	box-shadow: var(--le-shadow);
}

.le-steps {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 20px 28px 16px;
	border-bottom: 1px solid var(--le-line);
	background: #fff;
}

.le-step {
	flex: 1;
	color: #96a2b3;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
	min-width: 0;
}

.le-step:after {
	position: absolute;
	content: "";
	height: 1px;
	background: #e5ebf3;
	left: 36px;
	right: 6px;
	top: 14px;
}

.le-step:last-child:after {
	display: none;
}

.le-step span {
	width: 28px;
	height: 28px;
	border: 1px solid #dce3ee;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 12px;
	background: #fff;
	z-index: 1;
}

.le-step.is-active {
	color: var(--le-navy);
}

.le-step.is-active span {
	background: var(--le-navy);
	color: #fff;
	border-color: var(--le-navy);
}

.le-step.is-done span {
	background: #e7f3ee;
	color: #47896a;
	border-color: #d1e9db;
}

.le-public-body {
	padding: 28px 32px 12px;
}

.le-step-progress {
	display: none;
	font-size: 13px;
	color: var(--le-muted);
	margin-bottom: 8px;
}

.le-step-panel h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--le-ink);
}

.le-step-desc {
	font-size: 14px;
	color: var(--le-muted);
	margin-bottom: 20px;
	line-height: 1.55;
}

.le-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 18px;
}

.le-field {
	flex: 1 1 100%;
	min-width: 0;
}

.le-width-half {
	flex: 1 1 calc(50% - 9px);
}

.le-width-full {
	flex: 1 1 100%;
}

.le-label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #53637b;
}

.le-req {
	color: var(--le-red);
	font-weight: 600;
}

.le-optional {
	font-weight: 400;
	color: #899690;
}

.le-field-error {
	display: none;
	margin-top: 6px;
	color: var(--le-red);
	font-size: 12px;
	line-height: 1.4;
}

.le-field.is-invalid .le-field-error {
	display: block;
}

.le-field.is-invalid input[type="text"],
.le-field.is-invalid input[type="email"],
.le-field.is-invalid input[type="tel"],
.le-field.is-invalid input[type="url"],
.le-field.is-invalid input[type="number"],
.le-field.is-invalid input[type="date"],
.le-field.is-invalid select,
.le-field.is-invalid textarea,
.le-field.is-invalid .le-dropzone,
.le-field.is-invalid .le-radio,
.le-field.is-invalid .le-choice-ui {
	border-color: var(--le-red);
}

.le-section-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--le-ink);
}

.le-field-heading .le-help {
	margin-top: 4px;
}

.le-field-review .le-section-title {
	margin-bottom: 12px;
}

.le-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.le-chip,
.le-radio {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--le-line);
	background: #fff;
	cursor: pointer;
	color: var(--le-ink);
	margin: 0;
}

.le-chip {
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
}

.le-chip input,
.le-radio input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.le-chip:has(input:checked),
.le-radio:has(input:checked) {
	border-color: var(--le-navy);
	background: #f0f6fe;
	color: var(--le-navy);
}

.le-chip:focus-within,
.le-radio:focus-within {
	box-shadow: 0 0 0 3px #eaf2fb;
}

.le-radio-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.le-radio {
	border-radius: 8px;
	padding: 12px 14px;
	min-height: 48px;
	font-size: 14px;
}

.le-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.le-review-card {
	border: 1px solid var(--le-line);
	border-radius: 8px;
	background: #f8fafc;
	padding: 12px 14px;
}

.le-review-label {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	color: var(--le-muted);
}

.le-review-value {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--le-ink);
}

.le-divider {
	border: 0;
	border-top: 1px solid var(--le-line);
	margin: 4px 0;
	width: 100%;
}

.le-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.le-choice {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.le-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.le-choice-ui {
	display: block;
	position: relative;
	height: 100%;
	border: 1px solid var(--le-line);
	border-radius: 10px;
	background: #fff;
	padding: 14px 40px 14px 14px;
}

.le-choice-title {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--le-ink);
}

.le-choice-copy {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: var(--le-muted);
}

.le-choice-mark {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 20px;
	height: 20px;
	border: 1px solid #d5deea;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 12px;
	color: transparent;
	background: #fff;
}

.le-choice:has(input:checked) .le-choice-ui {
	border-color: var(--le-navy);
	background: #f0f6fe;
}

.le-choice:has(input:checked) .le-choice-mark {
	background: var(--le-navy);
	border-color: var(--le-navy);
	color: #fff;
}

.le-choice:focus-within .le-choice-ui {
	box-shadow: 0 0 0 3px #eaf2fb;
}

.le-form input[type="text"],
.le-form input[type="email"],
.le-form input[type="tel"],
.le-form input[type="url"],
.le-form input[type="number"],
.le-form input[type="date"],
.le-form input[type="time"],
.le-form select,
.le-form textarea {
	width: 100%;
	height: 48px;
	padding: 12px 14px;
	border: 1px solid #dfe6ef;
	border-radius: 8px;
	background: #fff;
	font: 15px/1.4 Poppins, sans-serif;
	color: var(--le-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.le-form textarea {
	height: auto;
	min-height: 120px;
	resize: vertical;
}

.le-form input:focus,
.le-form select:focus,
.le-form textarea:focus {
	outline: none;
	border-color: #88abd4;
	box-shadow: 0 0 0 3px #eaf2fb;
}

.le-help,
.le-form-help,
.le-details-help {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--le-muted);
	line-height: 1.5;
}

.le-form-help {
	padding-top: 8px;
}

.le-notice {
	border: 1px solid #dce8f5;
	border-radius: 8px;
	background: #f1f7fe;
	color: #54718f;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.5;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 16px;
	width: 100%;
}

.le-notice.le-notice-success {
	background: #edf7f1;
	border-color: #d4e9dc;
	color: #467c5e;
}

.le-notice .le-icon {
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.le-notice strong {
	display: block;
	color: inherit;
}

.le-notice p {
	margin-top: 4px;
	color: inherit;
}

.le-check-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #586d85;
	line-height: 1.5;
	cursor: pointer;
}

.le-check-row input {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	accent-color: var(--le-navy);
	flex: 0 0 18px;
}

.le-check-row small {
	display: block;
	color: #8c98a9;
	font-size: 13px;
	margin-top: 2px;
}

.le-field-recap .le-notice,
.le-field-acceptance .le-notice {
	margin-top: 0;
}

.le-service-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.le-service-option {
	border: 1px solid var(--le-line);
	border-radius: 8px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	cursor: pointer;
	background: #fff;
	min-height: 52px;
	margin: 0;
}

.le-service-option:has(input:checked) {
	border-color: #98b5d8;
	background: #f0f6fe;
	color: var(--le-navy);
}

.le-service-option span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.le-service-option small {
	color: #8c98a9;
	font-size: 12px;
	font-weight: 400;
}

.le-field-repeater {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.le-repeater-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.le-repeater-item {
	border: 1px solid var(--le-line);
	border-radius: 8px;
	background: #fff;
	padding: 14px 16px 16px;
}

.le-repeater-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.le-repeater-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--le-navy);
}

.le-repeater-add {
	align-self: flex-end;
	order: -1;
	padding: 8px 14px;
	font-size: 14px;
}

.le-repeater-add .le-icon {
	width: 16px;
	height: 16px;
}

.le-repeater-remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.le-repeater-remove .le-icon {
	width: 14px;
	height: 14px;
}

.le-repeater-remove[hidden] {
	display: none !important;
}

.le-details {
	border: 1px solid var(--le-line);
	border-radius: 8px;
	background: #fff;
	margin-top: 16px;
	width: 100%;
}

.le-details > summary {
	padding: 14px 44px 14px 16px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	list-style: none;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.le-details > summary::-webkit-details-marker,
.le-details > summary::marker {
	display: none;
	content: '';
}

.le-details > summary::after {
	content: '';
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #5d7b9d;
	border-bottom: 2px solid #5d7b9d;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.15s ease;
}

.le-details[open] > summary::after {
	transform: translateY(-20%) rotate(225deg);
}

.le-details > div {
	padding: 0 16px 16px;
}

.le-dropzone {
	border: 1px dashed #b9cadd;
	background: #f8fbff;
	padding: 24px;
	text-align: center;
	border-radius: 9px;
	display: block;
	cursor: pointer;
}

.le-dropzone input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.le-dropzone .le-icon {
	margin: 0 auto 8px;
	color: #5d7b9d;
}

.le-dropzone strong {
	display: block;
	color: #5d7b9d;
	font-size: 14px;
}

.le-dropzone p {
	font-size: 13px;
	color: var(--le-muted);
	margin-top: 4px;
}

.le-file-name {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--le-muted);
}

.le-file-count {
	margin-left: auto;
	color: var(--le-muted);
	font-weight: 400;
}

.le-text-button {
	border: 0;
	background: none;
	padding: 0;
	color: var(--le-navy);
	font: 500 14px/1.5 Poppins, sans-serif;
	cursor: pointer;
}

.le-text-button:hover {
	text-decoration: underline;
}

.le-public-foot {
	padding: 16px 32px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-top: 1px solid var(--le-line);
}

.le-submit-ack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--le-ink);
}

.le-submit-ack p {
	margin: 0;
}

.le-submit-ack[hidden] {
	display: none !important;
}

.le-public-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.le-required-hint {
	color: var(--le-muted);
	font-size: 13px;
}

.le-btn,
.le-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #dce3ed;
	background: #fff;
	border-radius: 8px;
	padding: 12px 18px;
	font: 600 15px/1 Poppins, sans-serif;
	color: var(--le-ink);
	cursor: pointer;
	white-space: nowrap;
}

.le-btn:hover {
	background: #f7f9fc;
}

.le-back[hidden],
.le-required-hint[hidden] {
	display: none !important;
}

.le-submit {
	margin-left: auto;
	min-width: 168px;
	height: 48px;
	background: var(--le-navy);
	color: #fff;
	border-color: var(--le-navy);
	box-shadow: 0 2px 3px rgba(20, 68, 127, 0.08);
}

.le-submit:hover {
	background: var(--le-navy-dark);
}

.le-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.le-alert {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	margin: 16px 0 8px;
}

.le-alert-error {
	background: #fff0f2;
	color: #a94455;
	border: 1px solid #f0d8de;
}

.le-success-card {
	background: #fff;
	border: 1px solid var(--le-line);
	border-radius: var(--le-radius);
	padding: 48px 32px;
	text-align: center;
	box-shadow: var(--le-shadow);
}

.le-success-mark {
	width: 56px;
	height: 56px;
	background: #e8f6ee;
	color: #378565;
	display: grid;
	place-items: center;
	border-radius: 50%;
	margin: 0 auto 16px;
}

.le-success-mark .le-icon {
	width: 26px;
	height: 26px;
}

.le-success-card h2 {
	margin: 0 0 12px;
	color: var(--le-ink);
	font-size: 24px;
	font-weight: 600;
}

.le-success-card p {
	margin: 0 0 8px;
	color: var(--le-muted);
	font-size: 15px;
	line-height: 1.6;
}

.le-success-ref {
	padding: 12px;
	background: #f3f7fc;
	border-radius: 8px;
	font-size: 13px;
	color: #7285a0;
	margin: 16px 0 !important;
}

.le-success-ref strong {
	display: block;
	color: var(--le-navy);
	font-size: 18px;
	margin-top: 4px;
}

.le-success-contact {
	margin-top: 16px !important;
	font-size: 14px !important;
}

.le-loader {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.82);
	z-index: 5;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 140px;
	border-radius: 16px;
}

.le-loader-box {
	text-align: center;
	color: var(--le-navy);
	font-size: 14px;
	font-weight: 500;
}

.le-spinner {
	width: 44px;
	height: 44px;
	margin: 0 auto 12px;
	border: 4px solid #d9e4f2;
	border-top-color: var(--le-navy);
	border-radius: 50%;
	animation: le-spin 0.8s linear infinite;
}

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

.le-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.le-privacy-dialog {
	border: 0;
	border-radius: 14px;
	box-shadow: var(--le-shadow);
	padding: 0;
	width: min(560px, 92vw);
	max-height: 90vh;
	color: var(--le-ink);
	background: #fff;
}

.le-privacy-dialog::backdrop {
	background: rgba(16, 36, 60, 0.4);
}

.le-dialog-head,
.le-dialog-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid var(--le-line);
}

.le-dialog-foot {
	border-bottom: 0;
	border-top: 1px solid var(--le-line);
	justify-content: flex-end;
}

.le-dialog-head h3 {
	font-size: 18px;
	font-weight: 600;
}

.le-dialog-close {
	border: 0;
	background: none;
	padding: 6px;
	cursor: pointer;
	color: var(--le-muted);
}

.le-dialog-body {
	padding: 20px 22px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--le-muted);
}

.le-field[hidden],
.le-step-panel[hidden],
.le-loader[hidden],
.le-success[hidden],
.le-alert[hidden],
.le-form[hidden] {
	display: none !important;
}

@media (max-width: 720px) {
	.le-public-body,
	.le-public-foot,
	.le-steps {
		padding-left: 20px;
		padding-right: 20px;
	}

	.le-width-half {
		flex: 1 1 100%;
	}

	.le-service-options,
	.le-radio-grid,
	.le-review-grid,
	.le-choice-grid {
		grid-template-columns: 1fr;
	}

	.le-step {
		font-size: 0;
		align-items: center;
	}

	.le-step:after {
		left: calc(50% + 18px);
		width: calc(100% - 36px);
		right: auto;
	}

	.le-step:last-child:after {
		display: none;
	}

	.le-step-progress {
		display: block;
	}

	.le-public-foot {
		flex-wrap: wrap;
	}

	.le-submit {
		width: 100%;
		margin-left: 0;
	}

	.le-back:not([hidden]) {
		order: 1;
	}

	.le-submit {
		order: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.le-form-wrap * {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
