.ms-parent {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.ms-choice {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 30px 0 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  line-height: 34px;
}

.ms-choice > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ms-choice > div {
  position: absolute;
  top: 0;
  right: 8px;
  width: 20px;
  height: 100%;
}

.ms-choice > div:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  transform: translateY(-50%);
}
/* Dropdown */
.ms-drop {
  position: absolute;
  z-index: 1000;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.ms-drop ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
}

.ms-drop li {
  padding: 6px 10px;
}

.ms-drop li label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.ms-drop li input[type="checkbox"] {
  margin-right: 8px;
}

/* Hover */
.ms-drop li:hover {
  background-color: #f3f4f6;
}

/* Selected */
.ms-drop li.selected {
  background-color: #2563eb;
}

.ms-drop li.selected label {
  color: #fff;
}

/* Disabled */
.ms-choice.disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  color: #999;
}

.ms-drop li.disabled {
  color: #aaa;
  cursor: not-allowed;
}

/* Search box */
.ms-search {
  padding: 6px;
}

.ms-search input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}
.ms-parent {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.ms-choice {
  display: block;
  width: 100%;
  height: 36px;
  padding: 0 30px 0 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  line-height: 34px;
}

.ms-choice > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.ms-choice > div {
  position: absolute;
  top: 0;
  right: 8px;
  width: 20px;
  height: 100%;
}

.ms-choice > div:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  transform: translateY(-50%);
}
/* Dropdown */
.ms-drop {
  position: absolute;
  z-index: 1000;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.ms-drop ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
}

.ms-drop li {
  padding: 6px 10px;
}

.ms-drop li label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.ms-drop li input[type="checkbox"] {
  margin-right: 8px;
}

/* Hover */
.ms-drop li:hover {
  background-color: #f3f4f6;
}

/* Selected */
.ms-drop li.selected {
  background-color: #2563eb;
}

.ms-drop li.selected label {
  color: #fff;
}

/* Disabled */
.ms-choice.disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  color: #999;
}

.ms-drop li.disabled {
  color: #aaa;
  cursor: not-allowed;
}

/* Search box */
.ms-search {
  padding: 6px;
}

.ms-search input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
}
