/* PushForge opt-in prompt */
.pushforge-prompt {
  position: fixed;
  z-index: 999999;
  left: 20px;
  bottom: 20px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.pushforge-prompt.pf-visible {
  opacity: 1;
  transform: translateY(0);
}
.pushforge-prompt.pushforge-style-bar {
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
}

/* Native style: mimics the browser permission prompt, anchored top-left. */
.pushforge-prompt.pushforge-style-native {
  top: 12px;
  left: 14px;
  bottom: auto;
  max-width: 420px;
  transform: translateY(-12px);
}
.pushforge-prompt.pushforge-style-native.pf-visible {
  transform: translateY(0);
}

/* Position modifiers (native style, anchored to the top of the page). */
.pushforge-prompt.pushforge-style-native.pf-pos-top-left {
  left: 14px;
  right: auto;
}
.pushforge-prompt.pushforge-style-native.pf-pos-top-right {
  left: auto;
  right: 14px;
}
.pushforge-prompt.pushforge-style-native.pf-pos-top-center {
  left: 50%;
  right: auto;
  transform: translate(-50%, -12px);
}
.pushforge-prompt.pushforge-style-native.pf-pos-top-center.pf-visible {
  transform: translate(-50%, 0);
}
.pushforge-style-native .pf-card {
  flex-wrap: wrap;
  align-items: flex-start;
  border-radius: 12px;
  padding: 16px 18px 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}
.pushforge-style-native .pf-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pushforge-style-native .pf-title {
  font-weight: 600;
  font-size: 15px;
  color: #202124;
}
.pushforge-style-native .pf-message {
  font-size: 13px;
  color: #5f6368;
}
.pushforge-style-native .pf-actions {
  flex: 1 1 100%;
  justify-content: flex-end;
  margin-top: 14px;
}
.pushforge-style-native .pf-deny {
  background: transparent;
  color: #1a73e8;
  border-color: transparent;
  font-weight: 600;
}
.pushforge-style-native .pf-deny:hover {
  background: #f1f3f4;
}
.pushforge-style-native .pf-allow {
  background: #1a73e8;
}
.pushforge-style-native .pf-allow:hover {
  background: #1765cc;
}
.pushforge-prompt .pf-card {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pushforge-style-bar .pf-card {
  border-radius: 0;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}
.pushforge-prompt .pf-icon {
  font-size: 26px;
  line-height: 1;
  flex: 0 0 auto;
}
.pushforge-prompt .pf-icon-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.pushforge-bell .pf-bell-img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}
/* When a custom logo is used, drop the native icon's yellow circle. */
.pushforge-prompt .pf-icon:has(.pf-icon-img) {
  background: transparent;
  width: auto;
  height: auto;
}
.pushforge-prompt .pf-text { flex: 1 1 auto; }
.pushforge-prompt .pf-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
}
.pushforge-prompt .pf-message {
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
}
.pushforge-prompt .pf-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex: 0 0 auto;
  align-items: center;
}
.pushforge-style-bar .pf-actions { margin-top: 0; }
.pushforge-prompt .pf-actions button {
  cursor: pointer;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: background .15s ease;
}
.pushforge-prompt .pf-allow {
  background: #2563eb;
  color: #fff;
}
.pushforge-prompt .pf-allow:hover { background: #1d4ed8; }
.pushforge-prompt .pf-deny {
  background: transparent;
  color: #6b7280;
  border-color: #d1d5db;
}
.pushforge-prompt .pf-deny:hover { background: #f3f4f6; }

/* Persistent subscription bell */
.pushforge-bell {
  position: fixed;
  z-index: 999998;
  width: 56px !important;
  height: 56px !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer;
  background: #2563eb;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  overflow: hidden;
}
.pushforge-bell:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
.pf-bell-bottom-right { right: 20px; bottom: 20px; }
.pf-bell-bottom-left { left: 20px; bottom: 20px; }

/* SUBSCRIBE-style pill bell */
.pushforge-bell.pf-bell-pill {
  width: auto !important;
  height: auto !important;
  border-radius: 40px !important;
  padding: 7px 22px 7px 7px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  background: #e11d2a;
}
.pushforge-bell.pf-bell-pill .pf-bell-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #f5a623;
  flex: 0 0 auto;
}
.pushforge-bell.pf-bell-pill .pf-bell-ic .pf-bell-img {
  width: 30px; height: 30px; border-radius: 50%;
}
.pushforge-bell.pf-bell-pill .pf-bell-label {
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Full custom image button */
.pushforge-bell.pf-bell-image {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.pushforge-bell.pf-bell-image .pf-bell-full {
  display: block;
  max-width: 220px;
  height: auto;
}

/* Feedback bubble near the bell */
.pushforge-bell-note {
  position: fixed;
  z-index: 999999;
  bottom: 86px;
  max-width: 300px;
  background: #1d2327;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.pushforge-bell-note.pf-bell-bottom-right { right: 20px; }
.pushforge-bell-note.pf-bell-bottom-left { left: 20px; }
@media (max-width: 480px) {
  .pushforge-bell { width: 50px; height: 50px; font-size: 22px; }
}

.pushforge-prompt .pf-powered {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 10px;
  font-size: 11px;
  color: #9aa0a6;
  letter-spacing: .2px;
}

@media (max-width: 480px) {
  .pushforge-prompt {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  .pushforge-prompt .pf-card { flex-wrap: wrap; }
}
