/*
 * /registreren/ — mobiel (2026-11-21)
 *
 * Waarom dit bestand bestaat: op 390x844 stond het eerste veld onder de vouw
 * (y=964, onderkant 1004), waren de inputs 15px (iOS zoomt dan in bij focus) en
 * waren ze 40px hoog (tikdoel < 44). Gemeten voor de wijziging:
 * backups/2026-11-21-registratie-mobiel/registreren-voor.html.
 *
 * Alleen actief op de registratiepagina (enqueue: is_page('registreren')) en
 * alleen onder 782px, zodat de desktopopmaak en de desktopcijfers niet
 * meebewegen. Alles met !important omdat Ultimate Member zijn maten zelf met
 * !important zet (um.min.css: font-size:15px, height:40px).
 */

@media (max-width: 782px) {

	/*
	 * Ruimte boven het formulier. Kadence zet op deze pagina 24px padding op de
	 * wrap en 12px op de content; met het filmpje weg is dat lege ruimte die het
	 * eerste veld onder de vouw duwt. Alleen op deze pagina.
	 */
	.page-id-623 .entry-content-wrap {
		padding-top: 8px !important;
	}
	.page-id-623 .entry-content.single-content {
		padding-top: 0 !important;
	}
	.page-id-623 h1.wp-block-heading {
		font-size: 30px !important;
		line-height: 36px !important;
		margin: 0 0 8px !important;
	}
	.page-id-623 .wp-block-group {
		margin-bottom: 16px !important;
	}

	/* ---- belofte-regel boven het formulier ---- */
	.page-id-623 .hb-reg-belofte {
		font-size: 16px;
		line-height: 22px;
		margin: 0 0 12px;
	}

	/* ---- velden: 16px (geen iOS-zoom) en 48px hoog (tikdoel >= 44) ---- */
	.page-id-623 .um-234 .um-form input[type="text"],
	.page-id-623 .um-234 .um-form input[type="password"],
	.page-id-623 .um-234 .um-form input[type="date"],
	.page-id-623 .um-234 .um-form input[type="tel"],
	.page-id-623 .um-234 .um-form input[type="number"],
	.page-id-623 .um-234 .um-form select,
	.page-id-623 .um-234 .um-form textarea {
		font-size: 16px !important;
		min-height: 48px !important;
		height: 48px !important;
		padding: 0 14px !important;
		line-height: 26px !important;
	}

	/* het datumveld heeft een eigen hoogte in um.min.css */
	.page-id-623 .um-234 .um-form input.um-datepicker {
		min-height: 48px !important;
		height: 48px !important;
	}

	/* ---- labels en kleine tekst ---- */
	.page-id-623 .um-234 .um-field-label {
		margin: 0 0 4px !important;
	}
	.page-id-623 .um-234 .um-field-label label {
		font-size: 15px !important;
		line-height: 20px !important;
	}
	.page-id-623 .um-234 .um-tip-text {
		font-size: 12px !important;
		line-height: 15px !important;
		margin-top: 2px;
	}
	.page-id-623 .um-234 .um-tip-text a {
		/* inline links blijven inline, maar krijgen genoeg hoogte om te raken */
		display: inline-block;
		padding: 2px 0;
	}

	/* ---- rij- en veldmarges: 30 -> 12 ---- */
	.page-id-623 .um-234 .um-row._um_row_1 {
		margin: 0 0 12px 0 !important;
	}
	.page-id-623 .um-234 .um-field {
		padding: 6px 0 0 !important;
	}
	.page-id-623 .um-234 .um-col-121,
	.page-id-623 .um-234 .um-col-122 {
		float: none !important;
		width: 100% !important;
	}

	/*
	 * Google-knop secundair: onder de submit in plaats van erboven.
	 * Geen template-override (verboden op deze kaart) maar volgorde via flex op
	 * het formulier zelf; op mobiel staat alles toch al in één kolom.
	 */
	.page-id-623 .um-234 .um-form > form {
		display: flex;
		flex-direction: column;
	}
	.page-id-623 .um-234 .um-form > form > .um-row {
		order: 2;
	}
	.page-id-623 .um-234 .um-form > form > .um-col-alt {
		order: 3;
	}
	.page-id-623 .um-234 .um-form > form > .um-field.um-social-login-btns {
		order: 4;
		padding-top: 12px !important;
	}

	/* ---- knoppen: volle breedte, >= 44px ---- */
	.page-id-623 .um-234 .um-col-alt {
		margin: 10px 0 0 !important;
		padding: 0 !important;
	}
	.page-id-623 .um-234 .um-col-alt .um-left,
	.page-id-623 .um-234 .um-col-alt .um-right {
		float: none !important;
		width: 100% !important;
	}
	.page-id-623 .um-234 input[type="submit"].um-button,
	.page-id-623 .um-234 a.um-button {
		width: 100% !important;
		min-height: 48px;
		font-size: 16px !important;
	}

	/* ---- 18+-vinkje: hele regel is het tikdoel, minimaal 44px ---- */
	.page-id-623 .um-234 .um-field-checkbox {
		min-height: 44px;
		padding: 8px 0;
		margin: 0 !important;
	}
	.page-id-623 .um-234 .um-field-checkbox-state {
		top: 8px;
	}

	/* ---- Google-knop: secundair, volle breedte, >= 44px ---- */
	.page-id-623 .um-234 a.um-button-google {
		float: none !important;
		width: 100% !important;
		min-height: 48px;
		font-size: 15px !important;
		padding: 14px 12px !important;
	}
}
