.sdmbridge-consent-root {
	--sdmb-consent-primary: #1d2327;
	--sdmb-consent-primary-text: #fff;
	--sdmb-consent-secondary: #6b7280;
	--sdmb-consent-secondary-text: #fff;
	--sdmb-consent-overlay: .08;
	box-sizing: border-box;
	color: #171717;
	font-family: inherit;
	position: relative;
	z-index: 2147483646;
}
.sdmbridge-consent-root[hidden] {
	display: none !important;
}
.sdmbridge-consent-overlay {
	align-items: flex-end;
	background: rgba(0, 0, 0, var(--sdmb-consent-overlay));
	box-sizing: border-box;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 18px;
	position: fixed;
	z-index: 2147483646;
}
.sdmbridge-consent-panel {
	background: #fff;
	border: 1px solid rgba(23, 23, 23, .12);
	border-radius: 22px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
	box-sizing: border-box;
	color: #171717;
	max-height: calc(100dvh - 36px);
	overflow: auto;
	padding: 24px;
	position: relative;
	width: min(720px, 100%);
}
.sdmbridge-consent-panel h2 {
	color: #171717;
	font-size: clamp(24px, 4vw, 32px);
	line-height: 1.15;
	margin: 0 48px 10px 0;
}
.sdmbridge-consent-panel[dir="rtl"] h2 {
	margin-left: 48px;
	margin-right: 0;
}
.sdmbridge-consent-introduction {
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 18px;
}
.sdmbridge-consent-language {
	-webkit-appearance: none;
	appearance: none;
	background: #f2f3f5;
	border: 0;
	border-radius: 999px;
	color: #171717;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	height: 38px;
	padding: 0;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 38px;
}
.sdmbridge-consent-panel[dir="rtl"] .sdmbridge-consent-language {
	left: 20px;
	right: auto;
}
.sdmbridge-consent-choices {
	border-bottom: 1px solid #e8e8ea;
	border-top: 1px solid #e8e8ea;
	margin: 4px 0 16px;
}
.sdmbridge-consent-category {
	align-items: flex-start;
	border-bottom: 1px solid #eeeeef;
	color: #171717;
	cursor: pointer;
	display: flex;
	gap: 12px;
	padding: 14px 0;
}
.sdmbridge-consent-category:last-child {
	border-bottom: 0;
}
.sdmbridge-consent-category input {
	accent-color: var(--sdmb-consent-primary);
	flex: 0 0 auto;
	height: 20px;
	margin: 2px 0 0;
	width: 20px;
}
.sdmbridge-consent-category span {
	display: grid;
	gap: 3px;
}
.sdmbridge-consent-category strong {
	color: #171717;
	font-size: 15px;
}
.sdmbridge-consent-category small {
	color: #4a4a4a;
	font-size: 13px;
	line-height: 1.45;
}
.sdmbridge-consent-category.is-required {
	cursor: default;
}
.sdmbridge-consent-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0 0 16px;
}
.sdmbridge-consent-legal a,
.sdmbridge-consent-inline-trigger {
	background: transparent;
	border: 0;
	color: #363636;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sdmbridge-consent-actions {
	display: grid;
	gap: 9px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sdmbridge-consent-button {
	-webkit-appearance: none;
	appearance: none;
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	min-height: 46px;
	padding: 10px 15px;
}
.sdmbridge-consent-button.is-primary {
	background: var(--sdmb-consent-primary);
	color: var(--sdmb-consent-primary-text);
}
.sdmbridge-consent-button.is-secondary {
	background: var(--sdmb-consent-secondary);
	color: var(--sdmb-consent-secondary-text);
}
.sdmbridge-consent-button.is-text {
	background: #f2f3f5;
	border-color: #dddfe3;
	color: #171717;
	grid-column: 1 / -1;
}
.sdmbridge-consent-button:focus-visible,
.sdmbridge-consent-language:focus-visible,
.sdmbridge-consent-reopen:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--sdmb-consent-primary) 35%, transparent);
	outline-offset: 2px;
}
.sdmbridge-consent-reopen {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	border: 1px solid rgba(23, 23, 23, .16);
	border-radius: 999px;
	bottom: 14px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
	color: #171717;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	left: 14px;
	padding: 8px 12px;
	position: fixed;
	z-index: 2147483000;
}
html[dir="rtl"] .sdmbridge-consent-reopen {
	left: auto;
	right: 14px;
}
@media (min-width: 783px) {
	.sdmbridge-consent-overlay {
		align-items: flex-end;
		justify-content: flex-start;
		padding: 28px;
	}
	.sdmbridge-consent-panel {
		width: min(620px, calc(100vw - 56px));
	}
	html[dir="rtl"] .sdmbridge-consent-overlay {
		justify-content: flex-end;
	}
}
@media (max-width: 520px) {
	.sdmbridge-consent-overlay {
		padding: 10px;
	}
	.sdmbridge-consent-panel {
		border-radius: 18px;
		max-height: calc(100dvh - 20px);
		padding: 20px;
	}
	.sdmbridge-consent-actions {
		grid-template-columns: 1fr;
	}
	.sdmbridge-consent-button.is-text {
		grid-column: auto;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.sdmbridge-consent-panel {
		animation: sdmbridge-consent-enter .24s cubic-bezier(.2, .8, .2, 1) both;
	}
}
@keyframes sdmbridge-consent-enter {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}
