/* Light Cookie RODO GDPR – banner. Colours come from CSS variables set inline. */
.lcr-root {
	--lcr-radius: 10px;
	--lcr-shadow: 0 8px 32px rgba(0, 0, 0, .22);
	box-sizing: border-box;
	color: var(--lcr-text);
	font: 400 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
}
.lcr-root *,
.lcr-root *::before,
.lcr-root *::after {
	box-sizing: border-box;
}

/* ---------- banner ---------- */
.lcr-banner {
	position: fixed;
	z-index: 2147483000;
	background: var(--lcr-bg);
	box-shadow: var(--lcr-shadow);
}
.lcr-pos-bottom {
	left: 0;
	right: 0;
	bottom: 0;
	border-top: 1px solid rgba(0, 0, 0, .12);
}
.lcr-pos-bottom .lcr-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px 24px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 4px 32px;
	align-items: center;
}
.lcr-pos-bottom .lcr-title,
.lcr-pos-bottom .lcr-text,
.lcr-pos-bottom .lcr-links,
.lcr-pos-bottom .lcr-controller {
	grid-column: 1;
}
.lcr-pos-bottom .lcr-actions {
	grid-column: 2;
	grid-row: 1 / span 4;
	flex-direction: column;
	min-width: 220px;
}
.lcr-pos-box-left,
.lcr-pos-box-right {
	bottom: 16px;
	width: min(420px, calc(100vw - 32px));
	border-radius: var(--lcr-radius);
}
.lcr-pos-box-left { left: 16px; }
.lcr-pos-box-right { right: 16px; }
.lcr-pos-box-left .lcr-inner,
.lcr-pos-box-right .lcr-inner,
.lcr-pos-center .lcr-inner {
	padding: 22px;
}
.lcr-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: rgba(0, 0, 0, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.lcr-pos-center {
	position: relative;
	width: min(560px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	border-radius: var(--lcr-radius);
}

.lcr-root .lcr-title {
	margin: 0 0 6px;
	padding: 0;
	color: var(--lcr-text);
	font-size: 18px; font-weight: 700; line-height: 1.3;
	font-family: inherit;
}
.lcr-root .lcr-text,
.lcr-root .lcr-text p {
	margin: 0 0 8px;
	color: var(--lcr-text);
	font-size: 14.5px;
}
.lcr-root a {
	color: var(--lcr-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.lcr-root .lcr-links,
.lcr-root .lcr-controller,
.lcr-root .lcr-consent-info,
.lcr-root .lcr-note {
	margin: 0 0 6px;
	font-size: 13.5px;
}
.lcr-root .lcr-note {
	padding: 8px 10px;
	border-left: 3px solid var(--lcr-primary);
	background: rgba(0, 0, 0, .04);
}

/* ---------- buttons (accept/reject: identical style – equal prominence) ---------- */
.lcr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}
.lcr-root .lcr-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 44px;
	min-width: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 2px solid var(--lcr-primary);
	border-radius: 6px;
	font-size: 15px; font-weight: 600; line-height: 1.2;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: filter .15s;
}
.lcr-root .lcr-btn-primary {
	background: var(--lcr-primary);
	color: var(--lcr-primary-text);
}
.lcr-root .lcr-btn-secondary {
	background: transparent;
	color: var(--lcr-primary);
}
.lcr-root .lcr-btn-primary:hover,
.lcr-root .lcr-btn-primary:focus,
.lcr-root .lcr-btn-primary:active {
	background: var(--lcr-primary);
	color: var(--lcr-primary-text);
	border-color: var(--lcr-primary);
}
.lcr-root .lcr-btn-secondary:hover,
.lcr-root .lcr-btn-secondary:focus,
.lcr-root .lcr-btn-secondary:active {
	background: transparent;
	color: var(--lcr-primary);
	border-color: var(--lcr-primary);
}
.lcr-root .lcr-btn:hover { filter: brightness(1.12); }
.lcr-root .lcr-btn-link:hover,
.lcr-root .lcr-btn-link:focus,
.lcr-root .lcr-close:focus,
.lcr-root.lcr-revisit:hover,
.lcr-root.lcr-revisit:focus {
	color: inherit;
}
.lcr-root .lcr-btn-link:hover,
.lcr-root .lcr-btn-link:focus {
	background: none;
	color: var(--lcr-primary);
}
.lcr-root.lcr-revisit:hover,
.lcr-root.lcr-revisit:focus {
	background: var(--lcr-primary);
	color: var(--lcr-primary-text);
}
.lcr-root .lcr-btn-link {
	appearance: none;
	min-height: 44px;
	margin: 0;
	padding: 8px 4px;
	border: 0;
	background: none;
	color: var(--lcr-primary);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.lcr-root button:focus-visible,
.lcr-root a:focus-visible,
.lcr-root summary:focus-visible,
.lcr-root input:focus-visible + .lcr-slider,
.lcr-modal:focus-visible,
.lcr-open-settings:focus-visible {
	outline: 3px solid var(--lcr-primary);
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--lcr-bg);
}

/* ---------- preferences modal ---------- */
.lcr-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	background: rgba(0, 0, 0, .5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.lcr-modal {
	position: relative;
	width: min(640px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 26px 24px 20px;
	background: var(--lcr-bg);
	color: var(--lcr-text);
	border-radius: var(--lcr-radius);
	box-shadow: var(--lcr-shadow);
}
.lcr-modal:focus { outline: none; }
.lcr-root .lcr-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--lcr-text);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.lcr-root .lcr-close:hover { background: rgba(0, 0, 0, .06); }
.lcr-modal .lcr-title { padding-right: 44px; }
.lcr-cat {
	padding: 12px 0;
	border-top: 1px solid rgba(0, 0, 0, .12);
}
.lcr-cat-head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.lcr-root .lcr-cat-label {
	flex: 1;
	font-weight: 700;
	cursor: pointer;
}
.lcr-root .lcr-always {
	font-size: 13px;
	font-weight: 600;
}
.lcr-root .lcr-cat-services {
	margin: 0 0 6px;
	font-size: 13px;
}
.lcr-root .lcr-cat-desc {
	margin: 4px 0 6px;
	font-size: 14px;
}
.lcr-switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 30px;
	flex: 0 0 auto;
}
.lcr-root .lcr-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.lcr-root .lcr-switch input:disabled { cursor: not-allowed; }
.lcr-slider {
	position: absolute;
	inset: 0;
	border: 2px solid #6b7280;
	border-radius: 30px;
	background: #e5e7eb;
	transition: background .15s;
}
.lcr-slider::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #4b5563;
	transition: transform .15s;
}
.lcr-switch input:checked + .lcr-slider {
	background: var(--lcr-primary);
	border-color: var(--lcr-primary);
}
.lcr-switch input:checked + .lcr-slider::before {
	transform: translateX(22px);
	background: var(--lcr-primary-text);
}
.lcr-switch input:disabled + .lcr-slider { opacity: .6; }
.lcr-root .lcr-details summary {
	min-height: 32px;
	padding: 4px 0;
	color: var(--lcr-primary);
	font-size: 14px;
	cursor: pointer;
}
.lcr-table-wrap {
	overflow-x: auto;
}
.lcr-root table {
	width: 100%;
	margin: 6px 0;
	border-collapse: collapse;
	font-size: 13px;
}
.lcr-root th,
.lcr-root td {
	padding: 6px 8px;
	border: 1px solid rgba(0, 0, 0, .15);
	color: var(--lcr-text);
	text-align: left;
	vertical-align: top;
}
.lcr-root th { background: rgba(0, 0, 0, .04); }
.lcr-modal .lcr-actions {
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, .12);
}
html.lcr-locked { overflow: hidden; }

