.card-athlete-infos {
    position: relative !important;  /* Assure que la carte peut être positionnée précisément */
    left: 6rem !important;   
    right: 1rem !important;
    width: calc(100vw - 9rem) !important;      /* Fixe la carte à 100px du bord gauche de l'écran */
    border-radius: 10px !important; /* Arrondit les angles de la carte avec un rayon de 10px */
}

.layout-cards-athlete {
    position: relative !important;
    left: 6rem !important;   
    right: 1rem !important;
    width: calc(100vw - 9rem) !important;      /* Fixe la carte à 100px du bord gauche de l'écran */
}

.layout-cards-athlete .card {
    position: static;
    min-width: 0;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.12), 0px 1px 2px rgba(0,0,0,0.24);
    margin: 15px;
    padding: 10px;
    border-width: 0px 0px 0px 0px;
    border-style: solid;
    border-color: #e2e2e2;
    border-radius: 10px !important; /* Arrondit les angles de la carte avec un rayon de 10px */
    outline-width: 0px;
    outline-style: solid;
    outline-color: #e2e2e2;
}

#home-visual__atp {
    padding-top: 35px;
    margin-left:30px;
    width: 170px;
    height: 190px;
    position: relative;
    /* right: 25px;
    bottom: 35px; */
    z-index: 1;
    background-image: url("../images/rank_frame.svg");
    background-position: center 0;
    background-repeat: no-repeat;
    line-height: 1;
  }
  
  #home-visual__atp .atp-rank > span {
    display: block;
    text-align: center;
  }
  
  #home-visual__atp .atp-rank .atp-rank-label {
    color: var(--ffbad-red, #D52B1E);
    font-weight: 700;
    opacity: 1;
    font-size: 13px;
  }
  
  #home-visual__atp .atp-rank .atp-rank-pos,
  #home-visual__atp .atp-rank .atp-rank-pts {
    color: var(--ffbad-blue, #101F69);
    font-size: 28px;
    /* font-family: $font-title; */
  }

  #home-visual__atp .atp-rank .atp-rank-pos {
    margin-top: 5px;
    margin-bottom: 10px;
  }
  
  #home-visual__atp .atp-rank .atp-rank-pos span {
    font-size: 50px;
    font-weight: 900;
  }
  
  #home-visual__atp .atp-rank .atp-rank-pts {
    font-size: 26px;
    font-weight: 500;
    opacity: 1;
  }

    #home-visual__atp .atp-rank .atp-rank-date {
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
    margin-top:5px;
    margin-bottom:10px;
  }
  
  #home-visual__atp .atp-rank.atp-points {
    padding-top: 15px;
    position: relative;
  }
  
  #home-visual__atp .atp-rank.atp-points .atp-rank-label {
    margin-bottom: 10px;
  }
  
  #home-visual__atp .atp-rank.atp-points:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -55px;
    width: 110px;
    height: 2px;
    background: linear-gradient(to right, var(--ffbad-blue, #101F69)00 0%, var(--ffbad-blue, #101F69) 50%, var(--ffbad-blue, #101F69)00 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000a5e4', endColorstr='#0000a5e4', GradientType=1);
  }

.playertop-row1 {
    display: flex;
    align-items: center
}

.playertop-row1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playertop-row1 .playertop-avatar {
    margin-right: 18px;
    transition: all .35s ease-in-out;
    overflow: hidden;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid var(--ffbad-blue, #101F69);
    flex-shrink: 0
}

/* @media(max-width: 767px) {
.playertop-row1 .playertop-avatar {
        width:140px;
        height: 140px;
        border: 4px solid var(--ffbad-blue, #101F69)
    }
} */

.playertop-row1 .playertop-name-wrap {
    display: flex;
    flex-direction: column
}

.playertop-row1 .playertop-name {
    font-size: 48px;
    font-weight: 700;
    color: var(--ffbad-blue, #101F69);
    line-height: 1.1em;
    margin-bottom: 9px
}

/* @media(max-width: 767px) {
.playertop-row1 .playertop-name {
        font-size:24px
    }
} */

.playertop-row1 .playertop-name .name-1 {
    font-weight: 300
}

.playertop-row1 .playertop-name .name-2 {
    font-weight: 900
}

.playertop-row1 .playertop-country {
    display: flex;
    align-items: center
}

.playertop-row1 .playertop-country img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 9px;
    border: 2px solid var(--ffbad-blue, #101F69)
}

.playertop-row1 .playertop-country span {
    color: var(--ffbad-blue, #101F69);
    font-size: 16px;
    font-weight: 400
}

.playertop-row2 {
    color: var(--ffbad-blue, #101F69);
    align-items: center;
    margin-top: 28px;
    font-weight: 700;
    font-size: 20px;
}

.playertop-row2-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 350px;
}

.playertop-col-age {
    flex: 1;
    padding: 10px;
    
}

.separator {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--ffbad-red, #D52B1E), transparent);
}

.column-structure-infos {
    display: inline-block;
    vertical-align: top;
    width: 49%;  /* Takes nearly half the container width */
}

/* Style for separator */
.separator-structure {
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--ffbad-red, #D52B1E), transparent);
    display: inline-block;
}

/* Responsive styles */
@media (max-width: 800px) {
    .column-structure-infos {
        display: block !important;
        width: 100% !important;
    }

    .separator-structure {
        display: none;  /* Hide separator when columns are stacked */
    }
}

.name-structure{
    font-size:32px;
    font-weight:900;
    color: var(--ffbad-blue, #101F69);
    line-height:1.1em !important;
}

.name-type-structure{
    font-size:26px;
    font-weight:300;
    color: var(--ffbad-blue, #101F69);
    line-height:1.1em !important;
}

.title-structure-infos{
    display: flex;
    flex-direction: column;
    color: var(--ffbad-red, #D52B1E);
    text-align: center !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.value-structure-infos {
    display: flex;
    flex-direction: column;
    color: var(--ffbad-blue, #101F69);
    text-align: center !important;
    font-size: 20px;
    font-weight: 700;
}

.playertop-col-date {
  padding: 10px;
  text-align: center;
  max-width: 350px;
}

.grid-container-environment {
    display: flex !important;
    flex-wrap: wrap !important;
    max-width: 100% !important; /* Ajustez en fonction de la largeur désirée pour votre grille */
}

.grid-player-environment {
    flex: 0 0 50% !important; /* Chaque élément prend 50% de la largeur du conteneur, donc 2 par ligne */
    box-sizing: border-box !important;
    padding: 10px !important; /* Espace autour de chaque élément */
}

.player-environment {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.player-environment-row {
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.grid-title-environment {
  color: var(--ffbad-red, #D52B1E) !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

.value-environment {
  color: var(--ffbad-blue, #101F69);
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.grid-value-environment {
  color: var(--ffbad-blue, #101F69) !important;
  text-align: left !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.development-goal-value-environment {
  color: var(--ffbad-blue, #101F69);
  text-align: justify;
  font-size: 14px;
  font-weight: 500;
  padding: 0 1rem;
}

.environment-block {
  position: relative;
}

.environment-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(transparent, var(--ffbad-red, #D52B1E), transparent);
}

.separator-horizontal {
  width: 80%;
  background: linear-gradient(to left, transparent, var(--ffbad-red, #D52B1E), transparent);
  height:2px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
  margin-bottom: 14px;
}

.boxicons-button {
  width: 30px !important;
  height: 30px !important;
  z-index: 1 !important;
  fill: var(--cp-color-11) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ffbad-red, #D52B1E) !important;
  cursor: pointer !important;
  background-color: transparent !important;
  color: var(--ffbad-blue, #101F69) !important;
  box-shadow: none !important;
  margin-left: 10px !important;
  /* Autres propriétés */
}

.boxicons-button-structure {
  width: 30px !important;
  height: 30px !important;
  z-index: 1 !important;
  fill: var(--cp-color-11) !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ffbad-red, #D52B1E) !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  background-color: transparent !important;
  color: var(--ffbad-blue, #101F69) !important;
  box-shadow: none !important;
  margin-left: 10px !important;
  text-decoration: none;
  /* Autres propriétés */
}

.boxicons-button-structure:hover{
  background-color: var(--ffbad-blue, #101F69) !important; 
  color: white !important; 
  border: 1px solid var(--ffbad-blue, #101F69) !important;
}

.boxicons-button-structure:focus {
  outline: 2px solid var(--ffbad-red, #D52B1E) !important;
}


.boxicons-button:hover{
  background-color: var(--ffbad-blue, #101F69) !important; 
  color: white !important; 
  border: 1px solid var(--ffbad-blue, #101F69) !important;
}

.boxicons-button:focus {
  outline: 2px solid var(--ffbad-red, #D52B1E) !important;
}

.flex_container_datatable {
  display: flex;
  flex-direction: column;
  align-content: center;
  margin: 10px;
}

.ag-center-cols-viewport {
    min-height: 40px !important;
}

.dash-table-container .dash-cell div.dash-cell-value {
    text-align: center !important;
}

.filter-red-svg {
    filter: invert(27%) sepia(94%) saturate(3462%) hue-rotate(348deg) brightness(97%) contrast(102%);
}

.results-table .ag-row-hover {
    cursor: pointer;
}

.filters-statistics .Select-control {
    border: 2px solid var(--ffbad-red, #D52B1E) !important;
    border-radius: 0.3rem !important;
}

.card-statistics {
    display: flex !important; /* Utilisez flexbox pour aligner les enfants horizontalement */
    justify-content: space-between !important; /* Alignez les enfants aux extrémités opposées */
    align-items: center !important; /* Centre les éléments verticalement */
    width: 100% !important; /* Assurez-vous que l'en-tête prend toute la largeur */
}

.card-statistics .control-in-card_container {
    flex-grow: 1 !important; /* Permet au conteneur de s'étendre et remplir l'espace disponible */
    display: flex !important; /* Active flexbox pour cet élément */
    justify-content: flex-start !important; /* Alignez les enfants (dropdowns) au début */
    gap: 1rem !important; /* Espacement entre les enfants (dropdowns) */
    flex-direction: column;
}

.card-statistics .header-expand-container {
    flex-shrink: 0 !important; /* Empêche l'icône de réduire */
}

.player-profile-url {
    transition: transform 0.3s ease-in-out !important; /* Transition fluide pour agrandir et revenir */
}

.player-profile-url:hover {
    transform: scale(1.1) !important; /* Agrandir l'image de 10% au survol */
}

.custom-tooltip-goals-ppi {
    background-color: var(--ffbad-blue, #101F69) !important; /* Fond */
    color: white !important; /* Couleur du texte */
    border-radius: 8px !important; /* Bord arrondi */
    padding: 4px !important; /* Espacement intérieur */
    font-size: 16px !important; /* Taille du texte */
    font-weight: 600 !important;
}

.custom-tooltip-goals-ppi .tooltip.show {
    opacity : 1 !important;
}

.custom-tooltip-goals-ppi .tooltip-inner {
    max-width: 700px !important;
    white-space: pre-line !important;
}

.custom-tooltip-goals-ppi .tooltip.tooltip .tooltip-inner {
    color : var(--ffbad-blue, #101F69) !important;
    background-color : #F9F9F9 !important;
    border: none !important;
}