/* BUNFILE My Referrals v1 - isolated contract */

.bun-referrals-page {
    --br-accent: #109bb2;
    --br-accent-dark: #087c91;
    --br-navy: #13213a;
    --br-muted: #708097;
    --br-line: #e1e8f0;
    width: min(1180px, calc(100% - 40px));
    margin: 32px auto 64px;
    color: var(--br-navy);
}

.bun-referrals-page *,
.bun-referrals-page *::before,
.bun-referrals-page *::after {
    box-sizing: border-box;
}

.bun-referrals-page .bun-referrals-heading {
    margin: 0 0 22px;
    padding: 0;
    background: transparent;
    border: 0;
}

.bun-referrals-page .bun-referrals-heading h5 {
    position: relative;
    margin: 0 !important;
    padding-top: 20px;
    color: var(--br-navy) !important;
    font-size: 30px;
    line-height: 1.15;
}

.bun-referrals-page .bun-referrals-heading h5::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--br-accent);
    content: "Affiliate program";
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.bun-referrals-page .bun-referrals-card {
    overflow: hidden;
    width: 100%;
    background: #fff;
    border: 1px solid var(--br-line);
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(23, 43, 77, .06);
}

.bun-referrals-page .bun-referrals-table-wrap {
    overflow-x: auto;
}

.bun-referrals-page .bun-referrals-table {
    width: 100%;
    min-width: 620px;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.bun-referrals-page .bun-referrals-table th,
.bun-referrals-page .bun-referrals-table td {
    padding: 16px 22px;
    vertical-align: middle;
    border-color: #edf1f5;
}

.bun-referrals-page .bun-referrals-table th {
    color: #667085;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 700;
}

.bun-referrals-page .bun-referrals-table td {
    color: #344054;
    font-size: 14px;
}

.bun-referrals-page .bun-referrals-table th:first-child,
.bun-referrals-page .bun-referrals-table td:first-child {
    width: 42%;
}

.bun-referrals-page .bun-referrals-table td:first-child {
    color: var(--br-navy);
    font-weight: 650;
}

.bun-referrals-page .bun-referrals-table td:last-child {
    color: var(--br-accent-dark);
    font-weight: 700;
}

.bun-referrals-page .bun-referrals-table img[title="Premium"] {
    width: 15px;
    height: 15px;
    margin-left: 7px;
    vertical-align: -2px;
}

.bun-referrals-page .bun-referrals-table td[colspan="3"] {
    height: 210px;
    color: var(--br-muted);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.bun-referrals-page .bun-referrals-table tbody tr:not(:only-child):hover td {
    background: #f8fcfd;
}

.bun-referrals-page .bun-referrals-paging:empty {
    display: none;
}

.bun-referrals-page .bun-referrals-paging:not(:empty) {
    padding: 14px 20px;
}

.bun-referrals-page .bun-referrals-paging-top:not(:empty) {
    border-bottom: 1px solid var(--br-line);
}

.bun-referrals-page .bun-referrals-paging-bottom:not(:empty) {
    border-top: 1px solid var(--br-line);
}

.bun-referrals-page .bun-referrals-paging a,
.bun-referrals-page .bun-referrals-paging span {
    display: inline-flex;
    min-width: 34px;
    min-height: 34px;
    margin: 2px;
    padding: 6px 10px;
    align-items: center;
    justify-content: center;
    color: #526176;
    background: #fff;
    border: 1px solid var(--br-line);
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
}

.bun-referrals-page .bun-referrals-paging a:hover {
    color: var(--br-accent-dark);
    background: #eefafb;
    border-color: #9bd4dc;
}

@media (max-width: 767.98px) {
    .bun-referrals-page {
        width: min(100% - 20px, 1180px);
        margin-top: 20px;
    }
    .bun-referrals-page .bun-referrals-heading h5 {
        font-size: 26px;
    }
}