/* Wizard Modal Styles */
.tp-wizard-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tp-wizard-modal.is-open {
  display: flex;
}

.tp-wizard-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.tp-wizard-content {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: wizardSlideUp 0.3s ease-out;
}

@keyframes wizardSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.tp-wizard-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tp-wizard-step-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tp-wizard-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.tp-wizard-body {
  padding: 24px;
}

.tp-wizard-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.tp-wizard-help {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 24px;
}

.tp-wizard-input-area {
  margin-bottom: 24px;
}

.tp-wizard-choice {
  margin-bottom: 12px;
}

.tp-wizard-choice label {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.tp-wizard-choice label:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.tp-wizard-choice input[type="radio"],
.tp-wizard-choice input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
}

.tp-wizard-choice label:has(input:checked) {
  border-color: #6366f1;
  background: #f5f3ff;
}

.tp-wizard-number {
  width: 100%;
  padding: 12px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
}

.tp-wizard-number:focus {
  border-color: #6366f1;
}

.tp-wizard-footer {
  padding: 20px 24px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tp-wizard-progress {
  flex: 1;
  margin-right: 24px;
}

.tp-wizard-bar-bg {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.tp-wizard-bar-fill {
  height: 100%;
  background: #6366f1;
  width: 0%;
  transition: width 0.3s ease;
}

.tp-wizard-progress-text {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.tp-wizard-nav {
  display: flex;
  gap: 12px;
}

.tp-wizard-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tp-wizard-btn-back {
  background: white;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.tp-wizard-btn-next {
  background: #6366f1;
  border: none;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
}

.tp-wizard-btn-next:hover {
  background: #4f46e5;
}

/* Wizard Trigger Button Style */
.wizard-trigger-wrap {
  text-align: center;
  margin: 24px 0;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  border: 1px dashed #cbd5f5;
}

.btn-wizard {
  background: #f5f3ff;
  color: #6366f1;
  border: 2px solid #6366f1;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  visibility: visible !important;
  opacity: 1 !important;
}

.btn-wizard:hover {
  background: #6366f1;
  color: white;
}
