.dp__action_row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--dp-action-row-padding);
  box-sizing: border-box;
  color: var(--dp-text-color);
  flex-flow: row nowrap;

  svg {
    height: var(--dp-button-icon-height);
    width: auto;
  }
}

.dp__selection_preview {
  display: block;
  color: var(--dp-text-color);
  font-size: var(--dp-preview-font-size);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dp__action_buttons {
  display: flex;
  flex: 0;
  white-space: nowrap;
  align-items: center;
  justify-content: flex-end;
  margin-inline-start: auto;
}

.dp__action_button {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  padding: var(--dp-action-buttons-padding);
  line-height: var(--dp-action-button-height);
  margin-inline-start: 3px;
  height: var(--dp-action-button-height);
  cursor: pointer;
  border-radius: var(--dp-border-radius);
  font-size: var(--dp-preview-font-size);
  font-family: var(--dp-font-family);
}

.dp__action_buttons .dp__action_select {
  background: var(--dp-primary-color);
  color: var(--dp-primary-text-color);

  &:hover {
    background: var(--dp-primary-color);
    transition: var(--dp-action-row-transtion);
  }

  &:disabled {
    background: var(--dp-primary-disabled-color);
    cursor: not-allowed;
  }
}

.dp__action_cancel {
  color: var(--dp-text-color);
  border: 1px solid var(--dp-border-color);

  &:hover {
    border-color: var(--dp-primary-color);
    transition: var(--dp-action-row-transtion);
  }
}
