/* Kluspunt Cookiemelding */
.kc-banner, .kc-modal, .kc-floating, .kc-embed-notice {
	--kc-oranje: var(--oranje, #F58220);
	--kc-donker: var(--grijs-donker, #2B2B2B);
	--kc-wit: #fff;
	--kc-room: var(--room, #F7F5F1);
	--kc-rand: #E3DFD8;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: var(--kc-donker);
	box-sizing: border-box;
}
.kc-banner *, .kc-modal *, .kc-embed-notice * { box-sizing: border-box; }
.kc-banner[hidden], .kc-modal[hidden], .kc-floating[hidden] { display: none !important; }

/* ---------- Knoppen ---------- */
.kc-btn {
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	padding: 12px 18px;
	border-radius: var(--radius, 8px);
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: background .15s, color .15s, border-color .15s;
}
.kc-btn:focus-visible, .kc-close:focus-visible, .kc-link:focus-visible,
.kc-switch input:focus-visible + .kc-slider {
	outline: 3px solid var(--kc-donker);
	outline-offset: 2px;
}
.kc-btn-accept { background: var(--kc-oranje); border-color: var(--kc-oranje); color: #1a1a1a; }
.kc-btn-accept:hover { background: #e0740f; border-color: #e0740f; }
.kc-btn-reject { background: var(--kc-donker); border-color: var(--kc-donker); color: #fff; }
.kc-btn-reject:hover { background: #000; border-color: #000; }
.kc-btn-outline { background: #fff; border-color: var(--kc-donker); color: var(--kc-donker); }
.kc-btn-outline:hover { background: var(--kc-room); }

.kc-link { color: inherit; font-weight: 700; text-decoration: underline; }

/* ---------- Banner (optioneel, compact) ---------- */
.kc-banner {
	position: fixed;
	left: 16px; bottom: 16px;
	z-index: 99990;
	width: auto;
	max-width: 420px;
	background: #fff;
	border-radius: 10px;
	border-left: 4px solid var(--kc-oranje);
	box-shadow: 0 6px 24px rgba(0,0,0,.18);
	font-size: 13.5px;
	animation: kc-up .3s ease-out;
}
.kc-banner-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px 14px;
}
.kc-banner-copy { min-width: 0; }
.kc-banner-title { display: none; }
.kc-banner-text { margin: 0; color: #444; line-height: 1.45; }
.kc-banner-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.kc-banner .kc-btn { font-size: 13px; padding: 7px 14px; }

/* Tekstknop (zonder rand) */
.kc-btn-text { background: none; border-color: transparent; color: var(--kc-donker); text-decoration: underline; font-weight: 600; padding-left: 8px; padding-right: 8px; }
.kc-btn-text:hover { color: #000; }

/* ---------- Zwevende knop ---------- */
.kc-floating {
	position: fixed;
	left: 16px; bottom: 16px;
	z-index: 99980;
	background: #fff;
	color: var(--kc-donker);
	border: 2px solid var(--kc-donker);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(0,0,0,.18);
	cursor: pointer;
}
.kc-floating:hover { background: var(--kc-room); }

/* ---------- Modal ---------- */
.kc-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.kc-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.kc-dialog {
	position: relative;
	background: #fff;
	border-radius: 14px;
	width: 100%;
	max-width: 620px;
	max-height: calc(100vh - 32px);
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	outline: none;
	animation: kc-up .25s ease-out;
}
.kc-dialog-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--kc-rand);
}
.kc-dialog-title { margin: 0; font-size: 20px; font-weight: 800; }
.kc-close {
	background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer;
	color: var(--kc-donker); padding: 0 6px; border-radius: 6px;
}
.kc-dialog-body { padding: 18px 22px; overflow-y: auto; }
.kc-dialog-intro { margin: 0 0 16px; color: #444; }
.kc-cat {
	display: flex; justify-content: space-between; align-items: flex-start; gap: 18px;
	padding: 14px 16px; margin-bottom: 10px;
	background: var(--kc-room); border-radius: 10px;
}
.kc-cat-text { min-width: 0; }
.kc-cat-title { margin: 0 0 2px; font-weight: 800; }
.kc-cat-desc { margin: 0; color: #555; font-size: 14px; }
.kc-cat-ctrl { flex: 0 0 auto; padding-top: 2px; }
.kc-always { font-size: 13px; font-weight: 700; color: #1a6b32; white-space: nowrap; }
.kc-dialog-foot {
	display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
	padding: 16px 22px 20px;
	border-top: 1px solid var(--kc-rand);
}

/* Schakelaar */
.kc-switch { position: relative; display: inline-block; width: 50px; height: 28px; cursor: pointer; }
.kc-switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.kc-slider { position: absolute; inset: 0; background: #8f8f8f; border-radius: 28px; transition: background .2s; }
.kc-slider::before {
	content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px;
	background: #fff; border-radius: 50%; transition: transform .2s;
}
.kc-switch input:checked + .kc-slider { background: #1a6b32; }
.kc-switch input:checked + .kc-slider::before { transform: translateX(22px); }

html.kc-lock, html.kc-lock body { overflow: hidden; }

/* ---------- Geblokkeerde externe inhoud ---------- */
.kc-embed { position: relative; width: 100%; background: var(--kc-room, #F7F5F1); }
.kc-embed iframe { display: block; width: 100%; }
.kc-embed:not(.kc-loaded) iframe { visibility: hidden; min-height: 280px; }
.kc-embed-notice {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	background: var(--kc-room, #F7F5F1);
	text-align: center;
}
.kc-embed.kc-loaded .kc-embed-notice { display: none; }
.kc-embed-inner { max-width: 440px; }
.kc-embed-title { margin: 0 0 4px; font-weight: 800; font-size: 17px; }
.kc-embed-text { margin: 0 0 14px; color: #666; font-size: 13.5px; }
.kc-embed-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@keyframes kc-up {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.kc-banner, .kc-dialog { animation: none; }
	.kc-btn, .kc-slider, .kc-slider::before { transition: none; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 760px) {
	.kc-banner { left: 8px; right: 8px; bottom: 8px; max-width: none; }
	.kc-dialog-foot { flex-direction: column; }
	.kc-dialog-foot .kc-btn { width: 100%; }
	.kc-floating { left: 8px; bottom: 8px; }
}
