.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--bankroll a::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 22h21v1H1V1h1zm8.613-3.193L14.61 5.793l3.87 8.956 3.726-6.35-.862-.506-2.728 4.649-4.165-9.637-4.097 13.338-3.877-7.108L2.9 16.552l.9.435 2.732-5.664z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
    top: 8px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--bankroll a::after {
    content: 'Prochainement';
    position: absolute;
    top: -4px;
    left: 135px;
    font-size: 9px;
    background: #ff2e52;
    padding: 1px 5px;
    border-radius: 10px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--bankroll a:hover::after {
    color: white !important;
}


.br_evolution{
    display: flex;
     flex-direction: column;
    gap:10px;
    justify-content: center;
    align-items: center;
}

.br_evolution .brm_title{
    font-size: 35px !important;
    font-weight: 200 !important;
    line-height: 30px;
}

@media (max-width:767px){
    .br_evolution .brm_title {
    font-size: 20px !important;
    }

}

.logo_evolution{
    max-width: 40px !important;
}

h2.brm_title{
    margin-top: 0 !important;
}

.bankroll-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.058) !important;
        background: rgba(226, 226, 226, 0.05) !important;
        backdrop-filter: blur(15.5px) !important;
        -webkit-backdrop-filter: blur( 15.5px ) !important;
        border-radius: 10px;
}

@media (max-width:767px){
    .bankroll-wrapper {
        padding: 5px;
    }
}
.bankroll-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.bankroll-form input {
    flex: 1;
    padding: 8px;
}
.bankroll-form button {
    padding: 8px 16px;
}

.progress-bar-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 22px;
    background: rgba(0, 0, 0, 0.319);
    border-radius: 12px;
    overflow: visible;
}


.progress-bar-fill {
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(to right, red 0%, orange 50%, green 100%);
    transition: width 0.5s ease;
}


.progress-bar-jalon {
    position: absolute;
    top: -2px;
    width: 2px;
    height: 26px;
    background: white;
    opacity: 0.8;
    z-index: 2;
}

.progress-bar-label {
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}


.progress-bar-legend {
    position: absolute;
    top: 32px;
    transform: translateX(-50%);
    font-size: 11px;
    color: white;
    white-space: nowrap;
    z-index: 3;
}


.progress-bar {
    height: 100%;
    border-radius: 10px 0 0 10px;
}







canvas {
    max-width: 100%;
}
.next-entry {
    font-style: italic;
    color: #555;
}

.bankroll-wrapper h3{
    color: white !important;
    margin-top: 0;
}



.brm_title{
    text-align: center;
    font-weight:800;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 34px !important;
}

.brm_data {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    
}

@media (max-width:767px){
    .brm_data {
    flex-wrap: wrap; /* Permet de passer à plusieurs lignes */
    }
}


.brm_data_inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 200px;
    max-width: 200px;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.237);
    border-radius: 10px;
    cursor: pointer;
    transition: ease 0.5s;
    min-height: 120px; /* fixe une hauteur identique */
    box-sizing: border-box;
}

@media (min-width:768px){
    .bankroll-wrapper .data_br{
        font-size: 35px !important;
    }
}



@media (max-width:767px){
    .bankroll-wrapper .data_br{
        font-size: 23px !important;
    }

    .chart-container {
        height: 300px;
    }

    .progress-bar-legend {
        font-size: 10px !important;
    }
}

 .chart-container {
        min-height: 400px;
    }




/* Sur les petits écrans : 2 colonnes */
@media (max-width: 768px) {
    .brm_data_inner {
        flex: 0 0 48% !important;
        max-width: 43% !important;
    }
}

.brm_data_inner:hover{
    background: rgba(255, 255, 255, 0.914) !important;
    border: 1px solid #FF2E52;
    -webkit-box-shadow: 1px 1px 27px -1px #FF2E52; 
    box-shadow: 1px 1px 27px -1px #FF2E52;
     border: 1px solid #ff2e52;
}

.brm_data_inner:hover h5,
.brm_data_inner:hover h3 {
    color: #333333 !important;
    transition: color 0.3s ease;
}


