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

.c-option-exercise {
    display: flex;
    flex-direction: column;
    $v-padding: v-space(4);
    $h-padding: v-space(6);

    &__wrapper {
        @extend %modal-section-large;
        grid-template-columns: 2fr 1fr 3fr;
        grid-gap: v-space(2);
        margin-bottom: v-space(2);
        padding-top: $v-padding;
        padding-bottom: $v-padding;
    }

    &__price-value {
        @extend %number-value-xs;
        height: 100%;
        padding-right: $h-step * 2;
    }

    &__labels {
        @extend %heading-xs;
        height: 100%;
        text-align: right;

        &:first-child {
            line-height: $input-size-small-height;
        }
    }

    &__h-rule {
        width: 100%;
        border-bottom-width: 0;
        border-color: $grey-85;
        border-style: solid;
        margin: calc(#{v-space(2)} - 0.1rem) 0 0;
    }

    &__result-value {
        @extend %number-value-md;
        font-weight: 300;
        height: 100%;
        padding-right: $h-step * 2;
    }

    &__button {
        border-radius: 0;
        border-width: 0;
        font-size: 1.4rem !important;
        text-transform: uppercase;
        border-radius: 0 !important;
    }
}
