/* =============================================================================
   STYLE POUR LES ICÔNES DE TYPES POKÉMON
   Les tailles sont contrôlées par le JavaScript
   ============================================================================= */

/* IMPORTANT: Désactiver l'ancien système de bulles de couleur */
.pokemon-sprite-type {
  display: none !important;
}

/* ===== NOM DU POKÉMON (EN BLANC ET MAJUSCULES) ===== */
.pokemon-sprite-name {
  font-weight: 600;
  text-align: center !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  width: 100%;
  padding: 0 4px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  display: block !important;
}

/* ===== CONTENEUR DES TYPES (CERCLES) ===== */
.pokemon-sprite-type-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.pokemon-sprite-type-container:hover {
  transform: scale(1.1);
}

/* ===== ICÔNE DE TYPE ===== */
.pokemon-sprite-type-icon {
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* ===== CONTAINER DES TYPES ===== */
.pokemon-sprite-types {
  display: flex !important;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
  flex-wrap: wrap;
  width: 100%;
}

/* ===== INFO (Niveau uniquement) ===== */
.pokemon-sprite-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  width: 100%;
}

.pokemon-sprite-level {
  font-weight: 700;
  color: var(--text-muted, #888);
}

/* Ajouter "Nv" avant le niveau */
.pokemon-sprite-level::before {
  content: "Nv ";
  font-size: 0.8em;
  opacity: 0.7;
}

/* ===== RESPONSIVE POUR LES TYPES ===== */

/* Écrans moyens (tablettes) */
@media (max-width: 768px) {
  .pokemon-sprite-name {
    font-size: 10px;
    margin-bottom: 3px;
  }
  
  .pokemon-sprite-type-container {
    min-width: 24px;
    min-height: 24px;
    padding: 4px;
  }
  
  .pokemon-sprite-types {
    gap: 3px;
    margin: 3px 0;
  }
  
  .pokemon-sprite-level {
    font-size: 10px;
  }
}

/* Petits écrans */
@media (max-width: 480px) {
  .pokemon-sprite-name {
    font-size: 9px;
    margin-bottom: 2px;
  }
  
  .pokemon-sprite-type-container {
    min-width: 22px;
    min-height: 22px;
    padding: 3px;
  }
  
  .pokemon-sprite-types {
    gap: 2px;
    margin: 2px 0;
  }
  
  .pokemon-sprite-info {
    margin-top: 2px;
  }
  
  .pokemon-sprite-level {
    font-size: 9px;
  }
}