/*
 * receipts.css
 * Extracted from receipts.pug – 2026-03-16
 *
 * This file centralises styles that were previously scattered as inline
 * style="" attributes throughout the Pug template.  Move rules here
 * progressively and replace the matching inline attribute with a class.
 *
 * Inline style attributes found in the original template (32 unique):
 *
 *   display:none            → .hidden  (already used by JS)
 *   display:flex; gap:8px   → .flex-gap
 *   display:flex;align-items:center;gap:8px → .flex-center-gap
 *   display:flex;gap:8px;align-items:center → .flex-center-gap  (same)
 *   justify-content:space-between          → .space-between
 *   font-size:11px                         → .text-xs
 *   font-size:12px;color:#64748b           → .text-sm-muted
 *   font-size:12px;color:#10b981           → .text-sm-green
 *   color:#10b981;font-size:11px           → .text-xs-green
 *   color:#94a3b8; margin-bottom:24px      → .hint-text
 *   color:#6366f1;text-decoration:underline → .link-indigo
 *   margin-bottom:12px                     → .mb-12
 *   font-size:18px;font-weight:600;color:#10b981;margin-bottom:8px → .stat-value
 *   font-size:48px;margin-bottom:16px      → .stat-icon
 *   max-width:680px;width:95%              → .modal-sm  (year-picker)
 *   max-width:1100px;width:95%;max-height:88vh → .modal-xl  (qbo-edit)
 *   max-width:520px;width:95%              → .modal-txn
 *   max-width:560px;width:95%             → .modal-csv
 *   text-align:center;padding:40px        → .loading-center
 *   margin-top:20px;color:#6b7280         → .loading-text
 *   position:fixed;top:-9999px… (iframe)  → programmatic only, leave in JS
 *   height:${topPad}px / ${botPad}px      → virtual-scroll spacers, set in JS
 *
 * --- Candidate classes below — uncomment and apply as you migrate ---
 */

/* Layout helpers */
.hidden            { display: none; }
.flex-gap          { display: flex; gap: 8px; }
.flex-center-gap   { display: flex; align-items: center; gap: 8px; }
.space-between     { justify-content: space-between; }

/* Typography */
.text-xs           { font-size: 11px; }
.text-sm-muted     { font-size: 12px; color: #64748b; }
.text-sm-green     { font-size: 12px; color: #10b981; }
.text-xs-green     { font-size: 11px; color: #10b981; }
.hint-text         { color: #94a3b8; margin-bottom: 24px; }
.link-indigo       { color: #6366f1; text-decoration: underline; }
.mb-12             { margin-bottom: 12px; }

/* Stat display */
.stat-value        { font-size: 18px; font-weight: 600; color: #10b981; margin-bottom: 8px; }
.stat-icon         { font-size: 48px; margin-bottom: 16px; }

/* Modal size variants */
.modal-sm          { max-width: 680px; width: 95%; }
.modal-csv         { max-width: 560px; width: 95%; }
.modal-txn         { max-width: 520px; width: 95%; }
.modal-xl          { max-width: 1100px; width: 95%; max-height: 88vh; }

/* Loading states */
.loading-center    { text-align: center; padding: 40px; }
.loading-text      { margin-top: 20px; color: #6b7280; }

/* AI copy button – alternate state set in JS, mirrored here for reference */
.btn-ai-copy-done  { background: linear-gradient(135deg, #059669, #10b981) !important; }
