/* ═══════════════════════════════════════════════════════════════════════════
   WP Push Notify Pro — Subscription Prompt Widget
   ═══════════════════════════════════════════════════════════════════════════ */

.wppn-prompt {
  position: fixed;
  z-index: 999999;
  width: 320px;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  font-family: -apple-system, 'Inter', BlinkMacSystemFont, sans-serif;
}
.wppn-prompt.wppn-prompt-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Positions */
.wppn-prompt.wppn-pos-bottom-left  { bottom: 24px; left: 24px; }
.wppn-prompt.wppn-pos-bottom-right { bottom: 24px; right: 24px; }
.wppn-prompt.wppn-pos-top-left     { top: 24px; left: 24px; }
.wppn-prompt.wppn-pos-top-right    { top: 24px; right: 24px; }

/* Themes */
.wppn-prompt.wppn-theme-dark {
  background: rgba(15, 15, 30, .92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  color: #f1f1f1;
}
.wppn-prompt.wppn-theme-light {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,.08);
  color: #1e1e2e;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

/* Bell Icon */
.wppn-prompt-icon {
  font-size: 32px;
  text-align: center;
  margin-bottom: 8px;
  animation: wppn-bell 1.5s ease-in-out infinite;
}
@keyframes wppn-bell {
  0%, 100% { transform: rotate(0); }
  15%       { transform: rotate(-15deg); }
  30%       { transform: rotate(15deg); }
  45%       { transform: rotate(-10deg); }
  60%       { transform: rotate(10deg); }
  75%       { transform: rotate(0); }
}

/* Text */
.wppn-prompt-title {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
}
.wppn-prompt-body {
  font-size: 13px;
  text-align: center;
  opacity: .8;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* Actions */
.wppn-prompt-actions {
  display: flex;
  gap: 8px;
}
.wppn-prompt-btn {
  flex: 1;
  padding: 9px 0;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.wppn-prompt-btn:hover  { opacity: .85; transform: translateY(-1px); }
.wppn-prompt-btn:active { transform: scale(.97); }
.wppn-prompt-btn.wppn-allow {
  background: #6c63ff;
  color: #fff;
}
.wppn-prompt-btn.wppn-deny {
  background: rgba(255,255,255,.12);
  color: inherit;
  border: 1px solid rgba(255,255,255,.15);
}
.wppn-theme-light .wppn-prompt-btn.wppn-deny {
  background: #f1f5f9;
  color: #374151;
  border-color: #e5e7eb;
}

/* Close X */
.wppn-prompt-close {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  width: 24px; height: 24px;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  color: inherit; opacity: .6;
  transition: opacity .2s;
}
.wppn-prompt-close:hover { opacity: 1; }
.wppn-theme-light .wppn-prompt-close { background: rgba(0,0,0,.06); }

/* Mobile */
@media (max-width: 480px) {
  .wppn-prompt { width: calc(100vw - 32px); bottom: 16px !important; left: 16px !important; right: auto !important; top: auto !important; }
}
