/* stylelint-disable max-nesting-depth, selector-class-pattern, no-descending-specificity */
.TargetMarketGoalsForm {
    margin-bottom: 5px;

    &.TargetMarketGoalsForm-oa {

        .TargetMarketGoalsForm-country {
            border-radius: 0;
        }

        .TargetMarketGoalsForm-controls {
            text-align: initial;

            .btn.btn-link {
                margin: 10px 10px 0 0;
            }
        }

        .TargetMarketGoalsForm-stores-headers.TargetMarketGoalsForm-row {
            padding: 5px 0;
        }
    }

    &-country {
        border: 1px solid $koala;
        border-radius: 5px;
        padding: 15px;
        width: 500px;

        &-name {
            font-size: 18px;
            font-weight: 500;
            margin-top: 0;
            padding-bottom: 10px;
        }

        &-textarea {
            margin-top: 15px;

            .FormField-form-control {
                color: $grey_800;
                font-weight: $weight_book;
            }
        }
    }

    &-stores {

        &-headers.TargetMarketGoalsForm-row {
            border-top: 1px solid $koala;
            padding: 5px 0 0;
        }
    }

    &-store {

        &-label,
        &-distr {
            align-items: center;
            align-self: center;
            display: inline-flex;
            flex-direction: row;
            justify-content: flex-start;
            margin-right: 5px;
        }

        &-name {
            width: 235px;
        }

        &-name:first-of-type {
            margin-left: 10px;
        }

    }

    &-row {
        align-items: center;
        border-bottom: 1px solid $koala;
        display: flex;
        flex-direction: row;
        font-size: 14px;
        justify-content: flex-start;
        padding: 5px 0;

        &:last-of-type .TargetMarketGoalsForm-store-name {
            font-weight: 700;
        }

        & .form-control {
            margin: 0 5px;
            width: 60px;
        }
    }

    &-controls {
        text-align: right;
    }

    &-spacer {
        margin-bottom: 15px;
    }

    &-first-week-sales {
        width: 129px;
    }
}
