/* onboarding-tour.css — coach-mark walkthrough (public/js/onboarding-tour.js).
   Reuses the site's own tokens (--ielts-white/--ielts-text/...) so it
   follows dark mode automatically, same as every other component. */

.tour-dim {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: transparent; /* the dim look comes from .tour-spotlight's box-shadow below */
}

.tour-spotlight {
  position: fixed;
  z-index: 501;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(15, 13, 26, 0.62);
  outline: 3px solid var(--unio-blue);
  outline-offset: 2px;
  pointer-events: none;
  transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.tour-cursor {
  position: fixed;
  z-index: 502;
  width: 30px;
  height: 30px;
  margin: -4px 0 0 -4px; /* tip of the pointer lands exactly on the target point */
  pointer-events: none;
  opacity: 0.65;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1), top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-cursor svg { width: 100%; height: 100%; fill: #fff; stroke: var(--unio-dark); stroke-width: 1.2; stroke-linejoin: round; }
.tour-cursor.tap { animation: tour-cursor-tap 0.4s ease; }
@keyframes tour-cursor-tap {
  0% { transform: scale(1); }
  40% { transform: scale(0.72); }
  100% { transform: scale(1); }
}

.tour-tooltip {
  position: fixed;
  z-index: 503;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: var(--ielts-white);
  color: var(--ielts-text);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
  visibility: hidden;
  transition: top 0.35s ease, left 0.35s ease;
}
.tour-tooltip-step { font-size: 11.5px; font-weight: 700; color: var(--unio-blue); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.tour-tooltip-title { margin: 0 0 6px; font-size: 16px; font-family: var(--font-heading); }
.tour-tooltip-body { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--ielts-text-muted); }
.tour-tooltip-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-tooltip-nav { display: flex; gap: 8px; }
.tour-tooltip-nav .btn { padding: 7px 14px; font-size: 13px; }
.tour-skip-btn { background: none; border: none; padding: 0; font-size: 12.5px; color: var(--ielts-text-muted); text-decoration: underline; cursor: pointer; flex-shrink: 0; }
.tour-skip-btn:hover { color: var(--ielts-text); }
.tour-prev-btn.hidden { display: none; }

@media (max-width: 480px) {
  .tour-tooltip { width: calc(100vw - 32px); padding: 16px; }
}
