.app-badge-wrap {
	position: relative !important;
	display: inline-block !important;
}

/* Popover hidden by default; shown via JS inline display:block */
.app-badge-popover {
	display: none !important;
	position: absolute !important;
	top: calc(100% + 8px) !important;
	left: 0 !important;
	z-index: 99999 !important;
	width: 280px !important;
	max-width: min(280px, calc(100vw - 32px)) !important;
	background: #ffffff !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .12) !important;
	padding: 12px 14px !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #333333 !important;
	text-align: left !important;
	font-weight: 400 !important;
	font-style: normal !important;
	font-family: inherit !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-sizing: border-box !important;
}

/* Arrow – points upward toward badge */
.app-badge-popover::before {
	content: '' !important;
	display: block !important;
	position: absolute !important;
	top: -7px !important;
	left: 18px !important;
	width: 12px !important;
	height: 12px !important;
	background: #ffffff !important;
	border-left: 1px solid #e0e0e0 !important;
	border-top: 1px solid #e0e0e0 !important;
	transform: rotate(45deg) !important;
}

/* When popover is right-aligned (near viewport edge), shift arrow right */
.app-badge-popover--align-right {
	left: auto !important;
	right: 0 !important;
}
.app-badge-popover--align-right::before {
	left: auto !important;
	right: 18px !important;
}

.app-badge-popover__title {
	display: block !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	color: #111111 !important;
	margin: 0 0 6px !important;
	line-height: 1.4 !important;
}

.app-badge-popover__text {
	display: block !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	color: #444444 !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}
