.cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 1050;
	display: flex;
	justify-content: center;
	pointer-events: auto;
}
.cookie-consent__inner {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	max-width: 980px;
	width: calc(100% - 40px);
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 16px;
	transition: transform 0.18s ease, opacity 0.18s ease;
}
.cookie-consent__text {
	flex: 1;
	text-align: left;
}
.cookie-consent__text p {
	margin: 6px 0 0;
	font-size: 0.95rem;
	color: #333;
}
.cookie-consent__actions {
	display: flex;
	gap: 8px;
	align-items: center;
}
.cookie-consent .btn {
	padding: 8px 14px;
	font-size: 0.95rem;
}

/* Mobile styles: full-width bottom sheet */
@media (max-width: 767.98px) {
	.cookie-consent {
		left: 0;
		right: 0;
		bottom: 0;
		display: block;
		padding: 0 8px;
	}
	.cookie-consent__inner {
		width: 100%;
		max-width: 100%;
		padding: 12px 12px 18px;
		border-radius: 12px 12px 0 0;
		box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
	}
	.cookie-consent__text {
		order: 1;
	}
	.cookie-consent__text p {
		font-size: 0.95rem;
		line-height: 1.35;
	}
	.cookie-consent__actions {
		order: 2;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
	.cookie-consent .btn {
		width: 100%;
		padding: 12px 14px;
		font-size: 1rem;
	}
	.cookie-consent .btn.inverted {
		background: transparent;
		border: 1px solid #ccc;
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.cookie-consent__inner {
		width: calc(100% - 80px);
	}
}

/* Accessibility: focus outline */
.cookie-consent .btn:focus {
	outline: 3px solid rgba(0, 123, 255, 0.25);
	outline-offset: 2px;
}
