$drag-column-width: 28px;
$drag-row-margin: 8px;

.co-empty__header {
  padding: 0;
  width: $drag-column-width;
}

.pairs-list__action {
  padding: 0;
  width: $drag-column-width;
}

.pairs-list__row {
  padding-bottom: 15px;
}

.pairs-list__row-dragging {
  background-color: $color-pf-black-200;
  border: 1px dashed $color-pf-black-300;
  border-radius: 4px;
  height: 28px;
  margin-left: 28px;
  margin-bottom: 15px;
  overflow: hidden;
  padding-right: 100px;
  width: calc(83.34% + 11px); /* sum of the widths of the input fields plus an offset for padding */
  div {
    opacity: 0; /* hides input boxes and other children so there's just a gray target */
  }
}

.pairs-list__value-field,
.pairs-list__name-field {
  padding-top: 5px;
  padding-right: 0;
}

.pairs-list__value-pair-field {
  padding-right: 0;
  display: flex;
  flex-direction: column;
  @media(min-width: $screen-md-min) {
    flex-direction: row;
  }
}

.pairs-list__value-ro-field {
  flex-grow: 1;
  padding-top: 5px;
}

.pairs-list__side-btn {
  cursor: pointer;
}

.pairs-list__action-icon {
  margin-left: $drag-row-margin;
  width: auto;
}

.pairs-list__action-icon--reorder {
  line-height: 35px;
  cursor: move;
}

.pairs-list__add-icon {
  margin-right: 6px;
}

.pairs-list__delete-icon {
  line-height: 35px;
}

.pairs-list__span-btns {
  margin-left: -$drag-row-margin;
  white-space: pre;
}
