.pwa-prompt[hidden] {
	display: none !important;
}

.pwa-prompt {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99999;
	width: min(360px, calc(100vw - 24px));
	color: #ffffff;
	pointer-events: none;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.pwa-prompt.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.pwa-prompt__panel {
	position: relative;
	overflow: hidden;
	pointer-events: auto;
	display: grid;
	gap: 12px;
	border-radius: 22px;
	padding: 18px 18px 16px;
	background: linear-gradient(145deg, rgba(23, 160, 129, 0.98), rgba(10, 96, 78, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(12px);
	font-family: inherit;
}

.pwa-prompt__panel::before {
	content: "";
	position: absolute;
	inset: -48px auto auto -48px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.pwa-prompt__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pwa-prompt__eyebrow {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.82;
}

.pwa-prompt__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.15;
}

.pwa-prompt__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.pwa-prompt__steps {
	margin: 0;
	padding-left: 20px;
	display: grid;
	gap: 6px;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
}

.pwa-prompt__steps[hidden] {
	display: none !important;
}

.pwa-prompt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pwa-prompt__button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 11px 16px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	background: #ffffff;
	color: #0d6e58;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.pwa-prompt__button--ghost {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.34);
	box-shadow: none;
}

.pwa-prompt__button:hover,
.pwa-prompt__button:focus-visible,
.pwa-prompt__close:hover,
.pwa-prompt__close:focus-visible {
	transform: translateY(-1px);
}

.pwa-prompt__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 20px;
	cursor: pointer;
	transition: transform 160ms ease, background-color 160ms ease;
}

@media (max-width: 640px) {
	.pwa-prompt {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
	}

	.pwa-prompt__panel {
		border-radius: 18px;
		padding: 16px 16px 14px;
	}

	.pwa-prompt__title {
		font-size: 18px;
	}
}

@media (max-width: 420px) {
	.pwa-prompt__actions {
		flex-direction: column;
	}

	.pwa-prompt__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pwa-prompt,
	.pwa-prompt__button,
	.pwa-prompt__close {
		transition: none !important;
	}
}
