/* "Get notified" prompt: a centred card on desktop, a bottom sheet on phones. Allow is the big button, Not now sits quietly under it. */
#pushNotificationPrompt { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#pushNotificationPrompt .modal-dialog { max-width: 400px; margin-left: auto; margin-right: auto; padding: 0 14px; }
#pushNotificationPrompt .pp-card {
  position: relative;
  overflow: hidden;
  padding: 30px 24px calc(22px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(6, 78, 59, 0.28), 0 4px 14px rgba(15, 23, 42, 0.08);
}
#pushNotificationPrompt .pp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 128px;
  background: linear-gradient(180deg, #ecfdf5 0%, rgba(236, 253, 245, 0) 100%);
  pointer-events: none;
}
#pushNotificationPrompt .pp-bell {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.9rem;
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.35);
}
#pushNotificationPrompt .pp-bell::before,
#pushNotificationPrompt .pp-bell::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.35);
  animation: ppRing 2.4s ease-out infinite;
}
#pushNotificationPrompt .pp-bell::after { animation-delay: 1.2s; }
#pushNotificationPrompt .pp-bell i { display: inline-block; transform-origin: 50% 12%; animation: ppRing2 3s ease-in-out infinite; }
@keyframes ppRing { from { transform: scale(.86); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
@keyframes ppRing2 { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 88% { transform: rotate(8deg); } 94% { transform: rotate(-4deg); } }
#pushNotificationPrompt .pp-title {
  position: relative;
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}
#pushNotificationPrompt .pp-text {
  position: relative;
  max-width: none;
  margin: 0 auto 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
}
#pushNotificationPrompt .pp-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
#pushNotificationPrompt .pp-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
}
#pushNotificationPrompt .pp-actions { position: relative; display: flex; flex-direction: column; gap: 8px; }
#pushNotificationPrompt .pp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 16px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
#pushNotificationPrompt .pp-btn:active { transform: scale(0.985); }
#pushNotificationPrompt .pp-btn:focus-visible { outline: 2px solid #10b981; outline-offset: 3px; }
#pushNotificationPrompt .pp-allow {
  min-height: 54px;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 12px 26px rgba(5, 150, 105, 0.32);
}
#pushNotificationPrompt .pp-allow:hover { box-shadow: 0 14px 30px rgba(5, 150, 105, 0.42); }
#pushNotificationPrompt .pp-deny {
  min-height: 46px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
}
#pushNotificationPrompt .pp-deny:hover { background: #f1f5f9; color: #334155; }
#pushNotificationPrompt .pp-note { position: relative; margin: 10px 0 0; font-size: 0.72rem; color: #94a3b8; }
@media (max-width: 575.98px) {
  #pushNotificationPrompt .modal-dialog { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: 0; max-width: none; min-height: 0; align-items: flex-end; }
  #pushNotificationPrompt .pp-card { border-radius: 28px 28px 0 0; }
  #pushNotificationPrompt.fade .modal-dialog { transform: translateY(40px); }
  #pushNotificationPrompt.show .modal-dialog { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #pushNotificationPrompt .pp-bell::before, #pushNotificationPrompt .pp-bell::after, #pushNotificationPrompt .pp-bell i { animation: none; }
}
