/* Arabic PWA - Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

.arabic-pwa-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999999;
	direction: rtl;
	padding: 0 12px 12px;
	transform: translateY(0);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
.arabic-pwa-banner.arabic-pwa-hidden {
	transform: translateY(120%);
	opacity: 0;
	pointer-events: none;
}
.arabic-pwa-banner-inner {
	background: #fff;
	border-radius: 16px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
	border: 1px solid rgba(0,0,0,0.06);
}
.arabic-pwa-icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	object-fit: cover;
	flex-shrink: 0;
}
.arabic-pwa-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.arabic-pwa-info strong {
	font-family: 'Tajawal', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	display: block;
}
.arabic-pwa-info span {
	font-family: 'Tajawal', sans-serif;
	font-size: 12px;
	color: #64748b;
	display: block;
}
.arabic-pwa-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}
.arabic-pwa-btn-install {
	background: linear-gradient(135deg, #0073aa, #00a0d2);
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 8px 18px;
	font-family: 'Tajawal', sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}
.arabic-pwa-btn-install:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0,115,170,0.4);
}
.arabic-pwa-btn-dismiss {
	background: none;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	cursor: pointer;
	font-size: 12px;
	color: #9ca3af;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
}
.arabic-pwa-btn-dismiss:hover {
	background: #f3f4f6;
	color: #374151;
}

@media (max-width: 480px) {
	.arabic-pwa-banner { padding: 0 8px 8px; }
	.arabic-pwa-banner-inner { padding: 12px; gap: 10px; }
	.arabic-pwa-icon { width: 44px; height: 44px; }
	.arabic-pwa-btn-install { padding: 7px 14px; font-size: 12px; }
}

/* iOS Instructions */
.arabic-pwa-ios-instructions {
	background: #f8fafc;
	border-top: 1px solid #e5e7eb;
	padding: 14px 16px;
	border-radius: 0 0 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.arabic-pwa-ios-instructions.arabic-pwa-hidden { display: none; }
.ios-step {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Tajawal', sans-serif;
	font-size: 13px;
	color: #374151;
	direction: rtl;
}
.ios-step-num {
	width: 22px;
	height: 22px;
	background: #0073aa;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
}
