anj-button-group {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: space-between;
}
anj-button-group[align=center] {
  justify-content: center;
}
anj-button-group[align=center]:not([concat]) anj-button:not([context=icon]):not([context=free]) {
  margin: 0 0.5rem;
}
anj-button-group[align=even] {
  justify-content: space-evenly;
}
anj-button-group[align=left] {
  justify-content: flex-start;
}
anj-button-group[align=left]:not([concat]) anj-button:not([context=icon]):not([context=free]):not(:last-child) {
  margin-right: 1rem;
}
anj-button-group[align=right] {
  justify-content: flex-end;
}
anj-button-group[align=right]:not([concat]) anj-button:not([context=icon]):not([context=free]):not(:first-child) {
  margin-left: 1rem;
}
anj-button-group[context=floating] {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  z-index: 1;
}
anj-button-group:not([concat]) anj-button:not([context=icon]):not([context=free]):not(:first-child) {
  margin-left: 0.25rem;
}
anj-button-group:not([concat]) anj-button:not([context=icon]):not([context=free]):not(:last-child) {
  margin-right: 0.25rem;
}
anj-button-group[concat] anj-button {
  margin: 0;
}
anj-button-group[concat][align=center] anj-button:last-child:not(:first-child) .anj-button, anj-button-group[concat][align=left] anj-button:last-child:not(:first-child) .anj-button, anj-button-group[concat][align=right] anj-button:last-child:not(:first-child) .anj-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
anj-button-group[concat][align=center] anj-button:first-child:not(:last-child) .anj-button, anj-button-group[concat][align=left] anj-button:first-child:not(:last-child) .anj-button, anj-button-group[concat][align=right] anj-button:first-child:not(:last-child) .anj-button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}