/* Azay FHC — แบบประเมินสุขภาพทางการเงิน ใช้ร่วมกันได้ทุกหน้า */
.az-fhc-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  font-family: 'Sarabun', sans-serif;
}

.az-fhc-progress { height: 6px; background: #e8f4fd; border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.az-fhc-progress-bar { height: 100%; background: #2E80C8; border-radius: 4px; transition: width 0.3s ease; }
.az-fhc-step-label { font-size: 12px; color: #999; margin-bottom: 4px; }
.az-fhc-step-title { font-family: 'Prompt', sans-serif; font-size: 20px; font-weight: 700; color: #1a3a5c; margin-bottom: 1.5rem; }

.az-fhc-question { margin-bottom: 1.75rem; }
.az-fhc-qlabel { font-size: 14.5px; font-weight: 600; color: #1a3a5c; margin-bottom: 10px; line-height: 1.5; }
.az-fhc-opts { display: flex; flex-direction: column; gap: 8px; }
.az-fhc-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #e8f4fd; border-radius: 12px; background: #fff;
  cursor: pointer; text-align: left;
  font-family: 'Sarabun', sans-serif; font-size: 14px; color: #333;
  transition: all .15s ease;
}
.az-fhc-opt:hover { border-color: #2E80C8; background: #f8fbff; }
.az-fhc-opt.selected { border-color: #2E80C8; background: #eef7ff; color: #1a3a5c; font-weight: 600; }
.az-fhc-opt-mark {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #cfe3f5;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 12px; color: #fff; background: #fff;
}
.az-fhc-opt.selected .az-fhc-opt-mark { background: #2E80C8; border-color: #2E80C8; }

.az-fhc-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.az-fhc-back { background: none; border: none; color: #888; font-size: 14px; cursor: pointer; font-family: 'Sarabun', sans-serif; padding: 10px 4px; }
.az-fhc-back:hover { color: #2E80C8; }
.az-fhc-next {
  background: #2E80C8; color: #fff; border: none; padding: 13px 28px; border-radius: 28px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: 'Sarabun', sans-serif;
}
.az-fhc-next:disabled { background: #cfe3f5; cursor: not-allowed; }

/* RESULT */
.az-fhc-result { text-align: center; }
.az-fhc-badge { display: inline-block; background: #e8f4fd; color: #2E80C8; font-size: 12px; padding: 4px 14px; border-radius: 20px; font-weight: 600; margin-bottom: 12px; }
.az-fhc-result-title { font-family: 'Prompt', sans-serif; font-size: 22px; font-weight: 700; color: #1a3a5c; margin-bottom: 1.5rem; }

.az-fhc-score-wrap { background: #f8fbff; border: 1px solid #e8f4fd; border-radius: 16px; padding: 1.75rem; margin-bottom: 2rem; }
.az-fhc-score-num { font-family: 'Prompt', sans-serif; font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.az-fhc-score-num span { font-size: 16px; color: #aaa; font-weight: 400; }
.az-fhc-score-bar { height: 10px; background: #e8f4fd; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.az-fhc-score-fill { height: 100%; border-radius: 6px; transition: width 0.4s ease; }
.az-fhc-score-band { font-family: 'Prompt', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.az-fhc-score-desc { font-size: 13.5px; color: #666; line-height: 1.7; }

.az-fhc-notice { background: #fff8e1; border: 1px solid #fde68a; border-radius: 12px; padding: 1rem 1.25rem; font-size: 13px; color: #7a5c00; line-height: 1.7; text-align: left; margin-bottom: 1.75rem; }

.az-fhc-rec-heading { font-family: 'Prompt', sans-serif; font-size: 17px; font-weight: 700; color: #1a3a5c; margin-bottom: 1rem; text-align: left; }
.az-fhc-recs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 1.5rem; }
.az-fhc-rec-card { background: #fff; border: 1px solid #e8f4fd; border-radius: 16px; padding: 1.5rem; text-align: left; box-shadow: 0 6px 20px rgba(46,128,200,0.06); }
.az-fhc-rec-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.az-fhc-rec-icon { font-size: 26px; flex-shrink: 0; }
.az-fhc-rec-cat { font-size: 11.5px; color: #FF6B9D; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.az-fhc-rec-title { font-family: 'Prompt', sans-serif; font-size: 16.5px; font-weight: 700; color: #1a3a5c; margin-top: 2px; }
.az-fhc-rec-reason { font-size: 13.5px; color: #666; line-height: 1.7; margin-bottom: 0.85rem; }
.az-fhc-rec-extra { font-size: 13px; color: #1a3a5c; background: #f0fdf5; border: 1px solid #cdf3dc; border-radius: 10px; padding: 8px 12px; margin-bottom: 1.1rem; line-height: 1.6; }
.az-fhc-rec-extra span { color: #888; font-weight: 400; }
.az-fhc-rec-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.az-fhc-btn-view { flex: 1; min-width: 150px; text-align: center; background: #fff; color: #2E80C8; border: 1.5px solid #2E80C8; padding: 10px; border-radius: 24px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.az-fhc-btn-line { flex: 1; min-width: 150px; text-align: center; background: #06C755; color: #fff; padding: 10px; border-radius: 24px; font-size: 13.5px; font-weight: 700; text-decoration: none; }

.az-fhc-disclaimer { font-size: 11.5px; color: #aaa; line-height: 1.7; margin-bottom: 1.5rem; text-align: left; }
.az-fhc-restart { background: none; border: 1.5px solid #e8f4fd; color: #555; font-size: 13.5px; padding: 10px 22px; border-radius: 24px; cursor: pointer; font-family: 'Sarabun', sans-serif; }
.az-fhc-restart:hover { border-color: #2E80C8; color: #2E80C8; }

@media (max-width: 480px) {
  .az-fhc-wrap { padding: 2rem 1.25rem 3rem; }
  .az-fhc-score-num { font-size: 32px; }
}
