.breadcrumbs {
  display: inline-flex;
  align-items: center;
  /* border: 1px solid #ebeef5; */

  &.compact {
    .item {
      padding: 4px 13px;
    }
  }
}

.item {
  display: flex;
  position: relative;
  padding: 10px 18px; 
  line-height: 18px;
  letter-spacing: -0.2px;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #606266;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  border: 1px solid #ebeef5;
  margin-left: -1px;
  /* :global(.size--compact) & {
    padding: 6px 13px;
  } */

  &:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  &:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  &:not(:last-child):after {
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    /* top: 15px; */
    top: 50%;
    right: -3%;
    transform: rotate(45deg) translate(-40%, -50%);
    background-color: #fff;
    border-right: 1px solid #ebeef5;
    border-top: 1px solid #ebeef5;
    z-index: 2;
    border-radius: 2px;
    transition: top 0.3s ease;
    /* :global(.size--compact) & {
      top: 10px;
    } */
  }

  &.active {
    background-color: #d7d7d7;
    border-color:  #d7d7d7;
    &:after {
      background-color: #d7d7d7;
      border-color:  #d7d7d7;
    }
  }

  &.disabled {
    color: #c4c7cf;
    pointer-events: none;
  }

  &:not(:last-child) {
    border-right: 1px solid #ebeef5;
  }
}

.disabled {

}

:global(.dir--rtl) {
  .item:not(:last-child):after {
    right: unset;
    left: -4px;
  }
  .item:not(:last-child):after{
    border-right:  unset; 
    border-top:  unset;
  }
}
