/*! iKral Forex Glossary — term tooltips inside posts */
@font-face { font-family: "IKFX Vazirmatn"; src: url("../fonts/vazirmatn-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IKFX Vazirmatn"; src: url("../fonts/vazirmatn-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.ikfx-tt {
	--ikfx-tt-accent: #f68420;
	color: inherit !important;
	text-decoration: underline dotted !important;
	text-decoration-color: var(--ikfx-tt-accent) !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px;
	cursor: help;
	border: 0 !important;
	box-shadow: none !important;
}
.ikfx-tt:hover,
.ikfx-tt:focus-visible { background: rgba(246, 132, 32, .1); border-radius: 3px; outline: none; }

.ikfx-tt-box {
	--ikfx-tt-accent: #f68420;
	--ikfx-tt-arrow: 50%;
	position: absolute;
	z-index: 999999;
	top: 0;
	left: 0;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 14px;
	background: #111827;
	color: #e5e7eb;
	font: 400 13.5px/1.85 "IKFX Vazirmatn", Vazirmatn, Tahoma, sans-serif;
	text-align: right;
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .16s, transform .16s, visibility 0s linear .16s;
	pointer-events: none;
}
.ikfx-tt-box.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
.ikfx-tt-box::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: calc(var(--ikfx-tt-arrow) - 6px);
	width: 12px;
	height: 12px;
	background: #111827;
	transform: rotate(45deg);
	border-radius: 2px;
}
.ikfx-tt-box.is-below::after { bottom: auto; top: -6px; }
.ikfx-tt-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 4px; }
.ikfx-tt-head b { font-weight: 700; color: #fff; font-size: 14.5px; }
.ikfx-tt-head span { color: #9ca3af; }
.ikfx-tt-head em { font-style: normal; font-size: 11px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #d1d5db; }
.ikfx-tt-box p { margin: 0; }
.ikfx-tt-box a { display: inline-block; margin-top: 6px; color: var(--ikfx-tt-accent) !important; font-weight: 700; text-decoration: none !important; }
.ikfx-tt-box a:hover { text-decoration: underline !important; }
@media (prefers-reduced-motion: reduce) { .ikfx-tt-box { transition: none; } }
