/* styles.css - Sistema de diseño premium para La Leonera POS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- variables CSS y Reseteo --- */
:root {
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Paleta La Leonera Premium */
  --bg-main: #0c0c0e;
  --bg-panel: #141417;
  --bg-card: #1b1b1f;
  --bg-input: #232329;
  
  --border-color: #2b2b33;
  --border-focus: #c5a059;
  
  --color-gold: #d4af37;
  --color-gold-hover: #e5c158;
  --color-gold-dim: #9c8030;
  --color-gold-light: rgba(212, 175, 55, 0.1);
  
  --color-text-primary: #f3f4f6;
  --color-text-secondary: #9ca3af;
  --color-text-muted: #6b7280;
  
  --color-success: #10b981;
  --color-success-light: rgba(16, 185, 129, 0.1);
  --color-error: #f43f5e;
  --color-error-light: rgba(244, 63, 94, 0.1);
  --color-warning: #f59e0b;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 14px 0 rgba(212, 175, 55, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--color-text-primary);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* --- Layout Principal --- */
.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar lateral */
.sidebar {
  width: 80px;
  background-color: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  gap: 32px;
  z-index: 10;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dim));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  color: var(--bg-main);
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-title);
  cursor: pointer;
  transition: var(--transition);
}

.logo-container:hover {
  transform: rotate(-5deg) scale(1.05);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: center;
}

.nav-item {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-secondary);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: var(--transition);
  position: relative;
}

.nav-item:hover, .nav-item.active {
  color: var(--color-gold);
  background-color: var(--color-gold-light);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  height: 20px;
  width: 3px;
  background-color: var(--color-gold);
  border-radius: 0 4px 4px 0;
}

.nav-item svg {
  width: 22px;
  height: 22px;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Contenido Principal */
.main-content {
  flex: 1;
  display: flex;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Área de POS / Vistas */
.view-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 24px;
}

.view-section {
  display: none;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.3s ease-out forwards;
}

.view-section.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cabecera de Vista */
.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.view-title h1 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.view-title p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--bg-main);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--color-text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--color-text-primary);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* --- Panel de Productos POS --- */
.pos-layout {
  display: flex;
  flex: 1;
  gap: 24px;
  height: calc(100% - 70px);
  overflow: hidden;
}

.pos-catalog {
  flex: 1.4;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  overflow: hidden;
}

/* Barra de Búsqueda y Filtros */
.catalog-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-wrapper {
  flex: 1;
  position: relative;
}

.search-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-wrapper input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.search-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 18px;
  height: 18px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none; /* Firefox */
}

.category-tabs::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.tab-pill {
  padding: 8px 16px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.tab-pill:hover, .tab-pill.active {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Rejilla de Productos */
.products-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Estilo de Tarjetas de Producto */
.product-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: #40404a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Ratio 1:1 */
  background-color: #2a2a30;
  overflow: hidden;
}

.product-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(12, 12, 14, 0.75);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-badge.out-of-stock {
  background-color: var(--color-error-light);
  color: var(--color-error);
  border-color: rgba(244, 63, 94, 0.2);
}

.product-card-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-vendor {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.product-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
  color: var(--color-text-primary);
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
}

.product-card-stock {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* --- Panel de la Transacción POS (Derecha) --- */
.pos-checkout {
  flex: 1;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Header del Checkout: Selector de Clientes */
.checkout-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-header-title h2 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.customer-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.customer-selector:hover {
  border-color: var(--border-focus);
}

.customer-selector svg {
  color: var(--color-text-secondary);
  width: 18px;
  height: 18px;
}

.customer-selector .info {
  flex: 1;
  text-align: left;
}

.customer-selector .info .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.customer-selector .info .desc {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.customer-selector .remove-customer {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.customer-selector .remove-customer:hover {
  color: var(--color-error);
  background-color: var(--color-error-light);
}

/* Lista de Carrito */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-muted);
  gap: 12px;
  text-align: center;
}

.cart-empty svg {
  width: 48px;
  height: 48px;
}

.cart-item {
  display: flex;
  gap: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  position: relative;
  animation: slideIn 0.2s ease-out forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #2a2a30;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-text-primary);
}

.cart-item-variant {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold);
  margin-top: 4px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.cart-item-delete {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
}

.cart-item-delete:hover {
  color: var(--color-error);
}

.quantity-picker {
  display: flex;
  align-items: center;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-picker button {
  background: transparent;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.quantity-picker button:hover {
  background-color: var(--border-color);
}

.quantity-picker span {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

/* Resumen del Checkout (Subtotal, Descuentos, Total) */
.checkout-summary {
  padding: 20px;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.summary-row.discount-row {
  color: var(--color-success);
}

.summary-row.total-row {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 4px;
}

.discount-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.discount-controls input {
  flex: 1;
  padding: 6px 12px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px;
  outline: none;
}

.discount-controls input:focus {
  border-color: var(--border-focus);
}

/* Métodos de Pago y Botones */
.checkout-actions {
  padding: 0 20px 20px 20px;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.payment-btn.active {
  border-color: var(--color-gold);
  background-color: var(--color-gold-light);
  color: var(--color-gold);
}

.checkout-action-buttons {
  display: flex;
  gap: 10px;
}

.checkout-action-buttons .btn {
  flex: 1;
  padding: 14px;
  font-size: 15px;
}

/* --- Modales --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease-out forwards;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIn {
  from { transform: scale(0.9) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
}

.modal-close:hover {
  color: var(--color-text-primary);
  background-color: var(--bg-card);
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-card);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Formulario genérico */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--border-focus);
}

/* Selector de variantes */
.variant-selector-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.variant-options-group {
  margin-bottom: 20px;
}

.variant-options-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.variant-options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-badge {
  padding: 8px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.variant-badge.active {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold);
  color: var(--color-gold);
  font-weight: 600;
}

.variant-badge.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.variant-stock-info {
  margin-top: 16px;
  padding: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.variant-stock-value {
  font-weight: 600;
}

.variant-stock-value.available {
  color: var(--color-success);
}

.variant-stock-value.unavailable {
  color: var(--color-error);
}

/* --- Panel de Historial de Ventas / Clientes / Ajustes (Tablas) --- */
.search-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.table-container {
  flex: 1;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

th {
  background-color: var(--bg-card);
  color: var(--color-text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

tr:hover td {
  background-color: rgba(255, 255, 255, 0.015);
}

.badge-status {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.badge-status.active {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.badge-status.completed {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.badge-status.draft {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
}

/* --- Vista de Ajustes --- */
.settings-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.settings-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.settings-card h2 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* --- Sistema de Notificaciones Flotantes (Toasts) --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.toast {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  font-size: 13px;
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  to { transform: translateY(0); opacity: 1; }
}

.toast.success {
  border-left: 4px solid var(--color-success);
}

.toast.success svg {
  color: var(--color-success);
}

.toast.error {
  border-left: 4px solid var(--color-error);
}

.toast.error svg {
  color: var(--color-error);
}

.toast.info {
  border-left: 4px solid var(--color-gold);
}

.toast.info svg {
  color: var(--color-gold);
}

/* --- Spinner de Sincronización --- */
.loading-spinner {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--color-gold);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Recibo de Venta (Modal) */
.receipt {
  font-family: 'Courier New', Courier, monospace;
  background-color: #fff;
  color: #000;
  padding: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.receipt-header {
  text-align: center;
  border-bottom: 1px dashed #000;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.receipt-header h4 {
  font-size: 18px;
  font-weight: bold;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
}

.receipt-items {
  border-bottom: 1px dashed #000;
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 1px dashed #000;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
