:root {
	--navy: #18334d;
	--orange: #d87835;
	--text: #263746;
	--muted: #73808b;
	--line: #dce1e5;
	--bg: #f6f7f8;
	--white: #fff;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	max-width: 1080px;
	margin: auto;
	padding: 25px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.header-inner img {
    width: 350px;
    max-width: 45%;
    height: auto;
}

.header-title {
	font-size: min(2.5cqi, 1.5em);
	font-weight: 550;
	text-transform: uppercase;
	color: var(--navy);
	letter-spacing: 1.8px;
    position: relative;
    padding-bottom: 8px;
}
.header-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4em;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

main {
	width: 100%;
	max-width: 1080px;
	margin: 65px auto;
	padding: 0 20px;
	flex: 1;
}

.eyebrow {
	color: var(--orange);
	text-transform: uppercase;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 1.8px;
}

h1, h2, h3 {
	color: var(--navy);
}

h1 {
	font-size: clamp(2em, 5vw, 2.75em);
	line-height: 1.15;
	font-weight: 500;
	margin: 12px 0 20px;
}

section {
	max-width: 1080px;
	margin: auto;
}


.intro {
	font-size: 1.1em;
	color: #52616e;
	margin-bottom: 30px;
}
.media-badge {
    float: right;
    width: 150px;
    margin: 5px 0 20px 30px;
    padding: 13px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Volledige badge klikbaar */
.media-badge a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.media-badge a:hover {
    opacity: 0.75;
}
.media-badge:hover {
    border-color: #8999ad;
    box-shadow: 0 2px 8px rgba(38, 59, 89, 0.12);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.media-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    color: #89919e;
    margin-bottom: 10px;
}

.media-badge img {
    display: block;
    width: 100%;
    max-height: 64px;
    object-fit: contain;
    margin: 0 auto 8px;
}

.media-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #263b59;
}

@media (max-width: 600px) {
    .media-badge {
        width: 100px;
        margin-left: 15px;
        padding: 9px;
    }
}

/* Knoppen */
.button {
	border: 0;
	padding: 14px 24px;
	background: var(--navy);
	color: white;
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, opacity .2s;
	border-radius: 2px;
}

.button:hover:not(:disabled) {
	background: #294f70;
}

.button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.button.orange {
	background: var(--orange);
}

.button.orange:hover:not(:disabled) {
	background: #bd652b;
}

/* Voortgang */
.progress {
	display: flex;
	gap: 6px;
	margin: 40px 0 20px;
}

.progress span {
	height: 4px;
	background: #dce1e5;
	flex: 1;
}

.progress span.done {
	background: var(--orange);
}

/* Formulierpanelen */
.panel {
	background: white;
	border: 1px solid var(--line);
	margin-bottom: 12px;
}

.panel-heading {
	display: flex;
	align-items: center;
	padding: 19px 22px;
	cursor: pointer;
	gap: 14px;
}

.panel-heading h2 {
	font-size: 1.1em;
	font-weight: 600;
	margin: 0;
	flex: 1;
}

.number {
	width: 30px;
	height: 30px;
	background: #edf0f2;
	color: var(--navy);
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 0.8em;
}

.panel.active .number {
	background: var(--navy);
	color: white;
}

.panel.complete .number {
	background: var(--orange);
	color: white;
}

.arrow {
	color: var(--navy);
	transition: transform .2s;
}

.panel.active .arrow {
	transform: rotate(180deg);
}

.panel-content {
	display: none;
	padding: 5px 22px 26px;
	border-top: 1px solid var(--line);
}

.panel.active .panel-content {
	display: block;
}

/* Formuliervelden */
.field {
	margin-top: 18px;
}

label {
	display: block;
	color: var(--navy);
	font-size: 0.85em;
	font-weight: 600;
	margin-bottom: 7px;
}

input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #ccd3d9;
	background: white;
	font-size: 1em;
	border-radius: 2px;
	color: var(--text);
}

input:focus {
	outline: 2px solid var(--navy);
	outline-offset: 1px;
}

.birthdate-fields {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
	width: auto;
}

