/* SURFIRAN Cookie Consent — minimal Consent Mode v2 banner.
 * Theme via these tokens (override in Settings → Cookie Consent → Style,
 * or in your own CSS): --sfcc-bg, --sfcc-accent, --sfcc-text, --sfcc-radius. */

#sf-cb,
#sf-privacy-btn {
	--sfcc-bg: #0a2f4c;
	--sfcc-accent: #e98a00;
	--sfcc-text: #ffffff;
	--sfcc-radius: 12px;
}

#sf-cb {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9999;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: var(--sfcc-bg, #0a2f4c);
	color: var(--sfcc-text, #fff);
	padding: 14px;
	font-family: 'Hanken Grotesk', system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	border-radius: var(--sfcc-radius, 12px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
	box-sizing: border-box;
}
#sf-cb *,
#sf-cb *::before,
#sf-cb *::after { box-sizing: border-box; }
.sf-cb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}
.sf-cb-intro {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: 13px;
}
.sf-cb-cookie { color: var(--sfcc-accent, #e98a00); }
.sf-cb-policy-link {
	color: rgba(255, 255, 255, 0.65);
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}
.sf-cb-policy-link:hover { color: #fff; }
.sf-cb-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	margin: 0 0 12px;
}
.sf-cb-ic { width: 15px; height: 15px; flex-shrink: 0; }
.sf-cb-row {
	display: flex;
	gap: 8px;
	align-items: center;
}
.sf-cb-row-end { justify-content: flex-end; }
.sf-cb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	padding: 9px 14px;
	cursor: pointer;
	line-height: 1;
	color: var(--sfcc-text, #fff);
}
.sf-cb-btn-primary { background: var(--sfcc-accent, #e98a00); }
.sf-cb-btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	outline: 1px solid rgba(255, 255, 255, 0.25);
	outline-offset: -1px;
}
.sf-cb-btn-icon {
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	padding: 6px;
	border-radius: 6px;
}
.sf-cb-btn-icon:hover { color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.08); }
/* Accept and Reject share the row equally */
#sf-cb-accept,
#sf-cb-reject { flex: 1; }
.sf-cb-btn:hover { opacity: 0.9; }
.sf-cb-btn:focus-visible {
	outline: 3px solid var(--sfcc-accent, #e98a00);
	outline-offset: 2px;
}
.sf-cb-toggles {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}
.sf-cb-toggle {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}
.sf-cb-toggle input[type='checkbox'] {
	margin-top: 2px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--sfcc-accent, #e98a00);
}
.sf-cb-toggle-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.sf-cb-toggle-text strong { font-size: 13px; }
.sf-cb-toggle-text span { font-size: 12px; opacity: 0.75; }
#sf-privacy-btn {
	position: fixed;
	bottom: 12px;
	left: 12px;
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--sfcc-bg, #0a2f4c);
	color: var(--sfcc-text, #fff);
	opacity: 0.92;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
#sf-privacy-btn:hover { opacity: 1; }
#sf-privacy-btn:focus-visible { outline: 3px solid var(--sfcc-accent, #e98a00); outline-offset: 2px; }

/* Right-aligned variant */
#sf-cb.sf-cb-pos-right { left: auto; right: 16px; }
#sf-privacy-btn.sf-cb-pos-right { left: auto; right: 12px; }

@media (max-width: 600px) {
	#sf-cb,
	#sf-cb.sf-cb-pos-right {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		max-width: none;
	}
}
