.cookie-consent-root {
	position: fixed;
	z-index: 10000;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.cookie-consent-root[hidden] {
	display: none !important;
}

.cookie-consent-banner,
.cookie-consent-panel {
	pointer-events: auto;
	margin: 1rem;
	padding: 1rem 1.25rem;
	background: var(--fg-color, #fff);
	color: var(--text-color, #1f272e);
	border: 1px solid var(--border-color, #d1d8dd);
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.cookie-consent-banner__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.cookie-consent-banner__message {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	line-height: 1.45;
}

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

.cookie-consent-banner__links a {
	color: var(--primary, #2490ef);
	text-decoration: underline;
}

.cookie-consent-banner__actions,
.cookie-consent-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cookie-consent-panel__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
}

.cookie-consent-panel__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}

.cookie-consent-panel__close {
	border: none;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.25rem;
}

.cookie-consent-category {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	margin-bottom: 0.65rem;
	font-size: 0.9rem;
}

.cookie-consent-category input {
	margin-top: 0.2rem;
}

@media (max-width: 576px) {
	.cookie-consent-banner__actions,
	.cookie-consent-panel__actions {
		flex-direction: column;
	}

	.cookie-consent-banner__actions .btn,
	.cookie-consent-panel__actions .btn {
		width: 100%;
	}
}
