/* HZVF Uitslagen */

/* ---- Standenpagina's: voorlopige uitslagen ---- */
.hzvf-voorlopig {
	font-style: italic;
}
.hzvf-vl {
	color: #c0392b;
	font-weight: bold;
	font-style: normal;
	margin-left: 1px;
}
.hzvf-voorlopig-noot {
	margin: -0.5em 0 1.5em;
	font-size: 13px;
	font-style: italic;
	white-space: normal;
}


/* ---- Invoerpagina ----
 * Strak en zakelijk, naar Vignelli: één letter (Helvetica), een vast raster met één linkerlijn,
 * zwarte lijnen in twee diktes, geen afgeronde hoeken of schaduwen. Kleur alleen met betekenis:
 * HZVF-blauw = actie en voorlopig ingevuld, zwart = verwerkt, rood = fout of afwijkend.
 * Wedstrijdregel zoals in de KNVB-app: tijd | thuis boven uit | uitslag.
 * Alle regels beginnen met .hzvf-u, zodat het thema (Hello Elementor) er niet tussen komt.
 */
.hzvf-u {
	--u-ink: #111;
	--u-blue: #0C147F;
	--u-red: #d0021b;
	--u-green: #0a7a3d;
	--u-grey: #6b6b6b;
	--u-hair: #d4d4d4;
	--u-bg: #f4f4f4;
	--u-col: 3.75rem; /* tijdkolom = de linkerlijn waar alle tekst op uitlijnt */
	max-width: 640px;
	margin: 0 auto;
	color: var(--u-ink);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
}
.hzvf-u * {
	box-sizing: border-box;
}
.hzvf-u p,
.hzvf-u h2,
.hzvf-u h3,
.hzvf-u h4 {
	margin: 0;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}
