/*
 * Copyright 2024 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.
 */

.customSubheader {
  height: 10vh;
}

.pageMain {
  margin: var(--spacing-xxlarge) !important;
}

@media (min-width: 2000px) {
  .titleContainer {
    width: 80% !important;
    margin: 0 10% !important;
  }
}

.titleContainer {
  width: 95% !important;
  margin: 0 5% !important;
}

.cardContainer {
  margin-top: var(--spacing-xxlarge) !important;
  width: 100% !important;

  [data-testid='logsCard-panel'],
  [data-testid='eventsCard-panel'] {
    padding: 0px !important;
  }

  &:first-child {
    margin-top: 0px !important;
  }
}

.popover {
  > div[class*='popover-arrow'] {
    display: none;
  }

  :global {
    a.bp3-menu-item:hover,
    .bp3-active {
      background: var(--primary-1) !important;
      color: var(--grey-1000) !important;
    }
  }
}

.gitspaceIdContainer [class*='Layout--horizontal'] {
  margin-top: 0 !important;
}

.gitspaceIdContainer [class*='bp3-popover-wrapper'] {
  margin-left: 0 !important;
}

.gitspaceIcon {
  margin: auto var(--spacing-small) auto 0 !important;
}

.copyBtn {
  padding: 0 !important;
  min-height: var(--spacing-medium) !important;
  height: var(--spacing-medium) !important;
}

.copyBtn:hover {
  box-shadow: none !important;
}

.accordionnCustomSummary {
  :global(.Accordion--chevron) {
    margin-left: auto;
    color: var(--grey-700);
  }

  :global([class*='Accordion--panel']) {
    padding: 0px !important;
  }

  div[data-testid='eventsCard-summary'],
  div[data-testid='logsCard-summary'] {
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin: 0 var(--spacing-medium);
    width: 100%;

    div:first-child {
      width: 97%;
    }
  }
}

.containerlogsTitle {
  width: 130px;
  justify-content: space-between !important;
}
