/**
 * Storefront styles for fee lines.
 *
 * @package Plusero_Extra_Fees
 */

.plusero-ef-tip {
	color: #2271b1;
	cursor: help;
	display: inline-block;
	margin-left: 4px;
	position: relative;
}

.plusero-ef-tip-mark {
	border: 1px solid currentColor;
	border-radius: 50%;
	display: inline-block;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	height: 14px;
	line-height: 13px;
	text-align: center;
	width: 14px;
}

.plusero-ef-tip-text {
	background: #1d2327;
	border-radius: 5px;
	bottom: 140%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
	opacity: 0;
	padding: 8px 12px;
	pointer-events: none;
	position: absolute;
	right: 0;
	text-align: left;
	transition: opacity 0.15s ease;
	visibility: hidden;
	width: max-content;
	max-width: 260px;
	z-index: 100;
}

.plusero-ef-tip-text::after {
	border: 5px solid transparent;
	border-top-color: #1d2327;
	content: "";
	position: absolute;
	right: 10px;
	top: 100%;
}

.plusero-ef-tip:hover .plusero-ef-tip-text,
.plusero-ef-tip:focus .plusero-ef-tip-text,
.plusero-ef-tip:focus-within .plusero-ef-tip-text {
	opacity: 1;
	visibility: visible;
}

.plusero-ef-line {
	color: #50575e;
	display: block;
	font-size: 0.85em;
	line-height: 1.5;
}

.plusero-ef-desc {
	display: block;
	font-size: 0.85em;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 2px;
	opacity: 0.8;
}
