#moor-consent-root {
	--moor-red: #e30613;
	--moor-red-dark: #b60510;
	--moor-dark: #434143;
	--moor-muted: #6f6f6f;
	--moor-border: #e3e3e3;
	--moor-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
	color: var(--moor-dark);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
}

#moor-consent-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(67, 65, 67, 0.48);
	box-sizing: border-box;
}

#moor-consent-backdrop.moor-hidden,
#moor-consent-fab.moor-hidden,
#moor-consent-toast.moor-hidden {
	display: none !important;
}

#moor-consent-dialog {
	width: 100%;
	max-width: 590px;
	max-height: min(90vh, 680px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--moor-shadow);
	overflow: hidden;
}

#moor-consent-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px 14px;
	border-bottom: 1px solid var(--moor-border);
}

#moor-consent-checkicon {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--moor-red);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

#moor-consent-sitename {
	font-weight: 800;
	font-size: 15px;
}

#moor-consent-nav {
	display: flex;
	border-bottom: 1px solid var(--moor-border);
	padding: 0 10px;
}

.moor-tab {
	flex: 1;
	padding: 13px 8px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: var(--moor-dark);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.moor-tab:hover,
.moor-tab[aria-selected="true"] {
	color: var(--moor-red);
}

.moor-tab[aria-selected="true"] {
	border-bottom-color: var(--moor-red);
}

#moor-consent-panel {
	padding: 22px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.moor-tab-panel {
	display: none;
}

.moor-tab-panel.moor-active {
	display: block;
}

.moor-heading {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 800;
}

.moor-intro {
	margin: 0 0 16px;
}

.moor-intro a,
.moor-privacy-mini a {
	color: var(--moor-red);
	font-weight: 700;
}

.moor-detail-cards {
	list-style: none;
	margin: 0;
	padding: 0;
}

#moor-consent-root ul.moor-detail-cards > li.moor-detail-card {
	position: static;
	padding-left: 0;
	margin: 0 0 12px;
}

#moor-consent-root ul.moor-detail-cards > li.moor-detail-card::before {
	display: none !important;
	content: none !important;
}

.moor-detail-card {
	border: 1px solid var(--moor-border);
	border-radius: 6px;
	overflow: hidden;
}

.moor-cat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f7f7f7;
	min-height: 50px;
}

.moor-cat-acc-trigger,
.moor-acc-trigger {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--moor-dark);
	font: inherit;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
}

.moor-cat-acc-trigger {
	padding: 12px 14px;
}

.moor-cat-acc-trigger:hover,
.moor-acc-trigger:hover {
	background: #efefef;
}

.moor-chevron {
	display: inline-block;
	width: 14px;
	color: var(--moor-muted);
	font-size: 12px;
	transition: transform 0.15s ease;
}

.moor-cat-acc-trigger[aria-expanded="true"] .moor-chevron,
.moor-acc-trigger[aria-expanded="true"] .moor-chevron {
	transform: rotate(90deg);
}

.moor-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 12px;
	background: #e9ecef;
	color: var(--moor-muted);
	font-size: 12px;
	font-weight: 700;
}

.moor-cat-panel[hidden],
.moor-acc-panel[hidden] {
	display: none !important;
}

.moor-cat-panel:not([hidden]) {
	border-top: 1px solid var(--moor-border);
}

.moor-cat-desc {
	margin: 0;
	padding: 13px 14px 8px;
	font-size: 14px;
}

.moor-acc-root {
	padding: 0 14px 14px;
}

.moor-acc-trigger {
	padding: 10px 8px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	background: #fff;
}

.moor-acc-panel {
	padding: 8px 8px 12px 28px;
	border-bottom: 1px solid #eee;
	font-size: 13px;
	color: #444;
}

.moor-cookie-line {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.moor-cookie-line:last-child {
	border-bottom: 0;
}

.moor-cookie-line strong,
.moor-cookie-line .moor-meta {
	display: block;
}

.moor-cookie-line strong {
	margin-bottom: 4px;
}

.moor-cookie-line .moor-meta {
	margin-top: 4px;
	color: var(--moor-muted);
	font-size: 12px;
}

.moor-privacy-mini {
	margin: 6px 0 0;
	font-size: 12px;
}

.moor-switch {
	position: relative;
	width: 48px;
	height: 26px;
	margin: 0 14px 0 10px;
	flex: 0 0 auto;
}

.moor-switch input {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}

.moor-slider {
	position: absolute;
	inset: 0;
	border-radius: 26px;
	background: #c7c7c7;
	cursor: pointer;
	transition: 0.2s;
}

.moor-slider::before {
	content: "";
	position: absolute;
	left: 3px;
	bottom: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: 0.2s;
}

.moor-switch input:checked + .moor-slider {
	background: var(--moor-red);
}

.moor-switch input:checked + .moor-slider::before {
	transform: translateX(22px);
}

.moor-switch input:disabled + .moor-slider {
	cursor: not-allowed;
	opacity: 0.85;
}

#moor-consent-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 15px 22px;
	border-top: 1px solid var(--moor-border);
}

#moor-consent-footer .moor-btn-group {
	margin-right: auto;
}

.moor-btn {
	padding: 10px 17px;
	border: 1px solid var(--moor-border);
	border-radius: 6px;
	background: #fff;
	color: var(--moor-dark);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.moor-btn:hover {
	border-color: #bbb;
}

.moor-btn-primary {
	border-color: var(--moor-red);
	background: var(--moor-red);
	color: #fff;
}

.moor-btn-primary:hover {
	border-color: var(--moor-red-dark);
	background: var(--moor-red-dark);
	color: #fff;
}

.moor-about-block {
	margin: 0;
	white-space: pre-wrap;
}

#moor-consent-fab {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 100040;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: #e30613;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(227, 6, 19, 0.35);
	cursor: pointer;
}

#moor-consent-fab:hover {
	background: #b60510;
}

#moor-consent-fab svg {
	width: 26px;
	height: 26px;
}

#moor-consent-toast {
	position: fixed;
	inset: 0;
	z-index: 100060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.35);
}

#moor-consent-toast-box {
	width: 100%;
	max-width: 420px;
	padding: 20px;
	border-radius: 8px;
	background: #434143;
	color: #fff;
	box-shadow: var(--moor-shadow);
}

#moor-consent-toast-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 800;
}

#moor-consent-toast-text {
	margin: 0 0 16px;
}

#moor-consent-toast-ok {
	float: right;
	padding: 8px 20px;
	border: 0;
	border-radius: 4px;
	background: #e30613;
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

html.moor-consent-open {
	overflow: hidden;
}

@media (max-width: 576px) {
	#moor-consent-footer {
		flex-direction: column;
		align-items: stretch;
	}

	#moor-consent-footer .moor-btn-group {
		margin-right: 0;
		order: 2;
	}

	.moor-btn-primary {
		width: 100%;
		order: 1;
	}
}
