/* style.css */

/* Higher Area */

.header {
  height: 64px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #010101;
}


/* Corpo della pagina */
html, body {
  margin: 0;
  padding: 0;
  background-color: #010101;
  font-family: 'Inter', sans-serif;
  padding-bottom: calc(60px + 1rem); /* 60px footer + margine extra */
}

#desktop-warning {
  display: none;
  position: fixed;
  z-index: 99999;
  background-color: #010101;
  color: #ebebeb;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 1rem;
  text-align: center;
  font-size: 1.438rem;
  line-height: 1.5;
  
}

@media screen and (min-width: 769px) {
  #desktop-warning {
    display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 360px;
  text-align: center;
  }

  body > *:not(#desktop-warning) {
    display: none !important;
  }
}


.logo {
  height: 2.875rem; /* 46px */
}

.menu-icon {
      width: 2rem; /*32px*/
      height: 1rem;/*16px*/
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }

.menu-icon span {
      display: block;
      height: 0.094rem;
      background-color: #ebebeb;
      border-radius: 2px;
    }




/* Main Title (es. Balance Value) */
h1 {
  font-size: 1.4375rem; /* 23px */
  font-weight: 500;
  margin-bottom: 0.625rem; /* 10px */
}

/* Medium Title (es. Player Names in the cards) */
h2 {
  font-size: 1.0625rem; /* 17px */ 
  font-weight: 300;
  margin-bottom: 0.625rem;
  margin-top: 0.625rem;
}

/* Paragraphs */
p {
  font-size: 0.75rem; /* 12px */ 
  font-weight: 150;
  margin-bottom: 0.625rem;
}

/* Paragraphs small */
p.small {
  font-size: 0.625rem; /* 10px */
  font-weight: 150;
  margin-bottom: 0.625rem;
}
a {
  color: #ebebeb;       /* o qualsiasi colore visibile nel tuo tema */
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.625rem; /* 10px */;
} 


/* TOTAL BALANCE SECTION */
  
.balance-section {
  background-color: #010101; /* Stesso sfondo della pagina */
  margin-bottom: 0.625rem;
  padding: 0 0.938rem;
    }

    /* Titolo (piccolo) */  
.balance-label {
  font-size: 0.75rem; /* 12px */
  color: #4c4c4c;     /* 👈 grigio scuro */
  font-weight: 150;
  margin: 0; /* Rimuove margine predefinito */
    }

    /* Importo (grande) */
.balance-amount {
  color:#ebebeb;
  margin: 0.25rem 0 0 0; /* Spazio sopra piccolo, sotto nullo */

    }

    /* ✅ Contenitore riga: testo + bottone */
.balance-row {
  display: flex; /* Disposizione in riga */
  justify-content: space-between; /* Spazio tra testo e bottone */
  align-items: center; /* Centra verticalmente */
    }

    /* ✅ Blocchetto testo: label + cifra */
.balance-text {
  display: flex; /* Disposizione in colonna (default) */
  flex-direction: column;
    }


 /* ✅ Pulsante "Deposit" */
.deposit-button {
  background-color: #ebebeb;
  color: #010101;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  padding: 0.375rem 1.25rem;
  border: none;
  border-radius: 0.125rem;
  cursor: pointer;
    }


/* ✅ SEZIONE CHE CONTIENE LE 3 IMMAGINI */
/* ✅ Riga che contiene le 3 immagini */
    .image-row {
      display: flex; /* Disposizione orizzontale */
      justify-content: center; /* Centra tutto orizzontalmente */
      align-items: center; /* Centra verticalmente */
      gap: 3.125rem; /* Distanza tra le immagini */
      padding: 24px 0; /* Spaziatura verticale */
    }
    /* ✅ Ogni quadrato che contiene un'immagine */
    .icon-box {
      width: 3.125rem; /* Larghezza del quadrato */
      height: 3.125rem; /* Altezza del quadrato */
      background-color: None; /* Sfondo nullo (modificabile) */
      display: flex; /* Per centrare l'immagine */
      justify-content: center; /* Centro orizzontale */
      align-items: center; /* Centro verticale */
      border-radius: 2px; /* Angoli arrotondati (opzionale) */
      border: 1px solid #ebebeb; /* Bordo sottile (opzionale) */
    }

    .icon-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}


    /* ✅ Stile per ogni immagine */
    .icon1 {
      width: 1.563rem; /* Larghezza delle immagini (puoi modificarla) */
      height: 1.563rem; /* Altezza (opzionale: o lascia auto se preferisci) */
    }

    .icon2 {
      width: 1.563rem; /* Larghezza delle immagini (puoi modificarla) */
      height: 1.563rem; /* Altezza (opzionale: o lascia auto se preferisci) */
    }
    
    .icon3 {
      width: 2rem; /* Larghezza delle immagini (puoi modificarla) */
      height: 3rem; /* Altezza (opzionale: o lascia auto se preferisci) */
    }

    /* Ogni colonna: box + testo */
    .icon-container {
     display: flex; /* Imposta contenitore verticale */
     flex-direction: column;
     align-items: center; /* Centra orizzontalmente */
     gap: 0.313rem; /* Distanza tra icona e testo */
     text-decoration: none;
    }


