/* Chuông thông báo ở thanh trên (lịch sử kiểu Facebook) + chấm đỏ/nhãn trên thẻ board + chấm trên tab. */
.bell { position: relative; }
.bell-btn { border: 0; background: none; font-size: 28px; cursor: pointer; position: relative; padding: 2px 8px; line-height: 1; }
.bell-count { position: absolute; top: -4px; right: -2px; background: var(--err); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; height: 18px; min-width: 18px; padding: 0 5px; line-height: 18px; text-align: center; }
.bell-menu { position: absolute; right: 0; top: 42px; width: 420px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); z-index: 70; font-size: 14px; }
.bell-head { display: flex; gap: 12px; align-items: center; padding: 12px 14px 8px; font-size: 13px; }
.bell-head b { margin-right: auto; font-size: 18px; }
.bell-tabs { display: flex; gap: 6px; padding: 0 14px 8px; border-bottom: 1px solid var(--line); }
.bell-tabs button { border: 0; background: #f1f3f5; border-radius: 99px; padding: 5px 12px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.bell-tabs button.on { background: #e7f0ff; color: #1c7ed6; }
.bell-item { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f1f3f5; color: #8a919a; align-items: center; }
.bell-item:hover { background: #fafafa; }
.bell-item.unread { background: #eef5ff; color: var(--ink); }
.bell-item.unread .bell-title, .bell-item.unread .bell-line { font-weight: 700; }
.bell-item img, .bell-noimg { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; background: var(--beige, #f6f0e6); flex: 0 0 48px; }
.bell-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bell-title, .bell-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell-text small { color: #8a919a; font-size: 12px; } .bell-item.unread small { color: #1c7ed6; }
.bell-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.bell-badge { color: var(--err); font-weight: 700; font-size: 12px; white-space: nowrap; }
.bell-dot { width: 10px; height: 10px; border-radius: 50%; background: #1c7ed6; }
.bell-action, .unread-action { background: #f59f00; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
/* Thẻ board */
.unread-dot { position: absolute; top: 8px; left: 8px; background: #fff; color: var(--err); font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.unread-action { position: absolute; top: 34px; left: 8px; }
.tcard.unread { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink-soft); }
.unread-inline { color: var(--err); font-weight: 700; font-size: 12px; }
.tab-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--err); margin-left: 2px; vertical-align: middle; }
