/* PWA Pro – Frontend styles */

.pwa-pro-prompt {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999999;
	padding: 12px 16px;
	background: #fff;
	box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
	font-family: var(--pwa-pro-font-family, inherit);
	direction: inherit;
	animation: pwa-pro-slide-up 0.35s ease;
}

.pwa-pro-prompt--bottom {
	bottom: 0;
	border-radius: 16px 16px 0 0;
}

.pwa-pro-prompt--top {
	top: 0;
	border-radius: 0 0 16px 16px;
	animation: pwa-pro-slide-down 0.35s ease;
}

.pwa-pro-prompt__inner {
	max-width: 560px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pwa-pro-prompt__content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pwa-pro-prompt__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
	flex-shrink: 0;
}

.pwa-pro-prompt__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pwa-pro-prompt__text strong {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.pwa-pro-prompt__text span {
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

.pwa-pro-prompt__actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.pwa-pro-prompt__dismiss,
.pwa-pro-prompt__install {
	border: none;
	border-radius: 10px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
}

.pwa-pro-prompt__dismiss {
	background: #f1f5f9;
	color: #475569;
}

.pwa-pro-prompt__install {
	background: #0f172a;
	color: #fff;
}

.pwa-pro-prompt__dismiss:hover,
.pwa-pro-prompt__install:hover {
	opacity: 0.9;
}

.pwa-pro-prompt__install:active {
	transform: scale(0.97);
}

@keyframes pwa-pro-slide-up {
	from { transform: translateY(100%); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

@keyframes pwa-pro-slide-down {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

/* Hide on very small screens if needed – still usable */
@media (max-width: 360px) {
	.pwa-pro-prompt__text span {
		display: none;
	}
}
