/* NoorQuran — Cloche de notifications (en-tête espace connecté). */
.nq-bell-wrap { position: relative; display: inline-flex; }
.nq-bell-btn { position: relative; }
.nq-bell-btn svg { width: 20px; height: 20px; }
.nq-bell-badge { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: #e5484d; color: #fff; font-size: .68rem; font-weight: 800; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--surface, #fff); }

.nq-bell-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(340px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft, 0 18px 48px rgba(0, 0, 0, .24)); padding: 8px; display: none; z-index: 200; }
.nq-bell-panel.open { display: block; }
.nq-bell-head { padding: 8px 10px 10px; font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.nq-bell-list { max-height: 360px; overflow-y: auto; display: grid; gap: 2px; }
.nq-bell-item { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 11px 10px; border-radius: 10px; }
.nq-bell-item:hover { background: var(--surface-soft); }
.nq-bell-ico { flex: 0 0 auto; font-size: 1rem; line-height: 1.3; }
.nq-bell-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nq-bell-text strong { font-size: .9rem; font-weight: 750; color: var(--text); line-height: 1.35; }
.nq-bell-text span { font-size: .82rem; color: var(--text-muted); line-height: 1.45; }
.nq-bell-new { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.nq-bell-dot { position: absolute; top: 12px; inset-inline-end: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.nq-bell-empty { padding: 22px 14px; text-align: center; color: var(--text-soft); font-size: .88rem; }

/* Liseré gauche par niveau */
.nq-bell-item.nq-bell-warning { box-shadow: inset 3px 0 0 #e0a02a; }
.nq-bell-item.nq-bell-success { box-shadow: inset 3px 0 0 #2f9e56; }

@media (prefers-reduced-motion: no-preference) {
  .nq-bell-panel.open { animation: nqBellIn .18s ease both; }
  @keyframes nqBellIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
