/*
 * Copyright 2023 Harness, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.readmeContainer {
  &:not(.contentOnly) {
    margin-top: var(--spacing-xlarge) !important;
    box-shadow: 0px 0px 1px rgba(40, 41, 61, 0.08), 0px 0.5px 2px rgba(96, 97, 112, 0.16);
    border-radius: 4px;

    .heading {
      border-bottom: 1px solid var(--grey-100);
      align-items: center;
      padding-left: var(--spacing-large) !important;
    }
  }

  &.contentOnly {
    .readmeContent {
      padding: var(--spacing-large) !important;
    }
  }

  .readmeContent {
    max-width: 100%;
    padding: var(--spacing-xxlarge) !important;
  }
}
