.invoice-page{background:var(--bg-primary,#0b0c10);min-height:100vh;color:var(--text-primary,#fff);font-family:var(--font-main,"Inter", sans-serif)}.invoice-main{max-width:1150px;margin:0 auto;padding:2rem 1rem 5rem}.invoice-header-banner{text-align:center;margin-bottom:2rem}.invoice-header-banner h1{background:linear-gradient(135deg,#fff 0%,#00f2fe 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin-bottom:.5rem;font-size:2.3rem;font-weight:800}.invoice-header-banner p{color:#a0aec0;max-width:650px;margin:0 auto;font-size:1rem}.invoice-toolbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff08;border:1px solid #ffffff14;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1rem 1.5rem;display:flex}.toolbar-group{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.toolbar-label{color:#a0aec0;font-size:.85rem;font-weight:600}.select-custom{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;padding:.5rem .8rem;font-size:.85rem}.select-custom option{color:#fff;background:#121319}.btn-invoice{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:.5rem;padding:.55rem 1.1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-invoice-primary{color:#000;background:linear-gradient(135deg,#00f2fe 0%,#4facfe 100%);box-shadow:0 4px 15px #00f2fe40}.btn-invoice-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00f2fe66}.btn-invoice-secondary{color:#fff;background:#ffffff14;border:1px solid #ffffff1f}.btn-invoice-secondary:hover{background:#ffffff26}.invoice-paper{color:#0f172a;background:#fff;border-radius:16px;padding:3.5rem;transition:all .3s;position:relative;overflow:hidden;box-shadow:0 25px 60px #00000073}.status-stamp{border:4px stroke;letter-spacing:3px;text-transform:uppercase;opacity:.85;-webkit-user-select:none;user-select:none;pointer-events:none;z-index:10;border-style:double;border-radius:8px;padding:.4rem 1.2rem;font-size:1.6rem;font-weight:900;position:absolute;top:40px;right:40px;transform:rotate(-12deg)}.stamp-PAID{color:#16a34a;background:#16a34a0d;border-color:#16a34a}.stamp-PENDING{color:#d97706;background:#d977060d;border-color:#d97706}.stamp-OVERDUE{color:#dc2626;background:#dc26260d;border-color:#dc2626}.stamp-DRAFT{color:#64748b;background:#64748b0d;border-color:#64748b}.invoice-paper.theme-corporate{border-top:12px solid #1e3a8a}.invoice-paper.theme-corporate .items-table th{color:#fff;background:#1e3a8a}.invoice-paper.theme-creative{color:#f8fafc;background:#0f172a}.invoice-paper.theme-creative input,.invoice-paper.theme-creative textarea,.invoice-paper.theme-creative select{color:#fff;background:#ffffff0d;border-color:#ffffff26}.invoice-paper.theme-creative .items-table th{color:#00f2fe;background:#ffffff14}.invoice-paper.theme-creative .invoice-title-large{color:#00f2fe}.invoice-paper.theme-receipt{border-radius:4px;max-width:450px;margin:0 auto;padding:2rem;font-family:Courier New,Courier,monospace}.invoice-paper input,.invoice-paper textarea,.invoice-paper select{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:.45rem .7rem;font-family:inherit;font-size:.9rem;transition:all .2s}.invoice-paper input:focus,.invoice-paper textarea:focus,.invoice-paper select:focus{background:#fff;border-color:#0284c7;outline:none;box-shadow:0 0 0 3px #0284c726}.invoice-top-grid{grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem;display:grid}@media (max-width:768px){.invoice-top-grid{grid-template-columns:1fr}}.company-logo-upload{cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;width:160px;height:85px;transition:all .2s;display:flex;position:relative;overflow:hidden}.company-logo-upload:hover{background:#f1f5f9;border-color:#0284c7}.company-logo-img{object-fit:contain;width:100%;height:100%}.invoice-title-large{color:#0f172a;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:.5rem;font-size:2.4rem;font-weight:900}.invoice-details-grid{border-top:2px solid #e2e8f0;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2.5rem;padding-top:1.5rem;display:grid}@media (max-width:768px){.invoice-details-grid{grid-template-columns:1fr}}.section-label{text-transform:uppercase;color:#64748b;letter-spacing:.6px;margin-bottom:.4rem;font-size:.75rem;font-weight:800}.items-table{border-collapse:collapse;width:100%;margin-bottom:1.5rem}.items-table th{color:#334155;text-transform:uppercase;text-align:left;background:#f1f5f9;border-bottom:2px solid #cbd5e1;padding:.75rem 1rem;font-size:.8rem;font-weight:700}.items-table td{vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:.75rem 1rem}.btn-remove-row{color:#ef4444;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem}.btn-remove-row:hover{background:#fee2e2}.invoice-bottom-grid{grid-template-columns:1.2fr 1fr;gap:2rem;margin-top:2rem;display:grid}@media (max-width:768px){.invoice-bottom-grid{grid-template-columns:1fr}}.summary-table{width:100%}.summary-row{color:#475569;justify-content:space-between;align-items:center;padding:.45rem 0;font-size:.95rem;display:flex}.summary-row.total-row{color:#0f172a;border-top:2px solid #0f172a;margin-top:.5rem;padding-top:.75rem;font-size:1.3rem;font-weight:800}.deposit-row{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-top:.5rem;padding:.6rem .8rem}.trust-footer-grid{border-top:1px dashed #cbd5e1;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem;padding-top:1.5rem;display:grid}@media (max-width:768px){.trust-footer-grid{grid-template-columns:1fr}}.signature-box{cursor:pointer;background:#fafafa;border:1px dashed #cbd5e1;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;height:80px;display:flex;overflow:hidden}.signature-img{object-fit:contain;max-height:70px}@media print{body *{visibility:hidden}.invoice-paper,.invoice-paper *{visibility:visible}.invoice-paper{width:100%;box-shadow:none;padding:0;position:absolute;top:0;left:0}.btn-remove-row,.btn-add-row,.invoice-toolbar,.company-logo-upload input,.signature-box input{display:none!important}}
