/* ============================================
   ELEVA AMAPÁ — Reforço de Português
   Reaproveita dashboard.css, redacao.css e as
   classes .tabela-temas* já criadas em redacao-temas.css.
   ============================================ */

.tabela-temas-wrapper {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tabela-temas {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.825rem;
}
.tabela-temas thead th {
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #71717a;
  background: #0c0c0e;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tabela-temas tbody td {
  padding: 0.9rem 1rem;
  color: #d4d4d8;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.tabela-temas tbody tr:last-child td { border-bottom: none; }
.td-comp {
  font-weight: 900;
  color: #fbbf24;
  white-space: nowrap;
}
.td-impacto {
  color: #a1a1aa;
  min-width: 260px;
}

/* ---------- Hierarquia de conteúdos (barras de peso) ---------- */
.peso-item {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.875rem;
  padding: 0.9rem 1.1rem;
}
.peso-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.peso-nome {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e4e4e7;
}
.peso-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.peso-essencial {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.peso-muito-importante {
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.peso-barra-track {
  width: 100%;
  height: 0.4rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.peso-barra-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.peso-fill-mi {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}
.peso-pct {
  font-size: 0.72rem;
  color: #71717a;
}

/* ---------- Conectivos ---------- */
.conectivo-card {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.875rem;
  padding: 1rem 1.2rem;
}
.conectivo-tipo {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 0.35rem;
}
.conectivo-exemplos {
  font-size: 0.85rem;
  color: #d4d4d8;
  font-style: italic;
}

/* ---------- Plano de estudo (fases) ---------- */
.fase-card {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1.1rem;
}
.fase-numero {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.fase-tempo {
  font-size: 0.68rem;
  font-weight: 800;
  color: #71717a;
  background: rgba(255,255,255,0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ---------- CTA pra lista de 50 assuntos ---------- */
.assuntos-cta {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.assuntos-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
}