/* 12-tour.css — Guided Tour: Backdrop, Spotlight, Tooltip, Buttons, Progress Dots */

/* ── GUIDED TOUR ─────────────────────────────────────────── */
.tour-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: transparent;
  pointer-events: none;
  opacity: 0; transition: opacity 0.3s ease;
}
.tour-backdrop.active { opacity: 1; pointer-events: all; }

.tour-spotlight {
  position: fixed; z-index: 9001;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 4000px rgba(20, 12, 6, 0.45);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.tour-tooltip {
  position: fixed; z-index: 9002;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 24px 18px;
  width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
}
.tour-tooltip::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
}
.tour-tooltip.arrow-left::before  { left: -6px; top: 22px; }
.tour-tooltip.arrow-right::before { right: -6px; top: 22px; }
.tour-tooltip.arrow-top::before   { top: -6px; left: 24px; }
.tour-tooltip.arrow-bottom::before { bottom: -6px; left: 24px; }

.tour-title-header {
  font-family: 'Playfair Display', serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px; margin-bottom: 10px;
}
.tour-step-counter {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 6px;
}
.tour-tooltip h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--text-dark);
  margin: 0 0 10px; line-height: 1.3;
}
.tour-tooltip p {
  font-family: 'Spectral', serif;
  font-size: 14px; color: var(--text-mid);
  line-height: 1.65; margin: 0 0 16px;
}
.tour-btn-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.tour-btn-next {
  background: var(--terracotta); color: white;
  border: none; border-radius: 5px;
  padding: 9px 20px; font-size: 13px;
  font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.tour-btn-next:hover { background: var(--terra-dark); }
.tour-btn-skip {
  background: none; border: none;
  color: var(--text-light); font-size: 12px;
  cursor: pointer; padding: 0;
  text-decoration: underline; text-underline-offset: 2px;
}
.tour-btn-skip:hover { color: var(--text-mid); }
.tour-progress-dots {
  display: flex; gap: 5px; align-items: center;
}
.tour-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ddd; transition: background 0.2s;
}
.tour-dot.active { background: var(--terracotta); }
.tour-dot.done { background: var(--forest); }

/* Hide tour replay link on mobile */
@media (max-width: 767px) {
  .sidebar-footer-link[onclick*="replayTour"] { display: none; }
}
