/**
 * PCTechComVn — AI Wizard CSS
 * Child Theme CSS Module
 * Version: 1.0.0 (Sprint 14)
 *
 * AI Symptom Checker / Diagnostic Wizard.
 */

/* ═══════════════════════════════════════════════
   1. WIZARD STEPS (Tiến trình)
   ═══════════════════════════════════════════════ */
.wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.wizard-step-dot {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: background 0.3s;
}

.wizard-step-dot.done,
.wizard-step-dot.active {
  background: var(--green);
}

/* ═══════════════════════════════════════════════
   2. WIZARD PANELS
   ═══════════════════════════════════════════════ */
.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
}

.quiz-q {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--blue-dark);
}

/* ═══════════════════════════════════════════════
   3. WIZARD OPTIONS (Nút chọn)
   ═══════════════════════════════════════════════ */
.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-opt {
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.wizard-opt:hover {
  border-color: var(--blue);
}

/* Biến thể dạng lưới cho các lỗi chung */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.issue-btn {
  padding: 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.issue-btn:hover,
.issue-btn.selected {
  border-color: var(--green);
  background: var(--green-light);
}

/* ═══════════════════════════════════════════════
   4. WIZARD RESULT
   ═══════════════════════════════════════════════ */
.wizard-result {
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
  display: none; /* Hiển thị qua JS */
}

.wizard-result.visible {
  display: block;
}
