@page {
  margin: 0;
}

html,
body {
  margin: 0;
  padding: 0;
}

.label {
  font-family: calibri, sans-serif;
  color: #000;
  text-transform: uppercase;
}

/* padding pagină = 5mm */
.labels-table {
  position: fixed !important;
  /* CHEIA: nu mai depinde de flow */
  left: 5mm !important;
  right: 5mm !important;
  top: 5mm !important;
  bottom: 5mm !important;

  width: 200mm !important;
  /* 210 - 2*5 */
  height: 287mm !important;
  /* 297 - 2*5 */

  border-collapse: collapse;
  table-layout: fixed !important;

  /*border: 1px solid red;     /* DEBUG: îți garantează border sus */
}

/* 4 rânduri egale */
.labels-table tr {
  height: 71.75mm;
  /* 287 / 4 */
}

.label-cell {
  width: 105mm !important;
  /* 200 / 2 */
  height: 71.75mm !important;
  /* 287 / 4 */
  padding: 4.5mm !important;
  vertical-align: top;
  text-align: center;
  box-sizing: border-box;
  /*border: 1px solid red;    /* DEBUG: liniile dintre celule */
}

/* padding interior (înăuntrul borderului) */
.label-content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 8mm 6mm 0 6mm !important;
  /* aici e “respirația” conținutului */
  text-align: center !important;
  /* border: 1px solid blue; */
}


.label-client-name {
  font-size: 30pt;
  margin: 0 0 4mm 0;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center !important;
}

.label-client-address {
  font-size: 30pt;
  margin: 0 0 3mm 0;
  font-weight: bold;
  text-align: center !important;
}

.label-logo {
  margin: 0 0 6mm 0;
  text-align: center !important;
}

.label-logo img {
  padding-left: 10mm !important;
  padding-right: 10mm !important;
  height: auto !important;
}

.label-number {
  white-space: nowrap;
  position: relative;
  /* centrează pe verticală înăuntru */
}

.label-number-table {
  margin: 0 auto;
  border-collapse: collapse;
}

.label-number-table td {
  padding: 0;
  vertical-align: middle;
  /* centrează pe verticală între celule */
}

.label-number-table td.qr img {
  width: 30mm;
  height: 30mm;
  display: block;
}

.label-number-table td.num {
  padding-left: 8mm;
  /* spațiul dintre qr și cifră */
  font-size: 78pt;
}

/* AICI ridici cifra (merge sigur pentru că e block) */
.label-number-table td.num .numwrap {
  font-size: 78pt;
  /* sau cât ai acum */
  font-weight: 400;
  line-height: 1;
  margin-top: -9mm;
  /* ajustezi fin: -4mm..-10mm */
}