.birthdate-fields input {
    flex: 0 0 85px;
    width: 85px !important;
	min-width: 0;
    padding: 13px 10px;
    border: 1px solid #ccd3d9;
    background: white;
    font-family: inherit;
    font-size: 1em;
    border-radius: 2px;
    color: var(--text);
    text-align: center;
}

.birthdate-fields input:last-child {
	flex-basis: 110px;
    width: 110px !important;
}

.birthdate-fields input:focus {
    outline: 2px solid var(--navy);
    outline-offset: 1px;
}

.birthdate-fields input::placeholder {
    color: #89949e;
    opacity: 1;
}

/* Mobiele weergave */
@media (max-width: 600px) {
    .birthdate-fields {
        gap: 8px;
    }
}

select {
	width: 100%;
	padding: 13px 40px 13px 14px;
	border: 1px solid #ccd3d9;
	background-color: white;
	font-size: 1em;
	border-radius: 2px;
	color: var(--text);
	font-family: inherit;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318334d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

select:focus {
	outline: 2px solid var(--navy);
	outline-offset: 1px;
}

select:disabled {
	background-color: #f1f3f5;
	color: #999;
	cursor: not-allowed;
}

select option {
	color: var(--text);
	background: white;
}

.input-suffix {
	position: relative;
}

.input-suffix input {
	padding-right: 55px;
}

.suffix {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
	pointer-events: none;
}

input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--navy);
	flex-shrink: 0;
}

/*.checkbox-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 20px 0;
}

.checkbox-row label {
	font-weight: 400;
	margin: 0;
}*/
/* Checkbox in dezelfde stijl als radiobuttons */

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0;
    padding: 13px 16px;
    border: 1px solid #ccd3d9;
    background: white;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.checkbox-row:hover {
    border-color: var(--navy);
    background: #f6f7f8;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--orange);
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-row label {
    margin: 0;
    font-weight: 400;
    font-size: 0.95em;
    color: var(--text);
    cursor: pointer;
    line-height: 1.5;
}

/* Aangevinkte checkbox */
.checkbox-row:has(input[type="checkbox"]:checked) {
    border-color: var(--navy);
    background: #f1f4f6;
}

.checkbox-row:has(input[type="checkbox"]:checked) label {
    color: var(--navy);
    font-weight: 600;
}

/* Focus */
.checkbox-row:has(input[type="checkbox"]:focus-visible) {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* Checkbox foutmelding */
.checkbox-row.invalid {
    border-color: #dc3545;
    background: #fff1f1;
}

.checkbox-row.invalid label {
    color: #b02a37;
}

/* Foutmelding verdwijnt zodra aangevinkt */
.checkbox-row.invalid:has(input[type="checkbox"]:checked) {
    border-color: var(--navy);
    background: #f1f4f6;
}

.checkbox-row.invalid:has(input[type="checkbox"]:checked) label {
    color: var(--navy);
}

/* Radiobuttons */
.radio-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.radio-option {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 120px;
	padding: 13px 16px;
	border: 1px solid #ccd3d9;
	background: white;
	border-radius: 2px;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}

.radio-option:hover {
	border-color: var(--navy);
	background: #f6f7f8;
}

.radio-option input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	accent-color: var(--orange);
	flex-shrink: 0;
	cursor: pointer;
}

.radio-option label {
	margin: 0;
	font-weight: 400;
	font-size: 0.95em;
	color: var(--text);
	cursor: pointer;
}

.radio-option:has(input[type="radio"]:checked) {
	border-color: var(--navy);
	background: #f1f4f6;
}

.radio-option:has(input[type="radio"]:checked) label {
	color: var(--navy);
	font-weight: 600;
}

.radio-option:has(input[type="radio"]:focus-visible) {
	outline: 2px solid var(--navy);
	outline-offset: 2px;
}

.hint {
	color: var(--muted);
	font-size: 0.8em;
	margin-top: 6px;
}

.panel-content .button {
	margin-top: 25px;
}

/* Resultaat */
.result {
	background: #f1f4f6;
	padding: 25px;
	margin-top: 22px;
	text-align: center;
	display: none;
}

.result-label {
	font-size: 0.8em;
	color: var(--muted);
}

.output {
	color: var(--navy);
	font-size: 1.5em;
	font-weight: 700;
	margin: 5px 0;
}

.result-note {
	font-size: 0.9em;
	color: var(--muted);
}

.visible {
	display: block !important;
}

#registerButton {
	display: block;
	margin: 20px auto 0;
	width: 100%;
	max-width: 340px;
}

