.advanced-table table thead,
.tableberg-table-wrapper table tbody {
    border: none;
}

.advanced-table table thead tr,
.tableberg-table-wrapper table tbody tr.tableberg-header {
    background: linear-gradient(90deg, rgb(1, 32, 73) 0%,rgba(10, 128, 161, 0.35) 100%) !important;
}

.advanced-table table thead tr th,
.tableberg-table-wrapper table tbody tr.tableberg-header th {
    position: relative;
    border: none !important;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF;
    text-align: left;
}

.tableberg-table-wrapper table tbody tr.tableberg-header th * {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #FFFFFF;
    text-align: left;
}

.advanced-table table thead tr th:not(:last-of-type),
.tableberg-table-wrapper table tbody tr.tableberg-header th:not(:last-of-type) {
    position: relative;
}

.advanced-table table thead tr th:not(:last-of-type)::after,
.tableberg-table-wrapper table tbody tr.tableberg-header th:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background-color: #FFFFFF80;
}

@media (max-width: 767px) {
    .advanced-table table thead tr th,
    .tableberg-table-wrapper table tbody tr.tableberg-header th {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Added new rule for alternating row background colors starting from second row */
.advanced-table table tbody tr:not(:first-child):not(.tableberg-header):not(.tableberg-footer):nth-child(even),
.tableberg-table-wrapper table tbody tr:not(:first-child):not(.tableberg-header):not(.tableberg-footer):nth-child(even) {
    background-color: #F5F7FC;
}

.advanced-table table td ul,
.tableberg-table-wrapper table td ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
}

.advanced-table table td ul li,
.tableberg-table-wrapper table td ul li {
    position: relative;
}

.advanced-table table td ul li::before,
.tableberg-table-wrapper table td ul li::before {
    content: '';
    position: absolute;
    display: flex;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: url('../img/svg/bullet-icon.svg') center / contain no-repeat;
    transform: translateX(-100%);
}

@media (max-width: 767px) {
    .advanced-table table td ul,
    .tableberg-table-wrapper table td ul {
        padding-left: 12px;
    }
}

.advanced-table table tfoot,
.tableberg-table-wrapper table tbody {
    border: none !important;
}

.advanced-table table tfoot tr,
.tableberg-table-wrapper table tbody tr.tableberg-footer {
    background-color: #DCE3F0 !important;
}

.advanced-table table tfoot tr td,
.tableberg-table-wrapper table tbody tr.tableberg-footer td {
    position: relative;
    border: none !important;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #181B1A;
    text-align: left;
}

.tableberg-table-wrapper table tbody tr.tableberg-footer td * {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #181B1A;
    text-align: left;
}

.tableberg-table-wrapper table tbody tr.tableberg-footer td a {
    color: #5075D3 !important;
}

.advanced-table table tfoot tr td:not(:last-of-type),
.tableberg-table-wrapper table tbody tr.tableberg-footer td:not(:last-of-type) {
    position: relative;
    border-right: 1px solid #DCE3F0 !important;
}

.advanced-table table tfoot tr td:not(:last-of-type)::after,
.tableberg-table-wrapper table tbody tr.tableberg-footer td:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background-color: #FFFFFF80;
}

@media (max-width: 767px) {
    .advanced-table table tfoot tr td,
    .tableberg-table-wrapper table tbody tr.tableberg-footer td {
        padding-left: 8px;
        padding-right: 8px;
    }
}