/* Collection tool — DISC•IQ */
.collection-hero {
  background: linear-gradient(135deg, #66BB6A 0%, #228B22 100%);
  color: #fff;
  padding: 40px 0;
}
.collection-hero h1 { font-weight: 700; }
.search-bar-wrap { position: relative; }
.autocomplete-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1000;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  max-height: 320px;
  overflow-y: auto;
}
.autocomplete-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.autocomplete-row:hover { background: #f8f9fa; }
.autocomplete-row .mold-name { font-weight: 600; }
.autocomplete-row .flight-nums { font-size: 0.85rem; color: #6c757d; margin-left: 8px; }
.disc-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.disc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.flight-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  background: #e9ecef;
  color: #495057;
}
.badge-condition-new { background: #28a745; }
.badge-condition-light { background: #7bed9f; color: #333; }
.badge-condition-moderate { background: #ffc107; color: #333; }
.badge-condition-heavy { background: #fd7e14; }
.badge-condition-retired { background: #6c757d; }
.badge-location-bag { background: #007bff; }
.badge-location-backup { background: #6f42c1; }
.badge-location-storage { background: #6c757d; }
.badge-location-lost { background: #dc3545; text-decoration: line-through; }
.mini-chart-wrap {
  overflow: hidden;
  width: calc(100% + 2.5rem);
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  margin-bottom: -1.25rem;
  padding: 0.5rem 0.5rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(to bottom, rgba(34,139,34,0.04), transparent);
}
.mini-chart { height: 72px; width: 100%; overflow: hidden; }
.mini-chart .flight-chart-svg { width: 100%; height: 72px; }
.flight-chart-svg { width: 100%; height: 400px; }
.filter-chips .btn-outline-secondary.active { background: #228B22; color: #fff; border-color: #228B22; }
.filter-chips #filter-speed-label { margin-left: 8px; }
/* Filters always visible on desktop; collapsible on mobile */
@media (min-width: 768px) {
  #filter-row.collapse { display: flex !important; visibility: visible; }
}
.toast-holder { position: fixed; top: 80px; right: 20px; z-index: 9999; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
/* Condition buttons: selected state */
[data-condition] .btn-outline-secondary.active { background: #228B22; color: #fff; border-color: #228B22; }
.color-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #dee2e6; display: inline-block; vertical-align: middle; margin-right: 6px; }
