/**
 * EPOFW Guided Tour
 * Spotlight overlay + step popover. Self-contained, no dependencies.
 */
.epofw-tour-spotlight {
	position: fixed;
	z-index: 2000000;
	border-radius: 8px;
	box-shadow: 0 0 0 9999px rgba( 15, 23, 42, 0.62 );
	transition: all 0.25s ease;
	pointer-events: none;
}
.epofw-tour-spotlight.epofw-tour-nohole {
	box-shadow: 0 0 0 9999px rgba( 15, 23, 42, 0.62 );
	width: 0;
	height: 0;
	top: 50%;
	left: 50%;
}
.epofw-tour-pop {
	position: fixed;
	z-index: 2000001;
	width: 320px;
	max-width: calc( 100vw - 32px );
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 44px rgba( 15, 23, 42, 0.28 );
	padding: 18px 18px 14px;
	box-sizing: border-box;
	opacity: 0;
	transform: translateY( 6px );
	transition: opacity 0.18s ease, transform 0.18s ease;
}
.epofw-tour-pop.epofw-tour-visible {
	opacity: 1;
	transform: none;
}
.epofw-tour-pop.epofw-tour-center {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
}
.epofw-tour-pop.epofw-tour-center.epofw-tour-visible {
	transform: translate( -50%, -50% );
}
.epofw-tour-arrow {
	position: absolute;
	width: 14px;
	height: 14px;
	background: #fff;
	transform: rotate( 45deg );
}
.epofw-tour-center .epofw-tour-arrow {
	display: none;
}
.epofw-tour-pop h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}
.epofw-tour-pop p {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.55;
	color: #475569;
}
.epofw-tour-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.epofw-tour-progress {
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
	white-space: nowrap;
}
.epofw-tour-btns {
	display: flex;
	gap: 8px;
}
.epofw-tour-btn {
	cursor: pointer;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 8px;
	line-height: 1;
	transition: all 0.12s ease;
}
.epofw-tour-btn:hover {
	border-color: #c7d2fe;
}
.epofw-tour-btn.epofw-tour-primary {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #fff;
}
.epofw-tour-btn.epofw-tour-primary:hover {
	background: #1e40af;
}
.epofw-tour-skip {
	position: absolute;
	top: 12px;
	right: 14px;
	cursor: pointer;
	border: 0;
	background: transparent;
	color: #94a3b8;
	font-size: 18px;
	line-height: 1;
	padding: 2px 4px;
}
.epofw-tour-skip:hover {
	color: #475569;
}
.epofw-tour-target-lift {
	position: relative;
	z-index: 2000000 !important;
}
/* Push the "Take a tour" button to the right of the builder action bar. */
.epofw-builder-action-bar .epofw-action-right {
	margin-left: auto;
}
.epofw-tour-start .dashicons {
	margin-right: 2px;
}
