/* ============================================================
   Barcode-Generator – Tool-spezifische Ergänzungen
   Baut auf invoice-generator.css (invgen-*) und calendar.css
   (cal-preview-card, cal-error) auf.
   ============================================================ */

.bc-values {
  font-family: ui-monospace, Consolas, "Liberation Mono", monospace;
  min-height: 96px;
}

.bc-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--text-secondary, #6b7280);
}

.bc-messages {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.bc-msg {
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.bc-msg-info {
  background: #eff6ff;
  color: #1e3a8a;
}

.bc-msg-fehler {
  background: #fef2f2;
  color: #991b1b;
}

.bc-range {
  width: 100%;
  accent-color: var(--color-primary);
}

.bc-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.bc-check input {
  margin-top: 3px;
}

.bc-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
}

.bc-preview svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.bc-more {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary, #6b7280);
}

.bc-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
