.wizard {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 100px;
  direction: rtl;
}

.progress-bar {
  position: sticky;
  top: 0;
  background: #f6f8f9;
  padding: 10px 0 16px;
  z-index: 5;
}

.progress-bar-fill-track {
  background: var(--border);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  background: var(--brand);
  height: 8px;
  border-radius: 999px;
  transition: width 0.25s ease;
  width: 0%;
}

.progress-bar-label {
  display: block;
  font-size: 0.75rem;
  color: #7a8a92;
  margin-top: 6px;
}

.step h1 { font-size: 1.5rem; color: var(--brand); margin-bottom: 8px; }
.step h2 { font-size: 1.25rem; margin-bottom: 4px; border: none; padding: 0; }
.step h3 { font-size: 1rem; margin: 18px 0 8px; }
.step .lead { font-size: 1rem; line-height: 1.6; color: #445; margin-bottom: 24px; }
.step .sub { font-size: 0.9rem; color: #667; margin-bottom: 16px; }

.tip-box {
  background: var(--brand-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #445;
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.tip-box .tip-icon { flex-shrink: 0; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.92; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
}
.btn-whatsapp:hover { opacity: 0.92; }

.btn-cta { display: block; width: 100%; margin: 8px 0; font-size: 1.05rem; padding: 16px; text-align: center; text-decoration: none; }

.cta-row { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }

.nav-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.nav-buttons[hidden] { display: none; }
.nav-buttons button { flex: 1; }
.nav-buttons .progress-hint { flex-basis: 100%; text-align: center; font-size: 0.78rem; color: #7a8a92; order: -1; margin-bottom: 4px; }

.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 0.9rem; margin-bottom: 6px; color: #445; }
.field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  direction: rtl;
}

.option-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }

.option-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s;
}
.option-card:hover { border-color: var(--brand); }
.option-card.selected { border-color: var(--brand); background: var(--brand-light); font-weight: 600; }

/* שלב 2: רשת כרטיסי checkbox עם אייקון לכל איבר גוף */
.body-part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.body-part-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, background 0.15s;
}
.body-part-card .icon { font-size: 1.6rem; line-height: 1; }
.body-part-card:hover { border-color: var(--brand); }
.body-part-card.selected { border-color: var(--brand); background: var(--brand-light); font-weight: 600; }

.selected-count-note { font-size: 0.8rem; color: #7a8a92; margin-top: -2px; margin-bottom: 14px; }

/* שלבים 3+5: סליידרים */
.slider-field { margin-bottom: 20px; }
.slider-field .slider-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--brand);
  text-align: center;
  margin-bottom: 10px;
}
.slider-field input[type="range"] { width: 100%; accent-color: var(--brand); }
.slider-field .slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #7a8a92;
  margin-top: 4px;
}

.checkbox-field { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px; font-size: 0.85rem; }
.checkbox-field input { margin-top: 3px; }
.checkbox-field label { cursor: pointer; }

.result-tier {
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.result-tier.tier-high { background: #e6f4ea; border: 2px solid #2e8b4f; }
.result-tier.tier-medium { background: #fdf3e0; border: 2px solid #d98c3f; }
.result-tier.tier-initial { background: #eef2f4; border: 2px solid var(--border); }
.result-tier .tier-icon { font-size: 2.4rem; }
.result-tier .tier-message { font-size: 1.15rem; font-weight: 600; margin-top: 8px; }

.result-block {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
  text-align: center;
}
.result-figure { font-size: 1.6rem; font-weight: bold; color: var(--brand); }
.result-sub-figure { font-size: 0.95rem; color: #445; margin-bottom: 4px; }
.tiny-note { font-size: 0.78rem; color: #7a8a92; margin-top: 6px; }

.response-time-note {
  text-align: center;
  font-size: 0.9rem;
  color: #445;
  margin-bottom: 16px;
}

.disclaimer-box {
  background: #fff3ea;
  border: 2px solid #d98c3f;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7a4a12;
  margin-top: 20px;
  line-height: 1.5;
}

.gate-screen { text-align: center; }
.gate-screen .gate-icon { font-size: 2.4rem; margin-bottom: 10px; }

.submit-error-note { color: var(--danger); font-size: 0.85rem; margin-top: 10px; }

@media (max-width: 480px) {
  .wizard { padding: 12px 12px 100px; }
  .step h1 { font-size: 1.25rem; }
  .body-part-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
}
