/* ============================================
   COACH FORM REVIEWS TAB (all classes prefixed fr-)
   ============================================ */

.fr-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a8073;
  margin: 1.2rem 0 0.5rem;
}
.fr-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.fr-group-toggle.fr-group-open .fr-chev { transform: rotate(-135deg); margin-top: 3px; }

.fr-card {
  background: #fff;
  border: 1px solid #ddd2eb;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.fr-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem;
  cursor: pointer;
}
.fr-thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 8px;
  background: #ddd2eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fr-main { flex: 1; min-width: 0; }
.fr-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #3f3550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-set { font-size: 0.8rem; color: #4b3f5c; margin-top: 1px; }
.fr-meta { font-size: 0.78rem; color: #8a8073; margin-top: 1px; }

.fr-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.fr-tag-needs { background: #f7dd43; color: #7a5c00; }
.fr-tag-replied { background: #ddd2eb; color: #4b3f5c; }

.fr-chev {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8a8073;
  border-bottom: 2px solid #8a8073;
  transform: rotate(45deg);
  margin: -3px 6px 0 2px;
  transition: transform 0.15s;
}
.fr-open .fr-head .fr-chev { transform: rotate(-135deg); margin-top: 3px; }

.fr-body { display: none; padding: 0 0.6rem 0.7rem; }
.fr-open .fr-body { display: block; }

.fr-video-box {
  background: #3f3550;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
}
.fr-video-msg { color: #faf7f2; font-size: 0.85rem; padding: 0.6rem; text-align: center; }
.fr-retry-btn {
  background: #c6b7e2;
  color: #3d2f52;
  border: none;
  border-radius: 14px;
  padding: 4px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-bottom: 0.6rem;
}

.fr-note {
  background: #faf7f2;
  border: 1px solid #eee6da;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: #4b3f5c;
  line-height: 1.4;
  white-space: pre-wrap;
}

.fr-actions { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.7rem; }
.fr-reply-btn {
  background: #c6b7e2;
  color: #3d2f52;
  border: none;
  border-radius: 10px;
  padding: 7px 18px;
  font-size: 0.85rem;
  cursor: pointer;
}
.fr-reply-btn.fr-reply-disabled {
  background: #ddd2eb;
  color: #8a8073;
  cursor: default;
}
.fr-reply-msg { font-size: 0.8rem; color: #8a8073; }
.fr-delete-btn {
  background: none;
  color: #c0392b;
  border: 1.5px solid #c0392b;
  border-radius: 10px;
  padding: 5.5px 16px;
  font-size: 0.85rem;
  cursor: pointer;
}
.fr-delete-btn:hover:not(:disabled) { background: #fbeae8; }
.fr-delete-btn:disabled { opacity: 0.5; cursor: default; }