/* MyEvo — reports.css : relatórios (personal e aluno). Prefixo .rep- */
.rep-wrap{ display:flex; flex-direction:column; gap:12px; }
.rep-kpis{ display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.rep-kpi:last-child{ grid-column:1 / -1; }
.rep-kpi{ background:#121212; border:1px solid #1f1f1f; border-radius:12px; padding:10px 8px;
  min-height:78px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; text-align:center; }
.rep-kpi-v{ font-size:17px; font-weight:800; color:#fff; line-height:1.1; }
.rep-kpi-v small{ font-size:10px; font-weight:600; color:#9a9a9a; }
.rep-kpi-l{ font-size:10.5px; color:#8a8a8a; line-height:1.15; }

.rep-card{ background:#121212; border:1px solid #1f1f1f; border-radius:14px; padding:14px; }
.rep-card-h{ font-size:13px; font-weight:700; color:#cfcfcf; margin-bottom:10px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.rep-chart{ position:relative; height:200px; }

.rep-sel{ background:#0e0e0e; border:1px solid #2a2a2a; color:#fff; border-radius:8px; padding:6px 8px; font-size:13px; max-width:60%; }

.rep-empty{ background:#121212; border:1px solid #1f1f1f; border-radius:14px; padding:20px; color:#9a9a9a; font-size:14px; text-align:center; }

/* calendário mensal de treinos */
.rep-cal-nav{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.rep-cal-mes{ font-size:14px; font-weight:700; color:#fff; text-transform:capitalize; }
.rep-cal-btn{ width:32px; height:32px; border-radius:8px; border:1px solid #2a2a2a; background:#0e0e0e; color:#ddd; font-size:18px; line-height:1; cursor:pointer; }
.rep-cal-btn:hover{ border-color:#F16719; color:#F16719; }
.rep-cal-dow{ display:grid; grid-template-columns:repeat(7,36px); gap:5px; margin-bottom:4px; justify-content:center; }
.rep-cal-dow span{ text-align:center; font-size:11px; color:#8a8a8a; font-weight:600; }
.rep-cal-days{ display:grid; grid-template-columns:repeat(7,36px); gap:5px; justify-content:center; }
.rep-cd{ width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:8px;
  background:#161616; color:#9a9a9a; font-size:12.5px; border:none; padding:0; font-family:inherit; }
.rep-cd.is-empty{ background:transparent; }
.rep-cd.is-fut{ color:#555; }
.rep-cd.is-done{ background:#F16719; color:#fff; font-weight:700; cursor:pointer; }
.rep-cd.is-done:active{ opacity:.75; }
.rep-cd.is-sel{ outline:2px solid #fff; outline-offset:1px; }
.rep-cd.is-today{ outline:1.5px solid #F16719; outline-offset:-1.5px; }
.rep-cd.is-done.is-today{ outline-color:#fff; }
.rep-day-sessions{ margin-top:12px; padding-top:12px; border-top:1px solid #232323; }
.rep-day-h{ font-size:11px; color:#8a8a8a; font-weight:700; text-transform:uppercase; letter-spacing:.4px; margin-bottom:8px; }
.rep-day-row{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 12px; border-radius:8px; background:#161616; border:none; color:#fff; font-family:inherit;
  font-size:13.5px; margin-bottom:6px; text-align:left; }
.rep-day-row:active{ background:#1f1f1f; }
.rep-day-row-t{ font-weight:600; }
.rep-day-row-v{ color:#8a8a8a; font-size:12.5px; white-space:nowrap; }
.rep-erro{ background:rgba(255,80,80,.08); border:1px solid rgba(255,80,80,.3); color:#ff8a8a; border-radius:12px; padding:14px; font-size:14px; }
.rep-muted{ color:#8a8a8a; font-size:14px; padding:8px 0; }

/* evolução por exercício: alternador de métrica + resumo de progressão */
.rep-seg{ display:flex; gap:4px; background:#0e0e0e; border:1px solid #242424; border-radius:10px; padding:3px; margin-bottom:10px; }
.rep-seg-btn{ flex:1; padding:7px 4px; border:0; background:transparent; color:#9a9a9a; font-size:12.5px; font-weight:600; border-radius:8px; cursor:pointer; }
.rep-seg-btn.is-active{ background:#F16719; color:#fff; }
.rep-ex-resumo{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; min-height:22px; }
.rep-ex-delta{ font-size:12.5px; font-weight:700; }
.rep-ex-delta.rep-up{ color:#34D399; }
.rep-ex-delta.rep-down{ color:#FF6B5E; }
.rep-ex-delta.rep-flat{ color:#8a8a8a; }
.rep-ex-sess{ font-size:12px; color:#8a8a8a; }
.rep-ex-hint{ font-size:12.5px; color:#8a8a8a; }
.rep-badge{ font-size:11px; font-weight:800; color:#1a1a1a; background:#FFB020; padding:2px 8px; border-radius:999px; text-transform:uppercase; letter-spacing:.3px; }

@media(min-width:560px){ .rep-kpis{ grid-template-columns:repeat(5,1fr); } .rep-kpi:last-child{ grid-column:auto; } }

/* --- Feedback recente (relatório do personal) --- */
.fb-list{ display:flex; flex-direction:column; gap:10px; }
.fb-item{ border:1px solid #242424; border-radius:11px; padding:10px 12px; background:#121212; }
.fb-item-top{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.fb-item-toggle{ width:100%; background:none; border:none; padding:0; margin:0; cursor:pointer; text-align:left; font-family:inherit; color:inherit; }
.fb-toggle-arrow{ display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px;
  border-radius:6px; background:#1c1c1c; border:1px solid #262626; font-size:10px; color:#F16719;
  transition:transform .15s; flex-shrink:0; }
.fb-item--collapsible.is-collapsed .fb-toggle-arrow{ transform:rotate(-90deg); }
.fb-item-body{ margin-top:10px; }
.fb-item--collapsible.is-collapsed .fb-item-body{ display:none; }
.fb-answered{ margin-left:auto; color:#34D399; font-weight:800; font-size:13px; }
.fb-date{ font-size:12.5px; color:#8a8a8a; }
.fb-eff-tag{ font-size:13px; font-weight:600; color:#eee; }
.rep-badge.fb-pain{ background:#FF6B5E; color:#1a1a1a; }
.fb-note{ font-size:13.5px; color:#cfcfcf; margin-top:6px; }
.fb-note.fb-pain-note{ color:#ffb0a6; }

.fb-treino{ font-size:12.5px; font-weight:700; color:#eee; }
.rep-metric-hint{ font-size:12px; color:#8a8a8a; margin:-4px 0 10px; line-height:1.4; }

/* ===== Filtro por mês (barra do topo do relatório) ===== */
.rep-monthbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#161618;border:1px solid #2A2A2E;border-radius:14px;padding:8px 10px;margin-bottom:12px}
.rep-mb-btn{width:40px;height:40px;border-radius:10px;background:#232327;border:1px solid #34343A;color:#EDEDED;font-size:20px;line-height:1;cursor:pointer}
.rep-mb-btn:disabled{opacity:.35;cursor:default}
.rep-mb-label{font-weight:700;font-size:16px;color:#EDEDED}
.rep-hist-nota{font-size:12px;color:#8A8A90;margin:-2px 0 8px}

/* ===== Resposta do personal ao feedback ===== */
.fb-reply{margin-top:8px;padding:8px 10px;border-left:3px solid var(--accent,#F16719);background:rgba(241,103,25,.08);border-radius:0 8px 8px 0}
.fb-reply-h{font-size:12px;color:#C9C9CE}
.fb-reply-h b{color:var(--accent,#F16719)}
.fb-reply-b{font-size:14px;color:#EDEDED;margin-top:3px;white-space:pre-wrap}
.fb-reply-edit{margin-top:10px}
.fb-reply-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.fb-chip{font-size:12px;padding:6px 10px;border-radius:999px;border:1px solid #34343A;background:#1c1c1f;color:#C9C9CE;cursor:pointer}
.fb-chip.on{background:var(--accent,#F16719);border-color:var(--accent,#F16719);color:#111;font-weight:600}
.fb-reply-ta{width:100%;min-height:56px;padding:8px 10px;border-radius:8px;border:1px solid #34343A;background:#161618;color:#EDEDED;font-size:14px;resize:vertical}
.fb-reply-acts{display:flex;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.fb-reply-send{margin-top:0;padding:9px 16px;border-radius:9px;border:none;background:var(--accent,#F16719);color:#111;font-weight:700;font-size:14px;cursor:pointer}
.fb-reply-send:disabled{opacity:.6}
.fb-reply-del{padding:9px 12px;border-radius:9px;border:1px solid #3a3a3f;background:transparent;color:#C9C9CE;font-size:13px;cursor:pointer}
.fb-reply-del:hover{border-color:#C0392B;color:#ff8a7a}
.fb-reply-del:disabled{opacity:.6}
.sessdet-fb-aluno{margin-bottom:10px}
#rAluno{width:auto;flex:1 1 200px;margin-bottom:0}
#rRemoverAluno{flex:0 0 auto;white-space:nowrap}
