/*
 * Metric Horizon Forms - lead form styling on --mh-* tokens.
 */

.mh-lead-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: var(--mh-surface, #f4f6fa);
	border: 1px solid var(--mh-border, #e1e5ee);
	border-radius: var(--mh-radius-l, 24px);
	padding: 28px;
}

.mh-lead-form__title {
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--mh-primary, #0a1b4d);
	margin: 0 0 4px;
}

.mh-lead-form__row {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.mh-lead-form__label {
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--mh-text, #1c1f26);
}

.mh-lead-form__input {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--mh-border, #e1e5ee);
	border-radius: var(--mh-radius-s, 12px);
	background: var(--mh-white, #fff);
	color: var(--mh-text, #1c1f26);
	font-size: 15px;
	font-family: inherit;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mh-lead-form__input::placeholder {
	color: #9aa3b2;
}

.mh-lead-form__input:focus {
	outline: none;
	border-color: var(--mh-primary, #0a1b4d);
	box-shadow: 0 0 0 3px rgba(10, 27, 77, 0.12);
}

.mh-lead-form__textarea {
	resize: vertical;
	min-height: 84px;
}

.mh-lead-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--mh-text-muted, #5a6473);
	cursor: pointer;
}

.mh-lead-form__consent input {
	margin-top: 2px;
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	accent-color: var(--mh-primary, #0a1b4d);
}

.mh-lead-form__consent a {
	color: var(--mh-primary, #0a1b4d);
	text-decoration: underline;
}

/* Honeypot: removed from layout and from assistive tech, still in the DOM. */
.mh-lead-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mh-lead-form__submit {
	appearance: none;
	border: 0;
	cursor: pointer;
	background: var(--mh-primary, #0a1b4d);
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	font-size: 15px;
	padding: 15px 24px;
	border-radius: var(--mh-radius-s, 12px);
	transition: background 0.18s ease, transform 0.15s ease, opacity 0.15s ease;
}

.mh-lead-form__submit:hover {
	background: var(--mh-primary-hover, #0d3b8e);
	transform: translateY(-1px);
}

.mh-lead-form__submit:disabled,
.mh-lead-form__submit.is-loading {
	opacity: 0.65;
	cursor: default;
	transform: none;
}

.mh-lead-form__note {
	margin: 2px 0 0;
	font-size: 14px;
	min-height: 1em;
}

.mh-lead-form__note.is-success {
	color: #1a7f4b;
}

.mh-lead-form__note.is-error {
	color: #c0392b;
}
