/**
 * Toolbox guided tour — spotlight overlay + tooltip.
 */

.ffarl-tour__overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	pointer-events: auto;
}

/* The "hole": a transparent box whose huge box-shadow darkens everything else. */
.ffarl-tour__spot {
	position: fixed;
	display: none;
	border-radius: 8px;
	box-shadow: 0 0 0 9999px rgba(11, 20, 40, 0.66);
	transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
	pointer-events: none;
}
/* When no element is highlighted (welcome/end), dim the whole screen. */
.ffarl-tour__overlay.is-dim {
	background: rgba(11, 20, 40, 0.66);
}

.ffarl-tour__tip {
	position: fixed;
	z-index: 100001;
	width: 320px;
	max-width: calc(100vw - 24px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 44px -12px rgba(11, 20, 40, 0.6);
	padding: 1.1rem 1.2rem 1rem;
	font-family: inherit;
}
.ffarl-tour__title {
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--wp--preset--color--corduroy, #16274A);
	margin-bottom: 0.35rem;
}
.ffarl-tour__text {
	font-size: 0.92rem;
	line-height: 1.5;
	color: #333;
}
.ffarl-tour__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1rem;
}
.ffarl-tour__count {
	font-size: 0.78rem;
	color: #888;
}
.ffarl-tour__btns {
	display: flex;
	gap: 0.4rem;
	align-items: center;
}
.ffarl-tour__btns button {
	font: inherit;
	font-size: 0.85rem;
	cursor: pointer;
	border-radius: 6px;
	border: 0;
	padding: 0.4rem 0.9rem;
}
.ffarl-tour__skip {
	background: none;
	color: #888;
	padding: 0.4rem 0.5rem !important;
}
.ffarl-tour__back {
	background: #eef1f5;
	color: #333;
}
.ffarl-tour__next {
	background: var(--wp--preset--color--ffa-blue, #004C97);
	color: #fff;
	font-weight: 700;
}

/* Replay trigger by the search box. */
.ffarl-tour__trigger {
	margin-left: 0.5rem;
	background: none;
	border: 1px solid var(--wp--preset--color--ffa-blue, #004C97);
	color: var(--wp--preset--color--ffa-blue, #004C97);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.ffarl-tour__trigger:hover {
	background: var(--wp--preset--color--ffa-blue, #004C97);
	color: #fff;
}
