/* BPZ Welkomstscherm: invulpagina voor collega's. */

.bpzw-app-body {
	margin: 0;
	background: #f2f4f8;
	color: #17274c;
	font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.bpzw-app,
.bpzw-appbar {
	--navy: #17274c;
	--blauw: #0086c9;
	--blauw-donker: #006fa8;
	--lijn: #dde3ec;
	--grijs: #5d6b84;
	--zacht: #f5f7fb;
	--groen: #1f9d63;
	--rood: #c8373b;
}

.bpzw-app *,
.bpzw-app *::before,
.bpzw-app *::after {
	box-sizing: border-box;
}

/* ---------- Appbalk ---------- */

.bpzw-appbar {
	background: var(--navy);
	color: #fff;
}

.bpzw-appbar-in {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.bpzw-appbar a {
	color: #fff;
	text-decoration: none;
}

.bpzw-appbar-merk {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.bpzw-appbar-logo {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--blauw);
}

.bpzw-appbar-logo svg {
	width: 22px;
	height: 22px;
}

.bpzw-appbar-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 14px;
	font-weight: 500;
}

.bpzw-appbar-nav a {
	opacity: 0.9;
}

.bpzw-appbar-nav a:hover {
	opacity: 1;
	text-decoration: underline;
}

.bpzw-appbar-user {
	opacity: 0.65;
}

/* ---------- Opbouw ---------- */

.bpzw-app {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 24px 64px;
	color: var(--navy);
	font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

.bpzw-app--embed {
	padding: 0;
}

.bpzw-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 24px;
	align-items: start;
}

.bpzw-zijkant {
	position: sticky;
	top: 24px;
}

.bpzw-card {
	background: #fff;
	border: 1px solid var(--lijn);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(23, 39, 76, 0.04), 0 8px 24px rgba(23, 39, 76, 0.05);
}

.bpzw-app h2,
.bpzw-app h3 {
	margin: 0;
	color: var(--navy);
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.bpzw-app h2 {
	font-size: 22px;
	font-weight: 700;
}

.bpzw-app h3 {
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Meldingen ---------- */

.bpzw-notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--lijn);
}

.bpzw-notice svg {
	flex: none;
	width: 26px;
	height: 26px;
	padding: 3px;
	border-radius: 50%;
	color: #fff;
	background: var(--grijs);
}

.bpzw-notice--ok {
	background: #eaf7f0;
	border-color: #bfe6d2;
}

.bpzw-notice--ok svg {
	background: var(--groen);
}

.bpzw-notice--fout {
	background: #fcefef;
	border-color: #f1c6c7;
}

.bpzw-notice--fout svg {
	background: var(--rood);
}

.bpzw-notice a {
	color: var(--navy);
	font-weight: 600;
	margin-left: 4px;
}

.bpzw-melding {
	max-width: 460px;
	margin: 40px auto;
	padding: 32px;
	text-align: center;
}

/* ---------- Formulier ---------- */

.bpzw-form {
	padding: 28px 28px 24px;
}

.bpzw-form-head p {
	margin: 6px 0 0;
	color: var(--grijs);
}

.bpzw-stap {
	margin: 24px 0 0;
	padding: 22px 0 0;
	border: 0;
	border-top: 1px solid var(--lijn);
	min-width: 0;
}

.bpzw-stap legend {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
}

.bpzw-stap legend + * {
	clear: both;
}

.bpzw-stap legend em {
	font-style: normal;
	font-weight: 400;
	color: var(--grijs);
}

.bpzw-stap-nr {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.bpzw-veld {
	margin-bottom: 16px;
}

.bpzw-veld:last-child {
	margin-bottom: 0;
}

.bpzw-veld label,
.bpzw-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}

.bpzw-app input[type="text"],
.bpzw-app input[type="date"],
.bpzw-app input[type="time"],
.bpzw-app textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #cfd7e3;
	border-radius: 9px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
	min-height: 46px;
}

.bpzw-app textarea {
	resize: vertical;
	min-height: 84px;
}

.bpzw-app input:focus,
.bpzw-app textarea:focus {
	outline: none;
	border-color: var(--blauw);
	box-shadow: 0 0 0 3px rgba(0, 134, 201, 0.18);
}

.bpzw-app ::placeholder {
	color: #9aa6ba;
}

.bpzw-hulp {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--grijs);
}

.bpzw-rij {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 12px;
}

.bpzw-meerdaags {
	max-width: calc((100% - 24px) / 3.4 * 1.4);
	margin-bottom: 8px;
}

.bpzw-chips {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}

