.buttonblock {
  position: relative;
  width: max-content;
}

.buttonblock .btn {
  appearance: none;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.buttonblock .btn:hover {
  border-color: #bbb;
}
