.tr-fxtm-page {
    --blue: #ff4521;
    --ink: #101827;
    --muted: #5a6270;
    background: #fff;
    color: var(--ink);
    font-family: "Montserrat", Arial, sans-serif;
}

.tr-fxtm-page *,
.tr-fxtm-page *::before,
.tr-fxtm-page *::after {
    box-sizing: border-box;
}

.tr-fxtm-page h1,
.tr-fxtm-page h2,
.tr-fxtm-page h3,
.tr-fxtm-page p {
    margin-top: 0;
}

.tr-fxtm-page .tr-container {
    width: min(1080px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

/* Keep the opening slide in sync with the FXTM rebate calculator. */
.tr-fxtm-page .frc-container {
    width: min(1120px, calc(100% - 36px));
    margin-right: auto;
    margin-left: auto;
}

    .tr-fxtm-page .frc-hero {
        padding: 72px 0;
        background-color: #52555d;
        background-image: url('../img/web/bg_about03.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        color: #fff;
        text-align: center;
    }

.tr-fxtm-page .frc-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: #ff4521;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.tr-fxtm-page .frc-hero h1 {
    width: min(720px, 100%);
    margin: 0 auto 17px;
    font-size: 33px;
    font-weight: 700;
    transition: text-shadow .25s ease, transform .25s ease;
}

.tr-fxtm-page .frc-hero h1:hover {
    text-shadow: 0 8px 24px rgba(0, 0, 0, .48), 0 0 22px rgba(158, 184, 255, .28);
    transform: translateY(-2px);
}

.tr-fxtm-page .frc-hero p {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.65;
}

.tr-fxtm-page .tr-hero {
    background: #111 url('../img/web/bg_trans.png') center / cover no-repeat;
    color: #fff;
}

.tr-fxtm-page .tr-hero__inner {
    display: flex;
    align-items: center;
}

.tr-fxtm-page .tr-hero__features {
    display: flex;
    gap: 22px;
    margin: 24px 0 0;
}

.tr-fxtm-page .tr-hero__features span {
    display: flex;
    max-width: 145px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.3;
}

.tr-fxtm-page .tr-hero__features i {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: #ff4521;
}

.tr-fxtm-page .tr-actions {
    display: flex;
    gap: 14px;
}

.tr-fxtm-page .tr-button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}

.tr-fxtm-page .tr-button--primary {
    background: linear-gradient(135deg, #ff4521, #ff4521);
    color: #fff;
    box-shadow: 0 8px 25px rgba(49, 97, 227, .25);
}

.tr-fxtm-page .tr-button--outline {
    border: 1px solid #8c98a7;
    background: rgba(0, 0, 0, .28);
    color: #fff;
}

.tr-fxtm-page .tr-button:hover {
    color: #fff;
    filter: brightness(1.1);
    text-decoration: none;
    transform: translateY(-2px);
}

.tr-fxtm-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

html:has(.tr-fxtm-page),
body:has(.tr-fxtm-page) {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.tr-fxtm-page .tr-hero,
.tr-fxtm-page .tr-hero .tr-hero__inner {
    min-height: 36svh;
}

.tr-fxtm-page .tr-hero__copy {
    width: min(650px, 100%);
    padding: 24px 0;
}

.tr-fxtm-page .tr-hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.25;
}

.tr-fxtm-page .tr-hero__features {
    margin-bottom: 18px;
    gap: 16px;
}

.tr-fxtm-page .tr-actions {
    gap: 10px;
}

.tr-fxtm-page .tr-button {
    min-height: 40px;
    padding: 0 18px;
}

.tr-fxtm-page .fxtm-rebate-section {
    align-items: flex-start;
    min-height: auto;
    padding: 72px 0 90px;
    background: linear-gradient( 180deg, #f5f7fc 0, #fff 190px );
}

.fxtm-rebate-tab-intro { margin: 0 0 26px; text-align: center; }
.fxtm-rebate-tab-intro > span { display: block; margin-bottom: 9px; color: #ff4521; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.fxtm-rebate-tab-intro h2 { margin: 0 0 12px; color: #17213a; font-size: clamp(25px, 3vw, 34px); font-weight: 500; letter-spacing: .02em; line-height: 1.2; }
.fxtm-rebate-tab-intro p { margin: 0; color: #8a94a4; font-size: 15px; line-height: 1.5; }

.fxtm-bottom-cta {
    position: relative;
    min-height: 230px;
    padding: 44px 20px 28px;
    background: radial-gradient(circle at 92% 25%, rgba(255, 107, 76, .42), transparent 48%), linear-gradient(145deg, #776a67, #c92704);
    color: #fff;
    text-align: center;
}

.fxtm-scroll-top {
    position: absolute;
    top: 0;
    left: 50%;
    display: grid;
    width: 68px;
    height: 68px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #ff4521;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.fxtm-scroll-top:hover,
.fxtm-scroll-top:focus-visible {
    background: #e53617;
    outline: none;
}

.fxtm-scroll-top-label {
    margin: 0 0 15px;
    font-size: 12px;
}

.fxtm-bottom-actions {
    display: flex;
    max-width: 540px;
    margin: 0 auto;
    justify-content: center;
    gap: 14px;
}

.fxtm-bottom-button {
    display: inline-flex;
    width: 260px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.fxtm-bottom-button--live {
    border-color: #fff;
    background: #fff;
    color: #ff4521;
}

.fxtm-bottom-button:hover,
.fxtm-bottom-button:focus-visible {
    color: #ff4521;
    background: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.fxtm-risk-note {
    margin: 52px 0 0!important;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
}

@media (max-width: 600px) {
    .fxtm-bottom-cta {
        padding: 44px 20px 26px;
    }

    .fxtm-bottom-actions {
        flex-direction: column;
        align-items: center;
    }

    .fxtm-bottom-button {
        width: min(280px, 100%);
    }

    .fxtm-risk-note {
        margin-top: 30px;
        line-height: 1.5;
    }
}

.fxtm-rebate-heading {
    margin-bottom: 28px;
    text-align: center;
}

    .fxtm-rebate-heading span {
        color: #ff4521;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.14em;
    }

    .fxtm-rebate-heading h1 {
        margin: 8px 0 10px;
        font-size: 32px;
    }

    .fxtm-rebate-heading p {
        margin: 0;
        color: #667085;
    }

.tr-fxtm-page .tr-container {
    width: min(1080px, calc(100% - 40px));
    max-width: 100%;
    min-width: 0;
}

.fxtm-rebate-table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    border: 1px solid #cad2e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(24, 48, 95, 0.12);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #9badcf #edf1f8;
    -webkit-overflow-scrolling: touch;
}

    .fxtm-rebate-table-wrap::-webkit-scrollbar {
        height: 9px;
    }

    .fxtm-rebate-table-wrap::-webkit-scrollbar-track {
        background: #edf1f8;
    }

    .fxtm-rebate-table-wrap::-webkit-scrollbar-thumb {
        border: 2px solid #edf1f8;
        border-radius: 9px;
        background: #9badcf;
    }

.fxtm-rebate-table {
    width: max(100%, 1040px);
    border-collapse: separate;
    border-spacing: 0;
    color: #172033;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

    .fxtm-rebate-table th,
    .fxtm-rebate-table td {
        padding: 5px 5px;
        border-right: 1px solid #cbd2de;
        border-bottom: 1px solid #d9dee7;
        text-align: right;
        white-space: nowrap;
    }

    .fxtm-rebate-table thead th {
        background: #e8edf8;
        color: #111827;
        font-weight: 500;
        text-align: center;
        width:11%;
    }

    .fxtm-rebate-table tr > :first-child {
        text-align: center;
    }

    .fxtm-rebate-table thead tr:first-child th {
        padding: 12px 10px;
        background: #d9e3fb;
        color: #193b91;
        font-size: 15px;
    }

        .fxtm-rebate-table thead tr:first-child th:first-child {
            border-radius: 0px 0 0;
        }

        .fxtm-rebate-table thead tr:first-child th:last-child {
            border-radius: 0 0px 0 0;
        }

    .fxtm-rebate-table thead small {
        display: block;
        margin-top: 5px;
        color: #485267;
        font-size: 10px;
        line-height: 1.3;
    }

    .fxtm-rebate-table .symbol-column,
    .fxtm-rebate-table tbody th {
        position: relative;
        z-index: 2;
        background: #e7edfb;
        text-align: center;
        box-shadow: -9px 0 15px -12px rgba(24, 54, 121, 0.9), 9px 0 15px -12px rgba(24, 54, 121, 0.9);
    }

    .fxtm-rebate-table .symbol-column {
        color: #193b91;
        font-size: 14px;
    }

    .fxtm-rebate-table tbody th {
        color: #172033;
        font-weight: 600;
    }

    .fxtm-rebate-table tbody tr {
        position: relative;
        transition: filter .22s ease, transform .22s ease;
    }

    .fxtm-rebate-table tbody tr:nth-child(even) td {
        background: #fafbfe;
    }

    .fxtm-rebate-table tbody tr:hover td {
        background: #edf3ff;
    }

    .fxtm-rebate-table tbody tr:hover th {
        background: #dce7ff;
    }

    .fxtm-rebate-table tbody tr:hover {
        z-index: 4;
        filter: drop-shadow(0 7px 9px rgba(36, 75, 167, .24));
        transform: translateY(-2px);
    }

  

    .fxtm-rebate-table tr > *:last-child {
        border-right: 0;
    }

    .fxtm-rebate-table tbody tr:last-child > * {
        border-bottom: 0;
    }

.commission-info {
    position: relative;
    display: inline-flex;
    margin-left: 6px;
    align-items: center;
    color: #ff4521;
    cursor: help;
    outline: none;
    vertical-align: middle;
}

    .commission-info > i {
        font-size: 15px;
    }

    .commission-info:focus-visible > i {
        border-radius: 50%;
        outline: 3px solid rgba(49, 97, 227, 0.25);
        outline-offset: 2px;
    }

.commission-tooltip {
    position: absolute;
    z-index: 2500;
    display: flex;
    width: 390px;
    max-height: calc(100vh - 24px);
    padding: 16px;
    flex-direction: column;
    gap: 7px;
    border: 1px solid #d9e2f5;
    border-radius: 10px;
    background: #fff;
    color: #273247;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    box-shadow: 0 16px 40px rgba(16, 35, 74, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    overflow-y: auto;
    pointer-events: none;
}

.commission-info.is-open > i,
.commission-info:hover > i,
.commission-info:focus-within > i {
    position: relative;
    z-index: 2501;
}

    .commission-tooltip strong {
        color: #193b91;
        font-size: 13px;
    }

    .commission-tooltip b {
        margin-top: 2px;
    }

    .commission-tooltip .commission-formula {
        padding: 8px 10px;
        border-radius: 6px;
        background: #edf3ff;
        color: #193b91;
        font-weight: 700;
    }

    .commission-tooltip a {
        position: relative;
        z-index: 1;
        color: #ff4521;
        font-weight: 700;
        text-decoration: underline;
    }

.commission-info:hover .commission-tooltip,
.commission-info:focus .commission-tooltip,
.commission-info:focus-within .commission-tooltip,
.commission-info.is-open .commission-tooltip,
.commission-tooltip.is-portal-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

body > .commission-tooltip.is-portal-open {
    position: fixed !important;
    z-index: 9999 !important;
    margin: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .tr-fxtm-page .frc-container {
        width: calc(100% - 24px);
    }

    .tr-fxtm-page .frc-hero {
        padding: 40px 0;
        text-align: left;
    }

    .tr-fxtm-page .frc-kicker {
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.5;
    }

    .tr-fxtm-page .frc-hero h1 {
        margin: 0 0 15px;
        font-size: 30px;
        line-height: 1.2;
    }

    .tr-fxtm-page .frc-hero p {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 700px) {
    .tr-fxtm-page {
        background: #f4f7fc;
    }

    .tr-fxtm-page .tr-container,
    .tr-fxtm-page > .tr-section > .tr-container {
        width: calc(100% - 24px);
    }

    .tr-fxtm-page .tr-hero,
    .tr-fxtm-page .tr-hero .tr-hero__inner {
        min-height: auto;
    }

    .tr-fxtm-page .tr-hero {
        position: relative;
        background-position: 62% center;
        isolation: isolate;
    }

    .tr-fxtm-page .tr-hero::before {
        position: absolute;
        z-index: -1;
        inset: 0;
        background: linear-gradient(100deg, rgba(5, 14, 35, .98) 0%, rgba(8, 27, 65, .92) 62%, rgba(8, 27, 65, .58) 100%);
        content: "";
    }

    .tr-fxtm-page .tr-hero__copy {
        padding: 34px 0 38px;
    }

    .tr-fxtm-page .tr-hero h1 {
        margin: 12px 0 16px;
        font-size: clamp(26px, 8.2vw, 34px);
        line-height: 1.14;
        letter-spacing: -.025em;
    }

    .tr-fxtm-page .tr-hero__copy > p {
        max-width: 350px;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, .76);
        font-size: 12px;
        line-height: 1.65;
    }

    .tr-fxtm-page .tr-eyebrow {
        padding: 6px 10px;
        border-color: rgba(111, 163, 255, .48);
        border-radius: 999px;
        background: rgba(49, 97, 227, .14);
        font-size: 10px;
    }

    .tr-fxtm-page .tr-hero__features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 20px;
    }

        .tr-fxtm-page .tr-hero__features span {
            display: flex;
            min-width: 0;
            padding: 10px 5px;
            flex-direction: column;
            justify-content: flex-start;
            gap: 7px;
            border: 1px solid rgba(255, 255, 255, .1);
            border-radius: 12px;
            background: rgba(255, 255, 255, .055);
            font-size: 9px;
            line-height: 1.35;
            text-align: center;
        }

        .tr-fxtm-page .tr-hero__features i {
            width: 30px;
            height: 30px;
            margin: 0 auto;
            flex-basis: 30px;
            border-radius: 9px;
        }

    .tr-fxtm-page .tr-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .tr-fxtm-page .tr-button {
        min-height: 44px;
        padding: 0 9px;
        gap: 7px;
        border-radius: 10px;
        font-size: 10px;
        line-height: 1.25;
    }

    .tr-fxtm-page .fxtm-rebate-section {
        padding: 34px 0 54px;
        background: linear-gradient(180deg, #edf3ff 0, #f7f9fd 180px, #fff 100%);
    }

    .fxtm-rebate-heading {
        margin-bottom: 20px;
        text-align: left;
    }

    .fxtm-rebate-heading span {
        display: inline-flex;
        padding: 6px 10px;
        border-radius: 999px;
        background: #e1eaff;
        font-size: 10px;
        letter-spacing: .1em;
    }

    .fxtm-rebate-heading h1 {
        margin: 12px 0 8px;
        font-size: clamp(24px, 7vw, 29px);
        line-height: 1.18;
        letter-spacing: -.02em;
    }

    .fxtm-rebate-heading p {
        max-width: 36em;
        color: #5c6678;
        font-size: 12px;
        line-height: 1.65;
    }

    .fxtm-rebate-table-wrap {
        margin: 0;
        overflow: hidden;
        border-color: #d7deea;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(23, 48, 92, .13);
    }

    .fxtm-rebate-table {
        width: 100%;
        min-width: 0;
        border-collapse: collapse;
        table-layout: fixed;
        font-size: 12px;
    }

    .fxtm-rebate-table tr > :first-child,
    .fxtm-rebate-table tr > :last-child {
        width: 35%;
    }

    .fxtm-rebate-table .symbol-column,
    .fxtm-rebate-table tbody th {
        position: static;
        width: 30%;
        transform: none;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .fxtm-rebate-table th,
    .fxtm-rebate-table td {
        height: 42px;
        padding: 8px 5px;
        white-space: normal;
        overflow-wrap: break-word;
        text-align: center;
    }

    .fxtm-rebate-table thead tr:first-child th {
        padding: 11px 5px;
        font-size: 13px;
        line-height: 1.25;
    }

    .fxtm-rebate-table thead tr:nth-child(2) th {
        padding: 7px 4px;
        font-size: 9px;
        line-height: 1.3;
    }

    .fxtm-rebate-table thead small {
        font-size: 8px;
    }

    .fxtm-rebate-table tbody td {
        font-size: 11px;
        white-space: nowrap;
    }

    .fxtm-rebate-table tbody th {
        padding-inline: 4px;
        font-size: 10px;
        line-height: 1.25;
        white-space: normal;
    }

    .commission-info {
        margin-left: 4px;
    }

    .commission-info > i {
        font-size: 16px;
    }

    .commission-tooltip {
        position: fixed;
        z-index: 3200;
        max-width: calc(100vw - 42px);
        padding: 13px;
        border-radius: 12px;
        font-size: 11px;
        box-shadow: 0 14px 34px rgba(16, 35, 74, .25);
    }

    .commission-tooltip strong {
        font-size: 12px;
    }

    .commission-tooltip .commission-formula {
        padding: 7px 9px;
    }
}

/* Plain symbol-group rows in the rebate rates table. */
.tr-fxtm-page .fxtm-rebate-simple-table .fxtm-symbol-group-row:hover {
    background: #fff;
    box-shadow: none;
    transform: none;
}
.tr-fxtm-page .fxtm-rebate-simple-table .fxtm-symbol-group-row td {
    padding-top: 10px;
    padding-bottom: 10px;
}
.tr-fxtm-page .fxtm-symbol-group-name {
    color: #182338;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}
.tr-fxtm-page .fxtm-rebate-simple-table .fxtm-symbol-group-row td:last-child {
    text-align: right;
    white-space: nowrap;
}
.tr-fxtm-page .fxtm-rebate-simple-table-wrap.is-micro-account .fxtm-symbol-group-row td:last-child {
    text-align: left;
}

@media (max-width: 380px) {
    .tr-fxtm-page .tr-actions {
        grid-template-columns: 1fr;
    }

    .tr-fxtm-page .tr-hero__features span {
        padding-inline: 3px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tr-fxtm-page .frc-hero h1 {
        transition: none;
    }

    .fxtm-rebate-table tbody tr {
        transition: none;
    }

    .tr-fxtm-page .frc-hero h1:hover,
    .fxtm-rebate-table tbody tr:hover {
        transform: none;
    }
}

/* FXTM account selector and rebate table. */
.tr-fxtm-page .fxtm-rebate-section {
    padding: 40px 0 72px;
    background: #fff;
}

.fxtm-account-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #cbd5eb;
    border-radius: 12px 12px 0 0;
    background: #fff;
}

.fxtm-account-tab {
    min-width: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid #cbd5eb;
    background: #eef2fb;
    color: #17213a;
    cursor: pointer;
    font-family: Arial, sans-serif;
    text-align: center;
    transition: background .2s ease;
}

.fxtm-account-tab:last-child { border-right: 0; }
.fxtm-account-tab__top { display: flex; min-height: 47px; padding: 13px 12px; align-items: center; justify-content: center; gap: 6px; border-bottom: 1px solid #d1d9eb; background: #d8e2fb; color: #052b83; font-size: 14px; line-height: 20px; }
.fxtm-account-tab__top i { font-style: normal; font-size: 15px; }
.fxtm-account-tab__main { display: block; padding-top: 9px; background: #eef2fb; color: #000; font-size: 13px; line-height: 18px; }
.fxtm-account-tab small { display: block; padding: 3px 8px 7px; background: #eef2fb; color: #626978; font-size: 10px; line-height: 14px; }
.fxtm-account-tab:hover { position: relative; z-index: 1; box-shadow: inset 0 4px 0 #ff4521, 0 8px 16px rgba(49, 97, 227, .16); transform: translateY(-2px); }
.fxtm-account-tab:hover .fxtm-account-tab__top { background: #ff4521; color: #fff; }
.fxtm-account-tab:hover .fxtm-account-tab__main, .fxtm-account-tab:hover small { background: #e1eaff; }
.fxtm-account-tab:hover .fxtm-account-tab__main { color: #10265f; font-weight: 700; }
.fxtm-account-tab:hover small { color: #ff4521; }
.fxtm-account-tab.is-active { position: relative; z-index: 1; box-shadow: inset 0 4px 0 #ff4521; }
.fxtm-account-tab.is-active .fxtm-account-tab__top { background: #ff4521; color: #fff; }
.fxtm-account-tab.is-active .fxtm-account-tab__main, .fxtm-account-tab.is-active small { background: #e1eaff; }
.fxtm-account-tab.is-active .fxtm-account-tab__main { color: #000; font-weight: 600; }
.fxtm-account-tab.is-active small { color: #ff4521; }
.fxtm-account-tab:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(49, 97, 227, .45); outline-offset: -3px; }
.fxtm-account-tabs-scrollbar { display: none; }

.fxtm-rebate-simple-table-wrap { position: relative; width: 50%; margin-top: 0; margin-left: var(--fxtm-table-shift, 0%); padding-top: 22px; overflow: hidden; transition: margin-left .25s ease; }
.fxtm-rebate-simple-table-wrap::before { position: absolute; z-index: 2; top: 0; left: 0; width: 50%; height: 22px; background: linear-gradient(180deg, #e1eaff 0%, #e1e5ea 100%); content: ""; pointer-events: none; }
.fxtm-rebate-simple-table-wrap.is-last-tab-active::before { left: 50%; }
.fxtm-rebate-simple-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; background: #fff; color: #17213a; font-family: Arial, sans-serif; }
.fxtm-rebate-simple-table-wrap.is-last-tab-active .fxtm-rebate-simple-table { direction: rtl; }
.fxtm-rebate-simple-table th, .fxtm-rebate-simple-table td { direction: ltr; }
.fxtm-rebate-simple-table th, .fxtm-rebate-simple-table td { padding: 15px 18px; border: 1px solid #d6d9df; vertical-align: middle; text-align: left; }
.fxtm-rebate-simple-table th { background: #e1e5ea; font-size: 15px; font-weight: 700; }
.fxtm-rebate-simple-table th:first-child { width: 50%; }
.fxtm-rebate-simple-table th:last-child { width: 50%; }
.fxtm-rebate-simple-table th small { display: block; margin-top: 3px; color: #626978; font-size: 10px; font-weight: 400; }
.fxtm-rebate-simple-table td { color: #152956; font-size: 15px; line-height: 1.55; }
.fxtm-rebate-simple-table td:last-child { font-weight: 600; white-space: nowrap; }
.fxtm-rebate-simple-table tbody tr { transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.fxtm-rebate-simple-table tbody tr:hover { position: relative; z-index: 1; background: #eaf1ff; box-shadow: 0 7px 16px rgba(49, 97, 227, .18); transform: translateY(-1px); }
.fxtm-rebate-simple-table tbody tr:hover td { border-color: #b9cdf7; }
.fxtm-rebate-simple-table-wrap.is-refreshing { animation: fxtm-rebate-table-fade .25s ease; }
@keyframes fxtm-rebate-table-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .tr-fxtm-page .fxtm-rebate-section { padding: 24px 0 42px; }
    .fxtm-rebate-tab-intro { margin-bottom: 20px; }
    .fxtm-rebate-tab-intro > span { margin-bottom: 7px; font-size: 10px; }
    .fxtm-rebate-tab-intro h2 { margin-bottom: 9px; font-size: 24px; }
    .fxtm-rebate-tab-intro p { font-size: 12px; line-height: 1.55; }
    .fxtm-account-tabs {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(4, 50%);
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 10px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .fxtm-account-tabs::-webkit-scrollbar { display: none; }
    .fxtm-account-tabs-scrollbar {
        position: relative;
        display: block;
        height: 4px;
        margin-top: 0;
        overflow: hidden;
        border-radius: 99px;
        background: #e7edf8;
    }
    .fxtm-account-tabs-scrollbar > span {
        position: absolute;
        top: 0;
        bottom: 0;
        left: var(--tabs-thumb-left, 0%);
        width: var(--tabs-thumb-width, 50%);
        border-radius: inherit;
        background: #ff4521;
        transition: left .12s linear;
    }
    .fxtm-account-tab {
        min-width: 0;
        border-right: 1px solid #cbd5eb;
        border-bottom: 0;
        scroll-snap-align: start;
    }
    .fxtm-account-tab:nth-child(2n) { border-right: 1px solid #cbd5eb; }
    .fxtm-account-tab:last-child { border-right: 0; }
    .fxtm-account-tab:nth-last-child(-n + 2) { border-bottom: 0; }
    .fxtm-account-tab__top { min-height: 44px; padding: 11px 8px; font-size: 13px; }
    .fxtm-account-tab__main { padding-top: 8px; font-size: 12px; }
    .fxtm-account-tab small { padding-bottom: 7px; font-size: 9px; }
    .fxtm-rebate-simple-table-wrap { width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
    .fxtm-rebate-simple-table-wrap::before { left: 0; width: 50%; }
    .fxtm-rebate-simple-table-wrap.is-last-tab-active::before { display: none; }
    .fxtm-rebate-simple-table-wrap.is-last-tab-active.is-micro-account::before { display: block; left: 50%; }
    .fxtm-rebate-simple-table-wrap::-webkit-scrollbar { display: none; }
    .fxtm-rebate-simple-table { width: 100%; min-width: 0; margin-left: 0; table-layout: fixed; }
    .fxtm-rebate-simple-table th, .fxtm-rebate-simple-table td { padding: 10px 9px; font-size: 12px; overflow-wrap: anywhere; word-break: break-word; }
    .fxtm-rebate-simple-table th:first-child { width: 50%; }
    .fxtm-rebate-simple-table th:last-child { width: 50%; }
    .fxtm-rebate-simple-table td:last-child { white-space: normal; }
}

@media (max-width: 480px) {
    .fxtm-account-tab__top { gap: 5px; }
}