/* Testo sotto ogni icona */
.icon-label {
  color: #ebebeb; /* Bianco */
  margin: 0; /* Nessun margine extra */
  text-align: center; /* Centra il testo */
    }

/* ✅ SEZIONE CHE CONTIENE L'ANTEPRIMA ELENCO CALCIATORI */
.tab-header {
  display: flex;
  justify-content: space-between; /* spazio tra i bottoni */
  gap: auto;                       /* spazio tra i bottoni */
  margin: 0px 0;                 /* spazio sopra/sotto */
}

.tab-button {
  background-color: #010101;
  color: #4c4c4c;
  margin: 0.313rem 0px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 200;
  cursor: pointer;
  border: 0px;
}

.tab-button.active {
  background-color: transparent;
  color: #ebebeb;
  font-size: 0.75rem;
  font-weight: 200;
  position: relative;
  padding-bottom: 4px; /* Avvicina la linea al testo */
}

.tab-button.active::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 40%; /* Riduci la larghezza della linea */
  border-bottom: 0.031rem solid #ebebeb; /* Colore e spessore */
  position: absolute;
  left: 30%; /* Centra la linea sotto il testo */
  bottom: 0;
}

/* ✅ SEZIONE CHE CONTIENE LISTA CALCIATORI */



.player-variation-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}

.variation-badge {
  width: 70px;
  height: 20px;
  line-height: 20px;            /* ✅ centra verticalmente il testo */
  border-radius: 2px;
  font-size: 12px;
  font-weight: 300;
  color: #ebebeb;
  text-align: center;
  white-space: nowrap;          /* ❌ evita che il testo vada a capo */
  overflow: hidden;
  text-overflow: ellipsis;
}

.variation-badge.up {
  background-color: #1E5631; /* Verde */
}

.variation-badge.down {
  background-color: #B23A48; /* Rosso */
}

.variation-badge.neutral {
  background-color: #1E5631; /* Verde */
}


/* ✅ Intestazione (stessa griglia delle righe) */
.player-header-row {
  display: grid;
  grid-template-columns: 1.75fr 1.5fr 0.25fr;
  align-items: center;
  width: 100%; /* 👈 aggiungi questa riga */
  margin: 1rem 0;
  background-color: #010101;
  color: #4c4c4c;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 200;
  cursor: pointer;
  border: 0;
}


/*  Testo header dentro l'intestazione */
.header-text {
  padding: 0px 0px;
  font-family: 'Inter', sans-serif;
  color: #4C4C4C;
  font-size: 0.625rem;
}

.player-list {
  padding: 0 0rem; /* 15px ai lati */
}

.player-card {
  display: grid;
  grid-template-columns: 1.75fr 1.25fr 1.25fr; /* 3 colonne */
  align-items: start; /* 👈 allinea tutto in alto */
  padding: 0.5rem 0;
  color: #ebebeb;
  font-family: 'Inter', sans-serif;
}

/* Sezione sinistra: Nome + squadra */
.player-info{
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 1px;
}

.player-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 👈 fondamentale per allineare a destra */
  text-align: right;
  gap: 1px;
}

.player-variation-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 👈 aggiungi anche qui */
  text-align: right;
  gap: 1px;
}
/* Nome calciatore */
.player-name {
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
  margin: 0;
}

/* Squadra */
.player-team {
  font-size: 0.75rem; /* 12px */
  color: #4c4c4c;
  margin: 0;
}

/* Prezzo */
.player-price {
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
}

/* ROI */
.player-roi {
  font-size: 0.75rem;
  color: #4c4c4c;
  margin: 0;
}

/* Variazione % */
.player-variation {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: right;
  margin: 0;
}

.underlined-text  {
  color: #ebebeb;
  font-family: 'Inter', sans-serif;
  font-size: 10px; 
  display: inline;
  text-align: center;
  margin-top: 30px;
  text-decoration: underline;
  text-underline-offset: 4px;
  
}


