/* --- ESTILO DO STREAK (CONSTÂNCIA) --- */
/* --- AJUSTES DO STREAK (CONSTÂNCIA) --- */
#streak-visual {
  /* Garante que as bolinhas fiquem alinhadas e com scroll se necessário */
  display: flex;
  gap: 6px; /* Espaço entre bolinhas */
  overflow-x: auto;
  padding-bottom: 5px; /* Alinha à esquerda */

  /* Esconde a barra de rolagem mas mantém funcional */
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap;

  /* Indica ao usuário que é scrollável */
  cursor: grab;
  user-select: none;
}

#streak-visual::-webkit-scrollbar {
  display: none;
}

.streak-dot {
  /* Aumentei levemente para preencher melhor */
  min-width: 32px;
  height: 32px;
  border-radius: 8px; /* Quadrado arredondado fica mais moderno que bolinha */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: #999;
  background-color: var(--badge-bg); /* Cor neutra padrão */
  flex-shrink: 0;
  transition: all 0.2s;
  cursor: pointer;
}

.streak-dot.success {
  background-color: #2ecc71;
  color: white;
}
.streak-dot.fail {
  background-color: #ff5252;
  color: white;
}
.streak-dot.rest {
  background-color: #f1c40f;
  color: white;
}
.streak-dot.today {
  border: 2px solid var(--text-color);
}

#streak-count {
  font-weight: bold;
  font-size: 15px;
  line-height: 1.3;
  display: block;
  text-align: center;
}

#streak-count .record {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
  color: var(--text-secondary);
}

#streak-count .record-equal {
  color: var(--success-color);
  font-weight: bold;
  opacity: 1;
  color: var(--text-secondary);
}

#streak-count .streak-count-text {
  color: var(--text-color);
}

/* MOBILE */
@media (max-width: 480px) {
  #streak-count {
    font-size: 13px;
  }

  #streak-count .record {
    font-size: 11px;
  }
}
