@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root {
 --primary: #4f46e5; --primary-hover: #4338ca; --secondary: #ec4899; --tertiary: #8b5cf6;
 --bg-main: #f8fafc; --bg-card: rgba(255, 255, 255, 0.75); --text-main: #0f172a; --text-muted: #64748b;
 --border: rgba(226, 232, 240, 0.8); --border-strong: #cbd5e1; --safe-green: #10b981; --safe-red: #ef4444; --whatsapp: #25D366;
 --shadow-soft: 0 4px 20px rgba(0,0,0,0.03); --shadow-card: 0 10px 30px rgba(0,0,0,0.04), inset 0 1px 1px rgba(255,255,255,0.8); --shadow-btn: 0 4px 15px rgba(79, 70, 229, 0.25);
 --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-full: 999px; --paper-bg: #FFFFFF;
 --primary-gradient: linear-gradient(135deg, var(--primary), var(--tertiary));
}
[data-theme="dark"] {
 --primary: #818cf8; --primary-hover: #6366f1; --secondary: #f472b6; --tertiary: #a78bfa;
 --bg-main: #020617; --bg-card: rgba(15, 23, 42, 0.65); --text-main: #f8fafc; --text-muted: #94a3b8; --border: rgba(30, 41, 59, 0.8); --border-strong: #334155;
 --shadow-soft: 0 4px 20px rgba(0,0,0,0.2); --shadow-card: 0 10px 30px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.05); --shadow-btn: 0 4px 15px rgba(129, 140, 248, 0.25);
 --primary-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: 'Plus Jakarta Sans', sans-serif; transition: background-color 0.4s ease, color 0.4s ease; position: relative; overflow-x: hidden; }
