/**
 * MX Forms 1.0.0 — token-styled on mx-theme with light standalone
 * fallbacks; both modes automatic when the theme is active.
 */

.mxf {
	max-width: 560px;
	margin: 0 auto;
}

.mxf__field { margin-bottom: 14px; }

.mxf__label {
	display: block;
	color: var(--mx-text-2, #6d6d72);
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 6px;
}

.mxf__input {
	width: 100%;
	box-sizing: border-box;
	background: var(--mx-bg-elevated, #fafaf8);
	border: 1px solid var(--mx-divider, #e8e8e3);
	border-radius: 10px;
	color: var(--mx-text, #111113);
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
}

.mxf__input:focus {
	border-color: var(--mx-brand, #ff9800);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-brand, #ff9800) 22%, transparent);
}

.mxf__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	opacity: 0;
}

.mxf__turnstile { margin: 4px 0 14px; }

.mxf__btn {
	display: block;
	width: 100%;
	background: var(--mx-brand, #ff9800);
	color: var(--mx-on-brand, #111113);
	border: 0;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	padding: 12px 0;
	cursor: pointer;
	transition: background .15s ease;
}

.mxf__btn:hover { background: var(--mx-brand-pressed, #e68600); }

.mxf__btn[disabled] { opacity: .6; cursor: default; }

.mxf__notice {
	margin: 14px 0 0;
	padding: 11px 14px;
	border-radius: 10px;
	font-size: 14px;
	background: color-mix(in srgb, var(--mx-compliant, #16a34a) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--mx-compliant, #16a34a) 35%, transparent);
	color: var(--mx-text, #111113);
}

.mxf__notice.is-error {
	background: color-mix(in srgb, var(--mx-noncompliant, #dc2626) 10%, transparent);
	border-color: color-mix(in srgb, var(--mx-noncompliant, #dc2626) 35%, transparent);
}

/* Inline variant (newsletter): one row on wide screens. */
.mxf--inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }

.mxf--inline .mxf__field { flex: 1 1 260px; margin: 0; }

.mxf--inline .mxf__actions { flex: 0 0 auto; }

.mxf--inline .mxf__btn { width: auto; padding: 12px 26px; }

.mxf--inline .mxf__turnstile,
.mxf--inline .mxf__notice { flex-basis: 100%; }
