/* ── GEXBoard Dashboard Tour ─────────────────────────────────────────────── */

/* Overlay pieces — 4 divs that together darken everything except the spotlight */
.tour-piece {
  position: fixed;
  background: rgba(0, 0, 0, 0.72);
  z-index: 8000;
  pointer-events: all;
  transition: top 0.25s ease, left 0.25s ease, right 0.25s ease,
              bottom 0.25s ease, width 0.25s ease, height 0.25s ease;
}

/* Teal spotlight ring around highlighted element */
#tour-ring {
  position: fixed;
  z-index: 8001;
  pointer-events: none;
  border: 2px solid #5DCAA5;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(93, 202, 165, 0.15),
    0 0 28px rgba(93, 202, 165, 0.2),
    inset 0 0 0 1px rgba(93, 202, 165, 0.05);
  transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}

/* Floating explanation card */
#tour-card {
  position: fixed;
  z-index: 8100;
  width: 300px;
  background: #1a1f2e;
  border: 1px solid rgba(93, 202, 165, 0.28);
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(93, 202, 165, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Step counter */
.tour-count {
  font-size: 10px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  color: #5DCAA5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Panel title */
.tour-title {
  font-size: 15px;
  font-weight: 600;
  color: #e8f0ea;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Description */
.tour-body {
  font-size: 13px;
  color: #8b9aaa;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Progress dots */
.tour-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 18px;
}

.tour-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: width 0.22s ease, background 0.22s ease, border-radius 0.22s ease;
  flex-shrink: 0;
}

.tour-dot.active {
  width: 20px;
  border-radius: 3px;
  background: #5DCAA5;
}

/* Action row */
.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Skip — plain text */
.tour-skip {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  padding: 0;
  font-family: inherit;
  transition: color 0.15s;
}
.tour-skip:hover { color: rgba(255, 255, 255, 0.6); }

/* Nav buttons wrapper */
.tour-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Back — outline */
.tour-back {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.tour-back:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

/* Next / Finish — teal solid */
.tour-next {
  background: #5DCAA5;
  color: #041a12;
  border: none;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.tour-next:hover  { opacity: 0.88; }
.tour-next:active { transform: scale(0.96); }

/* Header tour button */
.tour-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(93, 202, 165, 0.1);
  border: 1px solid rgba(93, 202, 165, 0.3);
  color: #5DCAA5;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.tour-btn:hover {
  background: rgba(93, 202, 165, 0.18);
  border-color: rgba(93, 202, 165, 0.55);
}
.tour-btn svg {
  flex-shrink: 0;
}
