/* ============================================================
   Jungle Agents — walkthrough tour (overlay, backdrop, spotlight, card)
   Single prefix: tour-
   ============================================================ */

.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.tour-overlay .tour-backdrop,
.tour-overlay .tour-card {
  pointer-events: auto;
}

.tour-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 14, 0.72);
  /* clip-path set by JS to cut out spotlight region */
}

.tour-spotlight {
  position: fixed;
  /* top, left, width, height set by JS via getBoundingClientRect() */
  background: transparent;
  border: 2px solid rgba(229, 184, 11, 0.65);
  outline: 1px solid rgba(229, 184, 11, 0.35);
  outline-offset: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(229, 184, 11, 0.2);
  pointer-events: none;
}

.tour-card {
  position: fixed;
  bottom: 58px;
  right: 16px;
  max-width: 320px;
  background: var(--jungle-bg-card);
  border: 1px solid var(--jungle-border-strong);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(229, 184, 11, 0.08);
  padding: 12px 14px;
  font-family: var(--font-mono);
  z-index: 10001;
}

.tour-card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--jungle-gold);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.tour-card-description {
  font-size: 14px;
  color: var(--jungle-text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.tour-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.tour-card .tour-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jungle-border-strong);
  border-radius: 6px;
  cursor: pointer;
  color: var(--jungle-text);
  min-width: 75px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tour-card .tour-btn:hover {
  border-color: rgba(229, 184, 11, 0.45);
  background: rgba(229, 184, 11, 0.1);
}

.tour-card .tour-btn:active {
  border-color: rgba(229, 184, 11, 0.55);
}

.tour-card .tour-btn:disabled {
  color: var(--jungle-text-dim);
  cursor: default;
  opacity: 0.6;
}

.tour-card .tour-btn:disabled:active {
  border-style: solid;
}

.tour-card .tour-btn:focus {
  outline: 2px solid rgba(229, 184, 11, 0.35);
  outline-offset: 1px;
}