/* ✅ SEZIONE BOTTOM */
.link-home {
      width: 1.875rem; /* Larghezza delle immagini (puoi modificarla) */
      height: 1.875rem; /* Altezza (opzionale: o lascia auto se preferisci) */
      margin-top: 3.125rem;
    }

.icon-label {
      margin-top: 0.313rem;
      margin-bottom: 1.563rem;
    }



/*PAGINA MARKETS*/

.sticky-top-block {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: #010101;
}

/*PAGINA DEPOSIT*/
.crypto-help-box {
  background-color: #2A210B;
  border: 0px solid #4c4c4c;
  border-radius: 1px;
  padding: 8px;
  margin-top: 10px;
  max-width: 100%;
  margin-left: 16px;
  margin-right: 16px;
  text-align: left;
}

.help-text {
  color: #B58B2B;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 100;
  line-height: 1.3;
  margin: 0;
}

.main-content {
      padding: 1.063rem;
      text-align: center;
    }

.input-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0px;
  width: calc(100%); /* 8px per lato */
  margin-left: auto;
  margin-right: auto;
}

.input-box {
  display: flex;
  flex-direction: column;
  padding: 0px 16px;
}

.input-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #4c4c4c;
  margin-bottom: 6px;
}

.input-content {
  background-color: #121212;
  border: 0px solid #4c4c4c;
  border-radius: 2px;
  padding: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #4c4c4c;
}

.input-content.with-copy {
  color:#ebebeb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 8px;
}

.copy-button {
  background: none;
  border: none;
  color: #ebebeb;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  padding: 4px 6px;
  border-left: 0px solid #4c4c4c;
  margin-left: 0px;
}    

.copy-input {
  background-color: transparent;
  border: none;
  color: #ebebeb;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  width: 100%;
  outline: none;
}

.save-share-button {
  width: calc(100% - 1.875rem); /* larghezza come gli input */
  margin: 1.25rem auto 0 auto;
  display: block;
  background-color: #ebebeb;
  color: #010101;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  border: 0.063rem solid #4c4c4c;
  border-radius: 0.125rem;
  padding: 0.75rem;
  cursor: pointer;
}

.save-share-button:hover {
  background-color: #1a1a1a;
}

.depo-info-box {
  background-color: #121212;
  border: 0rem solid #4c4c4c;
  border-radius: 0.063rem;
  padding: 0.5rem;
  margin-top: 6.25rem;
  max-width: 100%;
  margin-left: 0.938rem;
  margin-right: 0.938rem;
  text-align: left;
}

.info-text {
  color: #4c4c4c;
  font-family: 'Inter', sans-serif;
  font-size: 0.625rem;
  font-weight: 100;
  line-height: 1.3;
  margin: 0;
}

.telegram-link {
  color: #0066CC; 
  text-decoration: underline;
  text-underline-offset: 0.125rem;
  font-weight: 100;
}



.icon-container a,
.icon-container a:visited,
.icon-container a:active {
  color: inherit;
}

a:not(.telegram-link) {
  color: inherit;
  text-decoration: none;
}
a:not(.telegram-link):visited {
  color: inherit;
}

/*PAGINA ORDERS HISTORY*/
.order-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  margin: 15px 0px;
  padding: 0px 15px;
  font-size: 0.75rem;
  border-bottom: 0.1px solid #121212;  /* 👈 bordo sottile */
  
}

.order-card .header-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.order-card .left-info,
.order-card .right-info {
  max-width: 48%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.order-card .left-info,
.order-card .right-info {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orders-header {
  width: calc(100% - 1.875rem);
  color: #4c4c4c;
  margin: 1.875rem auto 0 auto;
  padding: 0px;
  border-bottom: 0px solid #333;
  font-size: 10px;
  box-sizing: border-box;
}

.orders-header .header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.orders-header .left-info,
.orders-header .right-info {
  font-weight: 400;
  font-size: 12px;
  color: #4c4c4c;
}

.buy-text {
  color: #1E5631 !important;
}

.sell-text {
  color: #B23A48!important;
}


html, body {
  max-width: 100vw;
  overflow-x: hidden;
}



/* PAGINA SUPPORT */
.button-row {
  display: flex;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  gap: 0;
  margin-top: 1rem;
}

.support-button {
  flex: 1;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 100;
  padding: 12px 0;
  border: none;
  border-radius: 0;
  text-decoration: none;
  color: #ffffff;
}


/* MENU MOBILE */
  .menu-close-icon {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
  }

  .menu-close-icon span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ebebeb;
    transform-origin: center;
  }

  .menu-close-icon span:first-child {
    transform: rotate(45deg);
  }

  .menu-close-icon span:last-child {
    transform: rotate(-45deg);
  }

  .icon-box svg {
  color: #ebebeb;
}

