/* Notifications bell — own stylesheet (loaded after style.css). */
/* ── Notifications bell (setupNotificationsBell in script.js) ────────────── */
.fp-bell-btn { position: relative; }
.fp-bell-btn--unread { color: var(--accent, #06b6d4); border-color: rgba(6, 182, 212, 0.35); }
.fp-bell-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px #0B1E3F; pointer-events: none;
}
.fp-bell-badge[hidden] { display: none; }
.fp-bell-panel {
  position: fixed; z-index: 100050; max-height: min(78vh, 640px); display: flex; flex-direction: column;
  background: var(--card, #1f2937); color: var(--text, #f1f5f9); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); overflow: hidden;
}
.fp-bell-panel[hidden] { display: none; }
.fp-bell-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.fp-bell-count { font-size: 0.72rem; font-weight: 700; color: #fff; background: #ef4444; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.fp-bell-head-actions { display: flex; align-items: center; gap: 6px; }
.fp-bell-link { background: none; border: none; color: var(--accent, #06b6d4); font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; padding: 4px; }
.fp-bell-icon { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text, #f1f5f9); border-radius: 8px;
  width: 30px; height: 30px; cursor: pointer; font-size: 0.9rem; line-height: 1; }
.fp-bell-settings { padding: 8px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(15, 23, 42, 0.35); }
.fp-bell-set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-size: 0.82rem; cursor: pointer; }
.fp-bell-muted { color: var(--muted, #94a3b8); font-size: 0.74rem; }
.fp-bell-btn-sm { background: var(--accent, #06b6d4); color: #fff; border: none; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fp-bell-list { overflow-y: auto; flex: 1 1 auto; }
.fp-bell-item {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; background: transparent; color: inherit;
  border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 11px 14px; font: inherit; cursor: pointer; position: relative;
}
.fp-bell-item:hover { background: rgba(6, 182, 212, 0.07); }
.fp-bell-item--unread { background: rgba(6, 182, 212, 0.05); }
.fp-bell-ico { font-size: 1rem; line-height: 1.3; flex: 0 0 auto; }
.fp-bell-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.fp-bell-title { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.fp-bell-item--unread .fp-bell-title { font-weight: 700; }
.fp-bell-body { font-size: 0.78rem; color: var(--muted, #94a3b8); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-bell-meta { font-size: 0.7rem; color: var(--muted, #94a3b8); }
.fp-bell-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #06b6d4); flex: 0 0 auto; margin-top: 6px; }
.fp-bell-empty { padding: 34px 14px; text-align: center; color: var(--muted, #94a3b8); font-size: 0.88rem; }
.fp-bell-foot { padding: 8px 14px; font-size: 0.7rem; color: var(--muted, #94a3b8); border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: center; }
[data-theme="light"] .fp-bell-panel { border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
[data-theme="light"] .fp-bell-head, [data-theme="light"] .fp-bell-settings, [data-theme="light"] .fp-bell-foot { border-color: rgba(0, 0, 0, 0.08); }
[data-theme="light"] .fp-bell-settings { background: rgba(0, 0, 0, 0.025); }
[data-theme="light"] .fp-bell-icon { background: #fff; border-color: rgba(0, 0, 0, 0.12); color: #0B1320; }
[data-theme="light"] .fp-bell-item { border-color: rgba(0, 0, 0, 0.06); }
[data-theme="light"] .fp-bell-item:hover, [data-theme="light"] .fp-bell-item--unread { background: rgba(181, 23, 42, 0.04); }
@media (max-width: 760px) { .fp-bell-panel { max-height: 80vh; } }
