/* ============================================
   ELEVA AMAPÁ — Banco de Repertórios
   Reaproveita dashboard.css e redacao.css.
   Padrão de tabela igual ao redacao-temas.css.
   ============================================ */

.nivel-legenda {
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #18181b;
  color: #a1a1aa;
}

.paywall-banner {
  background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02));
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ---------- Passos de aplicação (1-2-3) ---------- */
.passo-card {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
}
.passo-numero {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.passo-titulo {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e4e4e7;
  margin-bottom: 0.35rem;
}
.passo-texto {
  font-size: 0.8rem;
  color: #a1a1aa;
  line-height: 1.5;
}

.box-exemplo-repertorio {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.9rem;
  padding: 1.1rem 1.3rem;
}

/* ---------- Tabela (mesmo padrão de 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: 780px;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.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);
  white-space: nowrap;
}
.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; }
.tabela-temas tbody tr:hover { background: rgba(255,255,255,0.02); }

.td-tema {
  font-weight: 700;
  color: #f4f4f5;
  min-width: 220px;
}

.prob-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.prob-essencial {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.prob-muito-importante {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.prob-importante {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* ---------- Linhas bloqueadas (Plano Free) ---------- */
.linha-tema.linha-bloqueada td {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

/* ---------- Erros comuns ---------- */
.erro-repertorio-card {
  background: rgba(239, 68, 68, 0.05);
  border-left: 3px solid #ef4444;
  border-radius: 0.75rem;
  padding: 1.1rem 1.3rem;
}

/* ---------- Síntese / plano de estudo ---------- */
.resumo-estrategico {
  background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02));
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.lista-pontos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.lista-pontos li {
  font-size: 0.875rem;
  color: #a1a1aa;
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}
.lista-pontos li::before {
  content: '•';
  position: absolute;
  left: 0.2rem;
  color: #f59e0b;
  font-weight: 900;
}

/* ============================================
   REPERTÓRIOS POR ÁREA (acordeão de 50 áreas)
   ============================================ */

/* <details> nativo — abre/fecha sem precisar de JS, leve pro mobile */
.area-repertorio {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.9rem;
  overflow: hidden;
}

.area-repertorio summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #e4e4e7;
}
.area-repertorio summary::-webkit-details-marker {
  display: none;
}
.area-repertorio summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  color: #71717a;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.area-repertorio[open] summary::after {
  transform: rotate(45deg);
}

.area-contador {
  font-size: 0.68rem;
  font-weight: 800;
  color: #71717a;
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  margin-left: auto;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.area-conteudo {
  padding: 0 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.rep-item {
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.7rem;
  padding: 0.8rem 1rem;
}

.rep-tipo {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  margin-bottom: 0.4rem;
}

.rep-nome {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 0.2rem;
}

.rep-aplicacao {
  font-size: 0.8rem;
  color: #a1a1aa;
  line-height: 1.5;
}

/* Item bloqueado pro Plano Free — borrado, sem sumir do DOM */
.rep-item.bloqueado {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}