.invoice-app-wrapper{min-height:100vh;padding:2rem 1rem}.invoice-app-container{max-width:900px;margin:0 auto}.invoice-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.08);flex-wrap:wrap;gap:1rem}.invoice-app-title{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0}.toolbar-controls{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.color-picker-wrapper{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0}.color-picker-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#4a5568;margin:0;cursor:pointer}.color-picker-input{width:40px;height:40px;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .2s ease}.color-picker-input:hover{border-color:#cbd5e0;transform:scale(1.05)}.color-value{font-size:.75rem;font-weight:600;color:#718096;font-family:Courier New,monospace;text-transform:uppercase}.download-pdf-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 2rem;background:#00f;color:#fff;border:none;border-radius:10px;font-weight:600;font-size:1rem;cursor:pointer;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,255,.3);transition:all .3s ease}.download-pdf-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,255,.4)}.download-pdf-btn:active{transform:translateY(0)}.invoice-document-wrapper{background:#fff;border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.08);overflow:hidden}.invoice-document{padding:3rem;background:#fff}.invoice-doc-header{display:flex;justify-content:space-between;padding-bottom:2.5rem;margin-bottom:2.5rem;border-bottom:3px solid #00f;gap:2rem}.invoice-company-section{flex:1 1;max-width:45%}.invoice-billto-address,.invoice-company-address{display:block;width:100%;font-size:.875rem;color:#4a5568;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .75rem;background:#fff;resize:none;line-height:1.5;transition:all .2s ease;overflow:hidden;min-height:68px;margin-bottom:.625rem}.invoice-billto-address:hover,.invoice-company-address:hover{border-color:#cbd5e0;background:#f9fafb}.invoice-billto-address:focus,.invoice-company-address:focus{outline:none;background:#fff;border-color:#00f;box-shadow:0 0 0 3px rgba(0,0,255,.08)}.expandable-fields{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.add-field-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;background:#f7fafc;border:1px dashed #cbd5e0;border-radius:6px;color:#4a5568;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s ease;align-self:flex-start}.add-field-btn:hover{background:#edf2f7;border-color:#00f;color:#00f}.add-field-btn i{font-size:.75rem}.field-with-remove{display:flex;gap:.5rem;align-items:center}.invoice-contact-field{flex:1 1;font-size:.875rem;color:#4a5568;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .75rem;background:#fff;transition:all .2s ease}.invoice-contact-field:hover{border-color:#cbd5e0;background:#f9fafb}.invoice-contact-field:focus{outline:none;background:#fff;border-color:#00f;box-shadow:0 0 0 3px rgba(0,0,255,.08)}.remove-field-btn{width:28px;height:28px;min-width:28px;border:none;background:#fee;color:#e53e3e;border-radius:6px;font-size:1.25rem;line-height:1;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.remove-field-btn:hover{background:#fc8181;color:#fff}.invoice-logo-upload-only{margin-bottom:1rem}.logo-upload-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f7fafc;border:2px dashed #cbd5e0;border-radius:8px;color:#4a5568;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.logo-upload-btn:hover{background:#edf2f7;border-color:#00f;color:#00f}.logo-upload-input{display:none}.invoice-logo-container{position:relative;display:inline-block;margin-bottom:1rem}.invoice-logo-image{max-width:120px;max-height:80px;object-fit:contain;border-radius:8px;border:2px solid #e2e8f0;padding:.5rem;background:#fff}.remove-logo-btn{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;border:none;background:#e53e3e;color:#fff;font-size:1.25rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(229,62,62,.3);transition:all .2s ease}.remove-logo-btn:hover{background:#c53030;transform:scale(1.1)}.invoice-logo-placeholder{width:64px;height:64px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;margin-bottom:1rem}.invoice-company-name{display:block;width:100%;font-size:1.25rem;font-weight:700;color:#1a202c;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .75rem;margin-bottom:.625rem;background:#fff;transition:all .2s ease}.invoice-company-name:hover{border-color:#cbd5e0;background:#f9fafb}.invoice-company-name:focus{outline:none;border-color:#00f;background:#fff;box-shadow:0 0 0 3px rgba(0,0,255,.08)}.invoice-company-details{display:block;width:100%;font-size:.875rem;color:#4a5568;border:1px solid #e2e8f0;border-radius:8px;padding:.75rem .875rem;background:#fff;resize:none;line-height:1.7;transition:all .2s ease;overflow:hidden;min-height:70px;margin-bottom:.5rem}.invoice-company-details:hover{border-color:#cbd5e0;background:#f9fafb}.invoice-company-details:focus{outline:none;background:#fff;border-color:#00f;box-shadow:0 0 0 3px rgba(0,0,255,.1)}.invoice-company-details::placeholder{color:#a0aec0}.invoice-title-section{flex:1 1;max-width:45%;text-align:right}.invoice-doc-title{font-size:2.5rem;font-weight:700;color:#00f;border:none;background:transparent;text-align:right;width:100%;margin-bottom:1.5rem;padding:.25rem 0}.invoice-doc-title:focus,.invoice-doc-title:hover{outline:none;background:#f7fafc;border-radius:4px;padding:.25rem .5rem}.invoice-details-grid{display:flex;flex-direction:column;gap:.75rem}.invoice-detail-row{display:flex;justify-content:flex-end;align-items:center;gap:1rem}.invoice-detail-row label{font-size:.875rem;color:#718096;font-weight:600;min-width:70px}.invoice-detail-row input{font-size:.875rem;color:#1a202c;font-weight:600;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .75rem;width:160px;transition:all .2s ease}.invoice-detail-row input:hover{border-color:#cbd5e0}.invoice-detail-row input:focus{outline:none;border-color:#00f;box-shadow:0 0 0 3px rgba(0,0,255,.1)}.invoice-recipient-section{display:grid;grid-template-columns:1fr 1fr;grid-gap:2rem;gap:2rem;margin-bottom:2.5rem}.recipient-column{display:flex;flex-direction:column}.section-title-with-remove{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.remove-section-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;background:#fee;border:1px solid #fc8181;border-radius:6px;color:#e53e3e;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease}.remove-section-btn:hover{background:#fc8181;color:#fff}.add-shipto-section{display:flex;align-items:center;justify-content:center;border:2px dashed #e2e8f0;border-radius:12px;padding:2rem;background:#f9fafb;transition:all .2s ease}.add-shipto-section:hover{border-color:#cbd5e0;background:#f7fafc}.add-section-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#fff;border:2px solid #e2e8f0;border-radius:8px;color:#4a5568;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.add-section-btn:hover{background:#00f;border-color:#00f;color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,255,.2)}.add-section-btn i{font-size:1rem}.invoice-section-title{font-size:.875rem;font-weight:700;color:#718096;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1rem}.invoice-address-fields,.invoice-company-section{display:flex;flex-direction:column;gap:.5rem}.invoice-billto-name{display:block;width:100%;font-size:1.125rem;font-weight:600;color:#1a202c;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem .75rem;margin-bottom:.625rem;background:#fff;transition:all .2s ease}.invoice-billto-name:hover{border-color:#cbd5e0;background:#f9fafb}.invoice-billto-name:focus{outline:none;border-color:#00f;background:#fff;box-shadow:0 0 0 3px rgba(0,0,255,.08)}.invoice-billto-details{display:block;width:100%;max-width:100%;font-size:.875rem;color:#4a5568;border:1px solid #e2e8f0;border-radius:8px;padding:.75rem .875rem;background:#fff;resize:none;line-height:1.7;transition:all .2s ease;overflow:hidden;min-height:70px;margin-bottom:.5rem}.invoice-billto-details:hover{border-color:#cbd5e0;background:#f9fafb}.invoice-billto-details:focus{outline:none;background:#fff;border-color:#00f;box-shadow:0 0 0 3px rgba(0,0,255,.1)}.invoice-billto-details::placeholder{color:#a0aec0}.invoice-items-section{margin-bottom:2.5rem}.invoice-items-table{width:100%;border-collapse:separate;border-spacing:0;margin-bottom:1.5rem}.invoice-items-table thead tr{background:#00f}.invoice-items-table th{padding:1rem;text-align:left;font-size:.75rem;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.05em}.invoice-items-table th:first-child{border-top-left-radius:8px}.invoice-items-table th:last-child{border-top-right-radius:8px}.invoice-items-table th.text-right{text-align:right}.invoice-items-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background-color .2s ease}.invoice-items-table tbody tr:hover{background:#f7fafc}.invoice-items-table tbody tr.row-alt{background:#f9fafb}.invoice-items-table tbody tr.row-alt:hover{background:#f3f4f6}.invoice-items-table td{padding:1rem;font-size:.875rem;color:#2d3748}.table-input{width:100%;border:1px solid transparent;background:transparent;padding:.5rem;font-size:.875rem;color:#2d3748;border-radius:4px;transition:all .2s ease}.table-input:hover{background:#fff;border-color:#e2e8f0}.table-input:focus{outline:none;background:#fff;border-color:#00f;box-shadow:0 0 0 3px rgba(0,0,255,.1)}.item-amount,.table-input.text-right{text-align:right}.item-amount{font-weight:700;color:#1a202c}.item-actions{width:50px;text-align:center}.remove-item-btn{width:32px;height:32px;border:none;background:#fee;color:#e53e3e;border-radius:6px;font-size:1.5rem;line-height:1;cursor:pointer;transition:all .2s ease}.remove-item-btn:hover{background:#fc8181;color:#fff}.add-item-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:2px solid #00f;background:#fff;color:#00f;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}.add-item-btn:hover{background:#00f;color:#fff}.invoice-totals-section{display:flex;justify-content:flex-end;margin-bottom:2.5rem}.totals-box{width:100%;max-width:350px;background:#f9fafb;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px rgba(0,0,0,.05)}.total-row{display:flex;justify-content:space-between;padding:.75rem 0;font-size:.9375rem;color:#4a5568;border-bottom:1px solid #e2e8f0}.total-row span:last-child{font-weight:600;color:#1a202c}.total-row-final{display:flex;justify-content:space-between;padding:1rem 1.25rem;margin:1rem -.5rem -.5rem;border-top:2px solid #00f;border-radius:0 0 8px 8px;font-size:1.125rem;font-weight:700}.total-row-final span:first-child{color:#1a202c}.total-row-final span:last-child{color:#00f;font-size:1.5rem}.invoice-notes-section{display:grid;grid-template-columns:1fr 1fr;grid-gap:2rem;gap:2rem;margin-bottom:2.5rem}.notes-column{display:flex;flex-direction:column}.notes-textarea{width:100%;padding:1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;color:#4a5568;line-height:1.6;resize:vertical;background:#f9fafb;transition:all .2s ease}.notes-textarea:hover{border-color:#cbd5e0;background:#fff}.notes-textarea:focus{outline:none;border-color:#00f;background:#fff;box-shadow:0 0 0 3px rgba(0,0,255,.1)}.invoice-footer{margin-top:3rem;padding-top:2rem;border-top:1px solid #e2e8f0;text-align:center}.invoice-footer p{margin:.25rem 0;font-size:.875rem;color:#a0aec0}@media (max-width:1024px){.invoice-document{padding:2rem}.invoice-doc-header{flex-direction:column}.invoice-company-section,.invoice-title-section{max-width:100%}.invoice-doc-title,.invoice-title-section{text-align:left}.invoice-detail-row{justify-content:flex-start}}@media (max-width:768px){.invoice-app-wrapper{padding:1rem .5rem}.invoice-toolbar{flex-direction:column;align-items:flex-start}.toolbar-controls{width:100%;justify-content:space-between}.color-picker-wrapper,.download-pdf-btn{flex:1 1}.invoice-recipient-section{grid-template-columns:1fr;gap:1.5rem}.invoice-document{padding:1.5rem}.invoice-items-table{font-size:.75rem}.invoice-items-table td,.invoice-items-table th{padding:.75rem .5rem}.invoice-notes-section{grid-template-columns:1fr;gap:1.5rem}.totals-box{max-width:100%}}@media (max-width:480px){.invoice-app-title{font-size:1.25rem}.toolbar-controls{flex-direction:column;width:100%}.color-picker-wrapper,.download-pdf-btn{width:100%;justify-content:center}.invoice-doc-title{font-size:2rem}}@media print{.add-item-btn,.invoice-toolbar,.logo-upload-label,.remove-item-btn,.remove-logo-btn{display:none!important}.invoice-app-wrapper{background:#fff;padding:0}.invoice-document-wrapper{box-shadow:none}.invoice-document{padding:0}.invoice-company-name,.invoice-doc-title,.notes-textarea,.table-input{border:none!important;background:transparent!important}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.invoice-document-wrapper{animation:fadeIn .5s ease}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}