/* theFibra Member Area — sino de notificações para o cabeçalho ([thefibra_notificacoes]). */

.thefibra-member-bell {
	--tfb-bg: #151517;
	--tfb-text: #f5f5f4;
	--tfb-muted: #a1a1aa;
	--tfb-line: #2e2e33;
	--tfb-hover: #232327;
	--tfb-pop: #ff5a36;
	--tfb-on-pop: #0b0b0c;
	--tfb-focus: #6ec1e4;
	position: relative;
	display: inline-flex;
	font-family: var(--e-global-typography-text-font-family, "Inter"), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.4;
}

.thefibra-member-bell[hidden] {
	display: none !important;
}

.thefibra-member-bell--light {
	--tfb-bg: #ffffff;
	--tfb-text: #0e0e0e;
	--tfb-muted: #52525b;
	--tfb-line: #d4d4d8;
	--tfb-hover: #f4f4f5;
	--tfb-focus: #0b6a94;
}

.thefibra-member-bell *,
.thefibra-member-bell *::before,
.thefibra-member-bell *::after {
	box-sizing: border-box;
}

.thefibra-member-bell .thefibra-member-bell__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: none;
}

.thefibra-member-bell .thefibra-member-bell__button:hover {
	background: rgba(127, 127, 127, 0.16);
	color: inherit;
}

.thefibra-member-bell :focus-visible {
	outline: 3px solid var(--tfb-focus);
	outline-offset: 2px;
}

.thefibra-member-bell__label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.thefibra-member-bell__count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--tfb-pop);
	color: var(--tfb-on-pop);
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
}

.thefibra-member-bell__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 9999;
	width: min(360px, calc(100vw - 24px));
	max-height: min(70vh, 520px);
	overflow: auto;
	padding: 12px;
	border: 1px solid var(--tfb-line);
	border-radius: 18px;
	background: var(--tfb-bg);
	color: var(--tfb-text);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	font-size: 14px;
	text-align: left;
}

.thefibra-member-bell--left .thefibra-member-bell__panel {
	right: auto;
	left: 0;
}

.thefibra-member-bell__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 6px 10px;
}

.thefibra-member-bell .thefibra-member-bell__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--tfb-text);
}

.thefibra-member-bell .thefibra-member-bell__readall {
	min-height: 32px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	background: transparent;
	color: var(--tfb-text);
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.thefibra-member-bell .thefibra-member-bell__readall:hover {
	background: transparent;
	color: var(--tfb-text);
}

.thefibra-member-bell .thefibra-member-bell__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.thefibra-member-bell .thefibra-member-bell__link,
.thefibra-member-bell .thefibra-member-bell__link:visited {
	display: grid;
	gap: 2px;
	padding: 10px;
	border-radius: 12px;
	color: var(--tfb-text);
	text-decoration: none;
}

.thefibra-member-bell .thefibra-member-bell__link:hover {
	background: var(--tfb-hover);
	color: var(--tfb-text);
}

.thefibra-member-bell__item.is-unread .thefibra-member-bell__text {
	font-weight: 700;
}

.thefibra-member-bell__new {
	justify-self: start;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--tfb-pop);
	color: var(--tfb-on-pop);
	font-size: 11px;
	font-weight: 700;
}

.thefibra-member-bell__date {
	color: var(--tfb-muted);
	font-size: 12px;
}

.thefibra-member-bell .thefibra-member-bell__empty {
	margin: 0;
	padding: 10px;
	color: var(--tfb-muted);
}

.thefibra-member-bell .thefibra-member-bell__all,
.thefibra-member-bell .thefibra-member-bell__all:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 8px;
	border-top: 1px solid var(--tfb-line);
	color: var(--tfb-text);
	font-weight: 600;
	text-decoration: none;
}

.thefibra-member-bell .thefibra-member-bell__all:hover {
	text-decoration: underline;
	color: var(--tfb-text);
}

.thefibra-member-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