/* ---------- revisit button ---------- */
.lcr-root.lcr-revisit {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 2147482999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 2px solid var(--lcr-primary-text);
	border-radius: 50%;
	background: var(--lcr-primary);
	color: var(--lcr-primary-text);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
	cursor: pointer;
}

/* ---------- embed placeholder ---------- */
.lcr-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 200px;
	margin: 0 0 1em;
	padding: 20px;
	background: var(--lcr-bg);
	border: 2px dashed rgba(0, 0, 0, .25);
	border-radius: var(--lcr-radius);
	text-align: center;
}
.lcr-placeholder p {
	max-width: 520px;
	margin: 0;
	color: var(--lcr-text);
	font-size: 14px;
}
.lcr-placeholder .lcr-btn { flex: 0 0 auto; }
iframe[data-lcr-src] { display: none !important; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
	.lcr-pos-bottom .lcr-inner {
		display: block;
		padding: 16px;
		max-height: 70vh;
		overflow-y: auto;
	}
	.lcr-pos-bottom .lcr-actions { flex-direction: row; min-width: 0; }
	.lcr-actions .lcr-btn { flex: 1 1 100%; }
	.lcr-pos-box-left,
	.lcr-pos-box-right { left: 8px; right: 8px; bottom: 8px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.lcr-root *,
	.lcr-root *::before { transition: none !important; }
}
@media (forced-colors: active) {
	.lcr-slider,
	.lcr-root .lcr-btn { border: 2px solid ButtonText; }
	.lcr-switch input:checked + .lcr-slider::before { background: Highlight; }
}
