@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700&display=swap');

.opw-pwa-banner {
	position: fixed;
	inset-inline: 12px;
	bottom: 12px;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #111111;
	color: #ffffff;
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	font-family: 'Vazirmatn', sans-serif;
	direction: rtl;
	text-align: right;
	transform: translateY(120%);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	max-width: 480px;
	margin-inline: auto;
}

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

.opw-pwa-banner__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 13px;
	line-height: 1.6;
}

.opw-pwa-banner__text strong {
	font-size: 15px;
	font-weight: 700;
}

.opw-pwa-banner__actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.opw-pwa-btn {
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	cursor: pointer;
	white-space: nowrap;
}

.opw-pwa-btn--primary {
	background: #ffffff;
	color: #111111;
}

.opw-pwa-btn--ghost {
	background: transparent;
	color: #cccccc;
}

@media (max-width: 480px) {
	.opw-pwa-banner {
		flex-direction: column;
		align-items: stretch;
	}
	.opw-pwa-banner__actions {
		justify-content: flex-end;
	}
}
