/* SDB One Foundation — Cookie Consent banner (front-end, all visitors) */

.sdb-of-cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999998;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 16px 24px;
	background: #1d2327;
	color: #f0f0f1;
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	transition: transform 0.3s ease;
}

.sdb-of-cookie-banner.sdb-of-cookie-bottom {
	bottom: 0;
	transform: translateY( 100% );
	box-shadow: 0 -2px 20px rgba( 0, 0, 0, 0.2 );
}

.sdb-of-cookie-banner.sdb-of-cookie-top {
	top: 0;
	transform: translateY( -100% );
	box-shadow: 0 2px 20px rgba( 0, 0, 0, 0.2 );
}

.sdb-of-cookie-banner.is-visible {
	transform: translateY( 0 );
}

.sdb-of-cookie-text {
	flex: 1 1 320px;
	margin: 0;
}

.sdb-of-cookie-link {
	color: #66c6ff;
	text-decoration: underline;
}

.sdb-of-cookie-actions {
	flex: 0 0 auto;
	/* Keeps the button on the right when it wraps below the text on narrow screens. */
	margin-left: auto;
}

.sdb-of-cookie-accept {
	padding: 10px 22px;
	background: #2271b1;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.sdb-of-cookie-accept:hover {
	background: #135e96;
}

@media ( max-width: 600px ) {
	.sdb-of-cookie-banner {
		padding: 14px 16px;
	}
}
