
@keyframes ifMenuFadeIn {
	from {
		opacity: 0;
		transform: translate3d(20%, 0, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.if-menu-peek {
	position: relative;
}

.if-menu-peek a {
	opacity: 0.8;
}

.if-menu-peek::before {
	content: "";
	position: absolute;
	text-align: center;
	top: 50%;
	left: calc(100% + 15px);
	background: #2c3338;
	color: #fff;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	border-radius: 4px;
	width: auto;
	min-width: 180px;
	margin-top: -17px;
	padding: 8px 12px;
	font-size: 12px;
	line-height: 1.4;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
	z-index: 9999;
	transition: opacity 0.2s ease-in-out;
}

.if-menu-peek:hover::before {
	opacity: 1;
}

.if-menu-peek::after {
	content: "\f530";
	font-family: dashicons;
	position: absolute;
	width: 24px;
	height: 24px;
	font-size: 20px;
	color: #d63638;
	top: -4px;
	right: -10px;
	line-height: 1;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: help;
	z-index: 10000;
}

.if-menu-peek::after:hover {
	transform: scale(1.1);
	transition: transform 0.2s ease;
}

/* RTL Support for peek feature */
body.rtl .if-menu-peek::before {
	left: auto;
	right: calc(100% + 15px);
}

body.rtl .if-menu-peek::after {
	right: auto;
	left: -15px;
}
