.lab-tour-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 200000;
	pointer-events: none;
}

.lab-tour-dim {
	position: absolute;
	background: rgba(7, 18, 35, 0.55);
	z-index: 200000;
	pointer-events: none;
	transition: all 0.18s ease;
}

.lab-tour-spotlight {
	position: absolute;
	border: 3px solid #2c7be5;
	box-shadow:
	0 0 0 8px rgba(44, 123, 229, 0.15),
	0 18px 50px rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	z-index: 200001;
	pointer-events: none;
	transition: all 0.18s ease;
	background: rgba(255, 255, 255, 0.02);
}

.lab-tour-tooltip {
	position: absolute;
	z-index: 200002;
	background: #ffffff;
	color: #0f172a;
	border-radius: 12px;
	padding: 16px 18px 14px 18px;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
	border: 1px solid #e2e8f0;
	font-size: 16px;
	line-height: 1.45;
	max-width: 360px;
}

.lab-tour-body {
	margin-bottom: 14px;
	font-weight: 600;
}

.lab-tour-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}

.lab-tour-button {
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #0f172a;
	padding: 8px 12px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.16s ease;
}

.lab-tour-button:hover:not(:disabled) {
	background: #e2e8f0;
}

.lab-tour-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.lab-tour-button--primary {
	background: #2c7be5;
	color: #ffffff;
	border-color: #2c7be5;
	box-shadow: 0 6px 14px rgba(44, 123, 229, 0.28);
}

.lab-tour-button--primary:hover {
	background: #1f65c3;
	border-color: #1f65c3;
}

@media (max-width: 720px) {
	.lab-tour-tooltip {
	left: 12px !important;
	right: 12px;
	width: auto !important;
	}

	.lab-tour-actions {
	flex-wrap: wrap;
	justify-content: flex-start;
	}
}

/* Restart tour button */
.lab-tour-restart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding: 0;
	background: none;
	color: #94a3b8;
	border: none;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
	line-height: 1;
	pointer-events: auto;
}

.lab-tour-restart-btn:hover {
	color: #2c7be5;
}

/* CTA-style restart button (shows configurable text instead of a bare icon). */
.lab-tour-restart-btn.lab-tour-restart-btn--cta {
	width: auto;
	height: auto;
	padding: 6px 14px;
	background: #fff;
	color: #2c7be5;
	border: 1px solid #d0d7e2;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lab-tour-restart-btn.lab-tour-restart-btn--cta:hover {
	background: #2c7be5;
	color: #fff;
	border-color: #2c7be5;
}
