/* ProudBreast cookiemelding: gecentreerd venster over een vervaagde pagina. */
.pbcc {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #3d3340;
}
.pbcc[hidden] {
	display: none;
}
html.pbcc-lock,
html.pbcc-lock body {
	overflow: hidden;
}
.pbcc-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(40, 26, 44, .5);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .25s ease;
}
.pbcc-box {
	position: relative;
	width: 480px;
	max-width: 100%;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	padding: 32px 28px 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
	text-align: center;
	opacity: 0;
	transform: translateY(10px) scale(.98);
	transition: opacity .25s ease, transform .25s ease;
}
.pbcc-box:focus {
	outline: none;
}
.pbcc.is-open .pbcc-backdrop,
.pbcc.is-open .pbcc-box {
	opacity: 1;
	transform: none;
}
.pbcc p {
	margin: 0;
	padding-bottom: 0 !important;
}
.pbcc-logo {
	display: block;
	width: 170px;
	height: auto;
	margin: 0 auto 18px;
}
.pbcc .pbcc-title {
	margin-bottom: 6px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: #2e2131;
}
.pbcc .pbcc-text {
	color: #555;
}
.pbcc a {
	color: inherit;
	text-decoration: underline;
}

/* "Wat houdt dit in?" */
.pbcc .pbcc-toggle {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	margin: 10px 0 0;
	padding: 4px 6px;
	border: 0;
	background: none;
	color: #2e2131;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
.pbcc-toggle svg {
	transition: transform .2s ease;
}
.pbcc-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}
.pbcc-info[hidden] {
	display: none;
}
.pbcc-info {
	margin-top: 10px;
	padding: 14px 16px 14px 14px;
	border-radius: 12px;
	background: #f5f0f7;
	font-size: 13.5px;
	text-align: left;
}
.pbcc-info ul {
	margin: 0 !important;
	padding-left: 18px !important;
}
.pbcc-info li {
	margin: 0 0 6px;
	padding: 0;
	list-style: disc;
}
.pbcc-info li:last-child {
	margin-bottom: 0;
}
.pbcc-info strong {
	color: #2e2131;
}

/* Knoppen */
.pbcc-btns {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}
.pbcc .pbcc-btn {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid #583b5f;
	border-radius: 999px;
	background: #583b5f;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
.pbcc .pbcc-btn.is-primary {
	flex: 1 1 0;
}
.pbcc .pbcc-btn.is-primary:hover {
	border-color: #432c48;
	background: #432c48;
}
/* Weigeren even zichtbaar als accepteren: zelfde breedte en vet, met een stevige rand (AP). */
.pbcc .pbcc-btn.is-ghost {
	flex: 1 1 0;
	border: 1.5px solid #583b5f;
	background: #fff;
	color: #583b5f;
	font-weight: 700;
}
.pbcc .pbcc-btn.is-ghost:hover {
	border-color: #432c48;
	background: #f5f0f7;
	color: #432c48;
}
.pbcc .pbcc-link {
	display: inline-block;
	margin: 14px 0 0;
	padding: 4px 6px;
	border: 0;
	background: none;
	color: #555;
	font: inherit;
	font-size: 13.5px;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.pbcc .pbcc-link:hover {
	color: #2e2131;
}
.pbcc button:focus:not(:focus-visible),
.pbcc input:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}
.pbcc button:focus-visible,
.pbcc a:focus-visible,
.pbcc input:focus-visible {
	outline: 3px solid #2e2131;
	outline-offset: 2px;
}

/* Instellingen */
.pbcc-cats {
	display: grid;
	gap: 10px;
	margin-top: 20px;
	text-align: left;
}
.pbcc-cat {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: #f5f0f7;
	cursor: pointer;
}
.pbcc-cat strong {
	color: #2e2131;
	font-size: 15px;
}
.pbcc-pill {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 99px;
	background: #ebe3ef;
	color: #583b5f;
	font-size: 11.5px;
	font-weight: 600;
	vertical-align: 1px;
}
.pbcc-cat-desc {
	display: block;
	margin-top: 2px;
	color: #555;
	font-size: 13px;
	line-height: 1.45;
}
.pbcc .pbcc-switch {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 28px;
	margin: 0 !important;
	border: 0;
	border-radius: 99px;
	background: #d6ccdf;
	cursor: pointer;
	transition: background .2s ease;
}
.pbcc .pbcc-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .2s ease;
}
.pbcc .pbcc-switch:checked {
	background: #583b5f;
}
.pbcc .pbcc-switch:checked::after {
	transform: translateX(18px);
}
.pbcc .pbcc-switch:disabled {
	background: #a493aa;
	cursor: default;
}

@media (max-width: 480px) {
	.pbcc {
		padding: 14px;
	}
	.pbcc-box {
		padding: 24px 18px 14px;
		border-radius: 18px;
	}
	.pbcc-logo {
		width: 130px;
		margin-bottom: 12px;
	}
	.pbcc .pbcc-title {
		font-size: 19px;
	}
	.pbcc-text {
		font-size: 14px;
	}
	.pbcc .pbcc-toggle {
		margin-top: 6px;
		font-size: 13.5px;
	}
	.pbcc-btns {
		gap: 8px;
		margin-top: 16px;
	}
	.pbcc .pbcc-btn {
		min-height: 48px;
		padding: 10px 12px;
		font-size: 14.5px;
	}
	/* Twee knoppen naast elkaar, even breed. */
	.pbcc [data-view="main"] .pbcc-btn {
		flex: 1 1 0;
		min-width: 0;
	}
	.pbcc [data-view="prefs"] .pbcc-btn {
		flex: 1 1 0;
		min-width: 0;
		padding: 8px 10px;
	}
	.pbcc .pbcc-link {
		margin-top: 10px;
	}
	.pbcc-cats {
		gap: 8px;
		margin-top: 14px;
	}
	.pbcc-cat {
		padding: 12px 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.pbcc-backdrop,
	.pbcc-box,
	.pbcc-toggle svg,
	.pbcc .pbcc-switch,
	.pbcc .pbcc-switch::after {
		transition: none;
	}
}

/* Cookielijst op het cookiebeleid */
.pbcc-table-wrap {
	overflow-x: auto;
	margin-bottom: 24px;
}
.pbcc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.pbcc-table th,
.pbcc-table td {
	padding: 8px 10px;
	border-bottom: 1px solid #e9e1ed;
	text-align: left;
	vertical-align: top;
}
.pbcc-table code {
	font-size: 13px;
	white-space: normal;
}