h1, h2, h3, h4, .logo-text, .hero-title { font-family: 'Outfit', sans-serif; font-weight: 700; }
.highlight-gradient, .icon-gradient, .gradient-icon { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.highlight-gradient { display: inline-block; } .gradient-icon { font-size: 1.5rem; }
.bg-shape { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.15; animation: drift 20s infinite alternate ease-in-out; }
.bg-shape-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; }
.bg-shape-2 { width: 600px; height: 600px; background: var(--secondary); top: 40%; right: -200px; animation-delay: -5s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(100px, 100px) scale(1.1); } }
.site-header { background: var(--bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; letter-spacing: -0.5px;}
.nav-links { display: flex; gap: 2.5rem; } .nav-links a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.hover-underline { position: relative; } .hover-underline::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0%; background: var(--primary-gradient); transition: width 0.3s ease; }
.nav-links a:hover .hover-underline::after { width: 100%; }
.nav-controls { display: flex; gap: 1rem; align-items: center; }
.glossy { background: rgba(255,255,255,0.1); border: 1px solid var(--border); backdrop-filter: blur(8px); }
[data-theme="dark"] .glossy { background: rgba(0,0,0,0.2); }
.control-group { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: var(--radius-full); transition: 0.3s; }
.control-group:hover { border-color: var(--primary); }
.ghost-select { font-family: 'Plus Jakarta Sans', sans-serif; background: transparent; border: none; color: var(--text-main); font-weight: 600; outline: none; cursor: pointer; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.1rem; color: var(--text-main);}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); transform: rotate(15deg); }
.danger-soft { background: rgba(239, 68, 68, 0.1); color: var(--safe-red); border: none; }
.danger-soft:hover { background: var(--safe-red); color: white; transform: rotate(0); }
.hero { padding: 8rem 1rem 5rem; text-align: center; position: relative; }
.hero-content { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.badge-pill { background: rgba(79, 70, 229, 0.1); color: var(--primary); padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 700; margin-bottom: 2rem; border: 1px solid rgba(79, 70, 229, 0.2); }
[data-theme="dark"] .badge-pill { background: rgba(129, 140, 248, 0.1); color: var(--primary); border-color: rgba(129, 140, 248, 0.2); }
.hero h1 { font-size: 4rem; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -1px; min-height: 4.8rem; }
.hero p { color: var(--text-muted); font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 600px; line-height: 1.6; }
button, .primary-btn, .secondary-btn, .danger-btn, .whatsapp-btn { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; border-radius: var(--radius-md); cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.9rem 1.6rem; border: none; text-decoration: none; }
.glow-btn { background: var(--primary-gradient); color: white; box-shadow: var(--shadow-btn); position: relative; overflow: hidden; z-index: 1;}
.glow-btn::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; background: linear-gradient(135deg, var(--tertiary), var(--primary)); z-index: -1; transition: opacity 0.3s; opacity: 0; }
.glow-btn:hover::before { opacity: 1; }
.glow-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4); }
.glow-btn:active { transform: translateY(0); }
.outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.outline:hover { background: var(--primary-gradient); color: white; border-color: transparent; }
.soft-btn { background: var(--border); color: var(--text-main); }
[data-theme="dark"] .soft-btn { background: rgba(255,255,255,0.05); }
.soft-btn:hover { background: var(--border-strong); transform: translateY(-2px); }
.danger-btn.outline { border: 2px solid var(--safe-red); color: var(--safe-red); }
.danger-btn.outline:hover { background: var(--safe-red); color: white; }
.whatsapp-btn { background: var(--whatsapp); color: white; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.whatsapp-btn:hover { background: #1ebc5a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.cursor { animation: blink 1s infinite step-end; color: var(--primary); }
@keyframes blink { 50% { opacity: 0; } }
.app-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 1400px; margin: 0 auto; padding: 0 5% 4rem; align-items: start; }
.glass-card { background: var(--bg-card); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.glass-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-glow { position: absolute; top: 0; right: 0; width: 150px; height: 150px; background: var(--primary); filter: blur(100px); opacity: 0.1; z-index: -1; }
.glass-card h3 { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; font-size: 1.3rem; color: var(--text-main); border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mb-4 { margin-bottom: 2rem;} .w-100 { width: 100%; }
.input-group { display: flex; flex-direction: column; gap: 0.5rem; }
.input-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;}
.modern-input { width: 100%; padding: 0.9rem 1.2rem; border: 2px solid var(--border); border-radius: var(--radius-md); background: transparent; color: var(--text-main); font-size: 1rem; font-weight: 500; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.3s; }
.modern-input:hover { border-color: var(--border-strong); }
.modern-input:focus { outline: none; border-color: var(--primary); background: var(--bg-main); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }
.visually-hidden { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }
.logo-upload { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
#logo-preview { height: 60px; max-width: 180px; object-fit: contain; border-radius: var(--radius-md); border: 2px dashed var(--border); padding: 4px; background: transparent; }
.items-header { display: grid; grid-template-columns: 3fr 1fr 2fr 44px; gap: 1rem; margin-bottom: 0.5rem; font-weight: 700; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;}
.item-row { display: grid; grid-template-columns: 3fr 1fr 2fr 44px; gap: 1rem; margin-bottom: 1rem; align-items: center; }
.item-row input { padding: 0.8rem; }
.remove-item-btn { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-sm); background: rgba(239, 68, 68, 0.1); color: var(--safe-red); border: none; cursor: pointer; transition: 0.2s;}
.remove-item-btn:hover { background: var(--safe-red); color: white; transform: scale(1.05);}
.overflow-visible { overflow: visible !important; }
.preview-section { position: relative; }
.sticky-wrapper { position: sticky; top: 6rem; z-index: 10; }
.paper-container { width: 100%; border: none !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; display: flex; justify-content: center; overflow: hidden; margin-bottom: 1.5rem;}
.paper-wrapper { width: 800px; transform-origin: top center; transition: transform 0.3s ease, height 0.3s ease; }
.paper { background: var(--paper-bg); color: #000; padding: 50px; min-height: 1120px; width: 100%; box-shadow: var(--shadow-lg); box-sizing: border-box; border-radius: 4px;}
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.action-grid .primary-btn { grid-column: span 2; padding: 1.2rem; font-size: 1.15rem; }
.desktop-only { display: grid; } .desktop-only-flex { display: flex; } .mobile-action-bar { display: none; }
.faqs-container { max-width: 1000px; margin: 0 auto; padding: 6rem 5%; }
.faqs-header { text-align: center; margin-bottom: 4rem; }
.faqs-header h2 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: -1px;}
.faqs-header p { color: var(--text-muted); font-size: 1.2rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.faq-card { padding: 2rem; }
.faq-card h4 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-main); display: flex; align-items:center; gap: 0.8rem; }
.faq-card p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }
.site-footer { background: var(--bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding: 4rem 5%; }
.footer-spread { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-links p { color: var(--text-muted); font-size: 1rem; text-align: right; line-height: 1.6;}
@media (max-width: 1024px) {
 .app-container { grid-template-columns: 1fr; padding-top: 1rem; }
 .hero { padding: 5rem 1rem 3rem; } .hero h1 { font-size: 2.8rem; min-height: 3.5rem;}
 .desktop-only, .desktop-only-flex { display: none; }
 .item-row { grid-template-columns: 1fr 1fr; background: var(--bg-main); padding: 1.5rem 1.2rem 1.2rem; border-radius: var(--radius-md); position: relative; gap: 1rem; border: 1px solid var(--border); }
 .item-row .item-desc { grid-column: span 2; }
 .item-row .remove-item-btn { position: absolute; top: -14px; right: -14px; border-radius: 50%; box-shadow: var(--shadow-sm); z-index: 2;}
 .grid-2 { grid-template-columns: 1fr; }
 .paper-container { padding: 0.5rem; border-radius: 0; background: transparent; }
 .preview-section { display: none; margin-bottom: 5rem; }
 .preview-section.active { display: block; animation: slideUp 0.3s ease forwards; }
 .editor-section.hidden { display: none; }
 .mobile-action-bar { display: block; position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 1.2rem; border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(0,0,0,0.1); z-index: 100; }
 .faq-grid { grid-template-columns: 1fr; }
 .footer-spread { flex-direction: column; gap: 1.5rem; text-align: center; } .footer-links p { text-align: center; }
}
@keyframes slideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
@media print {
 body > *:not(.app-container) { display: none !important; } .editor-section, .actions-panel, .mobile-action-bar { display: none !important; }
 .app-container { padding: 0; display: block; margin: 0; max-width: none; } .preview-section { display: block !important; margin: 0; }
 .paper-container { background: none; padding: 0; overflow: visible; } .paper-wrapper { width: 100% !important; transform: none !important; }
 .paper { box-shadow: none; border: none; padding: 0; margin: 0; width: 100% !important; min-height: auto !important; }
}
.invoice-preview-inner { font-family: 'Plus Jakarta Sans', sans-serif; color: #1e293b; line-height: 1.6; position: relative; min-height: 100%; display: flex; flex-direction: column; }
.paper.simple { padding: 0 !important; background: #fff;}
.paper.simple .inv-top-bar { height: 12px; background: linear-gradient(90deg, #4f46e5, #8b5cf6, #ec4899); width: 100%; border-top-left-radius: 4px; border-top-right-radius: 4px; }
.paper.simple .inv-content-wrap { padding: 50px 60px; flex: 1; }
.paper.simple .inv-header { display: grid; grid-template-columns: 1fr 1fr; align-items: start; border-bottom: 1px solid #e2e8f0; padding-bottom: 40px; margin-bottom: 40px; gap: 2rem;}
.paper.simple .inv-logo { max-height: 80px; max-width: 200px; object-fit: contain; }
.paper.simple .inv-text-right { text-align: right; }
.paper.simple .inv-title { font-size: 3.5rem; color: #0f172a; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; font-family: 'Outfit', sans-serif; letter-spacing: -1.5px; line-height: 1;}
.paper.simple .inv-meta { font-size: 0.95rem; color: #64748b; margin-top: 15px;}
.paper.simple .inv-meta > div { margin-bottom: 6px; }
.paper.simple .inv-meta strong { color: #0f172a; min-width: 60px; display: inline-block; font-weight: 700;}
.paper.simple .inv-details { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 45px; }
.paper.simple .inv-col h4 { color: #64748b; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 12px; font-weight: 800; letter-spacing: 1px;}
.paper.simple .inv-col p { font-size: 1.05rem; margin-bottom: 6px; font-weight: 600; color: #1e293b; }
.paper.simple .inv-table-wrap { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin-bottom: 45px; }
.paper.simple .inv-table { width: 100%; border-collapse: collapse; }
.paper.simple .inv-table th { background: #f8fafc; padding: 18px 24px; text-align: left; font-size: 0.8rem; color: #64748b; font-weight: 800; border-bottom: 1px solid #e2e8f0; text-transform: uppercase; letter-spacing: 1px;}
.paper.simple .inv-table td { padding: 18px 24px; border-bottom: 1px solid #f1f5f9; font-size: 1.05rem; color: #0f172a; font-weight: 500;}
.paper.simple .inv-table tr:last-child td { border-bottom: none; }
.paper.simple .inv-table th:last-child, .paper.simple .inv-table td:last-child { text-align: right; }
.paper.simple .inv-table th:nth-child(2), .paper.simple .inv-table td:nth-child(2) { text-align: center; }
.paper.simple .inv-totals { display: flex; justify-content: flex-end; }
.paper.simple .inv-totals-box { width: 380px; background: #f8fafc; padding: 30px; border-radius: 12px; }
.paper.simple .inv-totals-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 1.05rem; color: #475569; }
.paper.simple .inv-totals-row.grand-total { border-top: 1px solid #cbd5e1; margin-top: 15px; padding-top: 20px; font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.paper.simple .inv-footer { margin-top: 60px; padding-top: 40px; border-top: 1px solid #e2e8f0; font-size: 0.95rem; color: #64748b; }
.paper.simple .inv-badge { position: absolute; top: 120px; right: 60px; display: inline-block; padding: 12px 30px; border-radius: 6px; text-transform: uppercase; font-weight: 900; font-size: 1.8rem; letter-spacing: 4px; border: 4px solid #ef4444; color: #ef4444; opacity: 0.3; transform: rotate(-15deg); pointer-events: none;}
.paper.simple .inv-badge.paid { border-color: #10b981; color: #10b981; }
.paper.bold { padding: 0 !important; background: #fff;}
.paper.bold .inv-header { background: #0f172a; padding: 60px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 2rem; border-bottom: 6px solid #4f46e5; }
.paper.bold .inv-logo { max-height: 80px; filter: brightness(0) invert(1); margin-bottom: 20px;}
.paper.bold .inv-badge { position: absolute; display: inline-block; padding: 12px 30px; text-transform: uppercase; font-weight: 900; font-size: 1.6rem; letter-spacing: 2px; border: 4px solid #ef4444; color: #ef4444; right: 60px; top: 180px; background: white; transform: rotate(-10deg); box-shadow: 0 10px 30px rgba(0,0,0,0.1); pointer-events: none;}
.paper.bold .inv-badge.paid { border-color: #10b981; color: #10b981; }
.paper.bold .inv-title { font-size: 4rem; color: #fff; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -2px; margin-bottom: 30px; font-family: 'Outfit', sans-serif;}
.paper.bold .inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: rgba(255,255,255,0.05); padding: 25px; border-radius: 8px;}
.paper.bold .inv-meta > div { font-size: 0.95rem; color: #94a3b8; }
.paper.bold .inv-meta strong { color: #fff; display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;}
.paper.bold .inv-body { padding: 60px; flex: 1; }
.paper.bold .inv-details { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 50px; gap: 40px;}
.paper.bold .inv-col { border-left: 4px solid #4f46e5; padding-left: 20px; }
.paper.bold .inv-col h4 { font-size: 0.85rem; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.paper.bold .inv-col p { font-size: 1.1rem; color: #0f172a; font-weight: 600; margin-bottom: 6px; }
.paper.bold .inv-table-wrap { margin-bottom: 50px; }
.paper.bold .inv-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.paper.bold .inv-table th { padding: 15px 25px; text-transform: uppercase; font-size: 0.8rem; font-weight: 800; letter-spacing: 1.5px; color: #64748b; border-bottom: 2px solid #e2e8f0; text-align: left;}
.paper.bold .inv-table td { background: #f8fafc; padding: 20px 25px; font-size: 1.1rem; font-weight: 600; color: #0f172a; }
.paper.bold .inv-table th:last-child, .paper.bold .inv-table td:last-child { text-align: right; }
.paper.bold .inv-table th:nth-child(2), .paper.bold .inv-table td:nth-child(2) { text-align: center; }
.paper.bold .inv-totals-box { background: #0f172a; color: white; padding: 40px; border-radius: 12px; width: 450px; margin-left: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.paper.bold .inv-totals-row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 1.05rem; color: #94a3b8; }
.paper.bold .inv-totals-row.grand-total { border-top: 1px dashed rgba(255,255,255,0.2); margin-top: 20px; padding-top: 25px; font-size: 2.2rem; font-weight: 900; color: #fff; }
.paper.minimal { padding: 60px !important; background: #fff;}
.paper.minimal .inv-header { display: flex; flex-direction: column; align-items: center; border-bottom: 1px solid #000; padding-bottom: 40px; margin-bottom: 50px; text-align: center; }
.paper.minimal .inv-title { font-size: 1.6rem; letter-spacing: 8px; font-weight: 400; text-transform: uppercase; margin-bottom: 20px; color: #000;}
.paper.minimal .inv-logo { max-height: 90px; max-width: 220px; margin-bottom: 25px; filter: grayscale(100%); }
.paper.minimal .inv-meta { display: flex; gap: 30px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: #666; margin-top: 20px; }
.paper.minimal .inv-badge { position: absolute; left: 0; top: 0; display: inline-block; margin-top: 25px; border: 1px solid #000; padding: 8px 25px; font-size: 0.85rem; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; color: #000; pointer-events: none;}
.paper.minimal .inv-details { text-align: center; margin-bottom: 50px; }
.paper.minimal .inv-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #888; margin-bottom: 15px; font-weight: 400; }
.paper.minimal .inv-col p { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: #000; }
.paper.minimal .inv-table { width: 100%; border-collapse: collapse; margin-bottom: 50px; }
.paper.minimal .inv-table th { border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 20px 10px; font-weight: 600; letter-spacing: 2px; font-size: 0.8rem; text-transform: uppercase; color: #000; text-align: left; }
.paper.minimal .inv-table td { border-bottom: 1px solid #eee; padding: 20px 10px; font-size: 1.15rem; color: #333; }
.paper.minimal .inv-table th:last-child, .paper.minimal .inv-table td:last-child { text-align: right; }
.paper.minimal .inv-table th:nth-child(2), .paper.minimal .inv-table td:nth-child(2) { text-align: center; }
.paper.minimal .inv-totals-box { width: 350px; margin-left: auto; }
.paper.minimal .inv-totals-row { display: flex; justify-content: space-between; padding: 12px 10px; font-size: 1rem; color: #666; }
.paper.minimal .inv-totals-row.grand-total { border-top: 1px solid #000; border-bottom: 1px solid #000; margin-top: 20px; padding: 25px 10px; font-size: 1.8rem; font-weight: 600; color: #000; }
.paper.minimal .inv-footer { margin-top: auto; text-align: center; width: 100%; padding-top: 80px;}
.paper.minimal .inv-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: #000; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; display: inline-block;}
