/* BunkrIQ alerts panel (public/push/bq-push.js). Self-contained: used on the site, workspace and admin. */
.bqp {
  --bqp-ink: #01202b; --bqp-ink-2: #0b3a49; --bqp-on: #e6f1f5; --bqp-on-2: #9db4bf; --bqp-teal: #0a7782; --bqp-cyan: #52cdff;
  position: fixed; z-index: 2147483000; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 32px));
  box-sizing: border-box; padding: 20px 20px 18px; border-radius: 18px;
  background: var(--bqp-ink); color: var(--bqp-on); font: 15px/1.5 "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 24px 60px -20px rgba(1, 32, 43, .55), 0 2px 6px rgba(1, 32, 43, .25);
  border: 1px solid rgba(82, 205, 255, .16);
  opacity: 0; transform: translateY(16px); transition: opacity .22s ease, transform .22s ease;
}
.bqp.show { opacity: 1; transform: none; }
.bqp *, .bqp *::before, .bqp *::after { box-sizing: border-box; }
.bqp:focus { outline: none; }
.bqp-head { display: flex; align-items: center; gap: 12px; margin: 0 28px 8px 0; }
.bqp-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bqp-ink-2); color: var(--bqp-cyan); }
.bqp-ico.on { background: var(--bqp-teal); color: #fff; }
.bqp h2 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.bqp p { margin: 0 0 12px; color: var(--bqp-on-2); font-size: 14px; }
.bqp b { color: var(--bqp-on); font-weight: 750; }
.bqp-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--bqp-on-2); font-size: 22px; line-height: 1; cursor: pointer; }
.bqp-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.bqp-opts { display: grid; gap: 8px; margin: 4px 0 14px; }
.bqp-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); cursor: pointer; }
.bqp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bqp-opt small { display: block; color: var(--bqp-on-2); font-size: 12.5px; }
.bqp-sw { flex: none; position: relative; width: 36px; height: 20px; border-radius: 999px; background: #33505b; transition: background .15s; }
.bqp-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.bqp-opt input:checked + .bqp-sw { background: var(--bqp-teal); }
.bqp-opt input:checked + .bqp-sw::after { transform: translateX(16px); }
.bqp-opt input:focus-visible + .bqp-sw { outline: 2px solid var(--bqp-cyan); outline-offset: 2px; }
.bqp-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bqp-btns button { flex: 1 1 auto; min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.bqp-primary { border: 0; background: var(--bqp-cyan); color: var(--bqp-ink); }
.bqp-primary:hover { background: #7fdcff; }
.bqp-primary:disabled { opacity: .7; cursor: progress; }
.bqp-ghost { border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: var(--bqp-on); }
.bqp-ghost:hover { background: rgba(255, 255, 255, .06); }
.bqp-btns button:focus-visible, .bqp-x:focus-visible { outline: 2px solid var(--bqp-cyan); outline-offset: 2px; }
.bqp-err { color: #ffb4a6 !important; font-size: 13.5px !important; }
.bqp-fine { margin: 12px 0 0 !important; font-size: 12.5px !important; }
.bqp-steps { margin: 0 0 14px; padding-left: 22px; color: var(--bqp-on); font-size: 14px; }
.bqp-steps li { margin: 6px 0; }
.bqp-steps svg { display: inline-block; vertical-align: -3px; color: var(--bqp-cyan); }
@media (max-width: 560px) {
  .bqp { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); border-width: 1px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .bqp { transition: none; } }

/* "Get alerts" buttons placed on pages */
.bq-alert-btn { display: inline-flex; align-items: center; gap: 8px; }
.bq-alert-btn svg { flex: none; }
.bq-alert-btn.is-on svg { color: #0a7782; }
.iconbtn[data-push-open].is-on { color: #0a7782; }
.iconbtn[data-push-open].is-on .dot { display: none; }
