/*
 * The notifications pop-up (topbar bell) and the Notifications page.
 * A message with a long unbroken run — a reference, an e-mail address, a URL — wraps
 * inside its card instead of widening the list and giving it a sideways scrollbar.
 */
.topbar-notif-list {
  overflow-x: hidden;
}

.topbar-notif-item,
.topbar-notif-item p {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/*
 * EMI receipt links (assets/platform/js/emi-receipts.js on the member's schedules,
 * member-profile-tabs.js on the staff view of a member's loan).
 */
.emi-receipt-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .55rem;
  border: 1px solid rgba(26, 45, 90, .25);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary, #1a2d5a);
  background: rgba(26, 45, 90, .04);
  text-decoration: none;
  white-space: nowrap;
}

.emi-receipt-link:hover,
.emi-receipt-link:focus-visible {
  background: rgba(26, 45, 90, .1);
  text-decoration: none;
}

.emi-receipt-ref {
  margin-top: .2rem;
  font-size: 11px;
  color: var(--muted);
}

.emi-receipt-cell {
  white-space: nowrap;
}