.bpzw-chip {
	padding: 6px 14px;
	border: 1px solid #cfd7e3;
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.bpzw-chip:hover {
	border-color: var(--blauw);
}

.bpzw-chip.is-actief {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.bpzw-check {
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	margin-top: 10px;
	font-weight: 400 !important;
	font-size: 14px !important;
	color: var(--grijs);
	cursor: pointer;
}

.bpzw-check input {
	margin: 3px 0 0;
	width: 16px;
	height: 16px;
	accent-color: var(--blauw);
}

/* Logo-upload */

.bpzw-drop {
	position: relative;
	border: 1.5px dashed #b9c4d6;
	border-radius: 12px;
	background: var(--zacht);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.bpzw-drop:hover,
.bpzw-drop:focus,
.bpzw-drop.is-slepen {
	border-color: var(--blauw);
	background: #eef7fc;
	outline: none;
}

.bpzw-drop-leeg {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 24px 20px;
	text-align: center;
	font-size: 14px;
}

.bpzw-drop-leeg svg {
	width: 34px;
	height: 34px;
	padding: 7px;
	margin-bottom: 4px;
	border-radius: 50%;
	background: #fff;
	color: var(--blauw);
	box-shadow: 0 1px 3px rgba(23, 39, 76, 0.12);
}

.bpzw-drop-leeg span {
	color: var(--grijs);
	font-size: 13px;
	max-width: 320px;
}

.bpzw-drop-vol {
	display: none;
	align-items: center;
	gap: 16px;
	padding: 14px;
	cursor: default;
}

.bpzw-drop.heeft-logo {
	border-style: solid;
	border-color: var(--lijn);
	background: #fff;
}

.bpzw-drop.heeft-logo .bpzw-drop-leeg {
	display: none;
}

.bpzw-drop.heeft-logo .bpzw-drop-vol {
	display: flex;
}

.bpzw-drop-img {
	display: grid;
	place-items: center;
	width: 150px;
	height: 84px;
	padding: 10px;
	border-radius: 9px;
	background: #fff;
	border: 1px solid var(--lijn);
	flex: none;
}

.bpzw-drop-img.is-licht {
	background: var(--navy);
	border-color: var(--navy);
}

.bpzw-drop-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bpzw-drop-acties {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.bpzw-drop-bron {
	font-size: 13px;
	color: var(--grijs);
}

.bpzw-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--blauw-donker);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.bpzw-link:hover {
	text-decoration: underline;
}

.bpzw-link--rood {
	color: var(--rood);
}

/* Knoppen */

.bpzw-form-fout {
	margin: 20px 0 0;
	padding: 10px 14px;
	border-radius: 9px;
	background: #fcefef;
	border: 1px solid #f1c6c7;
	color: #9e2a2e;
	font-size: 14px;
	font-weight: 600;
}

.bpzw-form-voet {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--lijn);
}

.bpzw-knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--blauw);
	color: #fff !important;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.bpzw-knop:hover {
	background: var(--blauw-donker);
}

.bpzw-knop:active {
	transform: translateY(1px);
}

.bpzw-knop--rustig {
	background: #fff;
	color: var(--navy) !important;
	border: 1px solid #cfd7e3;
}

