/*
 * StreamClub Cookie Consent - portable, nicht-blockierende
 * Cookie-Hinweisleiste. Komplett eigenstaendig (keine Abhaengigkeit von
 * einem bestimmten Site-Theme) - Farben kommen aus den Modul-Parametern
 * (CSS-Variablen auf der Leiste selbst, siehe tmpl/default.php).
 */

.sc-cookieconsent-bar {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 2147483000;
	background-color: var(--sc-cc-bg, #121212);
	color: var(--sc-cc-text, #f5f5f5);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.5);
}

.sc-cookieconsent-bar--bottom {
	bottom: 0;
}

.sc-cookieconsent-bar--top {
	top: 0;
}

.sc-cookieconsent-bar * {
	box-sizing: border-box;
}

.sc-cookieconsent-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.sc-cookieconsent-text {
	margin: 0;
	flex: 1 1 320px;
	font-size: 0.85rem;
	line-height: 1.5;
}

.sc-cookieconsent-text a {
	color: var(--sc-cc-accent, #d4af37);
	text-decoration: underline;
	margin-left: 4px;
}

.sc-cookieconsent-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

.sc-cookieconsent-btn {
	padding: 10px 18px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid transparent;
	white-space: nowrap;
	transition: filter 0.15s ease, background-color 0.15s ease;
}

.sc-cookieconsent-btn--accept {
	background-color: var(--sc-cc-accent, #d4af37);
	color: #000;
}

.sc-cookieconsent-btn--accept:hover,
.sc-cookieconsent-btn--accept:focus {
	filter: brightness(1.1);
}

.sc-cookieconsent-btn--decline {
	background-color: transparent;
	color: var(--sc-cc-text, #f5f5f5);
	border-color: rgba(255, 255, 255, 0.25);
}

.sc-cookieconsent-btn--decline:hover,
.sc-cookieconsent-btn--decline:focus {
	background-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
	.sc-cookieconsent-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.sc-cookieconsent-buttons {
		justify-content: stretch;
	}

	.sc-cookieconsent-btn {
		flex: 1 1 auto;
	}
}
