

#ton-connect-button{
    width:100%;
}
#use_ton_div{  
    display: none;
    position: absolute;
    top: 16px;
    right: 10px;
}

#ton-connect-button div tc-root button {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
}

#ton-connect-button div tc-root button svg {
    border-radius: 30px;
    border: 2px solid white;
    height: 22px;
    width: 22px;
}

#ton-connect-button div {
    width: 100%;
}

.ton_connect_title2 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-align: center;
}

.ton_connect_image2 {
    height: 20vh;
    max-height: 500px;
}

.ton_connect_text2 {
    font-size: 13px;
    font-weight: 500;
    color: var(--light);
    text-align: center;
}

#wallet_transaction_button_wrapper {
    display: none;
}

#ton-connect-button div tc-root button div {
    font-weight: 500;
    font-size: 16px;
    margin-top: 1px;
    width: fit-content;
}

.ton_connect{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--dark);
    width: calc(100% - 40px);
    padding: 20px;
    justify-content: space-between;
    border-radius: 10px;
    gap: 15px;
}

.ton_connect_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.ton_connect_wrapper ion-icon {
    background-color: var(--medium);
    color: white;
    font-size: 24px;
    border-radius: 6px;
    padding: 6px;
}

.ton_connect_title {
    color: white;
    font-weight: 550;
    font-size: 14px;
}

.nav_subtab_button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: var(--dark);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--light);
}

.nav_subtab_button.active {
    color: var(--accent);
  }

.nav_subtab_wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: white;
    border-radius: 10px;
    justify-content: center;
}

.nav_subtab_container {
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 3px;
    border-radius: 8px;
    background-color: var(--dark);
    color: white;
    font-size: 12px;
    font-weight: 500;
}

/* When wallet is connected, restyle the TON button */
#ton-connect-button.wallet-connected div tc-root button {
    background-color: #fff;            /* white background */
  }
  
  #ton-connect-button.wallet-connected div tc-root button div {
    color: var(--dark);                /* button text color */
  }
  
  #ton-connect-button.wallet-connected div tc-root button svg path {
    fill: var(--dark);                 /* icon color */
  }
  
  .ton_connect_help {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--light);
  }

  .ton_connect_help a {
    text-decoration: none;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
  }