/* Customer badges and in-order registration, reusing the existing SenaPed controls. */
#clientList .data-primary,
#clientList .client-mobile-names,
#customerResults .customer-option > span:first-child {
  min-width: 0;
  max-width: 100%;
}

#clientList .client-status-line,
#customerResults .client-status-line,
#adminClientList .client-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 0;
}

#clientList .client-inactive-tag,
#customerResults .client-inactive-tag,
#adminClientList .client-inactive-tag,
#clientList .client-blocked-tag,
#customerResults .client-blocked-tag,
#adminClientList .client-blocked-tag {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 24px;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid #e6d49d;
  border-radius: 12px;
  color: #805f1c;
  background: #f1f3f5;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}

#clientList .client-blocked-tag,
#customerResults .client-blocked-tag,
#adminClientList .client-blocked-tag {
  color: #a33223;
  border-color: #f0c6bc;
  background: #f1f3f5;
}

#customerDialog .customer-picker-create1425 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e8dfca;
  border-radius: 17px;
  background: #f1f3f5;
}

#customerDialog .customer-picker-create1425 > div { min-width: 0; }
#customerDialog .customer-picker-create1425 b { display: block; color: #302b20; font-size: 12px; }
#customerDialog .customer-picker-create1425 small { display: block; margin-top: 3px; color: #746c5c; font-size: 11px; line-height: 1.4; }
#customerDialog .customer-picker-create1425 .button { flex: 0 0 auto; min-height: 42px; gap: 7px; }
#customerDialog .customer-picker-create1425 .icon { width: 16px; height: 16px; flex: 0 0 16px; }

@media (max-width: 420px) {
  #customerDialog .customer-picker-create1425 { flex-wrap: wrap; gap: 10px; padding: 12px; }
  #customerDialog .customer-picker-create1425 .button { width: 100%; justify-content: center; }
}
