/* ============================================
   CLIENT FORM REVIEWS TAB (all classes prefixed cfr-)
============================================ */
.cfr-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  margin-left: 5px;
  border-radius: 9px;
  background: #e53935;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
  vertical-align: 1px;
}
.cfr-badge[hidden] { display: none; }

.cfr-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.cfr-sec-chev { font-size: 1rem; line-height: 1; color: #7c5cbf; }

.cfr-card {
  background: #fff;
  border: 1px solid #ddd2eb;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.cfr-head { display: flex; align-items: center; gap: 10px; padding: 8px; }
.cfr-head.cfr-tap { cursor: pointer; }

.cfr-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #c6b7e2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cfr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cfr-thumb svg { width: 22px; height: 22px; }

.cfr-main { flex: 1; min-width: 0; }
.cfr-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #3f3550;
}
.cfr-name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfr-new {
  flex-shrink: 0;
  background: #7c5cbf;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 10px;
}
.cfr-meta { font-size: 0.8rem; color: #8a8073; margin-top: 2px; }
.cfr-status { font-size: 0.8rem; color: #4b3f5c; margin-top: 3px; line-height: 1.3; }
.cfr-chev { flex-shrink: 0; font-size: 1.3rem; line-height: 1; color: #4b3f5c; padding: 0 4px; }

.cfr-body { display: none; padding: 0 8px 8px; }
.cfr-open .cfr-body { display: block; }

.cfr-video-box {
  background: #3f3550;
  border-radius: 8px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.cfr-video-msg { color: #faf7f2; font-size: 0.85rem; margin: 0; padding: 0.6rem; text-align: center; }
.cfr-retry-btn {
  background: #c6b7e2;
  color: #3d2f52;
  border: none;
  border-radius: 14px;
  padding: 4px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-bottom: 0.6rem;
}
/* Katie's note under the reply video (also in the exercise popup) */
.cfr-rnote { background: #f3eefa; border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: 0.9rem; line-height: 1.45; color: #3f3550; text-align: left; }
.cfr-rnote b { display: block; font-size: 0.75rem; color: #6b5a8a; margin-bottom: 3px; }
.cfr-rnote-text { white-space: pre-wrap; overflow-wrap: anywhere; }
