.accounts-table_title {
    text-align: center;
    margin-bottom: 16px;
}

.accounts-table_text{
    color: #595959;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 64px;
}

.table-container {
    overflow-x: auto;
    position: relative;

    width: 100%;
    max-width: 1200px;
    padding-right: 24px;
    padding-left: 24px;
    margin-right: auto;
    margin-left: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: calc(172px + 150px * 5);
    table-layout: fixed;
}

td {
    /*width: 14.92%;*/
    /*height: 45px;*/
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    text-align: left;
    padding: 11.5px 16px;
}

.ar td{
    text-align: right;
}

td:first-child {
    /*width: 25.20%;*/
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
}

th:first-child,
td:first-child {
    width: 250px;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
}

td:first-child:before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 250px;
    height: 1px;
    background: #F0F0F0;
}

th:not(:first-child),
td:not(:first-child) {
    width: 180px;
}

.ar td:first-child{
    text-align: right;
}

td.title{
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding-left: 0;
}

thead td div {
    padding: 16px;
}

thead td a {
    transition: var(--transition);
}

thead td a:hover,
thead td a:focus {
    text-decoration: none;
    color: var(--primary);
}

thead td h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    margin-top: 16px;
    margin-bottom: 16px;
}

thead td {
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    color: var(--white);
    padding: 0;
}

tbody tr td{
    border-top: 1px solid #F0F0F0;
}

tbody tr td.value{
    border-top: 1px solid #154C8B;
}

tbody tr td span{
    display: flex;
    align-items: center;
    justify-content: left;
}

.ar tbody tr td span{
    justify-content: right;
}

tbody:not(.benefits) tr:last-child {
    background: #fff;
}

tbody tr:last-child{
    background: transparent;
    padding-top: 16px;
}

thead tr td img {
    margin-right: auto;
    max-width: 32px;
    max-height: 32px;
}

.ar thead tr td img{
    margin-right: 0;
    margin-left: auto;
}

tbody tr td img {
    margin-right: 7px;
}

.ar tbody tr td img{
    margin-left: 7px;
    margin-right: 0;
}

table .btn-secondary, table .btn-light {
    /*width: 100%;*/
    margin-bottom: 4px;
    padding: 0 16px;
    text-wrap-mode: nowrap;
    min-height: 32px;
    max-height: 32px;
    font-size: 12px;
}
table .btn.underline {
    color: #FF515E;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    text-decoration-line: underline;
    text-underline-offset: 3px;
    margin: auto;
}

table .btn.underline:hover {
    color: #000;
}

table.benefits tr td:first-child{
    text-align: left;
    font-weight: 600;
}
table.benefits tbody tr:last-child{
    border: 1px solid #F0F0F0;
}
table.benefits tbody tr td {
    border-left: 1px solid #F0F0F0;
}
.section-header-row {
    position: relative;
    border: 1px solid #F0F0F0;
}
.section-header {
    color: var(--black);
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    padding: 24px;
    text-align: left;
    border: none;
}

.section-header-row:after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    height: calc(100% + 2px);
    width: 8px;
    background-color: #FF515E;
}

.accounts-table_btn {
    margin: 64px auto 0;
}

.value{
    position: relative;
}

thead .value{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

tbody tr:last-child td.value{
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.gold-float{
    position: absolute;
    right: 4px;
    top: 4px;
    background-color: #69F9E9;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    color: var(--black);
    border-radius: 4px;
}

.ar .gold-float{
    left: 4px;
    right: auto;
}

@media (max-width: 1439px) {
    /*td {*/
    /*    width: inherit;*/
    /*    min-width: 168px;*/
    /*}*/

    /*td:first-child {*/
    /*    width: inherit;*/
    /*    min-width: 250px;*/
    /*}*/
}

@media (max-width: 1199px) {
    .section-accounts_table:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 100%;
        background: #fff;
        z-index: 1;
    }
    .table-container {
        padding-right: 20px;
        padding-left: 20px;
    }
    .accounts-table_btn {
        margin: 56px auto 0;
    }
}

@media (max-width: 640px) {
    .section-accounts_table:before {
        width: 16px;
    }
    .table-container {
        padding-right: 16px;
        padding-left: 16px;
    }
    th:first-child,
    td:first-child {
        width: 172px;
    }
    th:not(:first-child),
    td:not(:first-child) {
        width: 150px;
    }
    td:first-child:before {
        width: 172px;
    }
    .accounts-table_btn {
        margin: 48px auto 0;
    }
}