/* ============================================================
   ENEM — Linguagens, Códigos e suas Tecnologias
   Reaproveita classes base já definidas em dashboard.css
   (sidebar, header, fade-in, spinner, badges, modal-overlay etc.)
   Aqui só ficam as classes NOVAS específicas desta página.
============================================================ */

/* ---------- Cards da trilha de assuntos ---------- */
.assunto-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.assunto-card.livre {
  cursor: pointer;
}
.assunto-card.livre:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  background: #1c1c1f;
}

.assunto-numero {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.assunto-info {
  flex: 1;
  min-width: 0;
}

.assunto-titulo {
  font-weight: 700;
  font-size: 0.9rem;
  color: #f4f4f5;
  line-height: 1.25;
}

.assunto-prioridade {
  display: block;
  font-size: 0.7rem;
  color: #71717a;
  margin-top: 0.15rem;
}

.assunto-selo {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.assunto-selo.gratis {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.assunto-selo.bloqueado {
  background: rgba(161, 161, 170, 0.15);
  color: #a1a1aa;
}

/* Estado bloqueado: visível, porém sem navegação real */
.assunto-card.bloqueado {
  cursor: pointer;
  opacity: 0.6;
}
.assunto-card.bloqueado:hover {
  opacity: 0.8;
}
.assunto-card.bloqueado .assunto-numero {
  background: rgba(161, 161, 170, 0.12);
  color: #a1a1aa;
}

.assunto-cadeado {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ---------- Card do Simulado ---------- */
.simulado-card {
  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);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .simulado-card:not(.simulado-bloqueado):hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.5);
  }
}

.simulado-card.simulado-bloqueado {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.selo-plano-estudante {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(161, 161, 170, 0.15);
  color: #a1a1aa;
  white-space: nowrap;
}

/* ---------- Bloco Inglês e Espanhol ---------- */
.idiomas-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.idioma-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.idioma-link:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  color: #fbbf24;
}