/* Feedback & Review Automation — /solutions/feedback-review-automation/
   Page-only styles. Builds on style.css tokens and components. */

/* Hero: NPS survey inside the WhatsApp phone ------------------------------- */
.fb-phone .chat { height: 390px; }

.fb-nps { max-width: 92%; }
.fb-nps__scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}
.fb-nps__scale i {
  display: grid;
  place-items: center;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-2);
}
.fb-nps__scale .is-picked { border-color: var(--brand); background: var(--brand); color: #fff; }
.fb-nps__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 10px;
  color: var(--soft);
}

.fb-review { max-width: 90%; }
.fb-review__card {
  display: grid;
  gap: 3px;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.fb-review__card .quote-card__stars .icon { width: 13px; height: 13px; }
.fb-review__place { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.fb-review__place .icon { width: 12px; height: 12px; }
.fb-review__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
}
.fb-review__btn .icon { width: 13px; height: 13px; }

/* Night: private patient-care alerts ---------------------------------------- */
.fb-inbox__body { display: grid; gap: 10px; padding: 14px; }
.fb-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 16px;
  border: 1px solid var(--night-line);
  border-radius: var(--r);
}
.fb-alert--new { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .03); }
.fb-alert__who { display: grid; min-width: 0; line-height: 1.35; }
.fb-alert__who b { font-size: 14.5px; color: #fff; }
.fb-alert__who small {
  overflow: hidden;
  font-size: 12.5px;
  color: var(--night-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fb-alert__quote { grid-column: 2 / -1; font-size: 14px; line-height: 1.5; color: var(--night-text); }
.fb-inbox__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--night-line);
}

/* Routing diagram: colour the outcome icons by path ------------------------- */
.fb-route--review .icon { color: var(--brand-strong); }
.fb-route--private .icon { color: var(--warn); }
.fb-route--doctor .icon { color: var(--danger); }
.fb-route--record .icon { color: var(--info); }

@media (max-width: 639px) {
  .fb-alert { grid-template-columns: auto minmax(0, 1fr); }
  .fb-alert .status { grid-column: 2; justify-self: start; }
  .fb-alert__quote { grid-column: 1 / -1; }
}

/* 1024–1263px: the hero column is narrower than the mockup, so scale the stage as a unit
   (values leave room for a desktop scrollbar). */
@media (min-width: 1024px) and (max-width: 1099px) { .fb-stage { zoom: .78; } }
@media (min-width: 1100px) and (max-width: 1179px) { .fb-stage { zoom: .85; } }
@media (min-width: 1180px) and (max-width: 1263px) { .fb-stage { zoom: .92; } }
