@use '../../../styles/variables' as *;

:host {
  $gap-columns: rhythm(5);

  box-shadow: $box-shadow-border-bottom;
  display: flex;
  gap: $gap-columns;
  padding: rhythm(3) 0;

  &:first-of-type:not(.no-top-border) {
    border-top: 1px solid $color-neutral-lighter;
  }

  .column {
    flex: 1;
    max-width: calc((100% - #{$gap-columns}) / 2);

    &.unauthorized .title-xs,
    &.unauthorized .description {
      opacity: 0.5;
    }
  }
  .right-column.unauthorized {
    ::ng-deep nsi-info-card {
      opacity: 0.5;
    }
  }

  .left-content {
    position: sticky;
    top: 0;
  }

  .title {
    align-items: center;
    display: flex;
    gap: rhythm(1);
  }

  .description {
    color: $color-neutral-regular;
  }

  ::ng-deep label:not(.pa-toggle-label):not(.pa-field-label) {
    @include title-xs();
    color: $color-neutral-regular;
  }
}