.bpzw-knop--rustig:hover {
	background: var(--zacht);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Voorvertoning ---------- */

.bpzw-voorbeeld-card {
	padding: 18px 18px 14px;
}

.bpzw-voorbeeld-kop {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.bpzw-voorbeeld-kader {
	padding: 8px;
	border-radius: 14px;
	background: #0d1426;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.bpzw-voorbeeld-kader.is-staand {
	max-width: 330px;
	margin: 0 auto;
	padding: 7px;
	border-radius: 18px;
}

.bpzw-voorbeeld-kader.is-staand .bpzw-stage--mini {
	border-radius: 11px;
}

.bpzw-voorbeeld-card .bpzw-hulp {
	margin-top: 10px;
	text-align: center;
}

/* ---------- Overzicht ---------- */

.bpzw-lijst {
	margin-top: 24px;
	padding: 24px 28px 12px;
}

.bpzw-lijst-kop {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.bpzw-teller-badge {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 26px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--zacht);
	border: 1px solid var(--lijn);
	font-size: 13px;
	font-weight: 700;
}

.bpzw-leeg {
	margin: 8px 0 16px;
	color: var(--grijs);
}

.bpzw-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bpzw-item {
	display: grid;
	grid-template-columns: 54px 92px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 18px;
	padding: 16px 0;
	border-top: 1px solid var(--lijn);
}

.bpzw-item:first-child {
	border-top: 0;
}

.bpzw-item.is-bewerk {
	margin: 0 -14px;
	padding-left: 14px;
	padding-right: 14px;
	border-radius: 10px;
	background: #eef7fc;
}

.bpzw-item-datum {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 54px;
	border-radius: 10px;
	background: var(--zacht);
	border: 1px solid var(--lijn);
	line-height: 1;
}

.bpzw-item.is-live .bpzw-item-datum {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.bpzw-item-dag {
	font-size: 20px;
	font-weight: 700;
}

.bpzw-item-maand {
	margin-top: 3px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.bpzw-item-logo {
	display: grid;
	place-items: center;
	height: 54px;
	padding: 8px;
	border-radius: 10px;
	border: 1px solid var(--lijn);
	background: #fff;
}

.bpzw-item-logo.is-licht {
	background: var(--navy);
	border-color: var(--navy);
}

.bpzw-item-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bpzw-item-logo span {
	font-size: 20px;
	font-weight: 700;
	color: #a3aec2;
}

.bpzw-item-tekst {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bpzw-item-tekst strong {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bpzw-item-tekst span {
	color: var(--navy);
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bpzw-item-tekst small {
	margin-top: 2px;
	color: var(--grijs);
	font-size: 13px;
}

.bpzw-pil {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--zacht);
	border: 1px solid var(--lijn);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--grijs);
}

.bpzw-pil--live {
	background: #eaf7f0;
	border-color: #bfe6d2;
	color: #157a4b;
}

.bpzw-pil--live i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--groen);
	box-shadow: 0 0 0 0 rgba(31, 157, 99, 0.5);
	animation: bpzw-puls 2s infinite;
}

@keyframes bpzw-puls {
	0% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0.45); }
	70% { box-shadow: 0 0 0 7px rgba(31, 157, 99, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0); }
}

.bpzw-item-acties {
	display: flex;
	gap: 16px;
}

.bpzw-item-acties .bpzw-link {
	font-size: 13px;
}

/* ---------- Kleinere schermen ---------- */

@media (max-width: 960px) {
	.bpzw-grid {
		grid-template-columns: 1fr;
	}

	.bpzw-zijkant {
		position: static;
	}
}

@media (max-width: 720px) {
	.bpzw-app {
		padding: 16px 12px 48px;
	}

	.bpzw-form,
	.bpzw-lijst {
		padding: 20px 18px;
	}

	.bpzw-rij {
		grid-template-columns: 1fr 1fr;
	}

	.bpzw-veld--datum {
		grid-column: 1 / -1;
	}

	.bpzw-meerdaags {
		max-width: none;
	}

	.bpzw-item {
		grid-template-columns: 48px minmax(0, 1fr) auto;
		grid-template-areas:
			"datum tekst logo"
			"datum status status"
			"acties acties acties";
		row-gap: 8px;
		column-gap: 14px;
	}

	.bpzw-item-datum { grid-area: datum; height: 48px; align-self: start; }
	.bpzw-item-logo { grid-area: logo; width: 72px; height: 42px; }
	.bpzw-item-tekst { grid-area: tekst; }
	.bpzw-item-status { grid-area: status; }
	.bpzw-item-acties { grid-area: acties; padding-left: 62px; }

	.bpzw-appbar-user {
		display: none;
	}
}

/* ---------- Wachtwoordscherm ---------- */

.bpzw-slot-body {
	min-height: 100vh;
	background: radial-gradient(120% 80% at 80% 0%, #1f3a6e 0%, #17274c 45%, #0c1630 100%);
}

.bpzw-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 92px);
}

.bpzw-app--embed .bpzw-slot {
	min-height: 0;
	padding: 40px 0;
}

.bpzw-slot-kaart {
	width: 100%;
	max-width: 420px;
	padding: 36px 34px 32px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(5, 12, 30, 0.45);
	text-align: left;
}

.bpzw-slot-merk {
	display: grid;
	place-items: center;
	width: 112px;
	height: 64px;
	margin-bottom: 22px;
	padding: 4px 8px;
	border-radius: 12px;
	background: var(--navy);
}

.bpzw-slot-merk img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bpzw-slot-merk span {
	color: #fff;
	font-weight: 800;
	font-size: 20px;
}

.bpzw-slot-kaart h1 {
	margin: 0;
	color: var(--navy);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.bpzw-slot-kaart > p {
	margin: 6px 0 22px;
	color: var(--grijs);
}

.bpzw-slot-kaart label[for="bpzw-wachtwoord"] {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}

.bpzw-slot-veld {
	position: relative;
}

.bpzw-app .bpzw-slot-veld input[type="password"],
.bpzw-app .bpzw-slot-veld input[type="text"] {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 52px 12px 14px;
	border: 1px solid #cfd7e3;
	border-radius: 10px;
	font: inherit;
	font-size: 16px;
	color: var(--navy);
	background: #fff;
	-webkit-appearance: none;
	appearance: none;
}

.bpzw-app .bpzw-slot-veld input:focus {
	outline: none;
	border-color: var(--blauw);
	box-shadow: 0 0 0 3px rgba(0, 134, 201, 0.18);
}

.bpzw-slot-oog {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--grijs);
	cursor: pointer;
}

.bpzw-slot-oog:hover,
.bpzw-slot-oog.is-open {
	color: var(--blauw);
	background: var(--zacht);
}

.bpzw-slot-oog svg {
	width: 20px;
	height: 20px;
}

.bpzw-slot-kaart .bpzw-check {
	margin: 14px 0 22px;
}

.bpzw-slot-kaart .bpzw-knop {
	width: 100%;
	min-height: 50px;
	font-size: 16px;
}

.bpzw-slot-fout {
	margin: -6px 0 18px;
	padding: 10px 14px;
	border-radius: 10px;
	background: #fcefef;
	border: 1px solid #f1c6c7;
	color: #9e2a2e;
	font-size: 14px;
	font-weight: 600;
}
