/**
 * Sonik Core — consent banner baseline styling.
 * Theme-agnostic so the banner is legible on any Sonik theme; themes may
 * override .sonik-consent rules in their own stylesheets.
 */
.sonik-consent {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	width: calc(100% - 2rem);
	max-width: 640px;
	z-index: 99999;
	background: #111;
	color: #f4f4f4;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	font-size: 14px;
	line-height: 1.5;
}

.sonik-consent[hidden] {
	display: none;
}

.sonik-consent__panel {
	padding: 1.1rem 1.2rem;
}

.sonik-consent__panel[hidden] {
	display: none;
}

.sonik-consent__title {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	font-weight: 600;
}

.sonik-consent__intro {
	margin: 0 0 0.75rem;
	opacity: 0.85;
}

.sonik-consent__link {
	margin: 0 0 0.75rem;
}

.sonik-consent__link a {
	color: inherit;
	text-decoration: underline;
}

.sonik-consent__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sonik-consent__btn {
	flex: 1 1 auto;
	min-width: 110px;
	padding: 0.55rem 0.9rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.sonik-consent__btn--accept {
	background: #f4f4f4;
	color: #111;
	border-color: #f4f4f4;
}

.sonik-consent__btn:hover {
	opacity: 0.82;
}

.sonik-consent__categories {
	list-style: none;
	margin: 0 0 0.9rem;
	padding: 0;
}

.sonik-consent__category {
	padding: 0.6rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sonik-consent__category-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
}

.sonik-consent__category-name {
	font-weight: 600;
}

.sonik-consent__category-desc {
	margin: 0.3rem 0 0;
	opacity: 0.75;
	font-size: 13px;
}
