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

.c-option-portfolio-info {
    background-color: $grey-97;
    border-width: 0.1rem 0;
    border-color: $grey-85;
    border-style: solid;
    transition: opacity 0.2s ease;

    &__holdings,
    &__cash {
        display: flex;
    }

    &__holdings {
        @extend %modal-section-large;
        padding-top: v-space(2);
        padding-bottom: v-space(2);
    }

    &__hr {
        @extend %horizontal-line;
        background-color: $grey-90;
        margin: 0;
    }

    &__cash {
        @extend %modal-section-large;
        height: calc(#{$v-step * 5} - 0.1rem);
        align-items: center;
    }

    &__cash-heading {
        @extend %heading-xs;
        max-width: $h-step * 18;
        height: v-space(3);
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: $h-step * 4;
        margin: 0;
    }

    &__cash-datum {
        @extend %number-value-xs;
        margin: 0;
    }
}
