/* Walkthrough Overlay + Spotlight */
.walkthrough-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.walkthrough-overlay.dimmed {
  background: rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.walkthrough-spotlight {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Tooltip */
.walkthrough-tooltip {
  position: fixed;
  z-index: 1501;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 360px;
  width: calc(100vw - 32px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.walkthrough-tooltip.visible {
  opacity: 1;
}

.walkthrough-tooltip-title {
  font-size: var(--font-body-1, 18px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900, #111);
}

.walkthrough-tooltip-body {
  font-size: var(--font-body-3, 14px);
  line-height: 1.5;
  color: var(--gray-600, #4b5563);
  margin-bottom: 16px;
}

.walkthrough-tooltip-step {
  font-size: var(--font-body-4, 12px);
  color: var(--gray-400, #9ca3af);
  margin-bottom: 12px;
}

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

.walkthrough-tooltip-actions .wt-nav {
  display: flex;
  gap: 8px;
}

.walkthrough-btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-size: var(--font-body-3, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.walkthrough-btn-primary {
  background: var(--primary, #2563eb);
  color: #fff;
}

.walkthrough-btn-primary:hover {
  background: var(--primary-dark, #1d4ed8);
}

.walkthrough-btn-secondary {
  background: var(--gray-100, #f3f4f6);
  color: var(--gray-700, #374151);
}

.walkthrough-btn-secondary:hover {
  background: var(--gray-200, #e5e7eb);
}

.walkthrough-btn-skip {
  background: none;
  color: var(--gray-400, #9ca3af);
  font-weight: 400;
  padding: 8px 4px;
}

.walkthrough-btn-skip:hover {
  color: var(--gray-600, #4b5563);
}

/* Welcome/Completion centered card */
.walkthrough-center-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1502;
  background: #fff;
  border-radius: 16px;
  padding: 32px 40px;
  max-width: 440px;
  width: calc(100vw - 32px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  text-align: center;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.walkthrough-center-card.visible {
  opacity: 1;
}

.walkthrough-center-card h2 {
  font-size: var(--font-heading-2, 24px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900, #111);
}

.walkthrough-center-card p {
  font-size: var(--font-body-1, 18px);
  color: var(--gray-600, #4b5563);
  margin-bottom: 24px;
  line-height: 1.5;
}

.walkthrough-center-card .wt-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Setup checklist on dashboard */
.setup-checklist {
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 8px;
  border-left: 4px solid var(--primary, #2563eb);
  background: #fff;
}

.setup-checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100, #f3f4f6);
}

.setup-checklist-header h3 {
  font-size: var(--font-body-1, 18px);
  font-weight: 700;
  margin: 0;
}

.setup-checklist-items {
  padding: 8px 16px;
}

.setup-checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: var(--font-body-3, 14px);
}

.setup-checklist-item + .setup-checklist-item {
  border-top: 1px solid var(--gray-100, #f3f4f6);
}

.setup-checklist-item .check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.setup-checklist-item .check-done {
  color: var(--success, #16a34a);
  text-decoration: line-through;
  opacity: 0.7;
}

.setup-checklist-item .check-icon {
  width: 20px;
  text-align: center;
}

@media (max-width: 767px) {
  .walkthrough-tooltip {
    max-width: calc(100vw - 32px);
  }
  .walkthrough-center-card {
    padding: 24px 20px;
  }
}
