.sb-cookie-consent {
	--sb-cc-bg: #1e1e1e;
	--sb-cc-text: #ffffff;
	--sb-cc-btn-bg: #2271b1;
	--sb-cc-btn-text: #ffffff;
	--sb-cc-decline-bg: transparent;
	--sb-cc-decline-text: #ffffff;
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99999;
	padding: 1rem;
	background: var(--sb-cc-bg);
	color: var(--sb-cc-text);
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
	font-size: 0.95rem;
	line-height: 1.5;
	max-height: min(85vh, 720px);
	overflow: auto;
}

.sb-cookie-consent--bottom {
	bottom: 0;
}

.sb-cookie-consent--top {
	top: 0;
}

.sb-cookie-consent[hidden],
.sb-cookie-consent-reopen[hidden] {
	display: none !important;
}

.sb-cookie-consent__panel {
	max-width: 960px;
	margin: 0 auto;
}

.sb-cookie-consent__message,
.sb-cookie-consent__policy {
	margin: 0;
}

.sb-cookie-consent__policy {
	margin-top: 0.4rem;
}

.sb-cookie-consent__policy a,
.sb-cookie-consent-policy-link a {
	color: inherit;
	text-decoration: underline;
}

.sb-cookie-consent__details {
	margin: 1rem 0 0;
}

.sb-cookie-consent__details[hidden] {
	display: none !important;
}

.sb-cookie-consent__categories {
	margin: 0 0 1rem;
	display: grid;
	gap: 0.5rem;
}

.sb-cookie-consent__cat {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	padding: 0.35rem 0.75rem 0.55rem;
	background: rgba(0, 0, 0, 0.12);
}

.sb-cookie-consent__cat-summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	font-weight: 600;
}

.sb-cookie-consent__cat-summary::-webkit-details-marker {
	display: none;
}

.sb-cookie-consent__cat-desc,
.sb-cookie-consent__cat-empty {
	margin: 0.4rem 0 0;
	opacity: 0.9;
	font-size: 0.9em;
}

.sb-cookie-consent__cookie-list {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
	font-size: 0.88em;
}

.sb-cookie-consent__cookie-list li {
	margin-bottom: 0.35rem;
}

.sb-cookie-consent__cookie-list code {
	font-size: 0.95em;
}

.sb-cookie-consent__meta,
.sb-cookie-consent__purpose {
	display: block;
	opacity: 0.85;
}

.sb-cookie-consent__switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.sb-cookie-consent__switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.sb-cookie-consent__switch-ui {
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.35);
	position: relative;
	transition: background 0.15s ease;
}

.sb-cookie-consent__switch-ui::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s ease;
}

.sb-cookie-consent__switch input:checked + .sb-cookie-consent__switch-ui {
	background: var(--sb-cc-btn-bg);
}

.sb-cookie-consent__switch input:checked + .sb-cookie-consent__switch-ui::after {
	transform: translateX(18px);
}

.sb-cookie-consent__switch input:disabled + .sb-cookie-consent__switch-ui {
	opacity: 0.7;
	cursor: not-allowed;
}

.sb-cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: flex-end;
}

.sb-cookie-consent__btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.65rem 1.1rem;
}

.sb-cookie-consent__btn:hover,
.sb-cookie-consent__btn:focus-visible {
	opacity: 0.92;
}

.sb-cookie-consent__btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.sb-cookie-consent__btn--accept,
.sb-cookie-consent__btn--save {
	background: var(--sb-cc-btn-bg);
	color: var(--sb-cc-btn-text);
	border-color: var(--sb-cc-btn-bg);
}

.sb-cookie-consent__btn--save {
	opacity: 0.92;
}

.sb-cookie-consent__btn--settings {
	background: transparent;
	color: var(--sb-cc-text);
	border-color: currentColor;
}

.sb-cookie-consent__btn--decline {
	background: var(--sb-cc-decline-bg);
	color: var(--sb-cc-decline-text);
	border-color: currentColor;
}

.sb-cookie-consent__btn[hidden] {
	display: none !important;
}

.sb-cookie-consent-reopen {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 99998;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid rgba(91, 58, 26, 0.35);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff8ef;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.sb-cookie-consent-reopen__icon {
	display: flex;
	line-height: 0;
}

.sb-cookie-consent-reopen:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.sb-cookie-consent-policy-link {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 99997;
	background: var(--sb-cc-bg, #1e1e1e);
	color: var(--sb-cc-text, #fff);
	padding: 0.4rem 0.75rem;
	border-radius: 4px;
	font-size: 0.85rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.sb-cookie-policy__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0.75rem 0 1.5rem;
}

.sb-cookie-policy__table th,
.sb-cookie-policy__table td {
	border: 1px solid rgba(0, 0, 0, 0.12);
	padding: 0.5rem 0.65rem;
	text-align: left;
	vertical-align: top;
}

.sb-cookie-policy__empty {
	font-style: italic;
	opacity: 0.85;
}

.sb-cookie-policy__open {
	cursor: pointer;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 600px) {
	.sb-cookie-consent__actions {
		justify-content: stretch;
	}

	.sb-cookie-consent__btn {
		flex: 1 1 100%;
	}

	.sb-cookie-consent-policy-link {
		right: 0.75rem;
		bottom: 4.25rem;
	}
}
