.ecard-design-light {
    /* display: inline-block; */
    position: relative;
    width: 222px;
    height: 300px;
    padding: 10px;
    background: #111;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
    border: 3px solid #9a9a9a;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Ajoute l'ombre floue */
    border-radius: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    /* overflow: hidden; */
    /*font-family: 'Afacad Flux', sans-serif;*/
}

.ecard-design-light .rank {
    background-color: #FF0000;
    position: absolute;
    top:0;
    left:0;
    width: 30px;
    height: 40px;
    font-size: 20px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.ecard-design-light .PlayerPosition {
    font-size: 16px;
    font-weight: 100;
    font-family: 'Afacad Flux', sans-serif;
}

.ecard-design-light .Team {
    font-size: 16px;
    font-weight: light;
    background-color: dodgerblue;
    border-radius: 22px;
    line-height: 12px;
    padding: 4px;
    paddinh-top: 6px;
    width: 80%;
    margin: auto;
    font-family: 'Afacad Flux', sans-serif;
}

.ecard-design-light .positionandclub-container-light {
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    width: 90%;
}

.ecard-design-light .GridBigValue {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes avec largeur égale */
    gap: 5px; /* Espace entre les éléments, ajuste la valeur selon tes besoins */
    padding: 5px;
}

.ecard-design-light .BigValue {
    font-size: 20px;
    display: block;
    text-shadow: none;
    opacity: 0.9;
}

.ecard-design-light .TileBigValue {
    float: left;
    font-size: 8px;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    border-radius: 5px;
    color: white;
}

.ecard-design-light .TileBigValue:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.name-container-light {
    position: relative;
    width: 100%;
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.name-container-light .nom {
    font-size: 25px;
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 22px;
}

.name-container-light .prenom {
    margin-bottom: 2px;
    font-size: 18px;
    opacity: 0.8;
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 22px;
}



.ecard-design {
    /* display: inline-block; */
    position: relative;
    width: 380px;
    height: auto;
    background: #333;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
    border: 3px solid #9a9a9a;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Ajoute l'ombre floue */
    border-radius: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-style: normal;
}

.ecard-design .Team {
    font-size: 20px;
    font-weight: light;
    background-color: dodgerblue;
    border-radius: 22px;
    line-height: 14px;
    padding: 4px;
    paddinh-top: 6px;
    width: 80%;
    margin: auto;
    font-family: 'Afacad Flux', sans-serif;
}

.ecard-design hr {
    border: 1px solid white; /* Définit la bordure en blanc */
    opacity: 0.2;
    margin: 20px;
}


.ecard-design::before {
    content: attr(data-number);
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 150px; /* Ajustez la taille selon vos besoins */
    color: rgba(255, 255, 255, 0.1); /* Couleur noire avec transparence */
    z-index: 0; /* Assure que le chiffre est derrière le contenu principal */
    pointer-events: none; /* Les clics passent à travers le chiffre */
    text-shadow: none;
}

.ecard-design::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Ajustez la position verticale */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    background: rgba(14, 14, 14, 0.2);
    filter: blur(8px);
    z-index: -1; /* Place l'ombre derrière la carte */
    border-radius: 50%; /* Donne une forme elliptique à l'ombre */
}

.ecard-design .content {
    position: relative;
    display: block;
    padding: 10px;
    z-index: 1;
}

.ecard-design .content .stats {
    font-size: 10px;
}

.ecard-design .Physique {
    padding: 10px;
    font-family: 'Afacad Flux', sans-serif;
    margin-top: 70px;
}

.ecard-design .PlayerPosition {
    padding: 15px;
    font-family: 'Afacad Flux', sans-serif;
    font-size: 20px;
}


.smallData {
    font-weight: bold;
    font-size: 22px;
}

.ecard-design .GridPhysique {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes avec largeur égale */
    gap: 10px; /* Espace entre les éléments, ajuste la valeur selon tes besoins */
    padding: 10px;
    font-family: 'Afacad Flux', sans-serif;
}

.ecard-design .GridPhysique div {
    display: flex;
}

.ecard-design .GridPhysique div:first-child {
    justify-content: flex-start; /* Aligne l'élément de gauche à gauche */
}

.ecard-design .GridPhysique div:last-child {
    justify-content: flex-end; /* Aligne l'élément de droite à droite */
}

.ecard-design .Selection {
    width: 110px;
    padding: 5px;
    padding-top: 10px;
    font-size: 12px;
    text-align: center; /* Cela reste utile pour centrer le texte */
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    display: grid;
    transform: rotate(-22deg);
    line-height: 20px;
    position: absolute;
    top: 95px;
    left: 10px;
}

.ecard-design .Selection .chiffre {
    font-size: 24px;
    font-weight: bold;
}

.ecard-design .Selection .small {
    line-height: 14px!important;
    font-size: 11px;
}

.ecard-design .GridTeam {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes avec largeur égale */
    gap: 5px; /* Espace entre les éléments */
    padding: 5px;
    font-size: 12px;
    text-align: center; /* Cela reste utile pour centrer le texte */
}

.ecard-design .GridTeam div {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px;
    text-align: center;
}

.ecard-design .GridBigValue {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes avec largeur égale */
    gap: 5px; /* Espace entre les éléments, ajuste la valeur selon tes besoins */
    padding: 4px;
}

.ecard-design .BigValue {
    font-size: 30px;
    display: block;
    text-shadow: none;
    opacity: 0.9;
}

.ecard-design .TileBigValue {
    float: left;
    font-size: 10px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px;
    color: white;
}

.ecard-design .TileBigValue:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.ecard-design .GridMediumValue {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes avec largeur égale */
    gap: 10px; /* Espace entre les éléments, ajuste la valeur selon tes besoins */
    padding: 10px;
}

.ecard-design .MediumValue {
    font-size: 20px;
    display: block;
}

.ecard-design .TileMediumValue {
    float: left;
    font-size: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px;
}

.ecard-design .GridSmallValue {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 colonnes avec largeur égale */
    gap: 10px; /* Espace entre les éléments, ajuste la valeur selon tes besoins */
    padding: 10px;
}

.ecard-design .SmallValue {
    font-size: 16px;
    font-weight: bold;
    display: block;
}

.ecard-design .TileSmallValue {
    float: left;
    font-size: 7px;
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px;
}

.ecard-design .TileKicker {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 10px;
    display: inline-block;
    width: 90%;
    margin-top: 11px;
}

.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    transition: width .6s ease;
}