/*
 * HMX Formschutz – neutral grey box that fits any theme.
 * Selectors are prefixed with .hmxfs so theme button/input styles do not win.
 */

.hmxfs .hmxfs-verify {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.035);
	line-height: 1.5;
}

.hmxfs .hmxfs-verify[hidden] {
	display: none !important;
}

.hmxfs .hmxfs-verify__title {
	margin: 0 0 0.35em;
	font-weight: 700;
}

.hmxfs .hmxfs-verify__notice {
	margin: 0 0 1.25em;
}

.hmxfs .hmxfs-verify label {
	display: block;
	margin: 0 0 0.4em;
	font-weight: 600;
}

.hmxfs .hmxfs-verify input.hmxfs-verify__code {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 11em;
	margin: 0;
	padding: 0.5em 0.75em;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	background: #fff;
	color: #222;
	font-size: 1.25em;
	letter-spacing: 0.25em;
	font-variant-numeric: tabular-nums;
	box-shadow: none;
}

.hmxfs .hmxfs-verify input.hmxfs-verify__code:focus {
	border-color: #555;
	outline: 2px solid #555;
	outline-offset: 1px;
}

.hmxfs .hmxfs-verify__actions {
	margin: 0.75em 0 0;
	font-size: 0.875em;
	opacity: 0.85;
}

/* Plain text link instead of the theme's button style. */
.hmxfs .hmxfs-verify button.hmxfs-verify__resend {
	display: inline !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 24px; /* WCAG 2.2 target size */
	margin: 0 0 0 0.25em !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: underline !important;
	cursor: pointer;
}

.hmxfs .hmxfs-verify button.hmxfs-verify__resend:hover {
	text-decoration-thickness: 2px !important;
}

.hmxfs .hmxfs-verify button.hmxfs-verify__resend:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.hmxfs .hmxfs-verify button.hmxfs-verify__resend[aria-disabled="true"] {
	opacity: 0.6;
	cursor: wait;
}

.hmxfs-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
