/* Pokédex Styles */
#pokedex-container {
  width: 100%;
  max-width: 100%;
}

.pokedex-stats {
  font-size: 18px;
  margin: 20px 0;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
  text-align: center;
}

.pokedex-stats-global {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* Stats simples pour les générations (sans fond ni padding) */
.pokedex-generation-header .pokedex-stats {
  margin: 0;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: 18px;
  font-weight: bold;
}

.pokedex-stat-normal {
  color: #424242;
  margin-right: 10px;
}

.pokedex-stat-shiny {
  color: rgba(143, 138, 51, 0.795);
}

.pokedex-generation {
  margin-bottom: 40px;
}

.pokedex-generation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.pokedex-generation h2 {
  font-size: 24px;
  margin: 0;
  color: #424242;
  text-align: left;
}

.pokedex-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  justify-items: center;
}

.pokedex-pokemon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  width: 100%;
  max-width: 120px;
}

.pokedex-sprite-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

.pokedex-sprite {
  max-width: 96px;
  max-height: 96px;
  image-rendering: pixelated;
  transition: filter 0.3s, opacity 0.3s;
}

/* Sprite vraiment noir pour les Pokémon non obtenus */
.pokedex-sprite.not-obtained {
  filter: brightness(0);
  opacity: 1;
}

.pokedex-counters {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 12px;
  width: 100%;
}

.pokedex-counter-total {
  color: #424242;
  font-weight: bold;
}

.pokedex-counter-shiny {
  color: rgba(240, 233, 110, 0.795);
  font-weight: bold;
}

.pokedex-filter-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pokedex-filter-buttons-global {
  justify-content: center;
  margin-bottom: 20px;
}

.pokedex-filter-button {
  padding: 8px 16px;
  background-color: #424242;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.pokedex-filter-button:hover {
  background-color: #555;
}

