/* Native BuddyBoss on-screen notifications. Keep visibility, stacking and position rules intact. */
body.alcar-community-polish .bb-onscreen-notification .notification-list .read-item {
  background: var(--bb-content-background-color, #18181b) !important;
  color: var(--bb-body-text-color, #eaeae7) !important;
  border: 1px solid var(--bb-content-border-color, #34343a) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,.24) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.alcar-community-polish .bb-onscreen-notification .notification-list .read-item:hover {
  background: #202024 !important; border-color: #45454d !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-list .read-item.recent-item::before {
  background: var(--bb-primary-color, #1488fc) !important;
  border-radius: 14px 0 0 14px !important; width: 3px;
}
body.alcar-community-polish .bb-onscreen-notification .notification-content {
  min-width: 0; flex: 1; font-size: 14px; line-height: 1.55;
  color: var(--bb-body-text-color, #eaeae7) !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-content a {
  color: #d8ebff !important; text-decoration: none;
}
body.alcar-community-polish .bb-onscreen-notification .notification-content a:hover { color: #fff !important; }
body.alcar-community-polish .bb-onscreen-notification .notification-content .posted {
  margin-top: 5px; color: #a7a7b1 !important; font-size: 12px; line-height: 1.5;
}
body.alcar-community-polish .bb-onscreen-notification .notification-avatar .bb-notification-members img {
  border-color: #18181b !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-avatar a > i {
  background: #274764 !important; color: #d8ebff !important;
}
/* The anchor is the native close handler. No pseudo icon substitution or handler changes. */
body.alcar-community-polish .bb-onscreen-notification .notification-list .actions {
  flex: 0 0 auto; margin-left: 8px; opacity: 1 !important; visibility: visible !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-list .actions .action-close {
  box-sizing: border-box; display: inline-flex !important;
  justify-content: center; align-items: center;
  width: 28px !important; min-width: 28px !important; height: 28px !important;
  padding: 0 !important; line-height: 1 !important;
  border: 1px solid #41414a !important; border-radius: 8px !important;
  background: #242429 !important; color: #d4d4df !important;
  opacity: 1 !important; box-shadow: none !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-list .actions .action-close .dashicons {
  width: 18px; height: 18px; font-size: 18px; line-height: 18px; color: inherit !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-list .actions .action-close:hover {
  background: #303038 !important; color: #fff !important; border-color: #6d6d7c !important;
}
/* Do not set display here: native JS controls whether the Clear All action is visible. */
body.alcar-community-polish .bb-onscreen-notification .bb-remove-all-notification .action-close {
  background: #202024 !important; color: #e4e4e9 !important;
  border: 1px solid #41414a !important; border-radius: 9px !important;
  font: 500 12px/1.5 Inter, sans-serif; box-shadow: 0 4px 14px rgba(0,0,0,.16) !important;
}
body.alcar-community-polish .bb-onscreen-notification .bb-remove-all-notification .action-close:hover {
  background: #303038 !important; border-color: #6d6d7c !important;
}
body.alcar-community-polish .bb-onscreen-notification .notification-list.bb-more-than-3::after,
body.alcar-community-polish .bb-onscreen-notification.active-button .notification-list::before {
  background: #18181b !important; border-radius: 0 0 14px 14px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}
body.alcar-community-polish .bb-onscreen-notification :is(a.action-close, .notification-content a):focus-visible {
  outline: 2px solid #76baff !important; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  body.alcar-community-polish .bb-onscreen-notification .notification-list .read-item { transition: none !important; }
}
/* Header eye: preserve BuddyBoss icon, dimensions, alignment and hover behavior. */
body.alcar-community-polish #header-notifications-dropdown-elem .notification-list .action-unread,
body.alcar-community-polish #header-notifications-dropdown-elem .notification-list .action-unread .dashicons-visibility,
body.alcar-community-polish #header-notifications-dropdown-elem .notification-list .action-unread .dashicons-visibility::before {
  color: #c4dfff !important;
}
body.alcar-community-polish #header-notifications-dropdown-elem .notification-list .action-unread:hover,
body.alcar-community-polish #header-notifications-dropdown-elem .notification-list .action-unread:hover .dashicons-visibility,
body.alcar-community-polish #header-notifications-dropdown-elem .notification-list .action-unread:hover .dashicons-visibility::before {
  color: #ffffff !important;
}
