.cdk-overlay-pane{
  position: absolute;
  .mdc-menu-surface.mat-mdc-autocomplete-panel{
    padding: 8px;
  }
  .mat-mdc-option.mdc-list-item{
    transition: var(--transition-default);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-interface);
    min-height: 30px;
    margin-bottom: 4px;
    &:last-child{
      margin-bottom: 0;
    }
    &:hover{
      background-color: var(--color-surface-neutral-hover);
    }
    &.mdc-list-item--selected{
      background-color: var(--color-surface-neutral-press);
      mat-pseudo-checkbox{
        display: none;
      }
    }
  }
}

.divider{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  .line{
    height: 1px;
    display: block;
    width: 100%;
    background-color: var(--color-on-surface-neutral-disabled);
  }
  span{
    position: absolute;
    color: var(--color-on-surface-neutral-disabled);
    background-color: var(--color-background-idle);
    font-size: var(--font-size-caption);
    padding: 0 8px;
  }
  &.with-text{
    padding: 7px 0;
  }
}

.breadcrumbs{
  ul{
    display: flex;
    align-items: center;
    li{
      margin-right: 4px;
      position: relative;
      padding-right: 20px;
      a{
        display: flex;
        align-items: center;
      }
      span{
        font-size: var(--font-size-m);
        font-weight: var(--font-weight-400);
      }
      .material-symbols-rounded{
        padding-right: 4px;
        font-size: var(--font-size-l)
      }
      a{
        text-decoration: none;
      }
      &:hover{
        i, span, .material-symbols-rounded{
          color: var(--color-on-surface-brand-hover)
        }
      }
      &:last-child{
        font-weight: var(--font-weight-700);
        margin-right: 0;
        padding-right: 0;
        &:after{
          display: none;
        }
      }
      &:after{
        position: absolute;
        right: 0;
        top: 3px;
        content: "\e5cc";
        font-family: "Material Symbols Rounded";
        speak: never;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: var(--color-on-surface-neutral-secondary);
      }
    }
  }
}

.mdc-menu-surface{
  background-color: var(--color-surface-neutral-idle) !important;
  box-shadow: var(--elevation-low) !important;
  padding: 4px !important;
  .mdc-list-item--selected{
    background-color: var(--color-surface-neutral-press) !important;
  }
  .mdc-list-item:active{
    background-color: var(--color-surface-neutral-press) !important;
  }
}
