.c-model-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;

  .g-12 {
    gap: 12px;
  }

  .flex-none {
    flex: none;
  }

  .w-50-12 {
    width: calc(50% - 12px);
  }

  .full {
    width: 100%;
  }

  &__row {
    display: flex;
    flex-direction: row;

    &.justify {
      justify-content: space-between;
      gap: 24px;
    }

    &.flex-col {
      flex-direction: column;
      gap: 24px;
    }

    &__wrapper {
      background-color: #F4F5F9;
      border-radius: 8px;
      padding: 12px 0;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      flex: 1;
    }
  }

  &__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    position: relative;

    &__label {
      .required {
        color: #e2323a;
        padding-left: 2px;
        font-size: 12px;
      }
    }

    span {
      font-size: 12px;
      font-weight: 700;
    }

    &__input-number {
      border-radius: 6px;
      background-color: #fff;
      padding: 0 30px 0 10px;
      width: 100px;
      height: 32px;
      line-height: 32px;

      input {
        padding: 0;
        font-size: 12px;
        border: none;
      }
    }

    .available {
      font-size: 10px;
      line-height: 16px;
      color: #40405B;
      position: absolute;
      top: auto;
      bottom: 50%;
      transform: translate(0, 50%);
      right: 10px;
    } 

    .params {
      color: #27BE69;
    }
  }

  &__group {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    flex: 1;
    
    &.gray{
      background-color: #F4F5F9;
      padding: 12px;
      .input-text{
        background-color: #fff;
        opacity: .8;
      }
    }
    &.loading{
      align-items: center;
      justify-content: center;
    }

    &__info {
      flex: 1;
    }

    &__detail {
      display: flex;
      flex-direction: row;
      gap: 6px;
      align-items: center;
      font-size: 12px;
      font-weight: 700;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
  }

  &__input-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;

    label {
      font-size: 12px;
      font-weight: 700;
      line-height: 19px;

      .required {
        color: #e2323a;
        padding-left: 2px;
        font-size: 12px;
      }
    }

    .c-select__content {
      width: 100%;
    }
  }

  &__input-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;

    &.col3 {
      margin-top: 24px;
      justify-content: flex-end;
    }

    label {
      font-size: 12px;
      font-weight: 700;
    }

    .c-input-base__field {
      flex: 1;
    }
  }

  &__checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  &__estimate {
    .c-input-base__right {
      width: 50px;
    }
  }
  &__item__label{
    .primary{
      color: #5050FF;
    }
  }

  &__input--error {
    font-size: 11px;
    color: #e2323a;
  }
  
  &__advanced-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    line-height: 19px;
  }
}