.hzvf-u a {
	color: var(--u-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hzvf-u small {
	font-size: inherit;
}
.hzvf-u .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.hzvf-u-label,
.hzvf-u-count dt {
	color: var(--u-grey);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Kop: wie is ingelogd */
.hzvf-u-bar {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-top: 6px solid var(--u-ink);
	border-bottom: 1px solid var(--u-ink);
	font-size: 15px;
}
.hzvf-u-bar .hzvf-u-label {
	display: block;
}

/* Tellers */
.hzvf-u-count {
	display: grid;
	grid-template-columns: 1fr 1fr 2fr;
	margin: 0 0 24px;
	border-bottom: 1px solid var(--u-ink);
}
.hzvf-u-count > div {
	padding: 10px 12px 12px 0;
}
.hzvf-u-count > div + div {
	padding-left: 12px;
	border-left: 1px solid var(--u-hair);
}
.hzvf-u-count dt {
	margin: 0;
}
.hzvf-u-count dd {
	margin: 2px 0 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}
.hzvf-u-count dd.is-text {
	padding-top: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}
.hzvf-u-count .is-todo dd {
	color: var(--u-blue);
}

/* Meldingen */
.hzvf-u-notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 0;
	border-left: 6px solid var(--u-ink);
	border-radius: 0;
	background: var(--u-bg);
	font-size: 15px;
	list-style: none;
}
.hzvf-u-notice li {
	margin: 0;
}
.hzvf-u-notice li + li {
	margin-top: 4px;
}
.hzvf-u-notice.is-ok {
	border-color: var(--u-green);
}
.hzvf-u-notice.is-error {
	border-color: var(--u-red);
}
.hzvf-u-empty,
.hzvf-u-intro {
	margin: 0 0 20px !important;
}
.hzvf-u-section + .hzvf-u-intro,
.hzvf-u-count + .hzvf-u-empty {
	margin-top: 12px !important;
}

/* Sectie: dikke lijn, kop in kapitalen, aantal rechts */
.hzvf-u h2.hzvf-u-section {
	display: flex;
	justify-content: space-between;
	margin: 32px 0 0;
	padding: 8px 0 0;
	border-top: 6px solid var(--u-ink);
	color: var(--u-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hzvf-u-count + .hzvf-u-section,
.hzvf-u-notice + .hzvf-u-section {
	margin-top: 8px;
}

/* Speeldag */
.hzvf-u h3.hzvf-u-dayname {
	margin: 20px 0 0;
	padding: 0 0 6px;
	border-bottom: 2px solid var(--u-ink);
	color: var(--u-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

/* Wedstrijdregel */
.hzvf-u-match {
	display: grid;
	grid-template-columns: var(--u-col) minmax(0, 1fr) auto;
	column-gap: 0;
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--u-hair);
	scroll-margin-top: 80px;
}
.hzvf-u p.hzvf-u-time {
	grid-column: 1;
	padding-top: 1px;
	font-size: 15px;
	font-weight: 700;
}
.hzvf-u h4.hzvf-u-teams {
	grid-column: 2;
	margin: 0;
	color: var(--u-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.hzvf-u-team {
	display: block;
}
.hzvf-u-class {
	color: var(--u-grey);
	font-size: 13px;
	font-weight: 400;
}
.hzvf-u p.hzvf-u-score {
	grid-column: 3;
	min-width: 2.25rem;
	padding-left: 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}
.hzvf-u-score span {
	display: block;
}
.hzvf-u-score.is-empty {
	color: #bbb;
}
.hzvf-u-match.is-voorlopig .hzvf-u-score {
	color: var(--u-blue);
}
.hzvf-u p.hzvf-u-meta,
.hzvf-u p.hzvf-u-status {
	grid-column: 2 / -1;
	color: var(--u-grey);
	font-size: 13px;
}
.hzvf-u p.hzvf-u-meta {
	margin-top: 4px;
}
.hzvf-u p.hzvf-u-status {
	margin-top: 8px;
	color: var(--u-ink);
}
.hzvf-u-status strong {
	font-weight: 700;
}

/* Statuslabel: een blokje, kapitalen */
.hzvf-u-tag {
	display: inline-block;
	margin-right: 6px;
	padding: 3px 6px 2px;
	border: 1.5px solid var(--u-ink);
	background: #fff;
	color: var(--u-ink);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
	vertical-align: 1px;
}
.hzvf-u-tag.is-voorlopig {
	border-color: var(--u-blue);
	background: var(--u-blue);
	color: #fff;
}
.hzvf-u-tag.is-verwerkt {
	background: var(--u-ink);
	color: #fff;
}
.hzvf-u-tag.is-afwijkend {
	border-color: var(--u-red);
	background: var(--u-red);
	color: #fff;
}
.hzvf-u-tag.is-telt-niet {
	border-color: var(--u-grey);
	color: var(--u-grey);
}

/* Invullen: knop over de volle breedte die het formulier openklapt */
.hzvf-u-edit {
	grid-column: 2 / -1;
	margin-top: 12px;
}
.hzvf-u-edit[open] {
	grid-column: 1 / -1;
}
.hzvf-u-edit > summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	padding: 0 14px;
	border: 2px solid var(--u-blue);
	background: #fff;
	color: var(--u-blue);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.hzvf-u-edit > summary::-webkit-details-marker {
	display: none;
}
.hzvf-u-edit > summary::after {
	content: "+";
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}
.hzvf-u-edit[open] > summary {
	background: var(--u-blue);
	color: #fff;
}
.hzvf-u-edit[open] > summary::after {
	content: "\2212";
}
.hzvf-u-edit > summary:focus-visible {
	outline: 3px solid var(--u-ink);
	outline-offset: 2px;
}
.hzvf-u-match:not(.is-open) .hzvf-u-edit:not([open]) > summary {
	border-color: var(--u-hair);
	color: var(--u-ink);
}
.hzvf-u-form > .hzvf-u-notice {
	margin: 16px 0 0;
}

/* Formulier: genummerde stappen, telkens een lijn erboven */
.hzvf-u-form {
	margin: 0;
	padding: 0 16px 16px;
	border: 2px solid var(--u-blue);
	border-top: 0;
}
.hzvf-u fieldset {
	margin: 0;
	padding: 16px 0 0;
	border: 0;
	border-radius: 0;
	min-width: 0;
}
.hzvf-u fieldset + fieldset {
	margin-top: 16px;
	border-top: 1px solid var(--u-hair);
}
.hzvf-u legend {
	float: left; /* legend binnen de padding van de fieldset, zodat de lijn erboven blijft */
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	color: var(--u-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hzvf-u legend + * {
	clear: both;
}
.hzvf-u legend small {
	margin-left: 6px;
	color: var(--u-grey);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}
.hzvf-u-step {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 6px;
	background: var(--u-ink);
	color: #fff;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0;
	text-align: center;
	vertical-align: 1px;
}

/* Stap 1: keuze als vier vlakken (2 x 2) */
.hzvf-u-seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}
.hzvf-u-seg label {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}
.hzvf-u-seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.hzvf-u-seg label > span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 52px;
	height: 100%;
	padding: 8px 10px;
	border: 1.5px solid var(--u-ink);
	background: #fff;
	font-size: 15px;
	line-height: 1.2;
}
.hzvf-u-seg small {
	overflow: hidden;
	margin-top: 2px;
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.hzvf-u-seg input:checked + span {
	border-color: var(--u-ink);
	background: var(--u-ink);
	color: #fff;
}
.hzvf-u-seg input:focus-visible + span {
	outline: 3px solid var(--u-blue);
	outline-offset: 2px;
}

/* Stap 2 en 3: thuis | uit naast elkaar */
.hzvf-u-pair {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}
.hzvf-u-pair label {
	flex: 1;
	min-width: 0;
	margin: 0;
}
.hzvf-u-pair label > span {
	display: block;
	overflow: hidden;
	margin-bottom: 4px;
	color: var(--u-grey);
	font-size: 13px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.hzvf-u-dash {
	padding-bottom: 14px;
	font-size: 22px;
	font-weight: 700;
}
.hzvf-u input[type="number"],
.hzvf-u input[type="text"],
.hzvf-u input[type="password"],
.hzvf-u select,
.hzvf-u textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 1.5px solid var(--u-ink);
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: var(--u-ink);
	font-family: inherit;
	font-size: 16px; /* voorkomt inzoomen op iPhone */
}
.hzvf-u input:focus,
.hzvf-u select:focus,
.hzvf-u textarea:focus {
	border-color: var(--u-blue);
	outline: 2px solid var(--u-blue);
	outline-offset: 0;
}
.hzvf-u input[type="number"] {
	height: 64px;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}
.hzvf-u input[type="number"]::-webkit-inner-spin-button,
.hzvf-u input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}
.hzvf-u input:disabled {
	border-color: var(--u-hair);
	background: var(--u-bg);
	color: var(--u-grey);
}
.hzvf-u select {
	padding-right: 36px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
	font-size: 18px;
	font-weight: 700;
	-webkit-appearance: none;
	appearance: none;
}
.hzvf-u textarea {
	min-height: 88px;
	resize: vertical;
}

/* Knop: Hello Elementor geeft knoppen een roze rand en afgeronde hoeken */
.hzvf-u-submit {
	margin-top: 20px !important;
}
.hzvf-u button.hzvf-u-button {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 0;
	border-radius: 0;
	background: var(--u-blue);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}
.hzvf-u button.hzvf-u-button:hover,
.hzvf-u button.hzvf-u-button:focus {
	background: var(--u-ink);
	color: #fff;
}
.hzvf-u button.hzvf-u-button:focus-visible {
	outline: 3px solid var(--u-blue);
	outline-offset: 2px;
}
.hzvf-u button.hzvf-u-button:disabled {
	opacity: .6;
}

/* Inloggen */
.hzvf-u-login {
	padding-top: 4px;
}
.hzvf-u-login p {
	margin: 0 0 16px;
}
.hzvf-u-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hzvf-u-check label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}
.hzvf-u-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--u-ink);
}
.hzvf-u-small {
	font-size: 14px;
}

/* Smalle telefoon: tellers onder elkaar is te hoog, periode weglaten */
@media (max-width: 380px) {
	.hzvf-u-count {
		grid-template-columns: 1fr 1fr;
	}
	.hzvf-u-count > div:last-child {
		display: none;
	}
}

/* Labels die meeveranderen met de keuze bij "Wedstrijd" */
.hzvf-u-when-stopped,
.hzvf-u-when-noshow {
	display: none;
}
.hzvf-u-form[data-outcome="gestaakt"] .hzvf-u-when-played,
.hzvf-u-form[data-outcome="no_thuis"] .hzvf-u-when-played,
.hzvf-u-form[data-outcome="no_uit"] .hzvf-u-when-played {
	display: none;
}
.hzvf-u-form[data-outcome="gestaakt"] .hzvf-u-when-stopped,
.hzvf-u-form[data-outcome="no_thuis"] .hzvf-u-when-noshow,
.hzvf-u-form[data-outcome="no_uit"] .hzvf-u-when-noshow {
	display: inline;
}
