/* PWA install controls - lightweight and shared across admin pages */
.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(91, 22, 201, .18);
  border-radius: 13px;
  background: linear-gradient(135deg, #5b16c9, #7b2cbf);
  color: #fff;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(91, 22, 201, .20);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.pwa-install-btn:hover { transform: translateY(-1px); box-shadow: 0 11px 28px rgba(91, 22, 201, .25); }
.pwa-install-btn:active { transform: translateY(0); }
.pwa-install-btn i { font-size: 1rem; line-height: 1; }
.pwa-install-btn.is-installed {
  background: #f2f8f5;
  color: #168154;
  border-color: rgba(22,129,84,.18);
  box-shadow: none;
  cursor: default;
}
.pwa-install-short { display: none; }

.pwa-guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(24, 17, 46, .38);
  backdrop-filter: blur(4px);
}
.pwa-guide-card {
  width: min(100%, 430px);
  background: #fff;
  color: #231942;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(23, 20, 94, .24);
  direction: rtl;
  text-align: right;
  font-family: inherit;
}
.pwa-guide-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 900; }
.pwa-guide-card p { margin: 0 0 16px; color: #6c6485; line-height: 1.8; font-size: .91rem; }
.pwa-guide-steps { margin: 0 0 16px; padding: 0 19px 0 0; color: #3d3552; line-height: 1.9; font-size: .9rem; }
.pwa-guide-close {
  width: 100%; min-height: 44px; border: 0; border-radius: 13px;
  background: #5b16c9; color: #fff; font-family: inherit; font-weight: 800; cursor: pointer;
}
@media (max-width: 620px) {
  .pwa-install-btn { min-height: 38px; padding: 0 10px; border-radius: 11px; font-size: .76rem; }
  .pwa-install-full { display: none; }
  .pwa-install-short { display: inline; }
}
