/* Encart « Alertes près de chez toi » (accueil, notices).
   Masqué par défaut (attribut hidden) : push-notify.js ne l'affiche que si
   l'appareil gère les notifications, n'est pas déjà abonné et ne les a pas
   refusées. Couleurs reprises des variables de la page (--ink, --soft,
   --blue, --action) ; corail réservé au bouton, comme partout ailleurs. */
.sos-push-carte[hidden] { display: none !important; }
.sos-push-carte {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 22px;
  padding: 24px 28px; border-radius: 24px;
  background: var(--card, #fff); color: var(--ink, #0f1a30);
  box-shadow: 0 6px 20px rgba(14, 42, 110, 0.06);
  font-family: 'Hanken Grotesk', sans-serif;
}
[data-theme="dark"] .sos-push-carte { background: #15213a; border: 1px solid rgba(255, 255, 255, 0.09); box-shadow: none; }

.sos-push-ico {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(30, 87, 210, 0.10); color: var(--blue, #1e57d2);
}
.sos-push-ico svg { width: 24px; height: 24px; }
.sos-push-carte.est-ok .sos-push-ico { background: rgba(15, 145, 86, 0.12); color: #0f9156; }

.sos-push-txt { flex: 1; min-width: 0; }
.sos-push-kicker { font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue, #1e57d2); margin-bottom: 6px; }
.sos-push-titre { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; margin: 0; line-height: 1.25; }
.sos-push-p { font-size: 14px; line-height: 1.5; color: var(--soft, #4a5872); margin: 6px 0 0; max-width: 520px; }
.sos-push-err { font-size: 13px; font-weight: 700; color: var(--action-txt, #d6361a); margin: 8px 0 0; }

.sos-push-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--action, #d6361a); color: #fff;
  font: 800 15px/1 'Hanken Grotesk', sans-serif; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.sos-push-btn:hover { background: var(--action-h, #b92d13); }
.sos-push-btn:active { transform: scale(0.98); }
.sos-push-btn:focus-visible { outline: 3px solid var(--blue, #1e57d2); outline-offset: 3px; }
.sos-push-btn[disabled] { opacity: .6; cursor: progress; }
.sos-push-btn svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .sos-push-carte { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .sos-push-btn { width: 100%; justify-content: center; }
}
