/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #282727;
    background-image: url('../images/GradientBG.png');
    background-size: cover;
    background-position: center top;

    background-attachment: fixed;
    color: #fff;
    position: relative;
    min-height: 100vh;
  }
  
  /* Sticky Header Container */
  .sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: transparent;
  }
  
  /* Contests Container */
  .contests-container {
    background-image: url('../images/GradientBG.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-bottom: 130px;
    margin-top: 0px;
  }
  
  /* Fixed Header Container */
  .fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #0B0C2A;
  }
  
  /* Scrollable Content Area */
  .scrollable-content {
    position: absolute;
    top: 133px; /* Altezza approssimativa di header + power-up + tabs */
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 0 0px;
    padding-bottom: 180px; /* Spazio extra sotto l'ultimo elemento per evitare che il footer lo nasconda */
  }
  
  /* Modify the header styles to make it sticky */
  .header {
    padding: 16px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 102;
  }
  .header.small {
    padding: 8px;
  }

  .user-profile {
    display: flex;
    align-items: center;
  }
  
  .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    background-color: #ffffff;
     border: 1px solid #2a2b2a;
  }
  
  .user-info {
    display: flex;
    flex-direction: column;
  }
  
  /* Consolidated .user-name (versione completa) */
  .user-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px; /* Same as progress bar width */
  }

  .un-landing {
    margin-bottom: 10px;
  }
  
  .progress-and-percentage {
    display: flex;
    align-items: center;
  }
  
  .progress-bar-container {
    position: relative;
    height: 6px;
    background-color: #1A1C3D;
    border-radius: 3px;
    overflow: hidden;
    width: 150px;
  }
  
  .progress-bar {
    height: 100%;
    background: linear-gradient(to right, #F1BE48, #ED33B9);
    border-radius: 3px;
  }
  
  .progress-percentage-container {
    display: flex;
    align-items: baseline;
    margin-left: 6px;
  }
  
  .win_index {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    padding-left: 10px;
  }

  .teex-balance {
    display: flex;
    align-items: center;
    background-color: #F1BE48;
    border-radius: 50px;
    padding: 6px 0;
    height: 24px;
    margin-left: auto;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #2a2b2a;
    padding-right: 8px;
    padding-left: 2px;
    box-shadow: 3px 3px 5px rgba(42, 43, 42, 0.5); /* Aggiunta ombra in basso a destra */
  }

  .teex-icon {
    width: 40px;
    height: 40px;
    margin-right: -2px;
  }
  
  .plus-icon {
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FF3B5C;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    top: 16px;
    right: 65px;
  }
  
  /* Power Up Section Styles */
  .power-up-section {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #230B3B;
    /* background-image: url('images/GradientBG.png'); */
  }
  
  .power-up-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    margin-right: 6px;
  }
  
  .power-up-items {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-grow: 1;
  }
  
  .power-up-item {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 0;
  }
  
  .power-up-icon {
    width: 40px;
    height: 40px;
    z-index: 1;
    position: absolute;
    left: 6px;
  }
  
  .power-up-value-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 10px 4px 30px;
    margin-left: 15px;
  }
  
  .power-up-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }
    
  .power-up-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #fff;
  }
  .power-up-plus {
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FF3B5C;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    top: 16px;
    left: 28px;
    z-index: 3;
  }
  
  /* Tab Container Styles */
  .tab-container {
    display: flex;
    background-image: url('../images/tab_bg.png');
    background-color: #000000;
    background-size: cover;
    background-position: center;
  }
  
  .tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    position: relative;
    cursor: pointer;
  }
  
  .tab_on {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    position: relative;
  }
  
  .tab_on::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #F1BE48;
  }
  
  .tab_off {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    opacity: 0.7;
  }
  
  /* Footer Navigation Styles */
  .footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: rgba(10, 0, 52, 0.5); /* 50% trasparente */
    background-color: #282727;
    padding: 8px 16px;
    z-index: 100;
    height: 60px;
    padding-bottom: 8px;
  }


  /* Blur background for FAB */
  .fab-background {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background-color: rgba(42, 43, 42, 0.2); /* Modificato da #2a2b2a a rgba */
    backdrop-filter: blur(6px);
    /* opacity: 0.2; */ /* Rimosso perché ora l'opacità è nel colore */
    -webkit-backdrop-filter: blur(6px);
    z-index: 99;
  }

  .fab_button {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0px 20px;  /* Reduced from 12px to 8px (about 30% less height) */
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 40px;
    margin: 0 4px;
    line-height: 1;  /* Added to further reduce height */
    background-color: #F1BE48;
    color: #ffffff;
    height:28px;
    position: fixed; 
    bottom: 96px; 
    left: 50%; 
    transform: translateX(-50%); 
    
    position: fixed; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 101; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  
  }

  .fab_button_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .fab_button_img_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Puoi personalizzare questi margini */
    margin-right: 8px;
  }
  
  .fab_button_text_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Puoi personalizzare questi margini */
    margin-left: 8px;
  }
  .fab_button_text {
    font-family: 'Barlow Condensed', sans-serif;
  }

  .fab_button_img {
    margin-top: 00px;
    width:24px;
    height:24px;
    margin-right:0px;
  } 

  .fab_button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50px;
    background: linear-gradient(90deg, #F1BE48, #C99A42, #F1BE48);
    background-size: 300% 100%;
    z-index: -1;
    animation: animatedBorder 9s linear infinite;
  }
  
  @keyframes animatedBorder {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 300% 50%;
    }
  }
  
  /* Footer Button Styles */
  .footer_button {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 8px 10px;  /* Reduced from 12px to 8px (about 30% less height) */
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 40px;
    margin: 0 4px;
    line-height: 1;  /* Added to further reduce height */
  }
  
  .footer_button_blue {
    background-color: #2a2b2a;
    color: #fff;
  }
 
  .footer_button_light {
    background-color: #706561;
    color: #fff;
  }
  .footer_button_cyan {
    background-color: #F1BE48;
    color: #2a2b2a;
  }

  .footer_button_orange {
    background-color:  #2a2b2a;
    border: 2px solid #F1BE48;
    color: white;
  }

  .footer_button_orange_fill {
    background-color: #F1BE48;
        color: white;
  }

  .fb_unable_orange {
    background-color: #2a2b2a;
    opacity: 0.5 ;
    border: 2px solid #F1BE48;
    color: white;
  } 

  .fb_unable_blu {
    background-color: #2a2b2a;
    opacity: 0.5 ;
    border: 2px solid #2a2b2a;
    color: white;
  }  
  .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }
  
  .menu_icon {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
  }
  
  .menu_item {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
  }
  
  .menu_item_blu {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    color: #2a2b2a;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .play-button {
    width: 80px;
    height: 80px;
    background-color: #F1BE48;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
    position: relative;
    top: -25px;
  }
  
  /* Play Button Text Adjustment */
  #playButton .menu_item {
    position: relative;
    top: -20px; /* Move text up */
  }
  
  /* Contest Card Styles */
  .contest-cell {
    margin-bottom: 30px;
  }
  
  .contest-container {
    margin-top: 20px; /* Aumentato da 20px a 36px (aggiunto 16px) */
  }
  

  .cc-list {
    margin-top: 20px; 
    margin-bottom: 0px;
  }
  .cc-list-old {
    margin-top: 40px; 
    margin-bottom: 60px;
  }
  .cc-header {
    margin-bottom: 0px; /* Or whatever value works better for the header */
  }
  
  .contest-bar {
    background-image: url('../images/contest_bg.png');
    background-color: #000000;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 48px;
    margin: 0 32px;
    position: relative;
    border-radius: 4px;
    z-index: 2; /* Increased from 1 to 2 */
  }
  
  .player-avatar-contest {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    position: absolute;
    bottom: -31px;
    object-fit: cover;
    border: 2px solid #2a2b2a;
    z-index: 3; /* Increased from 2 to 3 */
    top: -12px;
    background-color: #ffffff;
  }
  
  .left-avatar {
    left: -16px;
  }
  
  .right-avatar {
    right: -16px;
  }
  
  .triletter_contest {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    color: #fff;
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    text-transform: uppercase;
  }
  
  .left-name {
    left: 60px;
  }
  
  .right-name {
    right: 60px;
  }
  

  .result_block {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .result_block.left_block {
    left: calc(50% - 12px);
    transform: translateX(-100%) translateY(-50%);
  }
  
  .result_block.right_block {
    left: calc(50% + 12px);
    transform: translateY(-50%);
  }

  .result_block.right_block.onedigit {
    margin-left: -30px;
  }
  .result_bold {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 64px;
    color: #fff;
    position: absolute;
    top: calc(50% - 16px);
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .result_bold.left {
    left: calc(50% - 2px);
    transform: translateX(-100%) translateY(-50%); /* allinea il lato destro */
  }

  .result_bold.right {
    left: calc(50% + 48px);
    transform: translateX(-100%) translateY(-50%); 
  }
  
  .win_index_perc {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    position: absolute;
  }
  
  .win_index_perc.left {
    left: calc(50% - 2px);
    top: -10px;
  }
  .win_index_perc.right {
    left: calc(50% + 48px);
    top: -10px;
  }

  .result_bold_2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 64px;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /* Base Styles for Status Badges */
  .status-badge-base {
    color: #2a2b2a;
    padding: 4px 4px 0px 4px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px; /* Larghezza minima fissa */
    text-transform: uppercase;
    width: 150px; /* Larghezza massima fissa */;
  }

  
  .teex_spent {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    position: absolute;
    bottom: -25px;
    text-align: center;
    width: 80px;
  }
  
  .left-teex {
    transform: translateX(-50%);
    left: 16px;
  }
  
  .right-teex {
    transform: translateX(50%);
    right: 16px;
  }
  
  /* Teams Section Styles */
    .teams-section {
      display: flex;
      justify-content: space-between;
      padding: 0 10px;
      margin-bottom: 80px; /* Space for footer */
    }
    
    .team-container {
      width: 50%;
    }
    
    .team-container-league {
      width: 100%;
    }
    
    .left-team {
      padding-right: 5px;
    }
    
    .right-team {
      padding-left: 5px;
    }
    
    .one-team {
      padding-right: 5px;
    }

    .team-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding-bottom: 100px;
    }

    .team-list.league {
      padding-bottom: 10px;
    }

    
    /* Player Row Styles */
    .player-row {
      display: flex;
      align-items: center;
      margin-bottom: 6px;
      position: relative;
      margin-top: 10px;
    }
    
    .player-row.league {
      margin-right: 16px;;
      margin-left: 16px;
    }
    /* Avatar and Position Circle */
    .userAvatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      position: relative;
      background-color: #F1BE48;
    }
    
    /* Athlete Avatar - 23% larger but same starting point */
    .atheleteAvatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      position: relative;
      background-color: #F1BE48;
      overflow: hidden;
    }
    
    .atheleteAvatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      margin-top: 0%;
      margin-left: 0%;
    }
    
    .position_circle {
      position: absolute;
      top: 0px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 700;
      font-size: 16px;
      color: #2a2b2a;
      padding-bottom: 4px;
      padding-left: 2px;
      padding-right: 2px;
      background-color: #FFD600; /* Yellow */
      z-index: 2;
      left: 6px;
      top: 10px;  
    }
    
    .left-team .position_circle {
      left: -2px;
      top: 0px; 
      
    }
    
    .right-team .position_circle {
      right: -2px;
      top: 0px;  
      left:32px;
    }
    
    .league .position_circle {
      left: -2px;
      top: -2px; 
    }

    /* Position colors */
    .position_circle.P {
      background-color: #FFD600; /* Yellow */
    }
    
    .position_circle.D {
      background-color: #00FF7F; /* Green */
      
    }
    
    .position_circle.C {
      background-color: #006eff; /* Blue */
      color: #ffffff;
    }
    
    .position_circle.A {
      background-color: #FF4500; /* Red */
      color: #ffffff;
    }
    
    /* Player Info Block */
    .player-info {
      display: flex;
      flex-direction: column;
      margin-left: 6px;
      flex: 1;
    }
    
    .right-team .player-info {
      margin-left: 0;
      margin-right: 6px;
      text-align: right;
    }
    
    .athlete_shortname {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 400;
      font-size: 16px;
      color: white;
      text-transform: uppercase;
    }
    
    .match_3letter {
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      font-size: 14px;
      color: #ffffff;
    }
    
    .match_3letter-team-bold {
      font-weight: 700;
      color: white;
    }
    
    /* Points and Cost Block */
    .points-cost-block {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .left-team .points-cost-block {
      margin-left: auto;
    }
    
    .right-team .points-cost-block {
      margin-right: auto;
    }
    
    .points-container {
      display: flex;
      align-items: baseline;
    }
    
    /* Points styles */
    .athlete_points_integer {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 28px;
      line-height: 1;
      font-weight: 800;
    }
    
    .athlete_points_decimal {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 14px;
      line-height: 1;
    }
    
    .athlete_points_integer.not_ended,
    .athlete_points_decimal.not_ended {
      color: #9c9c9c;
    }
    
    .athlete_points_integer.is_ended,
    .athlete_points_decimal.is_ended {
      color: white;
    }
    
    /* Cost styles */
    .athlete_cost {
      background-color: #F1BE48;
      border-radius: 12px;
      padding: 0px  2px 18px 2px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 800;
      font-size: 14px;
      color: #2a2b2a;
      margin-top: 4px;
      min-width: 36px;
      text-align: center;
      height: 16px;
    }

    .ac-long {
      border-radius: 10px;
      padding: 2px  2px 2px 2px;
      font-weight: 800;
      font-size: 16px;
      min-width: 50px;
      height: 24px;
      margin-right: 12px;
      margin-bottom: 6px;
    }
    /* Player separator line */
    .player-separator {
      height: 1px;
      width: 98%;
      background-color: rgba(128, 128, 128, 0.5);
      display: block;
      margin: 0 auto;
    }
    .contest_usernames {
      background-color: #2a2b2a;
      height: 36px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 15px;
      margin-bottom: 10px;
      margin-top: 0px;
      position: relative;
      z-index: 1;
    }

    .contest_leaguename {
      background-color: #2a2b2a;
      height: 36px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 15px;
      margin-bottom: 8px;
      margin-top: 0px;
      position: relative;
      z-index: 1;
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 600;
      font-size: 16px;
      color: white;
    }

    .full_username {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 600;
      font-size: 16px;
      color: white;
      text-transform: uppercase;
    }
    .full_username_left {
      margin-left: 2px;
      text-align: left;
    }
    .full_username_right {
      margin-right: 4px;
      text-align: right;
    }
      
  .teex-left-icon {
    width: 36px;
    height: 36px;
    margin-right: 8px;
  }
  
  .teex-left-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #F1BE48;
    text-transform: uppercase;
  }
  
  .teex-left-text-white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
  }
  
  .teex-left-text-cyan {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #F1BE48;
  }




