/* LFCBD — notifications page + bell */

/* ---- Nav bell ---- */
.nav-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 120ms ease, background 120ms ease;
}

.nav-bell:hover {
  background: var(--bg);
  color: var(--ink);
}

#bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.bell svg {
  width: 18px;
  height: 18px;
  display: block;
}

.bell.unread {
  color: var(--ink);
}

.bell-badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-badge);
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--surface);
}

/* ---- Nav links ---- */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  font-size: var(--font-ui);
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 120ms ease, background 120ms ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--bg);
}

/* ---- Notifications page ---- */
.notifications-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.notifications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification-day-label {
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 20px 0 8px;
}

.notification-day:first-child .notification-day-label {
  margin-top: 0;
}

.notification-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  transition: background 120ms ease, border-color 120ms ease;
}

.notification-row.unread {
  background: #EEF2FF;
  border-color: #C7D2FE;
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--ink-muted);
  flex-shrink: 0;
}

.notification-icon svg {
  width: 16px;
  height: 16px;
}

.notification-icon-new_briefing {
  color: var(--blue);
  background: #EFF6FF;
}

.notification-icon-comment {
  color: var(--accent);
  background: #EEF2FF;
}

.notification-icon-vote {
  color: var(--green);
  background: #F0FDF4;
}

.notification-icon-mention {
  color: var(--amber);
  background: #FFFBEB;
}

.notification-icon-decision {
  color: var(--accent);
  background: #EEF2FF;
}

.notification-icon-action_item {
  color: var(--blue);
  background: #EFF6FF;
}

.notification-icon-action_item_completed {
  color: var(--green);
  background: #F0FDF4;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-text {
  font-size: var(--font-secondary);
  color: var(--ink);
  overflow-wrap: break-word;
}

.notification-text a {
  color: var(--ink);
  text-decoration: none;
}

.notification-text a:hover {
  color: var(--accent);
}

.notification-meta {
  display: block;
  font-size: var(--font-xs);
  color: var(--ink-muted);
  margin-top: 2px;
}

.mark-read {
  margin-left: 4px;
  flex-shrink: 0;
}

.notification-read {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  margin: 6px 2px 0 4px;
  flex-shrink: 0;
}

.notification-read svg {
  width: 14px;
  height: 14px;
}

.notifications-empty {
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}

@media (max-width: 900px) {
  .notifications-page {
    padding: 24px 16px 48px;
  }

  .notifications-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .notification-row {
    flex-wrap: wrap;
  }

  .mark-read {
    width: 100%;
    margin-left: 44px;
  }

  .nav-bell {
    width: 32px;
    height: 32px;
  }
}
