body { background:#f5f7fa; color:#243247; }
.card { border:1px solid #e2e6ed; border-radius:12px; }
.table { vertical-align:middle; }
.product-list { max-height:65vh; overflow:auto; }
.qty { width:85px; }
.receipt { max-width:850px; margin:auto; }
.navbar .nav-link { color:#dfe5ed; }
.navbar .nav-link:hover, .navbar .nav-link.active { background:#465163; color:white; }
@media print { .no-print { display:none!important; } body { background:white; } main.container { max-width:100%; padding:0!important; } .card { border:0; } a { text-decoration:none; color:black; } }

.sale-print-area { display:none; }
@media print { .sale-print-area { display:block; } }

.receipt-summary { align-self:flex-end; width:340px; max-width:100%; margin:0 0 1.5rem auto; }
.receipt-summary-row { display:flex; justify-content:space-between; gap:1.5rem; padding:0.35rem 0; }
.receipt-summary-row > :last-child { text-align:right; white-space:nowrap; }
.receipt-summary-row:first-child { border-top:1px solid #dee2e6; }

/* Billing product picker: consistent columns with readable secondary details. */
.billing-products-heading { font-size:1.05rem; font-weight:600; margin-bottom:0.75rem; }
.billing-product { display:flex; align-items:center; gap:12px; padding:14px; }
.billing-product-info { flex:1; min-width:0; }
.billing-product-name, .billing-product-code, .billing-product-price, .billing-product-stock { display:block; }
.billing-product-name { font-weight:600; overflow-wrap:anywhere; }
.billing-product-code { font-size:0.78rem; color:#758094; margin-top:3px; }
.billing-product-details { flex-shrink:0; text-align:right; }
.billing-product-price { font-weight:600; font-size:0.9rem; }
.billing-product-stock { font-size:0.78rem; color:#627084; margin-top:3px; }
.billing-product-add { flex-shrink:0; font-size:0.8rem; font-weight:600; color:#0d6efd; background:#edf4ff; border-radius:6px; padding:6px 8px; }
.billing-product:hover, .billing-product:focus-visible { background:#f0f6ff; }
@media (max-width:400px) { .billing-product { gap:8px; padding:12px 10px; } .billing-product-add { padding:5px; } }

.product-management-table th { background:#f8fafc; color:#657188; font-size:0.8rem; font-weight:600; padding:14px 12px; }
.product-management-table td { padding:16px 12px; }
.product-management-table th:first-child, .product-management-table td:first-child { padding-left:18px; }
.product-management-name { display:block; min-width:105px; font-weight:600; }
.product-status-active { background:#e5f5ec; color:#24764c; }
.product-status-inactive { background:#edf0f4; color:#667085; }
.products-page .form-label { font-size:0.9rem; font-weight:500; }
.products-page .form-text { font-size:0.75rem; }
