/* estimator-autocomplete-bridge.css */

/* Row highlight flash on item selection */
.pb-row-highlight {
  animation: pbFlash 0.8s ease;
}
@keyframes pbFlash {
  0%   { background-color: #dbeafe; }
  100% { background-color: transparent; }
}

/* Source badges inside line item rows */
.pb-row-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
  margin-left: 6px;
  white-space: nowrap;
}
.pb-row-badge-live {
  background: #d1fae5;
  color: #065f46;
}
.pb-row-badge-default {
  background: #e5e7eb;
  color: #4b5563;
}
.pb-row-badge-custom {
  background: #dbeafe;
  color: #1e40af;
}
/* Auto-labor badge (purple) */
.pb-row-badge:not(.pb-row-badge-live):not(.pb-row-badge-default):not(.pb-row-badge-custom) {
  background: #ede9fe;
  color: #5b21b6;
}

/* Override autocomplete dropdown position inside estimator rows */
.line-item-row .pb-autocomplete-dropdown {
  min-width: 350px;
  left: 0;
  right: auto;
}

/* Compact badge spacing in tight rows */
.line-item-row .pb-ac-item {
  padding: 8px 12px;
}
.line-item-row .pb-ac-item-details {
  gap: 8px;
  font-size: 0.72rem;
}