#move-item-modal {
  box-sizing: border-box;
  width: 260px;
  max-width: calc(100vw - 20px);
  outline: none;
}

#move-item-modal .modal-header {
  font-size: 13px;
  font-weight: bold;
}

#move-item-modal .modal-body {
  padding: 8px 10px 10px;
}

.move-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.move-item-selector-row {
  display: grid;
  grid-template-columns: 34px 30px minmax(70px, 1fr) 30px;
  align-items: center;
  gap: 4px;
}

.move-item-wrapper-inner-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

#move-item-modal .move-item-slot {
  width: 32px !important;
  height: 32px !important;
  box-shadow: inset 0 0 0 1px #666;
}

#move-item-modal .move-item-slot canvas {
  left: 2px;
  top: 2px;
  width: 28px !important;
  height: 28px !important;
}

#move-item-modal .move-item-slot .count {
  right: 3px;
  bottom: 1px;
  font-size: 12px;
  font-weight: bold;
}

#item-amount {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 14px;
  border: 1px solid #777;
  background-image: url("/png/bg2.png");
  box-shadow: inset 0 0 3px black;
}

#item-amount::-webkit-slider-thumb {
  width: 24px;
  height: 16px;
  border-color: #aaa;
  background-image: url("/png/bg.png");
  box-shadow: 0 0 2px black;
}

#item-amount::-moz-range-thumb {
  width: 24px;
  height: 16px;
  border-color: #aaa;
  background-image: url("/png/bg.png");
  box-shadow: 0 0 2px black;
}

#move-item-modal .move-item-step {
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 15px;
  font-weight: bold;
}

.move-item-actions button {
  flex: 1 1 auto;
  height: 26px;
  margin: 0;
  font-weight: bold;
}
