Available credit line = approved credit line+overpayment in the previous period (credit balance)-unsettled listed transaction amount in this period-transaction amount not included in the bill in this period-other related interest expenses.
Credit card balance refers to the amount you have spent and have not paid back (including interest and late fees). If it is negative, it means that you are paying more and more.