.bst-balance {
    padding: 8px 16px;
    background: #F1F5FB;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bst-balance__content {
    width: fit-content;
    margin-bottom: 0 !important;
}

.bst-balance__label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    color: #0D0D0D;
}

.bst-balance__value {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 0.875rem;
    color: #0D0D0D;
}

/** 
 *
 * TABLE
 *
 *
*/

.bst-table {
    margin-top: 16px !important;
}

.bst-table__no-data {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    color: #0d0d0d;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
}

/** !BUTTONS */

.bst-table__box {
    position: relative;
}

.bst-table table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 4px;
    border: none;

}

.bst-table__list-icon {
    width: 16px;
    height: 16px;
    background-image: url('../images/plus_icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    padding-right: 4px;
    margin-left: 16px;
    padding-left: 0;
    background-color: white;
}

.bst-table__list-icon[data-bst-is-open="true"] {
    background-image: url('../images/minus_icon.svg') !important;
}

.bst-table__list-icon:hover,
.bst-table__list-icon:focus {
    cursor: pointer;
    background-color: white;
}


.bst-table__content thead {
    padding: 8px;
    background: #394a80;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    margin-bottom: 4px;
}

.bst-table__content th {
    border-width: 0px;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    color: white;
    position: relative;
}

.bst-table__content th[data-epayments-sort-order]:hover {
    cursor: pointer;
}

.bst-table__content th span[data-sort-title] {
    pointer-events: none;
    position: relative;
    display: flex;
    column-gap: 8px;
}

.bst-table__content th:not(:first-of-type) {
    padding-right: 20px;
}

.bst-table--my-receivables .bst-table__content {
    padding-top: 12px;
    margin-bottom: 12px;
}

.bst-table__content th[data-epayments-sort-order="none"] span[data-sort-title]::after {
    content: url('../images/sort_icon-full.svg');
    display: block;
    width: 8px;
    height: 5px;
}

.bst-table__content th[data-epayments-sort-order="asc"] span[data-sort-title]::after {
    content: url('../images/sort_icon-asc.svg');
    display: block;
    width: 8px;
    height: 5px;
}

.bst-table__content th[data-epayments-sort-order="desc"] span[data-sort-title]::after {
    content: url('../images/sort_icon-desc.svg');
    display: block;
    width: 8px;
    height: 5px;
}

.bst-table__content th:first-of-type {
    width: 50px;
}

.bst-table__content td:first-of-type {
    width: 50px;

}

.bst-table__content th:first-of-type::after {
    content: '';
}

.bst-table__content th:first-of-type:hover {
    cursor: pointer;
}

.bst-table__content th:first-of-type:hover {
    cursor: auto;
}

.bst-table__content th:last-of-type::after {
    content: '';
}

.bst-table__content th:last-of-type:hover {
    cursor: auto;
}

.bst-table__content tbody {
    position: relative;
}

.bst-table__content tbody tr {
    align-items: flex-start;
    padding: 8px;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
}

.bst-table__content tbody tr:nth-child(odd) {
    outline: 1px solid #d6d6d6;
}

.bst-table__content tbody tr:nth-child(even) {
    border-top: none;
    position: relative;
    top: -8px;
    box-shadow: 0px 1px 1px 1px #d6d6d6;
}

.bst-table__content tbody td {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    border-width: 0px;
    border: none;
    vertical-align: top;
}

.bst-table__content tbody td:first-of-type {
    padding-top: 4px;
}


.bst-table__row--hidden {
    display: none;
}

@media only screen and (min-width: 768px) {
    .bst-table__button--sort {
        display: none !important;
    }

    .bst-table__content th:first-of-type {
        border-radius: 4px 0px 0px 4px;
    }

    .bst-table__content th:last-of-type {
        border-radius: 0px 4px 4px 0px;
    }

}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
