/* WHOQOL-BREF UI/UX */
.whoqol-form, .whoqol-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;
}
.whoqol-form h3{ margin: 6px 0 6px; font-size: 20px; color: #0f172a; }
.whoqol-desc{ color:#475569; margin-bottom:10px; }

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

.whoqol-options{ display:flex; gap:8px; flex-wrap:wrap; }
.whoqol-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;
}
.whoqol-option:hover{ background:#f0f7ff; border-color:#0073aa; }

.whoqol-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;
}
.whoqol-btn:hover{ transform: translateY(-1px); }

.whoqol-overall{
  display:grid; grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  gap:12px; margin: 10px 0 16px;
}
.ovl-card{
  background:#f0f9ff; border:1px solid #bae6fd; border-left:8px solid #38bdf8;
  border-radius:14px; padding:12px;
}
.ovl-card span{ display:block; color:#0c4a6e; font-weight:700; margin-bottom:6px; }
.ovl-card strong{ font-size:22px; }
.ovl-card em{ display:block; font-style:normal; font-size:12px; color:#475569; margin-top:4px; }

.whoqol-grid{
  display:grid;
  grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  gap:12px;
}
.whoqol-card{
  background:#f8fafc; border:1px solid #e5e9f0; border-radius:14px;
  padding:14px;
}
.whoqol-card h4{ margin: 0 0 8px; font-size:16px; color:#0f172a; }
.whoqol-card .row{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border:1px solid #e2e8f0; border-radius:10px;
  padding:8px 10px; margin:6px 0;
}
.whoqol-card .row span{ color:#475569; }
.whoqol-card .row strong{ font-size:18px; }

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

@media (max-width: 520px){
  .whoqol-grid, .whoqol-overall{ grid-template-columns: 1fr; }
}