.tour-kit-frame {
	visibility: hidden;

	&.is-visible {
		visibility: visible;
	}
}

.tour-kit-frame__container {
	border-radius: 2px;
	bottom: 44px;
	display: inline;
	left: 16px;
	position: fixed;
	z-index: 9999;
	// Avoid the text cursor when the text is not selectable
	cursor: default;
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
	background: var(--studio-white);
}

.tour-kit-overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0);
	opacity: 0;

	&.is-visible {
		opacity: 0.5;
	}
}

.tour-kit-spotlight {
	&.is-visible {
		position: fixed;
		overflow: hidden;
		// box-shadow: 0 0 0 9999px rgba(0, 0, 255, 0.2);
		outline: 99999px solid rgba(0, 0, 0, 0.5);
		z-index: 1;
	}
}

.tour-kit-frame__arrow {
	visibility: hidden;
}

.tour-kit-frame__arrow,
.tour-kit-frame__arrow::before {
	position: absolute;
	width: 12px;
	height: 12px;
	background: inherit;
	z-index: -1;
}

.tour-kit-frame__arrow::before {
	visibility: visible;
	content: "";
	transform: rotate(45deg);
}

.tour-kit-frame__container[data-popper-placement^="top"] > .tour-kit-frame__arrow {
	bottom: -6px;
	&::before {
		box-shadow: 1px 1px 2px -1px rgb(0 0 0 / 25%);
	}
}

.tour-kit-frame__container[data-popper-placement^="bottom"] > .tour-kit-frame__arrow {
	top: -6px;
	&::before {
		box-shadow: -1px -1px 2px -1px rgb(0 0 0 / 25%);
	}
}

.tour-kit-frame__container[data-popper-placement^="left"] > .tour-kit-frame__arrow {
	right: -6px;
	&::before {
		box-shadow: 1px -1px 2px -1px rgb(0 0 0 / 25%);
	}
}

.tour-kit-frame__container[data-popper-placement^="right"] > .tour-kit-frame__arrow {
	left: -6px;
	&::before {
		box-shadow: -1px 1px 2px -1px rgb(0 0 0 / 25%);
	}
}
