/* Lead Magnet Forms — deliberately minimal so it inherits the theme.
   The wrapper has no width constraint: size it with your own container. */

.lmf-form-wrap {
	width: 100%;
}

.lmf-field {
	margin-bottom: 1rem;
}

.lmf-field label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 600;
}

.lmf-field input {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 1rem;
	box-sizing: border-box;
}

.lmf-field input:focus {
	outline: 2px solid #94a3b8;
	outline-offset: 1px;
}

.lmf-req {
	color: #dc2626;
}

.lmf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 0;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.lmf-submit:hover:not(:disabled) {
	opacity: 0.9;
}

.lmf-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.lmf-spinner {
	width: 1em;
	height: 1em;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: lmf-spin 0.7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
	.lmf-spinner { animation-duration: 1.6s; }
}

.lmf-error {
	margin: 0 0 1rem;
	padding: 0.6rem 0.75rem;
	border-radius: 6px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.95rem;
}

/* Honeypot: visually removed but present for bots. */
.lmf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lmf-thanks {
	text-align: center;
	padding: 1.5rem 1rem;
}

.lmf-thanks-title {
	margin: 0 0 0.5rem;
}

.lmf-thanks-subtitle {
	margin: 0;
	opacity: 0.85;
}
