.barcode-print-page {
  max-width: 1400px;
  margin: 0 auto;
}

.barcode-print-page .search-dropdown {
  display: block;
  border: 1px solid #e9ecef;
  z-index: 1050;
  max-height: 300px;
  overflow-y: auto;
}

.barcode-print-page .preview-body {
  background-color: #f5f5f5;
  min-height: 200px;
  padding: 1rem;
}

.barcode-print-page .barcode-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #e0e0e0;
  padding: 8px;
  border-radius: 8px;
}

.barcode-print-page .barcode-preview-tile {
  display: inline-block;
  vertical-align: top;
  position: relative;
  flex: 0 0 auto;
  width: calc(var(--pv-w, 38mm) * var(--pv-scale, 2.35));
  height: calc(var(--pv-h, 25mm) * var(--pv-scale, 2.35));
  margin: 6px 8px 12px 0;
}

.barcode-print-page .barcode-preview-tile .barcode-label-preview {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--pv-scale, 2.35));
  transform-origin: top left;
  backface-visibility: hidden;
}

.barcode-print-page .barcode-label-preview {
  background: #fff;
  border: 1px solid #333;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.barcode-print-page .barcode-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  overflow: hidden;
}

.barcode-print-page .barcode-text {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  flex-shrink: 0;
}

.barcode-print-page .barcode-text.company { font-size: 7px; font-weight: 700; text-transform: uppercase; }
.barcode-print-page .barcode-text.name { font-size: 8px; font-weight: 700; }
.barcode-print-page .barcode-text.code { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.barcode-print-page .barcode-text.price { font-size: 10px; font-weight: 700; }
.barcode-print-page .barcode-text.dates {
  font-size: 10px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 2px;
}

.barcode-print-page .barcode-svg-wrapper {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.barcode-print-page .barcode-svg-wrapper svg,
.barcode-print-page .barcode-svg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.barcode-print-page .barcode-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #aaa;
  font-size: 18px;
}

.barcode-print-page .empty-state {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 3rem 1rem;
}

.barcode-print-page .qty-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
