/*
 * 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.
 */
.table {
  .row {
    .title {
      font-weight: 600 !important;
      font-size: 14px !important;
      font-style: normal !important;
      color: var(--grey-800) !important;
    }
    .text {
      font-size: 13px !important;
      font-style: normal !important;
      font-weight: 500 !important;
      color: var(--grey-400) !important;
    }
    .targetText {
      font-size: 14px !important;
      font-weight: 400 !important;
      color: var(--grey-400) !important;
    }
    .greyButton {
      border-radius: 4px;
      border: 1px solid var(--grey-200);
      background: var(--grey-100) !important;
      display: flex;
      width: fit-content;
      padding: 1px 6px !important;
      max-width: 200px;
      justify-content: center;
      align-items: center;
      gap: 8px;
    }
  }
}

.dividerContainer {
  opacity: 0.2;
  height: 1px;
  color: var(--grey-100);
  margin: 10px 0;
  width: 95%;
}

.border {
  border-bottom: 1px solid var(--grey-100) !important;
}

.hideDetailsContainer {
  display: none;
}

.appliedRulesTextContainer {
  border-radius: 4px;
  background: var(--grey-50) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: var(--spacing-small) !important;
  margin-bottom: var(--spacing-xsmall) !important;
}

.popover {
  z-index: 999;
  padding: var(--spacing-tiny) !important;
}

.widthContainer {
  max-width: calc(100% - 100px);
  overflow-x: hidden;
  display: flex;
  flex-wrap: wrap;
}

.hideButtonIcon {
  :global {
    [class*='ConfirmationDialog--header'] {
      .bp3-icon {
        display: none !important;
      }
    }

    [class*='ConfirmationDialog--body'] {
      padding-left: 3px !important;
    }
  }
}
