/* =====================================================================
   ELEVA AMAPÁ — MEU PROGRESSO
   Reaproveita variáveis/classes de dashboard.css (sidebar, cards, etc.)
   Aqui só ficam os estilos exclusivos desta página.
===================================================================== */

/* ---------------------------------------------------------------------
   CARDS DE ESTATÍSTICA
--------------------------------------------------------------------- */
.stat-card {
  background: rgba(24,24,27,0.7);
  border: 1px solid rgba(63,63,70,0.6);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(245,158,11,0.35);
  transform: translateY(-2px);
}

.stat-icone {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.stat-valor {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #71717a;
  margin-top: 0.25rem;
}

/* ---------------------------------------------------------------------
   CARD DE PROGRESSO (reaproveita .progress-card do dashboard.css,
   caso não exista lá, cai neste fallback)
--------------------------------------------------------------------- */
.progress-card {
  background: rgba(24,24,27,0.6);
  border: 1px solid rgba(63,63,70,0.5);
}

.progress-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 9999px;
  background: rgba(39,39,42,0.8);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  transition: width 0.5s ease;
}

/* ---------------------------------------------------------------------
   FREQUÊNCIA DA SEMANA — CÍRCULOS DE DIA
--------------------------------------------------------------------- */
.day-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.day-circle .dot {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.day-circle .label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #71717a;
}

.day-circle.day-estudado .dot { background: #10b981; }
.day-circle.day-faltou .dot { background: #ef4444; }
.day-circle.day-pending .dot { background: #f59e0b; }
.day-circle.day-off .dot { background: #3f3f46; color: #71717a; }

.legend-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}

.redacao-flag {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 0.65rem;
  filter: grayscale(1) opacity(0.6);
}

.redacao-flag.enviada {
  filter: none;
}

/* ---------------------------------------------------------------------
   HISTÓRICO DOS ÚLTIMOS 14 DIAS
--------------------------------------------------------------------- */
.historico-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.5rem;
  border-radius: 0.75rem;
  min-width: 3.4rem;
  background: rgba(39,39,42,0.5);
  border: 1px solid rgba(63,63,70,0.5);
}

.historico-chip .chip-data {
  font-size: 0.65rem;
  font-weight: 700;
  color: #a1a1aa;
}

.historico-chip .chip-icone {
  font-size: 1rem;
}

.historico-chip.estudou {
  border-color: rgba(16,185,129,0.4);
  background: rgba(16,185,129,0.08);
}

.historico-chip.nao-estudou {
  opacity: 0.55;
}