@import 'base';

.new-field-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  max-width: 700px;
  font-size: 12px;

  &__fields-selection {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 20px;

    &__buttons {
      display: flex;
      flex: 1;
      margin-right: 20px;
    }

    &__text {
      color: color(black, light);
    }
  }

  &__create-button {
    display: flex;
    flex-direction: row-reverse;
    right: 0;

    margin-top: 40px;
  }

  &__mission {
    display: flex;
    flex-direction: column;

    margin-top: 20px;

    &_choice {
      margin: 0;
    }

    &__buttons {
      display: flex;
      flex-direction: row;
      width: 100%;
      align-items: center;
      color: color(black, light);

      margin-top: 20px;

      &__button {
        display: flex;
        flex-shrink: 0;
        width: 350px;
      }

      &__description {
        display: flex;
        margin-left: 10px;
      }
    }
  }

  &__name-input {
    @extend %simple-input;
    border: 0;
    flex: 1;
    font-size: 20px;
    margin-bottom: 10px;
  }

  &__setting {
    display: flex;
    align-items: center;
    padding: 5px;
    font-size: 20px;
    @extend %link;

    &.new-field-form__setting_checked {
      color: color(primary, light);
    }

    &-label {
      font-size: 16px;
      padding-left: 20px;
    }
  }

  &__category-selection {
    flex: 1;

    &-examples {
      padding-left: 5px;
    }
  }

  &__parameters {
    display: flex;
    width: 800px;
  }
}
