@import '~@equitysim/react-uikit/dist/styles/styleguide';

.c-trade-table-head {
    height: v-space(5);

    th:first-of-type {
        padding-left: var(--container-padding-h);
        font-weight: $font-weight-bold;
        color: $grey-70;
        min-width: v-space(16);
        @media (min-width: 800px) {
            min-width: v-space(18);
        }
        @media (min-width: 1280px) {
            min-width: v-space(22);
        }
    }

    th:last-of-type {
        padding-right: var(--container-padding-h);
    }

    &__help {
        height: auto;
        margin-left: 0.4rem;
        width: v-space(2);
        vertical-align: -0.4rem;
        color: $grey-70;
        position: absolute;
    }

    &__sort {
        height: auto;
        margin-right: 0.4rem;
        width: 1rem;
        vertical-align: -0.4rem;
        color: $grey-100;
    }

    th.c-trade-table-head__label {
        color: $grey-80;
        font-weight: $font-weight-bold;
        font-size: 1.4rem;
        cursor: default;
        transition: all 0.2s $timing-function;
        position: relative;

        &--active {
            color: $grey-100;
        }

        &--clickable {
            cursor: pointer;

            &:hover {
                color: $grey-100;
            }
        }
    }
    &__tooltip {
        text-align: left;
    }
    th.c-trade-table-head__total-number {
        color: $grey-70;
        font-size: 1.4rem;
        text-align: right;
        span {
            color: $grey-100;
            font-weight: $font-weight-bold;
        }
    }
}
