/* =============================================================
   DEMO TOUR — guía interactiva para demo.php
   ============================================================= */

.tour-panel {
  position: fixed;
  background: rgba(8, 8, 8, 0.72);
  z-index: 99990;
  pointer-events: auto;
  transition: opacity 0.15s ease;
}

.tour-spotlight {
  position: fixed;
  z-index: 99991;
  border: 2px solid #7fcc00;
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(127, 204, 0, 0.18), 0 0 24px rgba(127, 204, 0, 0.35);
  pointer-events: none;
  transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.tour-tooltip {
  position: fixed;
  z-index: 99999;
  width: min(320px, calc(100vw - 32px));
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  transition: top 0.2s ease, left 0.2s ease;
}

.tour-tooltip-step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7fcc00;
  margin-bottom: 6px;
}

.tour-tooltip-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}

.tour-tooltip-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
}

.tour-tooltip-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 14px;
}

.tour-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.18s ease;
}

.tour-dot--active {
  background: #7fcc00;
}

.tour-btn-group {
  display: flex;
  gap: 8px;
}

.tour-btn {
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tour-btn-skip {
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  padding: 7px 4px;
}

.tour-btn-skip:hover {
  color: rgba(255, 255, 255, 0.75);
}

.tour-btn-prev {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.tour-btn-prev:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tour-btn-next {
  background: #7fcc00;
  color: #0a0a0a;
}

.tour-btn-next:hover {
  background: #93e300;
}

.tour-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #7fcc00;
  color: #0a0a0a;
  border: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  z-index: 9500;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.tour-fab:hover {
  background: #93e300;
}

@media (max-width: 768px) {
  .tour-fab {
    bottom: 88px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .tour-tooltip {
    padding: 16px 16px 14px;
  }
}
