/* =========================================================
   Banner PWA — barra teal full-width (layout sopra header)
   ========================================================= */

:root {
	--bx-pwa-banner-h: 0px;
}

html.bx-pwa-banner-open {
	--bx-pwa-banner-h: 56px;
}

html.bx-pwa-banner-open body {
	padding-top: var(--bx-pwa-banner-h) !important;
}

.bx-pwa-install-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	padding-top: calc(10px + env(safe-area-inset-top, 0));
	box-sizing: border-box;
	background: linear-gradient(90deg, #1a8a83 0%, #126d68 100%);
	color: #fff;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.35;
	transform: translateY(-100%);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
}

.bx-pwa-install-banner.bx-pwa-visible {
	transform: translateY(0);
	opacity: 1;
}

.bx-pwa-install-banner[hidden] {
	display: none !important;
}

.bx-pwa-install-emoji {
	flex-shrink: 0;
	font-size: 18px;
	line-height: 1;
}

.bx-pwa-install-message {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
}

.bx-pwa-install-cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px 14px;
	border: none;
	border-radius: 0;
	background: #fff;
	color: #1a237e;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.bx-pwa-install-cta:active {
	opacity: 0.88;
}

.bx-pwa-install-close {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.bx-pwa-install-close:active {
	background: rgba(255, 255, 255, 0.32);
}

@media (min-width: 783px) {
	.bx-pwa-install-banner {
		display: none !important;
	}

	html.bx-pwa-banner-open body {
		padding-top: 0 !important;
	}
}
