.mini-select {
  position: relative;
  width: 100%;
  font-family: Arial;
}

.mini-select.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.mini-selected {
  padding: 8px 35px 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  background: #fff;
  display: flex;
  align-items: center;
}

.mini-select.open .mini-selected {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

.mini-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-toggle {
  position: absolute;
  right: 10px;
  transition: 0.2s;
}

.mini-select.open .mini-toggle {
  transform: rotate(180deg);
}

.mini-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: none;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mini-select.open .mini-dropdown {
  display: block;
}

.mini-actions {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  background: #fafafa;
}

.mini-actions span {
  cursor: pointer;
  color: #007bff;
}

.mini-search {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #eee;
  outline: none;
}

.mini-options {
  max-height: 200px;
  overflow-y: auto;
}

.mini-option {
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.mini-option:hover {
  background: #f5f5f5;
}

.mini-option.selected {
  background: #e7f1ff;
  font-weight: 500;
}

.mini-option input {
  margin-right: 8px;
}