/* Bevestigingspagina */
.confirmation {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 40px;
	margin-top: 35px;
	text-align: center;
}

.checkmark {
	width: 68px;
	height: 68px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: #edf3f5;
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2em;
	font-weight: 400;
}

.confirmation h2 {
	font-size: 1.4em;
	font-weight: 600;
	margin: 0 0 12px;
}

.confirmation > p {
	color: #52616e;
	margin: 0;
}

.steps {
	text-align: left;
	margin-top: 35px;
	border-top: 1px solid var(--line);
	padding-top: 25px;
}

.step {
	display: flex;
	gap: 16px;
	margin-bottom: 22px;
	align-items: flex-start;
}

.step:last-child {
	margin-bottom: 0;
}

.step-content h3 {
	font-size: 1em;
	margin: 2px 0 4px;
	font-weight: 600;
}

.step-content p {
	color: #52616e;
	font-size: 0.95em;
	margin: 0;
}

.highlight {
	background: #f1f4f6;
	border-left: 4px solid var(--orange);
	padding: 18px 20px;
	margin-top: 30px;
	text-align: left;
	font-size: 0.9em;
	color: #52616e;
}

.highlight strong {
	color: var(--navy);
}

/* Footer */
footer {
	background: #111111;
	color: #ffffff;
	padding: 35px 24px;
	font-size: 0.75em;
	margin-top: auto;
	text-align: center;
}

footer a {
	color: #ffffff;
}

footer a:hover {
	color: var(--orange);
}

/* Mobiele weergave */
@media (max-width: 600px) {
	.header-inner {
		padding: 20px;
	}
	
	.header-inner img {
		max-width: 45%;
		height: auto;
	}

	main {
		margin: 35px auto;
	}

	.confirmation {
		padding: 28px 20px;
	}
}


/* Foutmeldingspagina */

.error-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 45px 20px 60px;
	text-align: center;
}

.error-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 25px;
	border-radius: 50%;
	background: #f9eee7;
	color: var(--orange);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2em;
	font-weight: 600;
}

.error-code {
	color: var(--navy);
	font-size: clamp(2em, 6vw, 3em);
	font-weight: 700;
	line-height: 1.1;
	margin: 15px 0;
	letter-spacing: -3px;
}

.error-page h1 {
	margin: 15px 0;
}

.error-page .intro {
	max-width: 650px;
	margin: 0 auto 35px;
	color: #52616e;
}

.error-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.error-actions a {
	text-decoration: none;
	display: inline-block;
}

.error-reference {
	margin-top: 45px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.8em;
}

@media (max-width: 600px) {
	.error-page {
		padding: 30px 10px 45px;
	}

	.error-actions {
		flex-direction: column;
	}

	.error-actions .button {
		width: 100%;
	}
}


/* E-mailbevestiging */

.email-confirmation {
	max-width: 1080px;
	margin: 0 auto;
	padding: 45px 20px 60px;
	text-align: center;
}

.email-confirmation-state {
	max-width: 760px;
	margin: 0 auto;
}

.email-confirmation-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2em;
	font-weight: 400;
}

.email-confirmation-icon.success {
	background: #edf3f5;
	color: var(--navy);
}

.email-confirmation-icon.error-icon {
	background: #f9eee7;
	color: var(--orange);
}

.email-confirmation h1 {
	margin: 12px 0 20px;
}

.email-confirmation .intro {
	max-width: 650px;
	margin: 0 auto 35px;
	color: #52616e;
}

.email-confirmation-message {
	background: #f1f4f6;
	border-left: 4px solid var(--orange);
	padding: 20px;
	margin: 0 auto 30px;
	text-align: left;
	font-size: 0.9em;
	color: #52616e;
}

.email-confirmation-message strong {
	color: var(--navy);
}

.email-confirmation-message p {
	margin: 5px 0 0;
}

.email-confirmation-state a {
	display: inline-block;
	text-decoration: none;
}

@media (max-width: 600px) {
	.email-confirmation {
		padding: 30px 10px 45px;
	}

	.email-confirmation-message {
		padding: 18px;
	}

	.email-confirmation-state a {
		width: 100%;
	}
}

