/* notifications.css — 3D Viral Prompt notification center (Phase E).
 * Header bell + unread badge + dropdown panel. Loaded on every page
 * via the base template. Design tokens only; both themes.
 */

.notif-wrap { position: relative; }
.notif-wrap .icon-btn { position: relative; }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--green); color: var(--text-on-green);
  font-size: var(--text-xs); font-weight: 700; line-height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.notif-badge[hidden] { display: none; }
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: min(360px, calc(100vw - 2rem));
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow); z-index: 60;
}
.notif-panel[hidden] { display: none; }
.notif-head { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); font-family: var(--font-display); }
.notif-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.notif-list li { border-bottom: 1px solid var(--border); }
.notif-list li:last-child { border-bottom: none; }
.notif-item { display: block; padding: var(--space-3) var(--space-4); color: var(--text); }
a.notif-item:hover { background: var(--green-soft); text-decoration: none; }
.notif-item .notif-title { font-weight: 600; display: block; }
.notif-item.unread .notif-title::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green); margin-right: var(--space-2);
}
.notif-item .notif-body { color: var(--text-muted); font-size: var(--text-sm); display: block; margin-top: 2px; }
.notif-item .notif-date { color: var(--text-muted); font-size: var(--text-xs); display: block; margin-top: 2px; }
.notif-empty { padding: var(--space-4); color: var(--text-muted); margin: 0; }
.notif-empty[hidden] { display: none; }
