/* ================================================================
   Push notification widget styles - /notifications module
   Theme-aware (uses the site's CSS variables) and mobile friendly.
   Positioned bottom-LEFT so it never collides with the live-support
   chat widget (bottom-right). Shown above the mobile bottom nav.
   ================================================================ */

.push-nw {
  --nw-gold: var(--gold, #ffd54a);
  --nw-bg: var(--bg-card, #151a2b);
  --nw-text: var(--text, #e9ecf5);
  --nw-text-dim: var(--text-dim, #98a2b8);
  --nw-border: var(--border, #2a3150);
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147482900;  /* just under the support widget */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: inherit;
}

.push-nw-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 40px);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0b0f1a;
  background: var(--nw-gold);
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.push-nw-fab:hover { transform: translateY(-1px); }
.push-nw.state-on .push-nw-fab { background: color-mix(in srgb, var(--nw-gold) 85%, transparent); }

.push-nw-card {
  display: none;
  width: 300px;
  max-width: calc(100vw - 40px);
  padding: 14px 16px;
  background: var(--nw-bg);
  color: var(--nw-text);
  border: 1px solid var(--nw-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.push-nw-card.open { display: block; animation: push-nw-pop 0.18s ease; }

@keyframes push-nw-pop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.push-nw-card-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.push-nw-card-text { font-size: 0.78rem; line-height: 1.5; color: var(--nw-text-dim); margin: 0 0 12px; }

.push-nw-actions { display: flex; gap: 8px; }
.push-nw-yes {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b0f1a;
  background: var(--nw-gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.push-nw-no {
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--nw-text-dim);
  background: transparent;
  border: 1px solid var(--nw-border);
  border-radius: 8px;
  cursor: pointer;
}

/* Sits above the mobile bottom nav on small screens. */
@media (max-width: 991.98px) {
  .push-nw { left: 14px; bottom: 74px; }
  .push-nw-card { width: min(86vw, 320px); }
}