:root{--invoice-brand:#f58534;--invoice-brand-dark:#dc6d20;--invoice-brand-soft:#fff5ed;--invoice-text:#252525;--invoice-text-soft:#62666a;--invoice-muted:#7b7f83;--invoice-border:#e3e6e9;--invoice-background:#f5f6f8}.invoice-page-row{margin-top:30px;padding-left:10px;padding-right:10px}.invoice-actions{max-width:1100px;margin:0 auto 15px auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.invoice-document{width:100%;max-width:1100px;margin:0 auto 40px auto;background:#fff;border-radius:8px;-webkit-box-shadow:0 5px 25px rgba(0,0,0,.08);box-shadow:0 5px 25px rgba(0,0,0,.08);overflow:hidden}.invoice-content{position:relative;padding:0 36px 28px 36px;background:#fff;color:var(--invoice-text);font-size:14px;line-height:1.5}.invoice-brand-bar{height:7px;margin-left:-36px;margin-right:-36px;margin-bottom:24px;background:var(--invoice-brand)}.invoice-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:40px;padding-bottom:20px;border-bottom:1px solid var(--invoice-border)}.invoice-company{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.invoice-logo-area{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:60px;margin-bottom:10px}.invoice-logo{display:block;width:auto;height:auto;max-width:360px;max-height:72px;-o-object-fit:contain;object-fit:contain;-o-object-position:left center;object-position:left center}.company-name{margin-top:3px;color:var(--invoice-text);font-size:20px;font-weight:800;line-height:1.25}.company-contact{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-column-gap:18px;-moz-column-gap:18px;column-gap:18px;row-gap:3px;margin-top:8px;color:var(--invoice-text-soft);font-size:12px}.contact-label{color:var(--invoice-text);font-weight:700}.company-location{-ms-flex-preferred-size:100%;flex-basis:100%}.invoice-identity{width:210px;-webkit-box-flex:0;-ms-flex:0 0 210px;flex:0 0 210px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;text-align:right}.invoice-title-text{color:var(--invoice-brand);font-size:36px;font-weight:800;line-height:1;letter-spacing:1.5px}.invoice-number{margin-top:9px;color:var(--invoice-text);font-size:17px;font-weight:700}.invoice-status{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-width:95px;margin-top:10px;padding:6px 15px;border-radius:20px;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.status-paid{background:#e8f7ee;color:#168348}.status-partial{background:#fff3dc;color:#9a6200}.status-unpaid{background:#fdeaea;color:#c53030}.invoice-information{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:50px;padding:22px 0}.invoice-customer{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:0}.invoice-details{width:44%;-ms-flex-negative:0;flex-shrink:0}.section-label{margin-bottom:8px;color:var(--invoice-brand);font-size:12px;font-weight:800;line-height:1.2;letter-spacing:.8px;text-transform:uppercase}.customer-name{color:var(--invoice-text);font-size:18px;font-weight:800;line-height:1.3}.customer-branch{margin-top:4px;color:var(--invoice-text-soft);font-size:14px;font-weight:600}.customer-contact{margin-top:6px;color:var(--invoice-muted);font-size:13px}.customer-contact i{margin-right:4px;color:var(--invoice-brand)}.invoice-details-table{width:100%;border-collapse:collapse}.invoice-details-table td{padding:4px 0;vertical-align:top}.invoice-details-table td:first-child{width:45%;color:var(--invoice-muted);font-size:13px}.invoice-details-table td:last-child{color:var(--invoice-text);font-size:13px;font-weight:700;text-align:right}.invoice-items-section{width:100%}.invoice-items-table{width:100%;border-collapse:collapse;table-layout:fixed}.invoice-items-table thead{display:table-header-group}.invoice-items-table th{padding:11px 15px;background:var(--invoice-brand);color:#fff;font-size:12px;font-weight:800;letter-spacing:.5px;text-align:left;text-transform:uppercase}.invoice-items-table th:first-child{width:72%}.invoice-items-table th:last-child{width:28%;text-align:right}.invoice-items-table td{padding:15px;border-left:1px solid var(--invoice-border);border-right:1px solid var(--invoice-border);border-bottom:1px solid var(--invoice-border);vertical-align:top}.invoice-item-category{color:var(--invoice-text);font-size:14px;font-weight:800}.invoice-item-description{margin-top:4px;color:var(--invoice-text-soft);font-size:13px;line-height:1.5;white-space:pre-line;word-break:break-word}.invoice-item-amount{color:var(--invoice-text);font-size:15px;font-weight:800;text-align:right;white-space:nowrap}.invoice-totals-section{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:16px}.invoice-totals-spacer{-webkit-box-flex:1;-ms-flex:1;flex:1}.invoice-totals{width:48%}.invoice-balance-row,.invoice-total-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:15px;padding:8px 11px}.invoice-total-row{border-bottom:1px solid var(--invoice-border)}.invoice-total-row span{color:var(--invoice-text-soft);font-size:13px}.invoice-total-row strong{color:var(--invoice-text);font-size:14px;white-space:nowrap}.amount-paid-row strong{color:#168348}.invoice-balance-row{margin-top:1px;padding-top:10px;padding-bottom:10px;background:var(--invoice-brand-soft);border-top:2px solid var(--invoice-brand);border-bottom:2px solid var(--invoice-brand)}.invoice-balance-row span{color:var(--invoice-text);font-size:14px;font-weight:800}.invoice-balance-row strong{color:var(--invoice-brand);font-size:18px;font-weight:800;white-space:nowrap}.payment-section{margin-top:22px}.payment-options{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.payment-card{width:100%;min-width:0;padding:11px 12px;background:#fafafa;border:1px solid var(--invoice-border);border-top:3px solid var(--invoice-brand);border-radius:5px;-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}.payment-card-header{min-width:0;padding-bottom:7px;margin-bottom:8px;border-bottom:1px solid #e8e8e8}.payment-card-header,.payment-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.payment-icon{width:28px;height:28px;min-width:28px;margin-right:8px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background:var(--invoice-brand-soft);color:var(--invoice-brand)}.payment-icon,.payment-name{font-size:14px;font-weight:800}.payment-name{min-width:0;color:var(--invoice-text);line-height:1.3;overflow-wrap:anywhere}.payment-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:8px;margin-bottom:4px}.payment-row:last-child{margin-bottom:0}.payment-row span{-ms-flex-negative:0;flex-shrink:0;color:var(--invoice-muted);font-size:11px;white-space:nowrap}.payment-row strong{min-width:0;color:var(--invoice-text);font-size:12px;text-align:right;word-break:break-word;overflow-wrap:anywhere}.payment-row .payment-highlight{color:var(--invoice-brand);font-size:13px}.payment-options-empty{width:100%;gap:10px;padding:13px 15px;background:#fafafa;border:1px solid var(--invoice-border);border-left:4px solid var(--invoice-brand);border-radius:0 5px 5px 0;color:var(--invoice-text-soft);font-size:13px;line-height:1.5}.payment-options-empty,.payment-options-empty-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.payment-options-empty-icon{width:30px;height:30px;min-width:30px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:var(--invoice-brand-soft);border-radius:50%;color:var(--invoice-brand)}.payment-note{margin-top:17px;padding:11px 14px;background:#fafafa;border:1px solid #eee;border-left:4px solid var(--invoice-brand);border-radius:0 5px 5px 0}.payment-note-title{margin-bottom:3px;color:var(--invoice-text);font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.payment-note-text{color:var(--invoice-text-soft);font-size:13px;line-height:1.45}.payment-note-text strong{color:var(--invoice-text)}.invoice-footer{margin-top:20px;padding-top:13px;border-top:1px solid var(--invoice-border);text-align:center}.thank-you{color:var(--invoice-brand);font-size:16px;font-weight:800}.footer-note{margin-top:3px;color:var(--invoice-muted);font-size:12px}.powered-by{margin-top:7px;color:#999;font-size:11px}.powered-by strong{color:#666}.pdf-generating .d-print-none,.pdf-generating .payment-option-hidden-on-print{display:none!important}.pdf-loading-overlay{position:fixed;z-index:99999;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:rgba(0,0,0,.65)}@media screen and (max-width:768px){.invoice-page-row{margin-top:15px}.invoice-content{padding-left:18px;padding-right:18px}.invoice-brand-bar{margin-left:-18px;margin-right:-18px}.invoice-actions{-ms-flex-wrap:wrap;flex-wrap:wrap;gap:6px}.invoice-header{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:18px}.invoice-identity{width:100%;-ms-flex-preferred-size:auto;flex-basis:auto;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;text-align:left}.invoice-title-text{font-size:30px}.invoice-logo{max-width:280px}.invoice-information{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:20px}.invoice-details{width:100%}.invoice-totals-spacer{display:none}.invoice-totals{width:100%}.payment-options{grid-template-columns:1fr}}@media screen and (max-width:480px){.invoice-content{padding-left:14px;padding-right:14px}.invoice-brand-bar{margin-left:-14px;margin-right:-14px}.company-contact{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:3px}.invoice-logo{max-width:240px}.invoice-title-text{font-size:27px}.invoice-number{font-size:15px}.invoice-items-table td,.invoice-items-table th{padding:10px 8px}.invoice-item-amount{font-size:13px}.invoice-balance-row,.invoice-total-row{padding-left:7px;padding-right:7px}}@media print{@page{size:A4 portrait;margin:10mm 12mm}*{-webkit-box-sizing:border-box;box-sizing:border-box}body,html{margin:0!important;padding:0!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.d-print-none,.footer,.left-side-menu,.navbar-custom,.page-header{display:none!important}.col-lg-12,.container-fluid,.invoice-page-row,.main-content,.page-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.invoice-document{width:100%!important;max-width:none!important;margin:0!important;border:none!important;border-radius:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:visible!important}.invoice-content{width:100%!important;padding:8px 8px 4px 8px!important;color:#252525!important;font-size:14px!important}.invoice-brand-bar{height:6px;margin:-8px -8px 16px -8px}.invoice-logo{max-width:340px;max-height:68px}.invoice-header{gap:28px;padding-bottom:15px}.invoice-information{padding:16px 0}.payment-section{margin-top:17px}.payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.payment-card{min-width:0;padding:9px 10px}.payment-card-header{margin-bottom:6px;padding-bottom:5px}.payment-icon{width:25px;height:25px;min-width:25px}.payment-icon,.payment-name{font-size:12px}.payment-row{gap:5px;margin-bottom:3px}.payment-row span,.payment-row strong{font-size:10px}.payment-row .payment-highlight{font-size:11px}.payment-options-empty{padding:9px 11px;font-size:11px}.payment-options-empty-icon{width:25px;height:25px;min-width:25px}.payment-note{margin-top:13px}.invoice-footer{margin-top:15px;padding-top:10px}.invoice-footer,.invoice-header,.invoice-information,.invoice-items-table,.invoice-totals-section,.payment-card,.payment-note,.payment-section{-webkit-column-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid;page-break-inside:avoid}.invoice-balance-row,.invoice-brand-bar,.invoice-items-table th,.invoice-status,.payment-card,.payment-icon,.payment-note,.payment-options-empty,.payment-options-empty-icon{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}