.rej-cc {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	box-sizing: border-box;
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	background: #14171f;
	border: 1px solid #262b36;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
	color: #a9b0bf;
	font-family: "IBM Plex Sans", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}

.rej-cc p { margin: 0; }

.rej-cc-title {
	margin-bottom: 8px !important;
	color: #4dd6ff;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 14px;
}

.rej-cc a { color: #4dd6ff; font-weight: 600; }

.rej-cc-prefs {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.rej-cc-prefs[hidden] { display: none; }

.rej-cc-prefs label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.rej-cc-prefs input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: #4dd6ff;
}

.rej-cc-prefs b {
	display: block;
	color: #fff;
	font-weight: 600;
}

.rej-cc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

/* Accepteren en weigeren zijn bewust even opvallend. */
.rej-cc button {
	flex: 1 1 auto;
	padding: 11px 16px;
	background: transparent;
	border: 1px solid #4dd6ff;
	border-radius: 8px;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: box-shadow .3s, background .3s, color .3s;
}

.rej-cc button[hidden] { display: none; }

.rej-cc button:hover {
	background: #4dd6ff;
	color: #0b0d12;
	box-shadow: 0 0 0 4px rgba(77, 214, 255, .18), 0 10px 30px rgba(77, 214, 255, .25);
}

.rej-cc button:focus-visible,
.rej-cc a:focus-visible,
.rej-cc input:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.rej-cc { right: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 18px; }
	.rej-cc button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.rej-cc button { transition: none; }
}
