.cvr_sysf_additem_form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cvr_sysf_additem__item label, 
.cvr_sysf_additem__item legend {
    color: #fff;
}

.cvr_sysf_additem__item.is_admin label,
.cvr_sysf_additem__item.is_admin legend {
  color: #000;
}

.cvr_sysf_additem__item input[type="text"],
.cvr_sysf_additem__item input[type="number"],
.cvr_sysf_additem__item select {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 40px;
    border-radius: 7px;
    padding: 5px;
    font-size: 1em;
}

.cvr_sysf_additem__item,
#cvr_sysf_additem__submit {
  display: none;
}

.cvr_sysf_additem__item[data_field="brand"] {
  display: block;
} 

.cvr_sysf_additem__star_selector {
  display: flex;
  gap: 8px;
}

#cvr_sysf_additem__star_selector .cvr_sysf_additem__star {
  font-size: 24px;
  color: #ccc;           /* unselected */
  cursor: pointer;
  user-select: none;
  transition: color .2s;
}

#cvr_sysf_additem__star_selector .cvr_sysf_additem__star.active {
  color: #f5b50a;
}

#cvr_sysf_additem__star_selector input[type="radio"] {
  display: none;
}
/**--------------------------**/
/** Product No. Autocomplete **/
/**--------------------------**/
.cvr_sysf_product_no__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    max-height: 160px; /* 5 items approx */
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.cvr_sysf_product_no__autocomplete_item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.cvr_sysf_product_no__autocomplete_item:last-child {
    border-bottom: none;
}

.cvr_sysf_product_no__autocomplete_item:hover,
.cvr_sysf_product_no__autocomplete_item.active {
    background: #f7f7f7;
}

/**--------------------------**/
/**    Product No. Loader    **/
/**--------------------------**/
#cvr_sysf_product_no__loader {
    width: 24px;
    height: 24px;
    border: 3px solid #ccc;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    /* margin: 8px auto; */
    position: relative;
    left: calc(100% - 35px);
    top: -32px;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#cvr_sysf_additem__submit button {
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 5px;
  background-color: unset;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
}

#cvr_sysf_additem__submit button:hover {
  cursor: pointer;
}

#cvr_sysf_additem__submit button::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('../../dashboard/assets/icon-add_item.svg') no-repeat center;
  background-size: contain;
  margin-left: 0.5em; /* spacing from text */
  vertical-align: middle;
  transition: transform 0.3s ease;
}

#cvr_sysf_additem__submit button:hover::after {
  transform: translateX(8px);
}

#cvr_sysf_additem__submit.is_admin button {
  border: 1px solid #000;
  color: #000;
}

#cvr_sysf_additem__submit.is_admin button::after {
  display: none;
}