.custom-select-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 252px;
}

#custom-select-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

#custom-select-button {
  padding: 8px;
  border: 1px solid #ccc;
  border-left: none;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

#custom-select-button:hover {
  background: #ddd;
}

.dropdown {
  position: absolute;
  width: 250px;
  background: white;
  border: 1px solid #ccc;
  max-height: 450px;
  overflow-y: auto;
  z-index: 1000;
}
.selected {
background-color: lightgray;
}