.mdc-card.breadcrumb-card {
  padding: 0;
  width: 100%;
  height: 24px;
  display: flex;
  flex-direction: row;

  .scroll-button {
    height: 100%;
    background-color: rgb(243, 243, 243);
    border: none;
    cursor: pointer;

    &.hidden {
      visibility: hidden;
    }
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    display: inline-block;
    // width: calc(100% - 50px);
    height: 100%;
    scroll-behavior: smooth;

    &::-webkit-scrollbar {
      display: none;
    }

    button {
      height: 24px;

      &.selected {
        background-color: rgb(243, 243, 243);
      }
    }
  }

  .mdc-button {
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    margin-right: 5px;
    width: fit-content;
    color: #8a1882;

    &:hover {
      background-color: #ebf1fb;
    }
  }
}

:host-context(.dark-theme) {
  .mdc-card {
    &.breadcrumb-card {
      .scroll-button {
        background-color: rgb(41, 42, 45);
        color: #ffffff;
      }

      .breadcrumbs {
        button {
          &.selected {
            background-color: rgb(41, 42, 45);
          }
        }
      }

      .mdc-button {
        color: #5caace;
        &:hover {
          background-color: #093e69;
        }
      }
    }
  }
}
