#mx-scu-builder .mx-scu-product-row {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.mx-scu-product-search {
  width: 300px;
}

.mx-scu-product-qty {
  width: 80px;
  margin-left: 8px;
}

.button.mx-remove-product {
  margin-left: 8px;
}

.mx-scu-generated-url {
  width: 100%;
  max-width: 700px;
  margin-top: 4px;
}

#mx-scu-copy-url {
  margin-top: 10px;
  width:100px;
}
.mx-scu-product-row {
  position: relative;
}

.mx-scu-sortable-placeholder {
  height: 44px;
  margin-bottom: 12px;
  border: 2px dashed #ccc;
}

#mx-scu-shortcode-builder, #mx-scu-builder, #mx-scu-qr-builder, #mx-scu-promo-message-builder, #mx-scu-max-uses, #mx-scu-utm {
  background: #fbfbfb;
  border: 1px solid #e1e1e1;
  padding: 16px;
  border-radius: 4px;
  margin-top: 24px;
}

#mx-scu-shortcode-builder h2, div#mx-scu-qr-builder h2, #mx-scu-promo-message-builder h2, #mx-scu-max-uses h2, #mx-scu-utm h2 {
  margin: 0 0 12px;
  padding:0;
  font-weight: 600;
}

#mx-scu-display-mode-wrap label, #mx-scu-utm label {
	margin-bottom: 10px;
	display: inline-block;
}

.mx-scu-generated-shortcode {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 4px;
  max-width: 700px;
  overflow-x: auto;
  font-family: Menlo, Monaco, Consolas, monospace;
}

.mx-scu-product-row .select2-container--open .select2-dropdown {
  position: absolute !important;
  width: calc(100% - 16px) !important; 
  top: 100% !important;
  left: 8px !important; 
  z-index: 9999 !important;
}

.select2-container--open .select2-search__field {
  width: 100% !important;
  box-sizing: border-box;
}

.ui-autocomplete {
  position: absolute;
  z-index: 99999 !important;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #ccc;
}

.mx-scu-product-search {
  width: 100%;
  box-sizing: border-box;
}

.mx-scu-generated-url {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
  max-width: 700px;
  overflow-x: auto;
  font-family: Menlo, Monaco, Consolas, monospace;
  margin-bottom: 4px;
}

.mx-scu-generated-url:focus {
  outline: none;
}

@media only screen and (max-width: 768px) {
  #mx-scu-shortcode-builder,
  #mx-scu-builder,
  #mx-scu-qr-builder,
  #mx-scu-promo-message-builder, 
  #mx-scu-max-uses,
  #mx-scu-utm {
    border: none !important;
    padding: 0 !important;
  }
}
