/* Scanner-Dashboard — app-spezifische Overrides
   Basis: /almas-design.css */

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.filter-chip {
  white-space: nowrap;
}
.filter-chip.active {
  background: var(--almas-red);
  color: var(--text-inverse);
  border-color: var(--almas-red);
}

.search-row {
  margin-bottom: 12px;
}

.almas-table tr.clickable {
  cursor: pointer;
}
.almas-table tr.clickable:hover {
  background: var(--bg-tertiary);
}

.row-actions {
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
@media (max-width: 640px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-row {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-secondary);
}
.detail-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.detail-value {
  font-size: 14px;
  color: var(--text-primary);
  word-break: break-word;
}

.audit-list {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
}
.audit-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-secondary);
  font-size: 13px;
  color: var(--text-secondary);
}
.audit-list li:last-child { border-bottom: none; }

/* Sofort-Card pulsiert wenn Count > 0 */
.almas-stat.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0.15); }
}

/* Statistik-Balken */
.bar-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.bar-label {
  font-size: 13px;
  color: var(--text-primary);
}
.bar-track {
  background: var(--bg-tertiary);
  border-radius: 4px;
  height: 16px;
  overflow: hidden;
}
.bar-fill {
  background: var(--almas-red);
  height: 100%;
  border-radius: 4px;
  transition: width 250ms ease;
}
.bar-count {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hidden { display: none !important; }
.loading-cell { padding: 40px !important; }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.amount { text-align: right; font-variant-numeric: tabular-nums; }
