/* ============================================================
 * Visitor Profiling popup (Phase 2)
 * ============================================================ */
.pf-modal-overlay {
  position: fixed; inset: 0; background: rgba(20,20,20,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 400; padding: 1rem;
}
.pf-modal {
  background: #fff; border-radius: 16px; padding: 1.6rem;
  width: 100%; max-width: 400px; box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  position: relative;
}
.pf-modal h3 { font-weight: 700; color: #111; margin: 0 0 0.8rem; }
.pf-modal p { color: #333; }
.pf-close {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  font-size: 22px; color: #999; cursor: pointer;
}
.pf-progress { font-size: 0.8rem; color: #555; margin: 0 0 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
#pf-question-text { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.4; font-weight: 700; color: #111; }
#pf-answer-area { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.pf-option-btn {
  padding: 0.7rem 1rem; border: 1.5px solid #ccc; border-radius: 10px; background: #fff;
  text-align: left; font-size: 1rem; font-weight: 600; color: #222; cursor: pointer; transition: all 0.15s;
}
.pf-option-btn:hover, .pf-option-btn.selected { border-color: #007BFF; background: #eef5ff; color: #0056b3; }
#pf-answer-area input[type="number"], #pf-answer-area input[type="text"] {
  padding: 0.7rem; border: 1.5px solid #ccc; border-radius: 10px; font-size: 1.05rem; font-weight: 600; color: #111;
}
.pf-actions { display: flex; justify-content: space-between; gap: 10px; }
.pf-actions button, .pf-actions a { flex: 1; text-align: center; font-weight: 700; }
#pf-summary-list { max-height: 260px; overflow-y: auto; margin-bottom: 1rem; }
.pf-summary-item { padding: 8px 0; border-bottom: 1px dashed #ddd; font-size: 0.95rem; font-weight: 600; color: #111; }
.pf-summary-item .q { color: #555; display: block; margin-bottom: 2px; font-weight: 700; font-size: 0.85rem; }
.pf-family-counter { font-size: 0.9rem; color: #333; font-weight: 600; margin-bottom: 8px; }
