body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

{% comment %} 
Estilos de cabecera del pdf
{% endcomment %}
.body-header table tr td .ctn-left {
  width: 139px;
}

.body-header table tr td .ctn-center {
  margin-left: 35px;
}

.body-header table tr td .ctn-center div {
  margin-bottom: 5px;
}

.body-header table tr td .ctn-right {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 6px;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
}

.body-header table tr td .ctn-right div {
  margin: 2px 0;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-align: center;
}

{% comment %}
Estilos de sección de los datos del cliente
{% endcomment %}
.body-customer {
  border: 1px solid #000;
  border-radius: 10px;
  margin-top: 5px;
  padding: 3px 10px 10px 10px;
}

.body-customer table tr td div {
  margin-top: 7px;
}

.body-customer table tr td .emission {
  margin-right: 15px
}

.body-customer table tr td .customer {
  margin-right: 20px
}

.body-customer table tr td .document {
  margin-right: 5px
}

.body-customer table tr td .address {
  margin-right: 5px
}

{% comment %}
Estilos de la tabla de orders
{% endcomment %}
.body-order-details {
  border: 1px solid #000;
  border-radius: 10px;
  margin-top: 15px;
  height: 470px;
  overflow: hidden;
}

.body-order-details table {
  width: 100%;
  height: 500px;
}

.body-order-details thead th {
  background: #FFD700;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 6px 4px;
  font-size: 11px;
  text-align: center;
}

.body-order-details thead tr th:first-child {
  border-left: none;
}

.body-order-details thead tr th:last-child {
  border-right: none;
}

.body-order-details tbody td {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding: 4px 6px;
  font-size: 11px;
  vertical-align: top;
}

.body-order-details tbody tr {
  padding-bottom: -10px !important
}

.body-order-details tbody tr td:first-child {
  border-left: none;
}

.body-order-details tbody tr td:last-child {
  border-right: none;
}

.body-order-details tbody tr:last-child td {
  border-bottom: 1px solid #000;
  border: none;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.description {
  text-transform: uppercase;
}

table {
  width: 100%;
  border-collapse: collapse;
}

{% comment %}
Estilos del pie de página del pdf
{% endcomment %}
.body-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.body-footer .ctn-info-banks {
  border: 1px solid #000;
  border-radius: 10px;
  padding: 3px 10px 10px 10px;
  max-width: 300px;
  width: 100%;
}

.body-footer .ctn-info-banks .bank-account {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ctn-info-totals {
  padding: 6px 10px;
  width: 260px;
  font-size: 11px;
}

.info-price {
  display: table;
  width: 100%;
  margin-bottom: 4px;
}

.info-price .label {
  display: table-cell;
  text-align: right;
  padding-right: 10px;
  white-space: nowrap;
}

.info-price .value {
  display: table-cell;
  text-align: right;
  width: 90px;
}

.info-price.total {
  border-top: 2px solid #000;
  padding-top: 4px;
  margin-top: 6px;
  font-weight: bold;
  font-size: 14px;
}