/* modules/common/feedbackModal.css — the feedback dialog's own rows, next to feedbackModal.js. */

/* The six choices, one under the other, each a thumb high with the whole row as its target. They
   were bare inline labels, 16px high on one line, in the form filled mid-session with one hand. */
.feedback-chips-selector {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.feedback-chip-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--btn-radius);
  cursor: pointer;
}
.feedback-chip-option input[type="radio"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.feedback-chip-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* Keeping a note on the client's record. The whole row is the target — a 16px tick
   box is not something a trainer hits one-handed with the other hand on a barbell. */
.feedback-keep-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.feedback-keep-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* The way out of the app for someone with something to say. Full-width buttons, because
   this is read once and acted on once — and the diagnostics are SHOWN rather than merely attached:
   sending something about a person's own app without showing them what it contains would be the
   opposite of what this app is for. */
.feedback-route-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 8px 0;
  text-decoration: none;
}
/* Said before the button, in the app's warning colour: by the time a trainer is looking at the
   issue form they have already picked the image. */
.feedback-route-warning {
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 3px solid var(--danger, #dc2626);
  background: color-mix(in srgb, var(--danger, #dc2626) 10%, transparent);
  color: var(--text-main);
}
.feedback-route-diagnostics {
  margin: 4px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-x: auto;
  color: var(--text-muted);
}
