@use '../../../styles/typography';

:host {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;

  .not-supported {
    padding: 1rem;
    text-align: center;
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;

    &.hidden {
      visibility: hidden;
    }

    .options {
      padding: 0.75rem;
      display: flex;
      align-items: center;
      gap: 2rem;
      border-bottom: 1px solid var(--color-separator);

      .option {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
    }

    .trees {
      .injector-hierarchy {
        height: 100%;
        overflow: hidden;

        h2 {
          @extend %heading-400;
          padding: 1rem 1rem;
          margin: 0;
          display: flex;
          align-items: center;
          border-bottom: 1px solid var(--quaternary-contrast);
          display: flex;
          align-items: center;
          gap: 0.375rem;
        }
      }

      .injector-graph {
        background: var(--octonary-contrast);
        height: calc(100% - 50px);
      }
    }
  }
}
