/* -----------------------------------------------------------------------------
   BuddyBoss shared “more” dropdowns (.bb_more_dropdown) — activity, media, etc.
   Removes default WP link blue/underline; Bond body text + icon colour.
   :root colour tokens are defined in theme /buddypress.css (loaded before component CSS).
   Messages thread menus: buddypress/css/messages/thread-list.css
   Group documents row/folder menus: buddypress/css/groups/documents-actions.css
   ----------------------------------------------------------------------------- */

#buddypress .bb_more_dropdown ul li > a,
#buddypress .bb_more_dropdown ul li > a:link,
#buddypress .bb_more_dropdown ul li > a:visited,
#comments .bb_more_dropdown ul li > a,
#comments .bb_more_dropdown ul li > a:link,
#comments .bb_more_dropdown ul li > a:visited,
#bbpress-forums .bb_more_dropdown ul li > a,
#bbpress-forums .bb_more_dropdown ul li > a:link,
#bbpress-forums .bb_more_dropdown ul li > a:visited {
	color: var(--color-text-main) !important;
	text-decoration: none !important;
}

#buddypress .bb_more_dropdown ul li > a:hover,
#buddypress .bb_more_dropdown ul li > a:focus,
#comments .bb_more_dropdown ul li > a:hover,
#comments .bb_more_dropdown ul li > a:focus,
#bbpress-forums .bb_more_dropdown ul li > a:hover,
#bbpress-forums .bb_more_dropdown ul li > a:focus {
	color: var(--color-bond-red-darker) !important;
	background-color: var(--color-bond-grey-light);
	text-decoration: none !important;
}

#buddypress .bb_more_dropdown ul li > a:active,
#comments .bb_more_dropdown ul li > a:active,
#bbpress-forums .bb_more_dropdown ul li > a:active {
	color: var(--color-bond-red-darker) !important;
	text-decoration: none !important;
}

/* bb-icons row glyphs use a:before */
#buddypress .bb_more_dropdown li > a:before,
#comments .bb_more_dropdown li > a:before,
#bbpress-forums .bb_more_dropdown li > a:before {
	color: currentColor;
}

/* Mobile sheet title row (BuddyBoss default #1e2132) */
#buddypress .bb_more_dropdown .bb_more_dropdown__title__text,
#buddypress .bb_more_dropdown .bb_more_dropdown__close_button,
#comments .bb_more_dropdown .bb_more_dropdown__title__text,
#comments .bb_more_dropdown .bb_more_dropdown__close_button,
#bbpress-forums .bb_more_dropdown .bb_more_dropdown__title__text,
#bbpress-forums .bb_more_dropdown .bb_more_dropdown__close_button {
	color: var(--color-text-main);
}

/* -----------------------------------------------------------------------------
   On-screen Notifications popup cards (.bb-onscreen-notification)
   ----------------------------------------------------------------------------- */

.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item {
	position: relative;
}

.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 0;
	width: 5px;
	height: 100%;
	border-radius: 5px 0 0 5px;
	background: var(--color-bond-red);
}

.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item.recent-item::before {
	background: var(--color-bond-red) !important;
}

/* Designer direction: remove left avatars/icons to reduce clutter. */
.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .notification-avatar {
	display: none;
}

.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .notification-content {
	flex: 1 1 auto;
	font-size: 15px;
	line-height: 1.4;
}

.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .notification-content span,
.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .notification-content a {
	color: var(--color-text-main);
	text-decoration: none;
}

.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .notification-content .posted {
	display: block;
	margin-top: 8px;
	color: var(--color-bond-grey);
	font-size: 13px;
	line-height: 1.3;
}

/*
 * Quote emphasis is injected by bond-on-screen-notifications.js:
 * only the quoted post snippet stays red + underlined.
 */
.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .notification-content .bond-onscreen-notification__quote {
	color: var(--color-bond-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

/* Remove accidental underlines from dismiss controls. */
.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item .actions .action-close,
.bb-onscreen-notification-enable .bb-onscreen-notification .bb-remove-all-notification .action-close {
	text-decoration: none !important;
}

/* Match "Clear" control to Bond red icon/button styling. */
.bb-onscreen-notification-enable .bb-onscreen-notification .bb-remove-all-notification .action-close {
	background: var(--color-bond-red);
	color: #fff;
}
