:root {
  --background-color: white;
  --text-color: #333;
  --card-background-color: #e9e9e9;
  --container-background-color: #fff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --highlight-font-size: 1.6rem;
  --highlight-font-size-2: 15px;
  --yellow-card-color: yellow;
  --red-card-color: red;
  --highlight-color: rgb(88, 119, 157);
}

.container-perso {
  max-width: 1200px;
  margin: auto;
  padding-bottom: 20px;
}

.stats-row {
  display: flex;
  /* flex-wrap: wrap; */
  /* justify-content: spnombre_cartonsace-between; */
  gap: 20px; /* Ajoute un espace entre les éléments */
  align-items: center;
}
.total-cards {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  justify-content: center;

}
.stat-card {
  min-width: 315px;
  background-color: var(--background-color);
  padding: 16px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
padding-top: 41px;
}

.yellow-card, .red-card {
  padding: 15px 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 53px;
  min-height: 71px;
  margin-right: 6px;
  font-weight: bold;
}
.card-sums {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.yellow-card {
  background-color: #efe14d;
}

.red-card {
  background-color: #ce3328;
}
h2 {
  margin: 0 0 10px; /* Ajustez l'espacement sous le titre selon le besoin */
  font-size: 1.5rem; /* Taille de police pour les titres */
}
.stat-card-row {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.highlight-text {
  color: var(--highlight-color);
  font-size: var(--highlight-font-size);
}
.stat-card-column {
  flex: 1; /* Distribue l'espace disponible uniformément entre les deux colonnes */
  padding: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.stat-group-grouped {
  width: 50%;
}
.circle-stat {
    background-color: var(--highlight-color);
    color: white;
    padding: 25px;
    border-radius: 50px;
    margin-right: 5px;
}
.circle-stat-2 {
  padding: 18px;
  margin-bottom: 15px;
}
.stat-highlight-stat {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  align-items: center;
}
.svg-logo {
  margin-bottom: 20px;
}
.carton {
    /* flex: 1; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Ajustez selon les besoins */
   
}
.progress-bar {
    width: 90%;
    background-color: #e0e0e0; /* Couleur de fond de la barre de progression */
    border-radius: 5px; /* Arrondi des coins de la barre de progression */
    position: relative; /* Position relative pour positionner le texte par rapport à elle */
    color: black; /* Couleur du texte */
    height: 30px; /* Hauteur de la barre de progression */
    margin-bottom: 10px;
    overflow: hidden; /* Cache les parties de la barre de remplissage qui débordent */
    
}

.progress-bar-fill {

    height: 100%; /* Assure que la barre de remplissage s'étend sur toute la hauteur de la barre de progression */
    background-color: black; /* Couleur de remplissage de la barre */
    border-radius: 5px; /* Arrondi des coins de la barre de remplissage */
    transition: width 0.5s ease-in-out; /* Transition douce pour le changement de largeur */
    color: var(--highlight-color); /* Couleur du texte dans la barre de remplissage */
    text-align: center; /* Assure que le texte est centré */
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    position: absolute; /* Position absolue pour s'assurer qu'elle se superpose correctement sur la barre de fond */
    left: 0; /* Aligné à gauche de la barre de progression */
    display: flex;
    align-items: center;
    padding: 10px;
    font-weight: bold;
}


  .fr-card {
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    max-width: 500px; /* Maximum width */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px; /* Bordures arrondies pour un look moderne */
  }
  
  .fr-logo-top-right {
position: absolute;
  top: -36px;
  right: -3px;
  width: 95px;
  }
  
  .fr-card-title {
    color: #333; /* Couleur de texte moderne */
    margin-bottom: 20px;
  }
  
  .fr-team-ranking {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0; /* Espace avant le bouton */
  }
  
  .fr-team-ranking li {
    font-size: 16px;
    color: #666; /* Couleur de texte douce */
  }
  
  .fr-view-more-btn {
    display: block;
    width: 100%;
    padding: 10px;

    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .fr-view-more-btn:hover {
    background-color: #0056b3; /* Couleur au survol */
  }
      .cache {
        display: none;
    }

.equipe {
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
}
.fr-team-ranking li {
  font-weight: bold;
  }
.nom_equipe {
  font-weight: bold;
  margin-left: 5px; /* Ajuste la marge selon tes besoins */
}
.equipe img, .logo_club {
width: 25px;
}
.separation {
  border-top: 1px solid #ccc; /* Couleur de la ligne */
  padding-top: 10px; /* Espace entre la ligne et le contenu */
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 10px;
  }

  h2 {
    font-size: 1.2rem;
  }

  .stat-card {
    margin-bottom: 20px; /* Ajoute un espace entre les cartes sur les petits écrans */
  }

  .stat-card-column, .stat-group-grouped {
    flex-direction: column; /* Change la disposition pour la colonne sur petits écrans */
    align-items: center; /* Centre les éléments */
  }
  .stats-row, .total-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .fr-logo-top-right {
      top: -23px;
      right: -8px;
      width: 69px;
    }
    .progress-bar-fill {
      font-size: 12px;
    }  
}