/*
 * NV-06 Notification bell — app/components/ui/notification_bell_component.rb
 *
 * Wraps Ui::IconButtonComponent (F-02); this file only positions the
 * unread indicator on top of it. Token vars only — enforced by
 * test/lint/css_token_lint_test.rb.
 */

.ui-notification-bell {
  position: relative;
  display: inline-flex;
}

.ui-notification-bell__dot {
  position: absolute;
  top: var(--space-1);
  right: var(--space-1);
  width: var(--icon-xs);
  height: var(--icon-xs);
  border-radius: var(--radius-round);
  background: var(--color-danger);
  border: 2px solid var(--color-surface-solid);
}

.ui-notification-bell__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: var(--space-4);
  height: var(--space-4);
  padding-inline: var(--space-1);
  border-radius: var(--radius-pill);
  /* White on --color-danger is 3.47:1 (spec §4.2 lists it as a fail); the
     -strong sibling is the sanctioned solid fill for white text. */
  background: var(--color-danger-strong);
  color: var(--color-on-accent);
  font-size: var(--text-2xs);
  line-height: var(--space-4);
  font-weight: 500;
  text-align: center;
  border: 2px solid var(--color-surface-solid);
}