/* Header Stats Styles */
  .header-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .stats-row {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 4px;
  }
  
  .stats-values {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
  }
  
  .label_m_small {
    font-family: 'barlow condesed', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #fff;
    text-align: center;
    width: 60px;
  }
  
  .square_cont_color {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    width: 52px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .scc_porpora {
    background-color: #FEFBF1;
    color: #282727;
  }
  
  .scc_cyan {
    background-color: #F1BE48;
    color: #2a2b2a;
  }
  
  .scc_fucsia {
    background-color: #EB33B8;
    color: #ffffff;
  }

  .scc_petrolio {
    background-color: #9A6D19;
    color: #ffffff;
  }

  .league-avatar {
    background-color: #F1BE48; /* Giallo */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 50%;
    text-transform: uppercase;
  }

  .MainNumber {
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  
  .SmallNumber {
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: -16px;
  }

  
  .sort-ppc-icon {
    width: 16px; 
    height: 16px; 
    margin-right: 4px; 
    vertical-align: middle;

  }

  .ppc-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #F1BE48;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: 2px;
  }
  
  .ppc-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
  }
  
  .pos {
    margin-right: 14px;
  }
  
  .league-rank {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: 4px;
  }
   .hidden {
    display: none !important;
  }
  
  .rotated {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
  }

  .league-status{
    padding: 4px 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
  }

  .league-status.inv{
    color: #F1BE48;
  }
  .league-status.rej{
    color: #ff0000;
  }
  .league-status.cnf{
    color: #1fd899;
  }

      /* Stile per il pulsante "Carica altri" */
      .load-more-button {
        display: block;
        width: 80%;
        margin: 20px auto;
        padding: 12px;
        background-color: #282727;
        color: white;
        border: none;
        border-radius: 24px;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color 0.3s;
      }
      
      .load-more-button:hover {
        background-color: #6c6d5a;
      }
  

      /* — Modale saldo insufficiente — */
.modal-insuf {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-insuf.open {
  display: flex;
}
.modal-insuf-content {
  position: relative;
  background: #000000;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 300px;
  text-align: center;
}
.modal-insuf-content .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  cursor: pointer;
}
