tr.bugnote-awards-row {
  display: none;
}

/* Stick the awards to the bottom of the bugnote's text cell, the padding keeps the text clear of them */
td.bugnote-has-awards {
  position: relative;
  padding-bottom: 42px !important;
}

td.bugnote-has-awards > .bugnote-awards {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
}

.bugnote-awards .awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 2px;
}

.bugnote-awards .awards-picker {
  display: inline-block;
}

.bugnote-awards .awards-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  padding: 0;
  border: 1px solid #d1d9e0;
  border-radius: 100px;
  background-color: #f6f8fa;
  color: #59636e;
}

.bugnote-awards .awards-add:hover,
.bugnote-awards .awards-picker.open .awards-add {
  background-color: #eff2f5;
  color: #0969da;
}

.bugnote-awards .awards-picker .dropdown-menu {
  min-width: 0;
  padding: 4px;
  white-space: nowrap;
}

.bugnote-awards .awards-picker-item {
  border: 1px solid transparent;
  background: none;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1;
  padding: 5px;
}

.bugnote-awards .awards-picker-item:hover,
.bugnote-awards .awards-picker-item:focus {
  background-color: #eff2f5;
}

.bugnote-awards .awards-picker-item.active {
  background-color: #ddf4ff;
  border-color: #0969da;
}

.bugnote-awards .awards-reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #d1d9e0;
  border-radius: 100px;
  background-color: #f6f8fa;
  color: #59636e;
  font-size: 12px;
  line-height: 1;
}

.bugnote-awards .awards-reaction:hover:not([disabled]) {
  background-color: #eff2f5;
}

.bugnote-awards .awards-reaction[disabled] {
  cursor: default;
}

.bugnote-awards .awards-reaction.active {
  background-color: #ddf4ff;
  border-color: #0969da;
  color: #0969da;
}

.bugnote-awards .awards-emoji {
  font-size: 14px;
}

.bugnote-awards .awards-count {
  font-weight: 600;
}
