.routing-board{
  width: 100%;
  padding-bottom: 10px;
  max-height: calc(100vh - 50px);
  overflow-y: auto;
}

.title{
  color: #324565;
  padding: 8px;
}

.destination-box{
  width: 100%;
  padding: 8px;
}

.empty-box{
  height: 54px;
  width: 100%;
  background-color: #fff;
}

.drag-icon{
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin-right: 8px;
  background-image: url('../icons/hamburger.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: move;
}

.route-input-wrapper{
  display: flex;
  align-items: center;
}

.route-input-box{
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #ced4da;
  background-color: #e3f2fd;
  border-radius: 4px;
}

.pick-mode{
  border: 1px solid #324565;
}

.route-input{
  flex: 1;
  outline: none;
  border: none;
  background-color: #e3f2fd;
  font-size: 13px;
  padding: 8px 6px;
}

.route-pick-icon{
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-right: 8px;
  background-image: url('../icons/pick.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.remove-destination-btn{
  border: 1px solid #ced4da;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  font-size: 14px;
  color: #324565;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 8px;
  cursor: pointer;
}

.search-menu{
  position: absolute;
  left: 36px;
  width: calc(100% - 48px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.search-item{
  width: 100%;
  padding: 8px;
  font-size: 14px;
}

.search-item:hover{
  background-color: #eae9e9;
}

.search-item>div:nth-child(2){
  color: grey;
}

.shown{
  display: block;
  max-height: 300px;
  background-color: white;
  overflow-y: auto;
  cursor: pointer;
}

.hidden {
  display: none;
}

#route-btn{
  outline: none;
  border: none;
  padding: 4px 16px;
  border-radius: 4px;
  margin-left: 8px;
  background-color: #24418c;
  color: white;
  cursor: pointer;
  display: none;
}

#reset-route-btn{
  outline: none;
  border: 1px solid #24418c;
  padding: 4px 16px;
  border-radius: 4px;
  margin-left: 8px;
  color: #24418c;
  cursor: pointer;
  display: none;
}

.row-actions{
  display: flex;
  gap: 8px;
}

.wheelchair-selector{
  display: flex;
  width: 100%;
}

.wheelchair-selector:has(> button.selected){
  margin-bottom: 8px;
  padding: 8px;
}

.wheelchair-selector>button{
  outline: none;
  border: 1px solid #24418c;
  padding: 4px 16px;
  color: #24418c;
  cursor: pointer;
  display: none;
  flex: 1;
}

.wheelchair-selector>button:nth-child(1) {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.wheelchair-selector>button:nth-child(2) {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.wheelchair-selector>button.selected{
  background-color: #24418c;
  color: white;
}

#instructions:has(> div){
  padding: 8px;
  margin-top: 10px;
}

.instruction-box{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 8px 4px;
  padding: 4px;
  border: 1px solid rgb(173, 224, 242);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.instruction-icon{
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
}
.small-instruction-icon{
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 2px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
}

.instruction-title{
  font-size: 13px;
}

.instruction-subtitle{
  font-size: 12px;
}

.highlighted{
  background-color: #e3f2fd;
}

#add-destination-btn{
  outline: none;
  border: none;
  padding: 4px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
  margin-left: 8px;
  background-color: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  display: none;
  font-size: 14px;
}

#add-destination-btn:hover{
  border-color: #e3f2fd;
}

#route-nav{
  display: flex;
  justify-content: space-between;
  padding: 8px;
}

#prev-btn, #next-btn {
  outline: none;
  border: none;
  padding: 4px 16px;
  border-radius: 4px;
  background-color: #24418c;
  color: white;
  cursor: pointer;
}

.simple-instruction{
  margin: 8px 10px;
}

.instruction-expand-icon{
  width: 25px;
  height: 25px;
  margin-right: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
}

.custom-column{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-row{
  display: flex;
  align-items: center;
  gap: 8px;
}