/*
 * Analytics notice banner.
 * Scoped to .gw-cookie-notice so it can't leak into other UI.
 */

.gw-cookie-notice {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000;
	margin: 0;
	background: rgba(0, 0, 0, 0.8);
	color: var(--white, #ffffff);
	border: 1px solid var(--primary, #BD8565);
	border-radius: 4px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(6px);
	padding: 18px 44px 18px 20px;
	font-size: 14px;
	line-height: 1.5;
	transform: translateY(12px);
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.gw-cookie-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.gw-cookie-notice p {
	margin: 0;
	text-align: center;
}

.gw-cookie-notice a {
	color: var(--secondary, #8CD1CB);
	text-decoration: underline;
}

.gw-cookie-notice__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: var(--white, #ffffff);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.gw-cookie-notice__close:hover,
.gw-cookie-notice__close:focus {
	opacity: 0.7;
}

@media (max-width: 480px) {
	.gw-cookie-notice {
		left: 12px;
		right: 12px;
		bottom: 12px;
		padding: 16px 40px 16px 16px;
	}
}
