/**
 * UiTPAS-formulier – stijl
 * Kleuren komen uit de huisstijl (assets/huisstijl.css); de fallbacks
 * hieronder zijn dezelfde waarden, voor het geval die ontbreekt.
 * Onderdeel van de plugin L&J Theater – module UiTPAS-aanvragen.
 */

#uitpas-form-wrapper {
	font-family: inherit;
	color: var(--lj-tekst, #222);
	line-height: 1.6;
}

#uitpas-form-wrapper *,
#uitpas-form-wrapper *::before,
#uitpas-form-wrapper *::after {
	box-sizing: border-box;
}

/* --- Inleiding --- */
.uitpas-intro {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 28px;
	padding: 14px 18px;
	background: var(--lj-vlak, #f0f2f5);
	border-left: 3px solid var(--lj-hoofd, #132247);
}

/* --- Padkeuze --- */
.uitpas-pad-keuze {
	display: flex;
	gap: 16px;
	margin-bottom: 32px;
}

.uitpas-pad-btn {
	flex: 1;
	padding: 36px 24px;
	font-size: 20px;
	font-weight: 600;
	font-family: inherit;
	border: 2px solid var(--lj-hoofd, #132247);
	background: var(--lj-hoofd, #132247);
	color: var(--lj-wit, #fff);
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.uitpas-pad-btn:hover {
	opacity: var(--lj-hover, 0.85);
}

.uitpas-pad-btn.actief {
	background: var(--lj-actie, #cd2122);
	border-color: var(--lj-actie, #cd2122);
	color: var(--lj-wit, #fff);
}

.uitpas-pad-btn.inactief {
	background: var(--lj-rand, #d1d5db);
	border-color: var(--lj-rand, #d1d5db);
	color: var(--lj-tekst-gedempt, #6b7280);
}

/* Maar één pad aan: de knop is enkel nog een titel, niet meer klikbaar */
.uitpas-een-pad .uitpas-pad-btn {
	cursor: default;
}

.uitpas-een-pad .uitpas-pad-btn:hover {
	opacity: 1;
}

/* --- Formuliersecties --- */
.uitpas-section {
	display: none;
	margin-bottom: 28px;
}

.uitpas-section.zichtbaar {
	display: block;
}

.uitpas-section-titel {
	font-size: 18px;
	font-weight: 700;
	color: var(--lj-hoofd, #132247);
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--lj-hoofd, #132247);
}

/* --- Velden --- */
.uitpas-rij {
	display: flex;
	gap: 16px;
	margin-bottom: 14px;
}

.uitpas-veld {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.uitpas-veld-breed { flex: 3; }
.uitpas-veld-smal { flex: 1; }

.uitpas-veld label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--lj-hoofd, #132247);
}

.uitpas-veld label .verplicht {
	color: var(--lj-actie, #cd2122);
	margin-left: 2px;
}

.uitpas-veld input,
.uitpas-veld select {
	padding: 10px 12px;
	font-size: 15px;
	font-family: inherit;
	border: 1px solid var(--lj-rand, #d1d5db);
	background: var(--lj-wit, #fff);
	color: var(--lj-tekst, #222);
	transition: border-color 0.2s ease;
	width: 100%;
}

.uitpas-veld input:focus,
.uitpas-veld select:focus {
	outline: none;
	border-color: var(--lj-hoofd, #132247);
}

.uitpas-veld input.fout,
.uitpas-veld select.fout {
	border-color: var(--lj-fout, #b91c1c);
}

.uitpas-dubbel-fout {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--lj-fout, #b91c1c);
}

/* --- Samenvattingen --- */
.uitpas-samenvatting,
.uitpas-tarief-samenvatting {
	background: var(--lj-vlak, #f0f2f5);
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--lj-hoofd, #132247);
	margin-top: 8px;
}

.uitpas-tarief-samenvatting {
	margin-top: 12px;
}

.uitpas-samenvatting.waarschuwing,
.uitpas-tarief-samenvatting.waarschuwing {
	background: var(--lj-waarschuwing-vlak, #fffbeb);
	color: var(--lj-waarschuwing, #92400e);
}

.uitpas-tarief-samenvatting.gedempt {
	color: var(--lj-tekst-gedempt, #6b7280);
}

/* --- Foutmeldingen --- */
.uitpas-fouten {
	background: var(--lj-fout-vlak, #fef2f2);
	border: 1px solid var(--lj-fout, #b91c1c);
	color: var(--lj-fout, #b91c1c);
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 14px;
	display: none;
}

.uitpas-fouten.zichtbaar {
	display: block;
}

/* --- Formulier niet beschikbaar --- */
.uitpas-onbeschikbaar {
	display: none;
	background: var(--lj-vlak, #f0f2f5);
	border-left: 3px solid var(--lj-hoofd, #132247);
	padding: 18px 22px;
	font-size: 15px;
	color: var(--lj-hoofd, #132247);
}

/* --- Kansentarief: kaartnummers --- */
.uitpas-kaartnummer-lijst {
	margin-top: 12px;
}

.uitpas-kaartnummer-rij {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	margin-bottom: 10px;
}

.uitpas-kaartnummer-rij .uitpas-veld {
	flex: 1;
}

.uitpas-nummer-label {
	font-size: 13px;
	color: var(--lj-tekst-gedempt, #6b7280);
	font-weight: 600;
	margin-bottom: 4px;
}

/* --- Gespaarde punten: kaartblokken --- */
.uitpas-kaartblok {
	background: var(--lj-vlak, #f0f2f5);
	border: 1px solid var(--lj-rand, #d1d5db);
	padding: 16px;
	margin-bottom: 12px;
	position: relative;
}

.uitpas-kaartblok-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.uitpas-kaartblok-titel {
	font-size: 15px;
	font-weight: 700;
	color: var(--lj-hoofd, #132247);
}

.uitpas-kaartblok-verwijder {
	background: none;
	border: none;
	color: var(--lj-fout, #b91c1c);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	padding: 4px 8px;
}

.uitpas-kaartblok-verwijder:hover {
	opacity: var(--lj-hover, 0.85);
}

.uitpas-kaartblok-punten {
	font-size: 13px;
	color: var(--lj-tekst-gedempt, #6b7280);
	margin-top: 6px;
	font-weight: 600;
}

.uitpas-voeg-kaart-toe {
	background: var(--lj-hoofd, #132247);
	color: var(--lj-wit, #fff);
	border: none;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	margin-top: 4px;
	transition: opacity 0.2s ease;
}

.uitpas-voeg-kaart-toe:hover {
	opacity: var(--lj-hover, 0.85);
}

/* --- Overzicht, prijs en disclaimer --- */
.uitpas-overzicht,
.uitpas-prijsberekening {
	background: var(--lj-vlak, #f0f2f5);
	padding: 20px 24px;
	margin-bottom: 16px;
}

.uitpas-overzicht-titel,
.uitpas-prijsberekening-titel {
	font-size: 16px;
	font-weight: 700;
	color: var(--lj-hoofd, #132247);
	margin-bottom: 12px;
}

.uitpas-overzicht-rij,
.uitpas-prijs-rij {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 14px;
}

.uitpas-overzicht-label,
.uitpas-prijs-label {
	color: var(--lj-tekst-gedempt, #6b7280);
}

.uitpas-overzicht-waarde,
.uitpas-prijs-waarde {
	font-weight: 600;
	color: var(--lj-hoofd, #132247);
	text-align: right;
}

.uitpas-prijs-totaal {
	display: flex;
	justify-content: space-between;
	padding: 10px 0 0 0;
	margin-top: 8px;
	border-top: 2px solid var(--lj-hoofd, #132247);
	font-size: 16px;
	font-weight: 700;
	color: var(--lj-hoofd, #132247);
}

.uitpas-disclaimer {
	font-size: 13px;
	color: var(--lj-tekst-gedempt, #6b7280);
	line-height: 1.6;
	margin-bottom: 20px;
	padding: 14px 18px;
	background: var(--lj-vlak, #f0f2f5);
	border-left: 3px solid var(--lj-hoofd, #132247);
}

/* --- Verzendknop --- */
.uitpas-verzend-btn {
	display: block;
	width: 100%;
	padding: 16px 24px;
	font-size: 18px;
	font-weight: 700;
	font-family: inherit;
	background: var(--lj-actie, #cd2122);
	color: var(--lj-wit, #fff);
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.uitpas-verzend-btn:hover {
	opacity: var(--lj-hover, 0.85);
}

.uitpas-verzend-btn:disabled {
	background: var(--lj-rand, #d1d5db);
	color: var(--lj-tekst-gedempt, #6b7280);
	cursor: not-allowed;
	opacity: 1;
}

/* --- Bevestiging na verzending --- */
.uitpas-bevestiging {
	display: none;
	background: var(--lj-succes-vlak, #f0fdf4);
	border: 2px solid var(--lj-succes-rand, #22c55e);
	padding: 32px;
	text-align: center;
}

.uitpas-bevestiging-titel {
	font-size: 22px;
	font-weight: 700;
	color: var(--lj-hoofd, #132247);
	margin-bottom: 12px;
}

.uitpas-bevestiging-tekst {
	font-size: 15px;
	color: var(--lj-tekst, #222);
	line-height: 1.6;
}

.uitpas-bevestiging-knoppen {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 24px;
}

.uitpas-bevestiging-knoppen button,
.uitpas-bevestiging-knoppen a {
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	border: none;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: opacity 0.2s ease;
}

.uitpas-bevestiging-knoppen button:hover,
.uitpas-bevestiging-knoppen a:hover {
	opacity: var(--lj-hover, 0.85);
}

.uitpas-btn-opnieuw {
	background: var(--lj-hoofd, #132247);
	color: var(--lj-wit, #fff);
}

.uitpas-btn-home {
	background: var(--lj-rand, #d1d5db);
	color: var(--lj-hoofd, #132247);
}

/* Lokveld tegen spam: onzichtbaar voor mensen, niet met display:none */
.uitpas-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Smal scherm --- */
@media (max-width: 600px) {
	.uitpas-pad-keuze,
	.uitpas-rij,
	.uitpas-bevestiging-knoppen {
		flex-direction: column;
	}
	.uitpas-rij {
		gap: 14px;
	}
}
