.terminal-box-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  margin-right: 6px;
  z-index: 10;
  width: auto;
  height: 18px;
}

.terminal-box-wrapper:last-child {
  margin-right: 0;
}

.terminal-box {
  width: auto;
  min-width: 30px;
  height: 18px;
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #E1E4EA;
  color: #212121;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.36px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-sizing: border-box;
  white-space: nowrap;
  border: 1px solid transparent;
}

.terminal-box.kv-jv.selected {
  background: #FFF8DD;
  border: 1px solid #FFA600;
}

.terminal-box.selected {
  background: #FFF8DD;
  border: 1px solid #FFA600;
}

.terminal-box.done {
  background: var(--tag-green);
  border: 1px solid transparent;
  color: #fff;
}

.terminal-box.kv-jv.done,
.terminal-box.done.selected {
  background: var(--tag-green);
  border: 1px solid transparent;
  color: #fff;
}

.terminal-box .terminal-abbr {
  flex-shrink: 0;
}

.terminal-box .cancel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  margin-left: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.terminal-box .cancel-icon svg {
  width: 10px;
  height: 10px;
}
