//
// Copyright IBM Corp. 2020, 2021
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

@import '../../global/styles/project-settings';

$story-prefix: side-panel-stories__;

.side-panel-stories__body-content {
  .#{$story-prefix}text-inputs {
    display: flex;
    margin: $spacing-05 0;
  }
  .#{$story-prefix}text-inputs #side-panel-story-text-input-a,
  .#{$story-prefix}text-inputs #side-panel-story-text-input-c {
    margin-right: $spacing-05;
  }
  .#{$story-prefix}text-area-container {
    position: relative;
  }
  .#{$story-prefix}text-area-container .#{$story-prefix}allowed-characters {
    @include carbon--type-style('label-01');

    position: absolute;
    right: 0;
    color: $text-02;
  }
  .#{$story-prefix}text-area-container
    .#{$story-prefix}allowed-characters-invalid {
    color: $support-01;
  }
  .#{$story-prefix}content-subtitle {
    margin: $spacing-05 0 $spacing-04;
  }
}
