/* css/receipt.css - Thermal Receipt Component Styling */
.receipt-wrapper {
  background: #fbf9f5;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.receipt-card {
  background: #fff;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 25px 20px;
  font-family: 'Courier New', Courier, monospace;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-top: 8px solid var(--primary-green);
  position: relative;
  color: #222;
}

.receipt-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(-135deg, #fff 5px, transparent 0), linear-gradient(135deg, #fff 5px, transparent 0);
  background-size: 10px 10px;
}

.receipt-header {
  text-align: center;
  margin-bottom: 15px;
}

.receipt-header h3 {
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 4px;
}

.receipt-header .sub-header {
  font-size: 0.75rem;
  color: #666;
}

.receipt-divider {
  border: none;
  border-top: 1px dashed #888;
  margin: 12px 0;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.receipt-item span:last-child {
  font-weight: bold;
  color: #d9534f;
}

.receipt-total {
  margin-top: 15px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.receipt-total .total-debt {
  font-size: 1.1rem;
  color: #d9534f;
  font-weight: bold;
}

.receipt-paymethod {
  font-size: 0.82rem;
  color: #333;
  margin-top: 6px;
}

.stamp-unpaid {
  border: 2px solid #d9534f;
  color: #d9534f;
  font-weight: bold;
  padding: 4px 12px;
  display: inline-block;
  transform: rotate(-8deg);
  margin: 12px 0;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.receipt-cta {
  margin-top: 15px;
  text-align: center;
}

.receipt-cta .btn-receipt-pay {
  background: #2d5a27;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  display: block;
  transition: background 0.2s;
}

.receipt-cta .btn-receipt-pay:hover {
  background: #1c3b19;
}

.hidden {
  display: none;
}
