@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;600;700&family=Playfair+Display:wght@400;700&family=Dancing+Script:wght@400;700&family=Pacifico&family=Satisfy&family=Great+Vibes&family=Alex+Brush&family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap";:root{--primary:#2563eb;--primary-hover:#1d4ed8;--bg-app:#f8fafc;--bg-card:#fff;--text-main:#0f172a;--text-muted:#64748b;--border:#e2e8f0;--radius:12px;--shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a}.dark{--bg-app:#0f172a;--bg-card:#1e293b;--text-main:#f8fafc;--text-muted:#94a3b8;--border:#334155;--shadow:0 4px 6px -1px #0000004d}.dark input,.dark textarea,.dark select{color:#f8fafc;background-color:#1e293b}.dark .preview-area{background:#020617}.invoice-sheet{color:#0f172a;background:#fff}.invoice-sheet .text-muted,.invoice-sheet p{color:#64748b}.invoice-sheet *{border-color:#e2e8f0}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-app);color:var(--text-main);-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5}.app-container{grid-template-columns:450px 1fr;height:100vh;display:grid;overflow:hidden}@media (width<=1024px){.app-container{grid-template-columns:1fr;height:auto;overflow:visible}}.editor-sidebar{background:var(--bg-card);border-right:1px solid var(--border);z-index:10;flex-direction:column;gap:2rem;padding:2rem;display:flex;overflow-y:auto}.preview-area{background:#f1f5f9;justify-content:center;align-items:flex-start;padding:3rem;display:flex;overflow-y:auto}.invoice-sheet{width:100%;max-width:800px;min-height:1120px;box-shadow:var(--shadow-lg);background:#fff;border-radius:4px;margin:0 auto;padding:4rem;transition:all .3s;position:relative}.preview-area{background:#f1f5f9;justify-content:center;align-items:flex-start;padding:3rem;display:flex;overflow:auto}.invoice-sheet{width:800px;min-height:1120px;box-shadow:var(--shadow-lg);transform-origin:top;background:#fff;border-radius:4px;flex-shrink:0;padding:4rem;transition:all .3s;position:relative}@media (width<=850px){.preview-area{flex-direction:column;justify-content:center;align-items:center;padding:2rem 1rem;display:flex}.invoice-sheet{transform:scale(calc(var(--preview-scale,1)));margin-bottom:calc(1120px * (1 - var(--preview-scale,1)) * -1);transform-origin:top;margin-left:0;margin-right:0}}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.5rem}.section-title{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-top:1rem;margin-bottom:.5rem;font-size:.875rem;font-weight:600}.input-group{margin-bottom:1rem}.input-group label{color:var(--text-main);margin-bottom:.5rem;font-size:.875rem;font-weight:500;display:block}input,textarea,select{border:1px solid var(--border);border-radius:8px;width:100%;padding:.75rem;font-family:inherit;font-size:.875rem;transition:border-color .2s,box-shadow .2s}input:focus,textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2563eb1a}button{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;font-weight:500;transition:all .2s;display:inline-flex}.btn-primary{background:var(--primary);color:#fff;padding:.75rem 1.5rem}.btn-primary:hover{background:var(--primary-hover)}.btn-ghost{color:var(--text-muted);background:0 0;padding:.5rem}.btn-ghost:hover{color:var(--text-main);background:#f1f5f9}.invoice-header{justify-content:space-between;margin-bottom:4rem;display:flex}.invoice-logo{object-fit:contain;max-width:150px;max-height:80px}.invoice-title{color:var(--invoice-primary);font-size:3rem;font-weight:700;line-height:1}.info-grid{grid-template-columns:1fr 1fr;gap:4rem;margin-bottom:4rem;display:grid}.info-block h3{color:var(--text-muted);text-transform:uppercase;margin-bottom:1rem;font-size:.875rem}.items-table{border-collapse:collapse;width:100%;margin-bottom:4rem}.items-table th{text-align:left;border-bottom:2px solid var(--invoice-primary);color:var(--invoice-primary);padding:1rem;font-weight:600}.items-table td{border-bottom:1px solid var(--border);vertical-align:top;padding:1.25rem 1rem}.items-table td:nth-child(3),.items-table td:nth-child(4){white-space:nowrap}.totals{flex-direction:column;align-items:flex-end;gap:1rem;margin-top:3rem;display:flex}.total-row{text-align:right;white-space:nowrap;justify-content:flex-end;gap:4rem;min-width:350px;display:flex}.total-row span:first-child{color:var(--text-muted)}.total-row.grand-total{color:var(--invoice-primary);margin-top:1rem;font-size:1.5rem;font-weight:700}.total-row.grand-total span:first-child{color:var(--invoice-primary)}.fade-in{animation:.5s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media print{.editor-sidebar{display:none!important}.preview-area{background:#fff!important;padding:0!important;display:block!important;overflow:visible!important}.invoice-sheet{box-shadow:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}body{background:#fff!important}.app-container{display:block!important}}.animate-spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes heart-beat{0%{transform:scale(1)}25%{transform:scale(1.1)}40%{transform:scale(1)}60%{transform:scale(1.15)}to{transform:scale(1)}}.heart-icon{transition:transform .2s;display:inline-flex}.support-btn .heart-icon{animation:.8s ease-in-out infinite heart-beat;color:#fb7185!important}.animate-pulse{animation:2s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}
