/* ============================================================================
 * Pikka AI MY Interactive Spotlight Tour & Trigger Pill (my.pikkaai.com)
 * ========================================================================== */

.pikka-guide-trigger-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pikka-guide-trigger-btn:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.pikka-guide-trigger-btn:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 2px;
}

.pikka-guide-trigger-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #0284c7;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .pikka-guide-trigger-btn {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
  }

  .pikka-guide-trigger-label {
    display: none;
  }
}

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

.pikka-my-tour-overlay.is-dim-only {
  background: rgba(15, 23, 42, 0.56);
}

.pikka-my-tour-spotlight {
  position: fixed;
  border-radius: 14px;
  border: 2.5px solid #ef4444;
  box-shadow:
    0 0 0 9999px rgba(15, 23, 42, 0.56),
    0 0 0 4px rgba(239, 68, 68, 0.26),
    0 0 24px rgba(239, 68, 68, 0.5);
  pointer-events: none;
  transition:
    left 0.18s ease,
    top 0.18s ease,
    width 0.18s ease,
    height 0.18s ease;
}

.pikka-my-tour-target-badge {
  position: fixed;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow:
    0 4px 12px rgba(239, 68, 68, 0.45),
    0 0 0 2px #ffffff;
  pointer-events: none;
}

.pikka-my-tour-card {
  position: fixed;
  right: auto;
  bottom: auto;
  margin: 0;
  padding: 18px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.5);
  z-index: 2147483640;
}

.pikka-my-tour-card::backdrop {
  background: transparent;
  pointer-events: none;
}

.pikka-my-tour-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.pikka-my-tour-step-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
}

.pikka-my-tour-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pikka-my-tour-voice-btn,
.pikka-my-tour-close-btn,
.pikka-my-tour-btn {
  min-height: 36px;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pikka-my-tour-voice-btn {
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.pikka-my-tour-voice-btn[aria-pressed="true"] {
  border-color: #0284c7;
  background: #e0f2fe;
  color: #0369a1;
}

.pikka-my-tour-close-btn {
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
}

.pikka-my-tour-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.pikka-my-tour-title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 17.5px;
  line-height: 1.25;
  font-weight: 800;
}

.pikka-my-tour-hint {
  margin: 0 0 14px;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.pikka-my-tour-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.pikka-my-tour-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd5e1;
}

.pikka-my-tour-dot.is-active {
  width: 20px;
  background: #0284c7;
}

.pikka-my-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pikka-my-tour-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pikka-my-tour-btn {
  padding: 0 14px;
  border: 1px solid transparent;
}

.pikka-my-tour-btn-ghost {
  background: transparent;
  color: #475569;
}

.pikka-my-tour-btn-ghost:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.pikka-my-tour-btn-secondary {
  border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.pikka-my-tour-btn-secondary:hover {
  background: #f8fafc;
}

.pikka-my-tour-btn-primary {
  background: #0284c7;
  color: #ffffff;
}

.pikka-my-tour-btn-primary:hover {
  background: #0369a1;
}

.pikka-my-tour-card button:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .pikka-my-tour-spotlight {
    transition: none;
  }
}

html[data-pikka-tour-open="true"] [data-support-no-remote-click="true"] {
  display: none !important;
  pointer-events: none !important;
}
