.aefh-wrapper {
	max-width: 680px;
}

.aefh-form {
	display: grid;
	gap: 16px;
}

.aefh-field {
	display: grid;
	gap: 6px;
}

.aefh-label,
.aefh-checkbox {
	font-weight: 600;
	color: #1f2937;
}

.aefh-input,
.aefh-form select,
.aefh-form textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 16px;
	line-height: 1.4;
	background: #fff;
	box-sizing: border-box;
}

.aefh-input[aria-invalid="true"],
.aefh-form textarea[aria-invalid="true"],
.aefh-form select[aria-invalid="true"] {
	border-color: #dc2626;
	box-shadow: 0 0 0 1px #dc2626;
}

.aefh-checkbox {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.aefh-checkbox input {
	margin-top: 4px;
}

.aefh-help {
	margin: 0;
	font-size: 13px;
	color: #64748b;
}

.aefh-field-error {
	min-height: 18px;
	font-size: 13px;
	color: #b91c1c;
}

.aefh-response,
.aefh-notice {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
}

.aefh-response:empty,
.aefh-notice:empty {
	display: none;
}

.aefh-response-success,
.aefh-notice-success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.aefh-response-error,
.aefh-notice-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.aefh-submit {
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	background: #0f172a;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.aefh-submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.aefh-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.aefh-screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 640px) {
	.aefh-wrapper {
		max-width: 100%;
	}

	.aefh-input,
	.aefh-form select,
	.aefh-form textarea {
		font-size: 15px;
	}
}
