/*
 * Bandeau cookies - voir ../../cookie_banner.php.
 * Version compacte (29/09/2026) : texte et bouton "OK" sur une seule ligne,
 * largeur limitée, centré en bas de l'écran. Le bouton passe sous le
 * texte uniquement si la place manque (petits écrans).
 */
.avosz-cookie-banner {
	position: fixed;
	left: 50%;
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%);
	z-index: 99999;
	box-sizing: border-box;
	width: max-content;
	max-width: calc(100% - 2rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1rem;
	padding: 0.625rem 0.75rem 0.625rem 1.25rem;
	border-radius: 8px;
	background: rgba(51, 51, 51, 0.97);
	color: #fff;
	text-align: center;
	font-family: inherit;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.avosz-cookie-banner__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: inherit;
}

.avosz-cookie-banner__button {
	flex-shrink: 0;
	padding: 0.4rem 1rem;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.avosz-cookie-banner__button:hover {
	background: #e6e6e6;
}

.avosz-cookie-banner__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.avosz-cookie-banner {
		padding: 0.625rem 0.75rem;
	}

	.avosz-cookie-banner__text {
		font-size: 0.85rem;
	}
}

@media print {
	.avosz-cookie-banner {
		display: none !important;
	}
}
