.gfcpn-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.35rem;
	transform: translate( -0.25em, 0.333em );
}

.gfcpn-tooltip-trigger {
	display: inline-flex;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
	line-height: 0;
	cursor: help;
}

.gfcpn-tooltip-icon {
	display: block;
	width: 32px;
	height: 32px;
}

/* Hidden with opacity (not visibility/display), so it stays in the
   accessibility tree — aria-describedby needs it there to be announced. */
.gfcpn-tooltip-text {
	position: absolute;
	bottom: calc( 100% + 8px );
	left: 50%;
	transform: translateX( -50% ) translateY( 4px );
	width: max-content;
	max-width: 260px;
	background: #0b2545;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 10;
}

.gfcpn-tooltip-text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX( -50% );
	border: 5px solid transparent;
	border-top-color: #0b2545;
}

.gfcpn-tooltip-trigger:hover ~ .gfcpn-tooltip-text,
.gfcpn-tooltip-trigger:focus ~ .gfcpn-tooltip-text {
	opacity: 1;
	transform: translateX( -50% ) translateY( 0 );
}
