.efft-tooltip-wrap {
	display: inline-flex;
	position: relative;
	align-items: center;
	vertical-align: middle;
	overflow: visible;
	z-index: 2147483640 !important;
	pointer-events: auto !important;
}

.efft-tooltip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: 6px;
	border-radius: 50%;
	background: #1e293b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	vertical-align: middle;
}

.efft-tooltip-popup {
	display: block;
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%);
	min-width: 200px;
	max-width: 260px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 2147483647 !important;
}

.elementor-form .elementor-field-group,
.elementor-form .elementor-field-group > label {
	overflow: visible !important;
}

/* Some site styles disable label interactions (pointer-events:none). */
.elementor-form .elementor-field-group > label {
	pointer-events: auto !important;
}

.efft-tooltip-popup-inner {
	display: block;
	padding: 10px;
	padding-right: 28px;
	border-radius: 6px;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	white-space: normal;
	text-align: left;
	position: relative;
}

.efft-tooltip-popup::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-bottom: 0;
	border-top-color: #0f172a;
}

.efft-tooltip-popup.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.efft-tooltip-wrap.is-open .efft-tooltip-popup {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.efft-tooltip-wrap:hover .efft-tooltip-popup,
.efft-tooltip-wrap:focus-within .efft-tooltip-popup {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* When JS is active, use only the floating popup to avoid duplicates. */
.efft-js-enabled .efft-tooltip-popup {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.efft-tooltip-text {
	display: block;
	margin-bottom: 8px;
	white-space: pre-line;
}

.efft-tooltip-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: contain;
	border-radius: 4px;
	cursor: pointer;
}

.efft-tooltip-image-link {
	display: block;
	overflow: hidden;
	border-radius: 4px;
}


.efft-tooltip-close {
	position: absolute;
	top: 4px;
	right: 6px;
	border: 0;
	background: #ffffff !important;
	color: #111827 !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 1 !important;
	visibility: visible !important;
	z-index: 2;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.efft-tooltip-close:hover {
	background: #e5e7eb !important;
	color: #000 !important;
}

.efft-floating-popup {
	position: fixed;
	min-width: 320px;
	max-width: 520px;
	padding: 10px;
	border-radius: 6px;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	white-space: normal;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease;
	z-index: 2147483647 !important;
}

.efft-floating-popup.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
