/* ═══ Diário — Feedback do Professor ═══ */

/* Bloco do professor (dentro de cada sd-entry-card na visão do professor) */
.dtf-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dtf-verify-row {
  display: flex;
  justify-content: flex-start;
}

.dtf-btn-verify {
  font-size: 0.78rem;
  font-weight: 700;
}

.dtf-btn-verify-disabled {
  font-size: 0.72rem;
  opacity: 0.6;
}

.dtf-verify-done {
  font-size: 0.78rem;
  color: var(--gold);
  background: rgba(255, 200, 60, 0.08);
  border: 1px solid rgba(255, 200, 60, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
}

.dtf-verify-ts {
  color: var(--muted2);
  font-size: 0.7rem;
  font-weight: 400;
}

/* Reações */
.dtf-reactions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dtf-react-label {
  font-size: 0.72rem;
  color: var(--muted2);
  font-weight: 600;
}

.dtf-react-picker {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.dtf-react-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  font-size: 1rem;
  padding: 2px 8px;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.2;
}

.dtf-react-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.1);
}

.dtf-react-btn.active {
  background: linear-gradient(135deg, var(--teal), #00b89c);
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 184, 156, 0.3);
}

.dtf-others-reacts {
  display: flex;
  gap: 2px;
  margin-left: 6px;
  padding-left: 6px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.dtf-other-react {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Editor de comentário próprio */
.dtf-comment-editor {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dtf-comment-ta {
  font-size: 0.78rem;
  resize: vertical;
  min-height: 42px;
}

.dtf-comment-save {
  align-self: flex-end;
  font-size: 0.72rem;
}

/* Comentários de outros professores */
.dtf-other-comment {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.dtf-other-comment-hd {
  font-size: 0.72rem;
  color: var(--muted2);
  margin-bottom: 3px;
}

.dtf-other-comment-body {
  color: var(--ink, #fff);
  line-height: 1.4;
}

.dtf-ts {
  color: var(--muted2);
  font-weight: 400;
  margin-left: 4px;
}

/* ═══ Vista read-only (aluno e responsável) ═══ */
.dtf-ro-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dtf-ro-award {
  font-size: 0.78rem;
  color: var(--gold);
  background: rgba(255, 200, 60, 0.1);
  border-radius: 8px;
  padding: 5px 9px;
  font-weight: 700;
}

.dtf-ro-reactions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.dtf-ro-react {
  font-size: 1.1rem;
}

.dtf-ro-react-label {
  font-size: 0.7rem;
  color: var(--muted2);
  margin-left: 4px;
  font-style: italic;
}

.dtf-ro-comment {
  background: linear-gradient(135deg, rgba(0,184,156,0.08), rgba(0,184,156,0.02));
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.8rem;
}

.dtf-ro-comment-hd {
  font-size: 0.72rem;
  color: var(--muted2);
  margin-bottom: 3px;
}

.dtf-ro-comment-body {
  color: var(--ink, #fff);
  line-height: 1.45;
}

/* Mobile */
@media (max-width: 600px) {
  .dtf-react-btn { font-size: 0.9rem; padding: 2px 6px; }
  .dtf-others-reacts { margin-left: 0; padding-left: 0; border-left: none; }
}
