@import '../theme/default.pcss';
$control-group-red: $theme-error-2;

.zent-design-editor__control-group {
  &:not(:last-child) {
    margin-bottom: 20px;
  }

  &-container {
    display: flex;
    align-items: center;
  }

  &-label {
    font-size: 12px;
    width: 85px;
    flex-shrink: 0;
    text-align: right;
    margin-right: 10px;

    &--top {
      align-self: flex-start;
      margin-top: 6px;
    }
  }

  &-help-desc {
    color: $theme-stroke-4;
    margin-top: 20px;
  }

  &-control {
    flex-grow: 1;
  }

  &-error {
    margin-left: 94px;
    margin-top: 5px;
  }

  &-required-star {
    color: $control-group-red;
  }

  &.has-error {
    color: $control-group-red;
  }
}
