/* ============================================
   ELEVA AMAPÁ — matematica-basica.css
   Estilos exclusivos da página hub de Matemática Básica.
   Reaproveita dashboard.css (sidebar/header/fade-in/loading-spinner) —
   aqui ficam as classes específicas desta página, no mesmo padrão
   visual usado em enem-humanas.css.
   ============================================ */

/* ---------------------------------------------------------------------
   CARDS DE ASSUNTO
--------------------------------------------------------------------- */
.assunto-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.assunto-card.livre {
  cursor: pointer;
}

@media (hover: hover) {
  .assunto-card.livre:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.35);
  }
}

.assunto-card.bloqueado {
  opacity: 0.6;
  cursor: pointer;
}

.assunto-numero {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assunto-card.bloqueado .assunto-numero {
  background: rgba(63,63,70,0.5);
  color: #a1a1aa;
}

.assunto-info {
  flex: 1;
  min-width: 0;
}

.assunto-titulo {
  color: #e4e4e7;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.assunto-selo {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.assunto-selo.gratis {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.assunto-selo.bloqueado {
  background: rgba(63,63,70,0.5);
  color: #a1a1aa;
  border: 1px solid rgba(255,255,255,0.08);
}

.assunto-cadeado {
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------
   CARD DE SIMULADO (por categoria)
--------------------------------------------------------------------- */
.simulado-card {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

a.simulado-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
}

.simulado-card.simulado-bloqueado {
  opacity: 0.7;
}

.selo-plano-estudante {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ---------------------------------------------------------------------
   MODAL DE CONTEÚDO BLOQUEADO
--------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1.25rem;
}

.modal-box {
  background: #18181b;
  border: 1px solid rgba(63,63,70,0.6);
}