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

.c-order-form {
    display: flex;
    flex-direction: column;

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

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

        &--error {
            font-family: $base-font-family !important;
            font-weight: $font-weight-semibold !important;
        }
    }

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

    &__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;

        &--error {
            font-family: $base-font-family !important;
            font-size: v-space(2) !important;
            font-weight: $font-weight-semibold !important;
        }
    }

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

    &__error-message {
        grid-column: 1 / -1;
        @extend %body-text;
        color: $tangerine;
    }

    &__warning {
        border-top: 0.1rem solid $butterscotch;
    }

    &__loader {
        text-align: center;
        padding: v-space(3) 0;
    }
}
