/* Banniere d'installation PWA -- affichee quand le navigateur signale que
   l'app peut etre installee (evenement beforeinstallprompt, Chrome/Edge
   uniquement). Comportement type bandeau cookies : reste affichee tant que
   l'utilisateur n'a pas explicitement tranche (installer ou fermer), voir
   assets/pwa/pwa-install-banner.js. Fichier dedie (pas custom-style.css)
   car chargee aussi sur les pages de connexion, qui n'utilisent pas le
   meme systeme de design. */
.wf-pwa-install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  padding: 14px 16px;
  max-width: 560px;
  margin: 0 auto;
  font-family: inherit;
}
.wf-pwa-install-banner[hidden] { display: none; }

.wf-pwa-install-icon img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: block;
}

.wf-pwa-install-text { flex: 1; min-width: 0; }
.wf-pwa-install-text strong {
  display: block;
  font-size: .95rem;
  color: #0F172A;
  margin-bottom: 2px;
}
.wf-pwa-install-text span {
  display: block;
  font-size: .8rem;
  color: #64748B;
  line-height: 1.45;
}

.wf-pwa-install-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.wf-pwa-install-btn {
  background: #10B981;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s cubic-bezier(.22, .61, .36, 1);
}
.wf-pwa-install-btn:hover { background: #059669; }

.wf-pwa-install-close {
  background: transparent;
  border: 0;
  color: #94A3B8;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.wf-pwa-install-close:hover { color: #0F172A; }

@media (max-width: 575.98px) {
  .wf-pwa-install-banner { flex-wrap: wrap; left: 10px; right: 10px; bottom: 10px; }
  .wf-pwa-install-text { order: 1; flex-basis: 100%; }
  .wf-pwa-install-icon { order: 0; }
  .wf-pwa-install-actions { order: 2; flex-basis: 100%; justify-content: flex-end; margin-top: 6px; }
}
