/* GI Cookie Consent — matches ShrimpWeb brand (purple #8559A5 → teal #59a59a) */

.gi-cc {
	--gi-cc-purple: #8559a5;
	--gi-cc-teal: #59a59a;
	--gi-cc-link: #8fd0c8;
	--gi-cc-grad: linear-gradient(90deg, #8559a5 10%, #59a59a 90%);
	--gi-cc-radius: 16px;
	--gi-cc-radius-btn: 12px;

	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	z-index: 2147483000 !important;
	padding: 16px;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	pointer-events: auto !important;
	display: block !important;
}

.gi-cc[hidden],
.gi-cc__reopen[hidden] {
	display: none !important;
}

.gi-cc__panel {
	max-width: 720px;
	margin: 0 auto;
	padding: 22px 24px;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(133, 89, 165, 0.28) 0%, transparent 55%),
		radial-gradient(100% 70% at 100% 100%, rgba(89, 165, 154, 0.22) 0%, transparent 50%),
		#1c1824;
	color: #f4f1f8;
	border: 1px solid rgba(133, 89, 165, 0.35);
	border-radius: var(--gi-cc-radius);
	box-shadow:
		0 -8px 40px rgba(28, 24, 36, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.gi-cc__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	line-height: 1.3;
	color: #fff;
}

.gi-cc__text {
	margin: 0 0 16px;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(244, 241, 248, 0.84);
}

.gi-cc__text a {
	color: var(--gi-cc-link);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease;
}

.gi-cc__text a:hover,
.gi-cc__text a:focus-visible {
	color: #b8e4de;
}

.gi-cc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gi-cc__btn {
	appearance: none;
	border: 1px solid rgba(196, 168, 224, 0.35);
	background: rgba(255, 255, 255, 0.04);
	color: #f4f1f8;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 10px 16px;
	cursor: pointer;
	min-height: 44px;
	flex: 1 1 auto;
	min-width: 120px;
	border-radius: var(--gi-cc-radius-btn);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.gi-cc__btn:hover,
.gi-cc__btn:focus-visible {
	background: rgba(133, 89, 165, 0.22);
	border-color: rgba(133, 89, 165, 0.55);
	outline: none;
}

.gi-cc__btn--primary {
	background: var(--gi-cc-grad);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(133, 89, 165, 0.35);
}

.gi-cc__btn--primary:hover,
.gi-cc__btn--primary:focus-visible {
	filter: brightness(1.06);
	background: var(--gi-cc-grad);
	border-color: transparent;
	color: #fff;
}

.gi-cc__cats {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.gi-cc__cat {
	padding: 12px 14px;
	border: 1px solid rgba(133, 89, 165, 0.28);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 12px;
}

.gi-cc__cat-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 0.92rem;
	cursor: pointer;
	color: #f4f1f8;
}

.gi-cc__cat-label input {
	width: 18px;
	height: 18px;
	accent-color: var(--gi-cc-teal);
	border-radius: 4px;
}

.gi-cc__cat-desc {
	margin: 6px 0 0 28px;
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(244, 241, 248, 0.68);
}

.gi-cc__reopen {
	position: fixed !important;
	left: 12px !important;
	bottom: 12px !important;
	z-index: 2147482990 !important;
	appearance: none;
	border: 1px solid rgba(133, 89, 165, 0.35);
	background: #fff;
	color: var(--gi-cc-purple);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 8px 14px;
	cursor: pointer;
	border-radius: 999px;
	box-shadow: 0 2px 14px rgba(133, 89, 165, 0.18);
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.gi-cc__reopen:hover,
.gi-cc__reopen:focus-visible {
	outline: none;
	background: var(--gi-cc-grad);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 16px rgba(133, 89, 165, 0.3);
}

.gi-cc:not([hidden]) ~ .gi-cc__reopen {
	visibility: hidden;
	pointer-events: none;
}

.gi-cc [data-gi-i18n],
.gi-cc__reopen [data-gi-i18n] {
	display: none !important;
}

.gi-cc[data-gi-i18n-active="en"] [data-gi-i18n="en"],
.gi-cc__reopen[data-gi-i18n-active="en"] [data-gi-i18n="en"],
.gi-cc[data-gi-i18n-active="de"] [data-gi-i18n="de"],
.gi-cc__reopen[data-gi-i18n-active="de"] [data-gi-i18n="de"] {
	display: inline !important;
}

.gi-cc__text [data-gi-i18n] a {
	display: inline !important;
}

@media (max-width: 560px) {
	.gi-cc {
		padding: 10px;
	}

	.gi-cc__panel {
		max-width: none;
		padding: 18px 16px 20px;
		border-radius: 14px;
	}

	.gi-cc__btn {
		flex: 1 1 100%;
	}

	.gi-cc__reopen {
		left: 8px;
		bottom: 8px;
		font-size: 0.7rem;
		padding: 7px 12px;
	}
}
