/* Topbar notification bell (sits left of the account menu). */
.nb { position: relative; }
.nb-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; cursor: pointer; background: none; border: none; color: #6b7280; border-radius: 8px; }
.nb-toggle:hover { background: #f3f4f6; color: #374151; }
.nb-toggle svg { width: 20px; height: 20px; }
.nb-badge { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: #ef4444; color: #fff; font-size: .62rem; font-weight: 700; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #fff; }

.nb-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; max-width: 92vw; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.14); z-index: 1500; display: none; overflow: hidden; }
.nb.open .nb-panel { display: block; }
.nb-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; font-size: .82rem; font-weight: 700; color: #111827; }
.nb-readall { background: none; border: none; font: inherit; font-size: .74rem; font-weight: 600; color: #2563eb; cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.nb-readall:hover { background: #eff6ff; }

.nb-list { max-height: 380px; overflow-y: auto; }
.nb-empty { padding: 28px 16px; text-align: center; color: #9ca3af; font-size: .84rem; }

/* Informational only — not clickable (no pointer, no hover highlight). */
.nb-item { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-bottom: 1px solid #f6f8fb; }
.nb-item:last-child { border-bottom: none; }
.nb-item.unread { background: #f5f9ff; }
.nb-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; background: #9ca3af; }
.nb-dot.success { background: #16a34a; }
.nb-dot.error { background: #ef4444; }
.nb-dot.warning { background: #d97706; }
.nb-dot.info { background: #2563eb; }
.nb-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-title { font-size: .82rem; font-weight: 600; color: #111827; }
.nb-text { font-size: .78rem; color: #4b5563; line-height: 1.35; word-break: break-word; }
.nb-time { font-size: .68rem; color: #9ca3af; margin-top: 2px; }
.nb-foot { border-top: 1px solid #f1f5f9; padding: 8px 14px; text-align: center; }
.nb-viewall { font-size: .78rem; font-weight: 600; color: #2563eb; text-decoration: none; }
.nb-viewall:hover { text-decoration: underline; }
