:import('./constants.css') {
  blue-color-primary-hue: blue-color-primary-hue;
  app-border-color: app-border-color;
  composer-inner-border-color: composer-inner-border-color;
  medium-grey-color: medium-grey-color;
  primary-font-color: primary-font-color;
}

:root {
  --blue-color-primary-hue: blue-color-primary-hue;
  --app-border-color: app-border-color;
  --composer-inner-border-color: composer-inner-border-color;
  --medium-grey-color: medium-grey-color;
  --primary-font-color: primary-font-color;
}

.selectedGroupBtn.selectedGroupBtn {
  position: relative;
  vertical-align: top;
  display: inline-block;
  margin: 0 6px 6px 6px;
  padding: 4px 8px;
  border-radius: 3px;
  line-height: 22px;
  white-space: nowrap;
  border: 1px solid var(--app-border-color);
  cursor: pointer;
  background: none;
}

.selectedGroupBtn.selectedGroupBtn:hover {
  border: 1px solid #ABB3BA;
}

.selectedGroupBtn.selectedGroupBtn:focus {
  border: 1px solid #ABB3BA;
  outline: none;
}

.unselectedGroupBtn {
  composes: selectedGroupBtn;
}

.unselectedGroupBtn.unselectedGroupBtn {
  border-color: var(--composer-inner-border-color);
  color: var(--primary-font-color);
}

.unselectedGroupBtn.unselectedGroupBtn .profilesCount {
  background-color: var(--medium-grey-color);
}

.unselectedGroupBtn.unselectedGroupBtn:hover {
  opacity: 1;
}

.unselectedGroupBtn.unselectedGroupBtn:focus {
  outline: none;
  opacity: 1;
}

.groupName {
  float: left;
  max-width: 100px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.profilesCount {
  position: relative;
  top: -1px;
  display: inline-block;
  min-width: 12px;
  height: 18px;
  margin: 0 -4px 0 5px;
  padding: 1px 4px;
  background-color: var(--blue-color-primary-hue);
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}
