/* ==========================================================================
   NATA - RECEIPT & PACKING SLIP TECHNICAL SPECS CSS
   ========================================================================== */

.receipt-card {
  background: #f4f4f6;
  color: #0c0d10;
  padding: 1.8rem 1.5rem;
  font-family: var(--font-mono);
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-radius: 1px;
}

/* Efecto de borde dentado / rasgado en el pie del ticket */
.receipt-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: radial-gradient(circle, transparent, transparent 50%, #f4f4f6 50%, #f4f4f6 100%);
  background-size: 16px 16px;
}

.receipt-header {
  text-align: center;
  border-bottom: 2px dashed #b8bcc4;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}

.receipt-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.receipt-subtitle {
  font-size: 0.68rem;
  color: #555861;
  text-transform: uppercase;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.72rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed #d1d5db;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  margin-bottom: 1.2rem;
}

.receipt-table th {
  text-align: left;
  padding: 0.3rem 0;
  border-bottom: 1px solid #0c0d10;
  text-transform: uppercase;
  font-weight: 700;
}

.receipt-table td {
  padding: 0.4rem 0;
  border-bottom: 1px dotted #d1d5db;
}

.receipt-table td:last-child,
.receipt-table th:last-child {
  text-align: right;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  border-top: 2px solid #0c0d10;
  padding-top: 0.5rem;
  margin-bottom: 1.2rem;
}

.receipt-footer-notes {
  font-size: 0.65rem;
  color: #555861;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.receipt-barcode-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
