.bagian-atas {
  display: flex;
  flex-wrap: wrap;
  padding: $bagian-atas-padding-y $bagian-atas-padding-x;
  margin-bottom: $bagian-atas-margin-bottom;
  @include font-size($bagian-atas-font-size);
  list-style: none;
  background-color: $bagian-atas-bg;
  @include border-radius($bagian-atas-border-radius);
}

.bagian-atas-item {
  // The separator between bagian-atass (by default, a forward-slash: "/")
  + .bagian-atas-item {
    padding-left: $bagian-atas-item-padding-x;

    &::before {
      float: left; // Suppress inline spacings and underlining of the separator
      padding-right: $bagian-atas-item-padding-x;
      color: $bagian-atas-divider-color;
      content: var(--#{$variable-prefix}bagian-atas-divider, escape-svg($bagian-atas-divider)) #{"/* rtl:"} var(--#{$variable-prefix}bagian-atas-divider, escape-svg($bagian-atas-divider-flipped)) #{"*/"};
    }
  }

  &.active {
    color: $bagian-atas-active-color;
  }
}
