/* dr.Cookie-Consent — accessible GDPR banner */
.dcc-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.dcc-root.dcc-root--visible {
	display: block;
}

.dcc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999990;
	background: #0f172a;
	color: #f8fafc;
	box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.25);
	padding: 1rem;
}

.dcc-banner__inner {
	max-width: 960px;
	margin: 0 auto;
}

.dcc-banner__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
}

.dcc-banner__text {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #e2e8f0;
}

.dcc-banner__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-bottom: 0.85rem;
	font-size: 0.85rem;
}

.dcc-banner__links a {
	color: #93c5fd;
}

.dcc-banner__actions,
.dcc-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dcc-btn {
	font: inherit;
	cursor: pointer;
	border-radius: 8px;
	padding: 0.65rem 1rem;
	min-height: 44px;
	border: 1px solid transparent;
}

.dcc-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.dcc-btn--primary {
	background: #0d6b5c;
	color: #fff;
	border-color: #0d6b5c;
}

.dcc-btn--secondary {
	background: #334155;
	color: #fff;
	border-color: #475569;
}

.dcc-btn--ghost {
	background: transparent;
	color: #e2e8f0;
	border-color: #64748b;
}

.dcc-modal {
	position: fixed;
	inset: 0;
	z-index: 999995;
	background: rgba(15, 23, 42, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.dcc-modal[hidden] {
	display: none !important;
}

.dcc-modal__panel {
	background: #fff;
	color: #0f172a;
	border-radius: 12px;
	max-width: 520px;
	width: 100%;
	max-height: min(90vh, 640px);
	overflow: auto;
	padding: 1.25rem 1.25rem 1rem;
	position: relative;
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
}

.dcc-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	width: 44px;
	height: 44px;
	border: none;
	background: #f1f5f9;
	border-radius: 8px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.dcc-modal__title {
	margin: 0 2rem 1rem 0;
	font-size: 1.15rem;
}

.dcc-cat {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.65rem;
}

.dcc-cat__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.dcc-cat__head strong {
	font-size: 0.95rem;
}

.dcc-cat__desc {
	margin: 0.45rem 0 0;
	font-size: 0.85rem;
	color: #64748b;
	line-height: 1.45;
}

.dcc-cat__badge {
	font-size: 0.75rem;
	font-weight: 600;
	color: #0d6b5c;
	background: #ecfdf5;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
}

.dcc-switch {
	position: relative;
	width: 48px;
	height: 28px;
	flex-shrink: 0;
}

.dcc-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.dcc-switch span {
	position: absolute;
	inset: 0;
	background: #cbd5e1;
	border-radius: 999px;
	transition: background 0.15s;
}

.dcc-switch span::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.15s;
}

.dcc-switch input:checked + span {
	background: #0d6b5c;
}

.dcc-switch input:checked + span::after {
	transform: translateX(20px);
}

.dcc-switch input:focus-visible + span {
	outline: 2px solid #0d6b5c;
	outline-offset: 2px;
}

.dcc-fab {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 999980;
	background: #0f172a;
	color: #fff;
	border: 1px solid #334155;
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	font-size: 0.78rem;
	min-height: 44px;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.dcc-fab:focus-visible {
	outline: 2px solid #0d6b5c;
	outline-offset: 2px;
}

@media (min-width: 640px) {
	.dcc-banner {
		padding: 1.25rem 1.5rem;
	}
}
