/* Notifications: topic chips, the drawer, grouped rows (design: Home, My activity, Notifications). */

/* Filter chips (also My activity sub-filters). */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--radius-tag);
  border: 1px solid var(--border-strong); background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 500;
}
.chip:hover { background: var(--panel-sunken); text-decoration: none; }
.chip.is-on { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--ivory); }
.chip__count { font-size: var(--text-sm); opacity: .8; }

/* The drawer: reuses .drawer__* from market.css; the body is a column of rows. */
.drawer__tags .btn--link { padding-inline: 8px; }
.drawer__body--notifications { padding: 8px 24px 24px; gap: 6px; }
.drawer__header .chips { margin-top: 4px; }

.notices { display: flex; flex-direction: column; gap: 6px; }
.notices__heading { margin: 16px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.notices__heading--action { color: var(--brand-deep); }

.notices .notice {
  display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 12px 14px; border-radius: var(--radius-control); color: var(--ink); font-size: 14px;
}
.notices .notice:hover { background: var(--panel-sunken); text-decoration: none; }
.notice__dot { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; }
.notices .notice.is-unread { background: var(--live-tint); }
.notices .notice.is-unread .notice__dot { background: var(--accent); }
.notices .notice.is-unread .notice__text { font-weight: 600; }
.notices .notice--action { background: var(--panel); border: 1.5px solid var(--brand-deep); }
.notice__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.notice__meta { display: flex; align-items: center; gap: 8px; }
.notice__due { margin-left: auto; color: var(--attention-ink); font-weight: 600; }
.notice__text { line-height: 1.4; }
.notice__thread { color: var(--accent); font-weight: 600; }
.notice__time { white-space: nowrap; }

/* Kind of event. */
.topic-tag {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-tag); white-space: nowrap;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.topic-tag--negotiations { color: var(--accent-ink); background: var(--accent-tint); }
.topic-tag--listings { color: var(--info-ink); background: var(--info-tint); }
.topic-tag--deals { color: var(--brand-deep); background: var(--agreed-tint); }
.topic-tag--rfqs { color: var(--info-ink); background: var(--info-tint); }
.topic-tag--account { color: var(--attention-ink); background: var(--attention-tint); }

@media (max-width: 720px) {
  .drawer__body--notifications { padding-inline: 16px; }
}