/* Tooltips bij formuliervelden */

.field-label-row {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 7px;
}

.field-label-row label {
	margin: 0;
}

/* Vraagteken */
.tooltip-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.tooltip-trigger {
	width: 19px;
	height: 19px;
	padding: 0;
	border: 1px solid var(--navy);
	border-radius: 50%;
	background: #f1f4f6;
	color: var(--navy);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
	cursor: pointer;
	transition: all .2s ease;
}

.tooltip-trigger:hover,
.tooltip-trigger:focus-visible {
	background: var(--orange);
	border-color: var(--orange);
	color: white;
	outline: none;
}

/* Tooltip */
.tooltip-content {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);

	width: 350px;
	max-width: calc(100vw - 40px);
	padding: 13px 15px;

	background: var(--navy);
	color: white;
	border-radius: 4px;

	font-size: 0.8em;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;

	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease;

	z-index: 100;
}

/* Pijltje onder de tooltip */
.tooltip-content::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);

	border-width: 6px;
	border-style: solid;
	border-color: var(--navy) transparent transparent transparent;
}

/* Tooltip tonen */
.tooltip-wrapper:hover .tooltip-content,
.tooltip-wrapper:focus-within .tooltip-content,
.tooltip-wrapper.is-open .tooltip-content {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Mobiele weergave */
@media (max-width: 600px) {
	.tooltip-content {
		width: 260px;
	}
}


/* Privacyverklaring modal */

#privacyModal {
	width: min(1280px, calc(100% - 32px));
	max-width: 1280px;
	max-height: 90vh;
	max-height: 90svh;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--white);
	color: var(--text);
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

/* Achtergrond */
#privacyModal::backdrop {
	background: rgba(15, 30, 43, 0.7);
	backdrop-filter: blur(2px);
}

/* Modal openen */
#privacyModal[open] {
	display: flex;
	flex-direction: column;
	animation: privacyFadeIn .2s ease;
}

@keyframes privacyFadeIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Modal header */
.privacy-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 20px 25px;
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.privacy-modal-header h2 {
	margin: 0;
	font-size: 1.2em;
	font-weight: 600;
}

/* Sluitknop */
.privacy-modal-close {
	width: 34px;
	height: 34px;
	border: 0;
	background: #f1f4f6;
	color: var(--navy);
	font-size: 1.4em;
	cursor: pointer;
	border-radius: 2px;
	flex-shrink: 0;
}

.privacy-modal-close:hover {
	background: var(--navy);
	color: white;
}

/* Inhoud */
.privacy-modal-content {
	padding: 25px;
	overflow-y: auto;
	flex: 1;
	min-height: 0;
	font-size: 0.9em;
	line-height: 1.7;
}

.privacy-modal-content h3 {
	font-size: 1.05em;
	margin: 25px 0 8px;
}

.privacy-modal-content h3:first-child {
	margin-top: 0;
}

.privacy-modal-content p {
	margin: 0 0 15px;
	color: #52616e;
}

/* Modal footer */
.privacy-modal-footer {
	padding: 16px 25px;
	border-top: 1px solid var(--line);
	background: #f6f7f8;
	display: flex;
	justify-content: flex-end;
}

/* Link naar privacyverklaring */
.privacy-link {
	color: var(--orange);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.privacy-link:hover {
	color: #bd652b;
}

/* Mobiel */
@media (max-width: 600px) {
	#privacyModal {
		width: calc(100% - 24px);
		max-height: 85vh;
		max-height: 85svh;
	}

	.privacy-modal-header {
		padding: 16px 18px;
	}

	.privacy-modal-content {
		padding: 20px 18px;
	}

	.privacy-modal-footer {
		padding: 14px 18px;
	}
}


/* Footer indeling */

.footer-contact {
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 13px;
}

.footer-links a {
    color: #ffffff;
    /*text-decoration: none;*/
    transition: color .2s ease;
}

/*.footer-links a:first-child {
    color: #f0a36e;
    font-weight: 600;
}*/

.footer-links a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.footer-links span {
    color: #73808b;
}

@media (max-width: 600px) {
    .footer-contact {
        line-height: 2;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 8px;
    }
}