.wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropdown {
  max-height: 280px;
}

.option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  font-size: var(--field-font-size);
  text-align: start;
  color: var(--text-primary);
  border-radius: 8px;
  transition: background 0.15s;
}

.option:hover {
  background: rgba(var(--primary-rgb) / 0.08);
}

.optionSelected {
  background: rgba(var(--primary-rgb) / 0.1);
}

.checkbox {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
}

.optionSelected .checkbox {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb) / 0.12);
}

.thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbPlaceholder {
  width: 100%;
  height: 100%;
  background: rgba(148, 163, 184, 0.12);
}

.optionMeta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.optionEn {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.optionFa {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.optionMeta .optionFa:first-child {
  font-size: inherit;
  font-weight: 500;
  color: var(--text-primary);
}

.optionMeta .optionEn:not(:first-child) {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.selectedList {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}

.selectedRow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
}

.removeSelectedBtn {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.removeSelectedBtn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
