:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1e293b;background-color:#f8fafc;--primary: #2563eb;--primary-hover: #1d4ed8;--secondary: #64748b;--accent: #f59e0b;--background: #f1f5f9;--surface: #ffffff;--surface-hover: #f8fafc;--text-primary: #0f172a;--text-secondary: #475569;--border: #e2e8f0;--glass: rgba(255, 255, 255, .9);--glass-border: rgba(0, 0, 0, .05);--success: #10b981;--warning: #f59e0b;--error: #ef4444;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;min-width:320px;min-height:100vh;background-color:var(--background);color:var(--text-primary)}#root{width:100%}h1,h2,h3,h4,h5,h6{margin:0;color:var(--text-primary);font-weight:700;letter-spacing:-.02em}.glass-panel{background:var(--surface);border:1px solid var(--border);border-radius:.75rem;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -2px #0000000d}.glass-card{background:var(--surface);border:1px solid var(--border);border-radius:.5rem;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.glass-card:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #00000014;border-color:var(--primary)}.app-container{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{padding:2rem 1.5rem;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:2rem;height:100vh;position:sticky;top:0;background:#fff}.main-content{padding:2.5rem;overflow-y:auto}.btn{padding:.75rem 1.5rem;border-radius:.5rem;font-weight:600;font-size:.875rem;transition:all .2s;cursor:pointer;border:1px solid transparent;display:inline-flex;align-items:center;gap:.75rem;text-decoration:none}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);box-shadow:0 8px 16px -4px #2563eb4d}.btn-outline{background:#fff;border-color:var(--border);color:var(--text-secondary)}.btn-outline:hover{background:#f8fafc;border-color:var(--text-primary);color:var(--text-primary)}.badge{padding:.35rem .75rem;border-radius:6px;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.badge-draft{background:#f1f5f9;color:#475569}.badge-sent{background:#eff6ff;color:#1e40af}.badge-paid{background:#ecfdf5;color:#047857}.badge-overdue{background:#fef2f2;color:#b91c1c}.input-field{background:#fff;border:1px solid var(--border);color:var(--text-primary);padding:.8rem 1rem;border-radius:.5rem;width:100%;box-sizing:border-box;font-size:.9rem;transition:border-color .2s,box-shadow .2s}.input-field:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1a}table th{padding:1rem;color:var(--text-secondary);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;background:#f8fafc}table td{padding:1rem;border-bottom:1px solid var(--border)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.pos-drawer{position:fixed;right:0;top:0;height:100vh;width:350px;background:#fff;border-left:1px solid var(--border);z-index:1000;transform:translate(100%);transition:transform .3s ease-out;padding:1.5rem;display:flex;flex-direction:column}.pos-drawer.open{transform:translate(0)}.inventory-item-card{padding:1rem;border:1px solid var(--border);border-radius:.5rem;margin-bottom:.75rem;cursor:pointer;transition:all .2s}.inventory-item-card:hover{border-color:var(--primary);background:#eff6ff}
