.strip-pwa-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.strip-pwa-overlay.is-open {
  display: flex;
}

.strip-pwa-overlay--front {
  z-index: 2147483646 !important;
}

.strip-pwa-modal {
  width: min(420px, 100%);
  background: linear-gradient(160deg, #141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(203, 162, 72, 0.45);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  color: #f5f5f5;
  font-family: inherit;
}

.strip-pwa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.strip-pwa-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8c874;
}

.strip-pwa-modal-close {
  border: 0;
  background: transparent;
  color: #bbb;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.strip-pwa-modal-body {
  padding: 1rem 1.1rem 0.5rem;
}

.strip-pwa-modal-body p {
  margin: 0 0 0.75rem;
  color: #cfcfcf;
  font-size: 0.9rem;
  line-height: 1.5;
}

.strip-pwa-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.strip-pwa-steps li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #ddd;
}

.strip-pwa-step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(203, 162, 72, 0.2);
  color: #e8c874;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.strip-pwa-modal-footer {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem 1.1rem;
}

.strip-pwa-btn {
  flex: 1;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

.strip-pwa-btn-primary {
  background: linear-gradient(135deg, #cba248, #a8842f);
  color: #111;
  border-color: rgba(203, 162, 72, 0.6);
}

.strip-pwa-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ddd;
  border-color: rgba(255, 255, 255, 0.12);
}

.strip-pwa-icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.strip-pwa-icon-row img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

/* Toast + hint notifications (menu latéral) */
.strip-push-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  z-index: 2147483646;
  max-width: min(92vw, 340px);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.strip-push-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.strip-push-toast--error {
  background: rgba(127, 29, 29, 0.95);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.strip-push-toast--success {
  background: rgba(20, 83, 45, 0.95);
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.pwa-notif-hint {
  margin: -0.35rem 0 0.5rem 0.85rem;
  padding: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #fca5a5;
}

.pwa-notif-hint--success {
  color: #86efac;
}
