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

.c-table-tabs {
    &__mobile {
        padding: 0 v-space(4) v-space(2) v-space(4);
    }

    &__tabs {
        border-width: 0;
        display: inline-flex;
        padding: 0 var(--container-padding-h) - v-space(3);

        // @media screen and (min-width: $screen-small) {
        //     flex-direction: row;
        //     overflow-x: scroll;
        //     overflow-y: hidden;
        // }

        @media (min-width: $screen-small) and (max-width: 1176px) {
            overflow-x: scroll;
            max-width: 100%;
            height: 5.1rem;
            bottom: -0.2rem;
        }
    }

    &__tab-item {
        text-transform: unset;
        color: $grey-70;
        font-size: 1.4rem;
        margin: 0 v-space(3);
        width: 12.6rem;

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

        @media screen and (max-width: $screen-small) {
            width: v-space(7);
        }
    }

    &__tab-slider {
        &--dark {
            background-color: $grey-40;
            span {
                height: 0.5rem;
                bottom: -0.2rem;
                z-index: 1;
            }
        }

        &--light {
            background-color: $grey-85;
        }
    }

    &__hr {
        border: none;
        height: 0.1rem;
        width: $container-max-width;
        max-width: 100%;
        position: relative;
        bottom: v-space(-7) - 0.1rem;

        @media (min-width: $screen-small) and (max-width: 1176px) {
            bottom: v-space(-7) - 0.3rem;
        }

        &--dark {
            // height: 0.3rem;
            // width: 100%;
            // position: relative;
            // bottom: v-space(-7);
            background-color: $grey-40;
        }

        &--light {
            background-color: $grey-85;
        }
    }

    &__select-label {
        & > span:first-child {
            font-weight: $font-weight-bold;
            color: $seafoam;
        }
    }
}
