.wizard-tour-highlight {
  position: relative !important;
  z-index: 10002 !important;
  outline: 3px solid #f97316 !important;
  outline-offset: 4px !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.16), 0 18px 50px rgba(15, 23, 42, 0.22) !important;
  transition: outline-color 0.2s ease, box-shadow 0.2s ease;
}

.wizard-tour-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(2px);
}

.wizard-tour-card {
  position: fixed;
  z-index: 10003;
  width: min(390px, calc(100vw - 32px));
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
  padding: 18px;
}

.wizard-tour-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}

.wizard-tour-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.wizard-tour-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wizard-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.wizard-tour-actions-left,
.wizard-tour-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wizard-tour-btn {
  border: 0;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wizard-tour-btn:active {
  transform: translateY(1px);
}

.wizard-tour-btn-primary {
  background: #1e40af;
  color: white;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.25);
}

.wizard-tour-btn-primary:hover {
  background: #1d4ed8;
}

.wizard-tour-btn-muted {
  background: #f1f5f9;
  color: #334155;
}

.wizard-tour-btn-muted:hover {
  background: #e2e8f0;
}

.wizard-tour-btn-danger {
  background: #fff1f2;
  color: #be123c;
}

.wizard-tour-btn-danger:hover {
  background: #ffe4e6;
}

.wizard-tour-prompt {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  width: min(390px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(30, 64, 175, 0.22);
  padding: 18px;
  animation: wizardTourPulseIn 0.35s ease both;
}

.wizard-tour-prompt::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  border: 2px solid rgba(249, 115, 22, 0.36);
  animation: wizardTourGlow 1.8s ease-in-out infinite;
  pointer-events: none;
}

.wizard-tour-prompt h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}

.wizard-tour-prompt p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.wizard-tour-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.12);
}

.wizard-tour-button:hover {
  background: #ffedd5;
}

@keyframes wizardTourGlow {
  0%, 100% { opacity: 0.38; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.015); }
}

@keyframes wizardTourPulseIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .wizard-tour-card {
    left: 16px !important;
    right: 16px !important;
    top: auto !important;
    bottom: 16px !important;
  }

  .wizard-tour-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard-tour-actions-left,
  .wizard-tour-actions-right {
    width: 100%;
    justify-content: space-between;
  }
}
