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

.c-card-portfolio-class-performance {
    padding: v-space(3);
    height: 100%;
    box-shadow: $box-shadow-2;
    background-color: $white;

    &__title {
        font-weight: $font-weight-normal;
        font-size: 1.6rem;
        line-height: v-space(3);
        margin-top: 0;
        margin-bottom: v-space(2);
    }

    &__value {
        font-family: $numeric-font-family;
        font-weight: $font-weight-black;
        font-size: 3.2rem;
        line-height: v-space(4);
        margin-top: v-space(0);
        margin-bottom: v-space(2);

        @supports (-webkit-background-clip: text) {
            background: linear-gradient(
                to right,
                #46b4eb 0%,
                $success-color 25%
            );
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        @supports not (-webkit-background-clip: text) {
            color: $success-color;
        }
    }

    &__notes {
        @extend %caption;
        font-weight: $font-weight-bold;
        margin-top: 0;
        margin-bottom: 0;
        text-align: right;
    }
}
