body {
  font-family: Arial, sans-serif;
  max-width: 480px;
  margin: 60px auto;
  font-weight: bold;
}

.caja {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 2mm;
}

input[type="file"] {
  margin: 16px 0;
  display: block;
}

button {
  background: #222;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #444;
}

.brand {
  font-weight: bold;
  font-size: 18px;
  margin: 0px;
}

.ticket {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.35;
  width: 80mm;
  padding: 2mm;
  margin: 0 auto;
}

.ticket .center {
  text-align: center;
}

.ticket .negrita {
  font-weight: bold;
}

.ticket .linea {
  border-top: 1px dashed #000;
  margin: 6px 0;
}

.ticket table {
  width: 100%;
  border-collapse: collapse;
}

.ticket td {
  font-size: 10px;
  vertical-align: top;
}

.ticket thead th {
  text-align: left;
  border: 1px solid #0003;
}

.ticket tbody td {
  border-right: 1px solid #0003;
  border-bottom: 1px solid #0003;
}

.ticket tbody tr td:first-child {
  border-left: 1px solid #0003;
}

.ticket tfoot tr td {
  border-left: 1px solid #0003;
  border-bottom: 1px solid #0003;
}

.ticket tfoot tr td:last-child {
  border-right: 1px solid #0003;
  font-weight: bold;
}

.ticket .te {
  text-align: end;
}

.ticket .pie {
  border-top: 1px solid #0003;
  margin-top: 8px;
  font-size: 11px;
  text-align: center;
}

@media print {
  .caja {
    display: none;
  }

  .no-print {
    display: none;
  }
}
