/* Herbal Risk Self‑Check UI/UX */
.hrisk-form, .hrisk-result{
  max-width: 920px;
  margin: 24px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  font-family: "Prompt", "Segoe UI", Tahoma, sans-serif;
  color: #222;
}
.hrisk-form h3{ margin: 6px 0 6px; font-size: 20px; color: #0f172a; }
.hrisk-desc{ color:#475569; margin-bottom:10px; }

.hrisk-fieldrow{
  margin: 14px 0;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
}
.hrisk-fieldrow label{ display:block; font-weight:600; margin-bottom:8px; }

.hrisk-options{ display:flex; flex-direction:column; gap:6px; margin-top:6px; }
.hrisk-option{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px;
  background:#fff; border:1px solid #e2e8f0; border-radius:10px;
  transition: all .2s ease-in-out; cursor:pointer;
}
.hrisk-option:hover{ background:#f0f7ff; border-color:#0073aa; }

.hrisk-btn{
  display:inline-block; padding:12px 22px;
  background: linear-gradient(90deg, #0073aa, #0ea5e9);
  color:#fff!important; border:none; border-radius:28px; font-weight:700;
  cursor:pointer; text-decoration:none; transition:transform .06s ease; margin-top:12px;
}
.hrisk-btn:hover{ transform: translateY(-1px); }

.hrisk-summary{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-radius:14px; border-left:10px solid #22c55e;
  background:#f0fdf4; margin:12px 0 18px;
}
.hrisk-summary.hr-mid{ border-left-color:#f59e0b; background:#fffbeb; }
.hrisk-summary.hr-high{ border-left-color:#ef4444; background:#fef2f2; }
.hrisk-total{ font-size:18px; font-weight:700; }
.hrisk-interpret{ font-size:16px; }

.hrisk-grid{
  display:grid;
  grid-template-columns: repeat( auto-fit, minmax(120px, 1fr) );
  gap:12px;
}
.hrisk-card{
  background:#f8fafc; border:1px solid #e5e9f0; border-radius:14px;
  padding:14px; text-align:center;
}
.hrisk-card span{ display:block; font-weight:700; color:#64748b; margin-bottom:6px; }
.hrisk-card strong{ font-size:22px; }

.hrisk-tips{
  margin-top: 10px; padding: 12px 14px;
  background:#f1f5f9; border:1px solid #e2e8f0; border-radius:12px;
}
.hrisk-tips h4{ margin:0 0 8px; }
.hrisk-tips ul{ margin:0; padding-left:18px; }

.hrisk-note, .hrisk-disclaimer{ font-size:12px; color:#64748b; margin-top:10px; }

@media (max-width: 520px){
  .hrisk-summary{ flex-direction:column; align-items:flex-start; gap:6px; }
}