.wizard-step {
  position: fixed;
  width: 280px;
  background-color: #ffffff;
  color: #333;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-left: 4px solid #6366f1;
  font-size: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.7s ease-in-out, left 0.7s ease-in-out;
  pointer-events: auto;
  will-change: transform, opacity, top, left;
}

.dark .wizard-step {
  background-color: #1f2937;
  color: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wizard-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wizard-step-title {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-required-label {
  font-size: 10px;
  background-color: #ef4444;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
}

.wizard-step-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #6366f1;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.wizard-step-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
}

.dark .wizard-step-close {
  color: #9ca3af;
}

.wizard-step-content {
  margin-bottom: 10px;
}

.wizard-step-footer {
  display: flex;
  justify-content: space-between;
}

.wizard-step-button {
  background-color: #6366f1;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s;
}

.wizard-step-button:hover:not([disabled]) {
  background-color: #4f46e5;
}

.wizard-step-button[disabled] {
  background-color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.7;
}

.wizard-step-button.secondary {
  background-color: transparent;
  color: #6366f1;
  border: 1px solid #6366f1;
}

.dark .wizard-step-button.secondary {
  color: #a5b4fc;
  border-color: #a5b4fc;
}

.wizard-step-button.secondary:hover {
  background-color: rgba(99, 102, 241, 0.1);
}

#wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}

.wizard-highlight-element {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
  border-radius: 4px;
  animation: wizard-pulse 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes wizard-pulse {
  0% {
    box-shadow: 0 0 0 3px rgb(59, 129, 244, 0.4);
  }

  33% {
    box-shadow: 0 0 0 6px rgb(113, 88, 239, 0.6);
  }

  66% {
    box-shadow: 0 0 0 6px rgb(146, 53, 234, 0.4);
  }

  100% {
    box-shadow: 0 0 0 3px rgb(59, 129, 244, 0.4);
  }
}