/* Black Sheep guided site tour (Shepherd.js) theme — matches the chat widget's
   amber/zinc dark palette. Loaded eagerly; Shepherd's own JS/CSS load lazily
   from js/tour.js only when the tour actually starts. */
.shepherd-element.bsco-tour-step {
  background: #18181b;
  color: #f4f4f5;
  border: 1px solid #3f3f46;
  border-radius: 1rem;
  font-family: inherit;
  max-width: 320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.shepherd-element.bsco-tour-step .shepherd-arrow::before {
  background: #18181b;
  border: 1px solid #3f3f46;
}
.shepherd-element.bsco-tour-step .shepherd-header {
  background: linear-gradient(90deg, #eab308, #f97316, #18181b);
  border-radius: 1rem 1rem 0 0;
  padding: 0.75rem 1rem;
}
.shepherd-element.bsco-tour-step .shepherd-title {
  color: #09090b;
  font-weight: 700;
  font-size: 0.85rem;
}
.shepherd-element.bsco-tour-step .shepherd-cancel-icon {
  color: rgba(9, 9, 11, 0.7);
}
.shepherd-element.bsco-tour-step .shepherd-cancel-icon:hover {
  color: #09090b;
}
.shepherd-element.bsco-tour-step .shepherd-text {
  color: #e4e4e7;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 1rem;
}
.shepherd-element.bsco-tour-step .shepherd-footer {
  padding: 0 1rem 1rem;
  gap: 0.5rem;
}
.shepherd-element.bsco-tour-step .shepherd-button {
  background: #eab308;
  color: #09090b;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: none;
}
.shepherd-element.bsco-tour-step .shepherd-button:not(:disabled):hover {
  background: #f59e0b;
  color: #09090b;
}
.shepherd-element.bsco-tour-step .shepherd-button.shepherd-button-secondary {
  background: transparent;
  color: #d4d4d8;
  border: 1px solid #52525b;
}
.shepherd-element.bsco-tour-step .shepherd-button.shepherd-button-secondary:not(:disabled):hover {
  background: #27272a;
  color: #f4f4f5;
}
.shepherd-modal-overlay-container {
  opacity: 0.55;
}
/* Wider variant for steps with more copy (e.g. the ecosystem capstone) */
.shepherd-element.bsco-tour-step--wide {
  max-width: 420px;
}
/* Step X / Y pill + dot progress bar, injected into the footer */
.bsco-tour-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
}
.bsco-tour-progress-label {
  font-size: 0.7rem;
  color: #a1a1aa;
  font-variant-numeric: tabular-nums;
}
.bsco-tour-progress-dots {
  display: flex;
  gap: 4px;
}
.bsco-tour-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #3f3f46;
}
.bsco-tour-progress-dot.is-active {
  background: #eab308;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.7);
}
.bsco-tour-progress-dot.is-done {
  background: #71717a;
}

/* Autoplay countdown bar — sits above the step copy whenever the tour is
   driving itself. Shrinks left-to-right over the 15s window; disappears the
   moment the visitor clicks anything, since autoplay turns off for good at
   that point (see js/tour.js manualAdvance). */
.bsco-tour-bar-track {
  height: 3px;
  margin: 0.85rem 1rem 0;
  background: rgba(63, 63, 70, 0.6);
  border-radius: 999px;
  overflow: hidden;
}
.bsco-tour-bar-fill {
  height: 100%;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  background: linear-gradient(90deg, #eab308, #f97316);
  transition-property: transform;
  transition-timing-function: linear;
}