/* WIZARD MODAL STYLES */
.wizard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.wizard-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wizard-modal {
  background: #ffffff;
  width: 100%;
  max-width: 650px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.wizard-overlay.active .wizard-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.wizard-header {
  padding: 24px 32px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wizard-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.wizard-close-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  transition: color 0.3s;
}

.wizard-close-btn:hover {
  color: #ef4444;
}

/* Stepper Indicator */
.wizard-steps-indicator {
  display: flex;
  padding: 20px 32px 0;
  gap: 12px;
}

.step-dot {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  transition: background 0.4s ease;
}

.step-dot.active {
  background: #d97706; /* brand amber/orange */
}

.step-dot.completed {
  background: #b45309;
}

/* Body */
.wizard-body {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
}

.wizard-intro {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.5;
}

.wizard-step-content {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}

.wizard-step-content.active {
  display: block;
}

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

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  color: #0f172a;
  transition: all 0.3s;
  background: #fff;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #334155;
  cursor: pointer;
}

/* File Upload */
.file-upload-wrapper {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.3s;
  position: relative;
}

.file-upload-wrapper:hover {
  border-color: #d97706;
  background: #fffbeb;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-text {
  color: #64748b;
  font-size: 0.95rem;
}
.file-upload-text span {
  color: #d97706;
  font-weight: 600;
}

/* Footer */
.wizard-footer {
  padding: 24px 32px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wizard-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-prev {
  background: #e2e8f0;
  color: #475569;
}
.btn-prev:hover {
  background: #cbd5e1;
}

.btn-next, .btn-submit {
  background: #d97706;
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}
.btn-next:hover, .btn-submit:hover {
  background: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.wizard-trust {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wizard-trust strong {
  color: #334155;
}

@media (max-width: 640px) {
  .wizard-modal {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Success Step */
.wizard-success {
  text-align: center;
  padding: 32px 16px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

.wizard-success h3 {
  font-size: 1.75rem;
  color: #0f172a;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.wizard-success p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 8px;
}
.wizard-success strong {
  color: #0f172a;
}