button#download-pdf{
    background: none;
    border: none;
    color: white !important;
    font-size: 13px !important;
    text-decoration: underline;
}

span.parmois{
    font-size: 15px;
    font-weight: 200;
}

span.bb{
    font-weight: 200;
      font-size: 25px;
}

@media (max-width:767px){
    span.bb{
    font-weight: 200;
      font-size: 15px;
    }
}
.brm_data_inner svg {
    position: relative;
    top: 0px;
}

.bankroll-history td svg{
    position: relative;
    top: 7px;
    left: 10px !important;
}

#bankroll_input, #input_hands, #input_winrate{
    min-width: 280px;
    border-radius: 20px !important;
    background-color: rgba(255, 255, 255, 0.134) !important;
    color: white !important;
    border: 1px solid white;
    text-align: center;
    font-weight: 800;
    color: white !important;
    margin-top: 0;
    width: 160px !important;
    min-width: 40px;
}

#bankroll_input::placeholder{
    color: #fefefeb5 !important;
    font-size: 15px;
     font-weight: 200;
}

#save_br{
    border-radius: 20px !important;
    background-color: rgb(255, 255, 255) !important;
    color: white !important;
    border: 1px solid white;
    text-align: center;
    font-size: 12px !important;
    color: #333333 !important;
    padding: 10px 26px;

}

#delete_br{
    transition: ease 0.4s;
    font-size: 10px !important;
}

#delete_br:hover{
    background: rgba(226, 226, 226, 0.717) !important;
    color: #333333 !important;
    border: 1px solid rgba(226, 226, 226, 0.717) !important;
}

.bankroll-history td{
    color: white !important;
    font-weight: 300 !important;
}

 .input_br_wrapper{
        display: flex;
        
        justify-content: center;
        width: 100%;
        gap: 30px;
        align-items: center;
}



@media (max-width:767px){

    .input_br_wrapper{
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        width: 100%;
    }
}


.bankroll-history {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.bankroll-history th,
.bankroll-history td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.bankroll-history th {
  background-color: #f5f5f5;
  font-weight: bold;
}




/*Pas d'affichage de Data */

.no-bankroll-data {
  color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-top: 20px;
}
.no-bankroll-data h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.no-bankroll-data p {
  font-size: 16px;
  line-height: 19px !important;
  margin-bottom: 22px;
}
.btn-goto-bankroll {
  display: flex !important;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    justify-content: center;
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  font-weight: bold;
  border: 1px solid white;
  color: white !important;
  border-radius: 25px;
  display: inline-block;
  transition: all 0.5s ease;
  font-weight: 400 !important;
      margin: auto;
}



.btn-goto-bankroll:hover {
  background: white;
  color: #333333 !important;
}


.suivi{
    text-decoration: underline;
}

.gras{
    font-weight: bold;
    color: #FF2E52
}

.min_histo{
    font-size:11px !important;
    margin-bottom: 0 !important;
    color: white;
    text-align: right;
}


.bottom_small{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


table.bankroll-history {
    margin-top: 5px !important;
}





#anomalies-explanation {
  max-height: 200px;      /* Limite la hauteur */
  overflow-y: auto;       /* Active le scroll vertical si nécessaire */
  padding-right: 10px;    /* Décale le texte pour ne pas coller à la scrollbar */
  border: 1px solid rgba(0, 0, 0, 0.629);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.629);
}

/* Scrollbar visible et fine */
#anomalies-explanation::-webkit-scrollbar {
  width: 6px;
}
#anomalies-explanation::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 4px;
}



#anomalies-explanation ul {
  margin: 0;
  padding: 20px;
  list-style-position: inside;
}




#anomalies-explanation li.anomalies_list {
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}


#anomalies-explanation li.anomalies_list:hover{
    background: rgba(255, 255, 255, 0.456) ;
    color: #333333;
}


.version{
        color: white !important;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 11px !important;
}

#benchmark-toggle{
    margin-top: 15px;
}

#benchmark-toggle label{
    color: white !important;
    font-size: 12px !important;
}


.bankroll-history td{
    font-size:13px !important
}