.kmw-whiteboard {
  display: flex;
  width: 100%;
  margin: 0;
}

.kmw-whiteboard .kmw-toolbox {
  display: block;
  text-align: left;
  width: 100%;
  min-width: 150px;
  max-width: 155px;
  /* background-color: #f0f0f0; */
}

.kmw-whiteboard .kmw-toolbox .kmw-zoom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
}

.kmw-whiteboard .kmw-toolbox .kmw-zoom > span.zoom-current {
  display: inline-block;
  padding: 4px;
  padding-left: 7px;
  padding-right: 7px;
  border-radius: 5px;
  text-align: center;
  min-width: 65px;
  cursor: pointer;
  transition: background, transform 250ms;
  background-color: #fff;
}

.kmw-whiteboard .kmw-toolbox .kmw-zoom > span.zoom-current.active {
  background-color: #d0eaff;
}

.kmw-whiteboard .kmw-toolbox .kmw-zoom > span.zoom-minus,
.kmw-whiteboard .kmw-toolbox .kmw-zoom > span.zoom-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  line-height: 20px;
  cursor: pointer;
}

.kmw-whiteboard .kmw-toolbox-button-group {
  display: block;
}

.kmw-whiteboard .kmw-toolbox-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 2px;
  color: #000;
  fill: #000;
  cursor: pointer;
  border-radius: 5px;
  background-color: #ddd;
  transition: background 250ms;
  overflow: hidden;
}

.kmw-whiteboard .kmw-toolbox-button.hidden {
  visibility: hidden;
  cursor: initial;
}

.kmw-whiteboard .kmw-toolbox-button:active,
.kmw-whiteboard .kmw-toolbox-button.active {
  background-color: #d0eaff;
  /* border: 1px solid #3399ff; */
}

.kmw-whiteboard .kmw-toolbox-button.kmw-input-color input {
  display: inline-block;
  width: 25px;
  height: 25px;
  border: none;
}

/* .kmw-whiteboard .sidebar {
  width: 180px;
  background-color: #f3f3f3;
  border-right: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
}

.kmw-whiteboard .sidebar button, .sidebar select {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  font-size: 14px;
  cursor: pointer;
} */


.kmw-whiteboard .kmw-toolbox .kmw-stroke-select {
  position: relative;
  width: 100px;
  cursor: pointer;
  user-select: none;
  font-family: sans-serif;
}

.kmw-whiteboard .kmw-toolbox .kmw-stroke-select .selected-option {
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  height: 32px; /* Set your desired uniform height */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.kmw-whiteboard .kmw-toolbox .kmw-stroke-select .options {
  display: none;
  position: absolute;
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  z-index: 1000;
}

.kmw-whiteboard .kmw-toolbox .kmw-stroke-select .option {
  padding: 10px;
  transition: background 0.2s;
}

.kmw-whiteboard .kmw-toolbox .kmw-stroke-select .option:hover {
  background: #eee;
}

.kmw-whiteboard .kmw-toolbox .kmw-stroke-select .stroke-preview {
  display: block;
  background: black;
  height: 1px;
  min-height: 1px;
  width: 100%;
}

.kmw-whiteboard .kmw-canvas-container {
  position: relative;
  flex: 1;
  display: flex;
  background: #fff;
}

.kmw-whiteboard canvas {
  border: 1px solid #ccc;
}