:root{--theme-bg-page: #F2F2F2;--theme-bg-card: #FFFFFF;--theme-bg-card-alt: #F9FAFB;--theme-bg-input: #F2F2F2;--theme-bg-hover: #F3F4F6;--theme-bg-nav: #F2F2F2;--theme-bg-modal-overlay: rgba(0, 0, 0, .5);--theme-bg-table-header: #F2F2F2;--theme-bg-table-row-alt: #F9FAFB;--theme-text-primary: #1E1E1E;--theme-text-secondary: #4B5563;--theme-text-tertiary: #6B7280;--theme-text-muted: #9CA3AF;--theme-text-faint: #D1D5DB;--theme-border-primary: #E5E7EB;--theme-border-secondary: #D1D5DB;--theme-border-light: #F3F4F6;--theme-accent: #D52B1E;--theme-accent-hover: #B02318;--theme-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--theme-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--theme-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--theme-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25)}[data-theme=dark]{--theme-bg-page: #0f172a;--theme-bg-card: #1e293b;--theme-bg-card-alt: #1e293b;--theme-bg-input: #334155;--theme-bg-hover: #334155;--theme-bg-nav: #334155;--theme-bg-modal-overlay: rgba(0, 0, 0, .7);--theme-bg-table-header: #1e293b;--theme-bg-table-row-alt: #1e293b;--theme-text-primary: #f1f5f9;--theme-text-secondary: #cbd5e1;--theme-text-tertiary: #94a3b8;--theme-text-muted: #64748b;--theme-text-faint: #475569;--theme-border-primary: #334155;--theme-border-secondary: #475569;--theme-border-light: #1e293b;--theme-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .3);--theme-shadow: 0 1px 3px 0 rgba(0, 0, 0, .4), 0 1px 2px -1px rgba(0, 0, 0, .3);--theme-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .4), 0 4px 6px -4px rgba(0, 0, 0, .3);--theme-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .6)}[data-theme=dark] body{background-color:var(--theme-bg-page)!important;color:var(--theme-text-primary)!important}[data-theme=dark] #root{background-color:var(--theme-bg-page);color:var(--theme-text-primary)}[data-theme=dark] .bg-white{background-color:var(--theme-bg-card)!important}[data-theme=dark] .bg-gray-50{background-color:var(--theme-bg-page)!important}[data-theme=dark] .bg-gray-100{background-color:#1e293b!important}[data-theme=dark] .bg-gray-200{background-color:#334155!important}[data-theme=dark] .bg-\[\#F2F2F2\]{background-color:var(--theme-bg-input)!important}[data-theme=dark] .bg-\[\#FFFFFF\]{background-color:var(--theme-bg-card)!important}[data-theme=dark] .bg-red-50{background-color:#991b1b26!important}[data-theme=dark] .bg-green-50{background-color:#14532d26!important}[data-theme=dark] .bg-blue-50{background-color:#1e3a8a26!important}[data-theme=dark] .bg-yellow-50{background-color:#713f1226!important}[data-theme=dark] .bg-orange-50{background-color:#7c2d1226!important}[data-theme=dark] .bg-purple-50{background-color:#581c8726!important}[data-theme=dark] .bg-indigo-50{background-color:#312e8126!important}[data-theme=dark] .bg-red-100{background-color:#991b1b40!important}[data-theme=dark] .bg-green-100{background-color:#14532d40!important}[data-theme=dark] .bg-blue-100{background-color:#1e3a8a40!important}[data-theme=dark] .bg-yellow-100{background-color:#713f1240!important}[data-theme=dark] .bg-orange-100{background-color:#7c2d1240!important}[data-theme=dark] .bg-purple-100{background-color:#581c8740!important}[data-theme=dark] .bg-emerald-100{background-color:#064e3b40!important}[data-theme=dark] .bg-indigo-100{background-color:#312e8140!important}[data-theme=dark] .bg-teal-100{background-color:#134e4a40!important}[data-theme=dark] .bg-pink-100{background-color:#83184340!important}[data-theme=dark] .from-red-50{--tw-gradient-from: rgba(153, 27, 27, .15) !important}[data-theme=dark] .to-orange-50{--tw-gradient-to: rgba(124, 45, 18, .15) !important}[data-theme=dark] .from-white{--tw-gradient-from: #1e293b !important}[data-theme=dark] .to-white{--tw-gradient-to: #1e293b !important}[data-theme=dark] .from-gray-50{--tw-gradient-from: #0f172a !important}[data-theme=dark] .to-gray-50{--tw-gradient-to: #0f172a !important}[data-theme=dark] .text-\[\#1E1E1E\]{color:var(--theme-text-primary)!important}[data-theme=dark] .text-gray-900{color:#f1f5f9!important}[data-theme=dark] .text-gray-800{color:#e2e8f0!important}[data-theme=dark] .text-gray-700{color:#cbd5e1!important}[data-theme=dark] .text-gray-600,[data-theme=dark] .text-gray-500{color:#94a3b8!important}[data-theme=dark] .text-gray-400{color:#64748b!important}[data-theme=dark] .text-gray-300{color:#94a3b8!important}[data-theme=dark] .text-black{color:#f1f5f9!important}[data-theme=dark] .text-red-700{color:#fca5a5!important}[data-theme=dark] .text-red-600{color:#f87171!important}[data-theme=dark] .text-red-800{color:#fca5a5!important}[data-theme=dark] .text-green-700{color:#86efac!important}[data-theme=dark] .text-green-600{color:#4ade80!important}[data-theme=dark] .text-green-800{color:#86efac!important}[data-theme=dark] .text-blue-700{color:#93c5fd!important}[data-theme=dark] .text-blue-600{color:#60a5fa!important}[data-theme=dark] .text-blue-800{color:#93c5fd!important}[data-theme=dark] .text-yellow-700{color:#fde047!important}[data-theme=dark] .text-yellow-600{color:#facc15!important}[data-theme=dark] .text-yellow-800{color:#fde047!important}[data-theme=dark] .text-orange-700,[data-theme=dark] .text-orange-800{color:#fdba74!important}[data-theme=dark] .text-purple-700,[data-theme=dark] .text-purple-800{color:#c4b5fd!important}[data-theme=dark] .text-emerald-700,[data-theme=dark] .text-emerald-800{color:#6ee7b7!important}[data-theme=dark] .text-indigo-700,[data-theme=dark] .text-indigo-800{color:#a5b4fc!important}[data-theme=dark] .text-pink-700,[data-theme=dark] .text-pink-800{color:#f9a8d4!important}[data-theme=dark] .text-teal-700,[data-theme=dark] .text-teal-800{color:#5eead4!important}[data-theme=dark] .border-gray-100{border-color:#1e293b!important}[data-theme=dark] .border-gray-200{border-color:#334155!important}[data-theme=dark] .border-gray-300{border-color:#475569!important}[data-theme=dark] .border-gray-400{border-color:#64748b!important}[data-theme=dark] .border-\[\#E5E5E5\]{border-color:#334155!important}[data-theme=dark] .divide-gray-50>:not([hidden])~:not([hidden]){border-color:#1e293b!important}[data-theme=dark] .divide-gray-100>:not([hidden])~:not([hidden]){border-color:#1e293b!important}[data-theme=dark] .divide-gray-200>:not([hidden])~:not([hidden]){border-color:#334155!important}[data-theme=dark] .border-red-200{border-color:#ef44444d!important}[data-theme=dark] .border-green-200{border-color:#22c55e4d!important}[data-theme=dark] .border-blue-200{border-color:#3b82f64d!important}[data-theme=dark] .border-yellow-200{border-color:#eab3084d!important}[data-theme=dark] .border-orange-200{border-color:#f973164d!important}[data-theme=dark] .border-purple-200{border-color:#a855f74d!important}[data-theme=dark] .ring-gray-200{--tw-ring-color: #334155 !important}[data-theme=dark] .ring-gray-300{--tw-ring-color: #475569 !important}[data-theme=dark] input:not([type=checkbox]):not([type=radio]):not([type=range]),[data-theme=dark] select,[data-theme=dark] textarea{background-color:var(--theme-bg-input)!important;color:var(--theme-text-primary)!important;border-color:var(--theme-border-primary)!important}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:var(--theme-text-muted)!important}[data-theme=dark] select option{background-color:var(--theme-bg-card)!important;color:var(--theme-text-primary)!important}[data-theme=dark] input[type=checkbox],[data-theme=dark] input[type=radio]{border-color:var(--theme-border-secondary)!important;background-color:var(--theme-bg-input)!important}[data-theme=dark] input[type=file]{color:var(--theme-text-primary)!important}[data-theme=dark] input:focus,[data-theme=dark] select:focus,[data-theme=dark] textarea:focus{border-color:var(--theme-accent)!important;box-shadow:0 0 0 3px #d52b1e26!important}[data-theme=dark] input:disabled,[data-theme=dark] select:disabled,[data-theme=dark] textarea:disabled{background-color:#1e293b!important;color:var(--theme-text-muted)!important;opacity:.6}[data-theme=dark] .app-card{background-color:var(--theme-bg-card)!important;border-color:var(--theme-border-primary)!important}[data-theme=dark] .app-dark{background-color:var(--theme-bg-page)!important}[data-theme=dark] table{color:var(--theme-text-primary)}[data-theme=dark] thead{background-color:var(--theme-bg-table-header)!important}[data-theme=dark] th{color:var(--theme-text-muted)!important;background-color:var(--theme-bg-table-header)!important}[data-theme=dark] td{color:var(--theme-text-primary)!important;border-color:var(--theme-border-light)!important}[data-theme=dark] tbody tr{background-color:var(--theme-bg-card)!important}[data-theme=dark] tbody tr:hover{background-color:var(--theme-bg-hover)!important}[data-theme=dark] tbody tr:nth-child(2n){background-color:#1e293b80!important}[data-theme=dark] .bg-black\/50{background-color:var(--theme-bg-modal-overlay)!important}[data-theme=dark] .bg-black\/40{background-color:#0009!important}[data-theme=dark] .shadow-sm{box-shadow:var(--theme-shadow-sm)!important}[data-theme=dark] .shadow,[data-theme=dark] .shadow-md{box-shadow:var(--theme-shadow)!important}[data-theme=dark] .shadow-lg,[data-theme=dark] .shadow-xl{box-shadow:var(--theme-shadow-lg)!important}[data-theme=dark] .shadow-2xl{box-shadow:var(--theme-shadow-2xl)!important}[data-theme=dark] .impressum-content,[data-theme=dark] .agb-content,[data-theme=dark] .impressum-content h1,[data-theme=dark] .impressum-content h2,[data-theme=dark] .impressum-content h3,[data-theme=dark] .agb-content h1,[data-theme=dark] .agb-content h2,[data-theme=dark] .agb-content h3{color:var(--theme-text-primary)!important}[data-theme=dark] .impressum-content p,[data-theme=dark] .impressum-content li,[data-theme=dark] .impressum-content strong,[data-theme=dark] .agb-content p,[data-theme=dark] .agb-content li,[data-theme=dark] .agb-content strong{color:var(--theme-text-secondary)!important}[data-theme=dark] header{background-color:var(--theme-bg-card)!important;border-color:var(--theme-border-primary)!important}[data-theme=dark] .sticky{background-color:var(--theme-bg-card)!important}[data-theme=dark] .hover\:bg-gray-50:hover{background-color:var(--theme-bg-hover)!important}[data-theme=dark] .hover\:bg-gray-100:hover{background-color:#334155!important}[data-theme=dark] .hover\:bg-white:hover{background-color:var(--theme-bg-card)!important}[data-theme=dark] .hover\:text-\[\#1E1E1E\]:hover{color:var(--theme-text-primary)!important}[data-theme=dark] .hover\:text-gray-900:hover{color:#f1f5f9!important}[data-theme=dark] .hover\:text-gray-700:hover{color:#cbd5e1!important}[data-theme=dark] .hover\:text-black:hover{color:#f1f5f9!important}[data-theme=dark] .hover\:border-gray-300:hover{border-color:#475569!important}[data-theme=dark] .hover\:border-gray-400:hover{border-color:#64748b!important}[data-theme=dark] .focus\:ring-gray-200:focus{--tw-ring-color: #334155 !important}[data-theme=dark] .focus\:border-gray-300:focus{border-color:#475569!important}[data-theme=dark] ::-webkit-scrollbar{width:8px;height:8px}[data-theme=dark] ::-webkit-scrollbar-track{background:var(--theme-bg-page)}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#475569;border-radius:4px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#64748b}[data-theme=dark] *{scrollbar-color:#475569 var(--theme-bg-page)}body,#root,header,.app-card,input,select,textarea,table,th,td,tr,.bg-white,.bg-gray-50,.bg-gray-100{transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}[data-theme=dark] .shadow-inner{box-shadow:inset 0 2px 4px #0000004d!important}[data-theme=dark] .gold-text,[data-theme=dark] .swiss-red-text{color:#d52b1e!important}[data-theme=dark] .border-b-2.border-\[\#D52B1E\]{border-color:#d52b1e!important}[data-theme=dark] .bg-\[\#F2F2F2\].flex.items-center.justify-center{background-color:var(--theme-bg-input)!important}[data-theme=dark] pre,[data-theme=dark] code{background-color:#0f172a!important;color:#e2e8f0!important}[data-theme=dark] hr{border-color:var(--theme-border-primary)!important}[data-theme=dark] details{background-color:var(--theme-bg-card)!important;border-color:var(--theme-border-primary)!important}[data-theme=dark] summary{color:var(--theme-text-primary)!important}[data-theme=dark] .recharts-cartesian-grid line{stroke:#334155!important}[data-theme=dark] .recharts-text{fill:var(--theme-text-tertiary)!important}[data-theme=dark] .recharts-tooltip-wrapper .recharts-default-tooltip{background-color:var(--theme-bg-card)!important;border-color:var(--theme-border-primary)!important;color:var(--theme-text-primary)!important}[data-theme=dark] .recharts-legend-item-text{color:var(--theme-text-secondary)!important}[data-theme=dark] progress{background-color:var(--theme-bg-input)!important}[data-theme=dark] progress::-webkit-progress-bar{background-color:var(--theme-bg-input)!important}[data-theme=dark] .backdrop-blur-sm{background-color:var(--theme-bg-modal-overlay)!important}[data-theme=dark] .animate-pulse{background-color:#1e293b!important}[data-theme=dark] .swiss-red-bg{background-color:#d52b1e!important}[data-theme=dark] .bg-\[\#D52B1E\] .text-white,[data-theme=dark] .swiss-red-bg .text-white,[data-theme=dark] .bg-red-600 .text-white{color:#fff!important}.modal-large{max-width:900px!important;max-height:90vh;overflow-y:auto}.invoice-form{display:flex;flex-direction:column;gap:2rem;padding:1.5rem}.form-section{border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;background-color:#f9f9f9}.form-section h3{margin:0 0 1rem;font-size:1.1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.form-group{display:flex;flex-direction:column}.form-control:disabled{background-color:#f0f0f0;color:#999;cursor:not-allowed}.form-control-sm{padding:.5rem;font-size:.9rem}.line-items{display:flex;flex-direction:column;gap:1rem}.line-items-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #ddd;border-radius:4px;overflow:hidden}.line-items-table thead{background-color:#f5f5f5;border-bottom:2px solid #ddd}.line-items-table th{padding:.75rem;text-align:left;font-weight:600;color:#333;font-size:.9rem}.line-items-table td{padding:.75rem;border-bottom:1px solid #eee}.line-items-table tbody tr:last-child td{border-bottom:none}.line-items-table .total-cell{font-weight:600;background-color:#f9f9f9;text-align:right}.line-items-table input,.line-items-table select{width:100%}.totals{background:#fff;border:1px solid #ddd;border-radius:4px;padding:1rem;display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.total-row{display:flex;justify-content:space-between;font-size:.95rem;padding:.5rem 0;border-bottom:1px solid #eee}.total-row span:last-child{font-weight:600;text-align:right}.total-row.total-final{border-bottom:none;border-top:2px solid #007bff;padding-top:1rem;margin-top:.5rem;font-size:1.1rem;color:#007bff}.btn-small{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background-color:#5a6268}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background-color:#c82333}.btn-danger:disabled{background-color:#ccc;cursor:not-allowed}@media(max-width:768px){.modal-large{max-width:95vw!important}.form-grid{grid-template-columns:1fr}.line-items-table{font-size:.85rem}.line-items-table th,.line-items-table td{padding:.5rem}.modal-footer{flex-direction:column-reverse}.modal-footer button{width:100%}}[data-theme=dark] .form-control:disabled{background-color:#0f172a;color:#64748b}[data-theme=dark] .line-items-table{background:#1e293b;border-color:#334155}[data-theme=dark] .line-items-table thead{background-color:#0f172a;border-bottom-color:#334155}[data-theme=dark] .line-items-table th{color:#94a3b8}[data-theme=dark] .line-items-table td{border-bottom-color:#1e293b;color:#e2e8f0}[data-theme=dark] .line-items-table .total-cell{background-color:#0f172a}[data-theme=dark] .totals{background:#1e293b;border-color:#334155}[data-theme=dark] .total-row{border-bottom-color:#334155;color:#e2e8f0}[data-theme=dark] .total-row.total-final{border-top-color:#3b82f6;color:#93c5fd}[data-theme=dark] .btn-danger:disabled{background-color:#475569}.payment-modal{max-width:700px}.payment-form{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem}.invoice-info{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.info-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #eee}.info-row:last-child{border-bottom:none}.info-row.highlight{background-color:#f0f7ff;padding:.75rem;border-radius:4px;border:1px solid #b3d9ff;font-weight:600}.info-row .label{color:#666;font-size:.9rem}.info-row .value{color:#333;font-weight:500}.info-row .value.amount{color:#007bff;font-weight:600;font-size:1rem}.input-with-max{display:flex;gap:.5rem;align-items:center}.input-with-max .form-control{flex:1}.btn-link{background:none;border:none;color:#007bff;cursor:pointer;padding:.5rem 1rem;font-size:.85rem;text-decoration:underline;white-space:nowrap}.btn-link:hover{color:#0056b3}.payment-summary{background:linear-gradient(135deg,#f0f7ff,#e8f2ff);border:2px solid #b3d9ff;border-radius:8px;padding:1rem}.payment-summary h3{margin:0 0 1rem;color:#0056b3;border-bottom:2px solid #b3d9ff;padding-bottom:.5rem}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;font-size:.95rem}.summary-row .amount{font-weight:600;color:#007bff;font-size:1rem}.summary-row .amount.highlight{color:#0056b3;font-size:1.1rem}.summary-row .amount.warning{color:#ff9800}.summary-row .amount.success{color:#4caf50}.summary-row.total{border-top:2px solid #b3d9ff;padding-top:1rem;margin-top:.5rem}.payment-history{overflow-x:auto;background:#fff;border:1px solid #ddd;border-radius:4px}.history-table th{padding:.75rem;text-align:left;font-weight:600;color:#333}.history-table tbody tr:hover{background-color:#f9f9f9}.history-table .amount{font-weight:600;color:#007bff;text-align:right}.form-section{border:1px solid #e0e0e0;border-radius:8px;padding:1rem;background-color:#f9f9f9}.form-section h3{margin:0 0 1rem;font-size:1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.form-group{display:flex;flex-direction:column;margin-bottom:1rem}.form-group:last-child{margin-bottom:0}.form-group label{font-weight:600;margin-bottom:.5rem;color:#333;font-size:.95rem}.form-group small{color:#999;font-size:.85rem;margin-top:.25rem}.form-control{padding:.75rem;border:1px solid #ccc;border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .3s}.form-control:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff40}.modal-footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid #e0e0e0;background-color:#f9f9f9}.btn-primary{background-color:#007bff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-weight:600;transition:background-color .2s}.btn-primary:hover:not(:disabled){background-color:#0056b3}.btn-primary:disabled{background-color:#ccc;cursor:not-allowed}.btn-secondary{background-color:#6c757d;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-weight:600;transition:background-color .2s}.btn-secondary:hover{background-color:#5a6268}@media(max-width:768px){.payment-modal{max-width:95vw}.payment-form{gap:1rem;padding:1rem}.info-row{flex-direction:column;align-items:flex-start;gap:.25rem}.info-row .label,.info-row .value{display:block}.summary-row{flex-direction:column;align-items:flex-start;gap:.5rem}.input-with-max{flex-direction:column}.modal-footer{flex-direction:column-reverse}.modal-footer button{width:100%}.history-table{font-size:.8rem}.history-table th,.history-table td{padding:.5rem}}.alert{padding:1rem;border-radius:4px;display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.alert-error{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.alert button{background:none;border:none;color:inherit;font-size:1.5rem;cursor:pointer;padding:0;margin-left:1rem}[data-theme=dark] .invoice-info{background:#1e293b;border-color:#334155}[data-theme=dark] .info-row{border-bottom-color:#334155}[data-theme=dark] .info-row.highlight{background-color:#3b82f61a;border-color:#3b82f64d}[data-theme=dark] .info-row .label{color:#94a3b8}[data-theme=dark] .info-row .value{color:#e2e8f0}[data-theme=dark] .payment-summary{background:linear-gradient(135deg,#1e3a8a26,#1e40af1a);border-color:#3b82f64d}[data-theme=dark] .payment-summary h3{color:#93c5fd;border-bottom-color:#3b82f64d}[data-theme=dark] .payment-history{background:#1e293b;border-color:#334155}[data-theme=dark] .form-section{border-color:#334155;background-color:#1e293b}[data-theme=dark] .form-section h3{color:#f1f5f9}[data-theme=dark] .form-group label{color:#e2e8f0}[data-theme=dark] .form-group small{color:#64748b}[data-theme=dark] .form-control{background-color:#334155;border-color:#475569;color:#f1f5f9}[data-theme=dark] .modal-footer{border-top-color:#334155;background-color:#0f172a}[data-theme=dark] .btn-primary:disabled{background-color:#475569}[data-theme=dark] .alert-error{background-color:#ef444426;border-color:#ef44444d;color:#fca5a5}.payment-history-view{display:flex;flex-direction:column;gap:1.5rem;padding:1.5rem;background:#fff;border-radius:8px}.payment-overview{display:flex;flex-direction:column;gap:1rem}.payment-overview h3{margin:0;font-size:1.1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.overview-card{background:linear-gradient(135deg,#f5f5f5,#fff);border:1px solid #e0e0e0;border-radius:8px;padding:1rem;display:flex;flex-direction:column;gap:.5rem;transition:all .2s}.overview-card:hover{border-color:#007bff;box-shadow:0 2px 8px #007bff26}.card-label{font-size:.85rem;color:#999;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.card-value{font-size:1.5rem;font-weight:700;color:#333}.card-value.success{color:#4caf50}.card-value.warning{color:#ff9800}.card-value.neutral{color:#666}.card-value.status-paid{color:#4caf50;background:#e8f5e9;padding:.5rem;border-radius:4px;text-align:center}.card-value.status-overdue{color:#d32f2f;background:#ffebee;padding:.5rem;border-radius:4px;text-align:center}.card-value.status-sent{color:#1976d2;background:#e3f2fd;padding:.5rem;border-radius:4px;text-align:center}.payment-progress{display:flex;flex-direction:column;gap:.5rem}.progress-bar{width:100%;height:24px;background-color:#f0f0f0;border-radius:12px;overflow:hidden;border:1px solid #e0e0e0}.progress-fill{height:100%;background:linear-gradient(90deg,#4caf50,#8bc34a);transition:width .3s ease}.progress-label{text-align:right;font-size:.9rem;color:#666;font-weight:600}.reconciliation-status{display:flex;gap:1rem;align-items:center;padding:1rem;border-radius:8px;border-left:4px solid}.reconciliation-status.reconciliation-matched{background-color:#e8f5e9;border-left-color:#4caf50}.reconciliation-status.reconciliation-partial{background-color:#fff3e0;border-left-color:#ff9800}.reconciliation-status.reconciliation-unmatched{background-color:#ffebee;border-left-color:#d32f2f}.status-icon{font-size:1.5rem;font-weight:700;min-width:30px;text-align:center}.reconciliation-status.reconciliation-matched .status-icon{color:#4caf50}.reconciliation-status.reconciliation-partial .status-icon{color:#ff9800}.reconciliation-status.reconciliation-unmatched .status-icon{color:#d32f2f}.status-content{display:flex;flex-direction:column;gap:.25rem}.status-title{font-weight:600;color:#333}.status-detail{font-size:.9rem;color:#666}.payment-history{display:flex;flex-direction:column;gap:1rem}.payment-history h4{margin:0;font-size:1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.history-table-wrapper{overflow-x:auto;border:1px solid #e0e0e0;border-radius:8px}.history-table{width:100%;border-collapse:collapse;font-size:.9rem}.history-table thead{background-color:#f5f5f5;border-bottom:2px solid #ddd}.history-table th{padding:.75rem;text-align:left;font-weight:600;color:#333;white-space:nowrap}.history-table td{padding:.75rem;border-bottom:1px solid #eee}.history-table tbody tr.even{background-color:#fafafa}.history-table tbody tr:hover{background-color:#f0f7ff}.history-table .date{font-weight:500;color:#666}.history-table .amount{font-weight:600;color:#4caf50;text-align:right}.history-table .method{color:#666}.history-table .reference{font-family:monospace;font-size:.85rem}.ref-badge{background-color:#f0f0f0;padding:.25rem .5rem;border-radius:3px;border:1px solid #ddd}.history-table .recorded-by{color:#999;font-size:.85rem}.history-table .notes{color:#999;font-size:.85rem;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-totals{display:flex;justify-content:flex-end;padding:1rem;background-color:#f9f9f9;border-top:2px solid #e0e0e0;border-radius:0 0 8px 8px}.total-item{display:flex;gap:1rem;align-items:center}.total-item .label{font-weight:600;color:#333}.total-item .value{font-weight:700;font-size:1.1rem;color:#4caf50}.no-payments{text-align:center;padding:2rem;background-color:#f9f9f9;border:2px dashed #e0e0e0;border-radius:8px;color:#999}.no-payments p{margin:0;font-size:.95rem}.payment-info{display:flex;flex-direction:column;gap:1rem;padding:1rem;background-color:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px}.payment-info h4{margin:0;font-size:1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-label{font-size:.85rem;color:#999;font-weight:500;text-transform:uppercase}.info-value{font-size:.95rem;color:#333;font-weight:500}@media(max-width:768px){.payment-history-view{padding:1rem;gap:1rem}.overview-grid{grid-template-columns:1fr}.overview-card{padding:.75rem}.card-value{font-size:1.25rem}.history-table{font-size:.8rem}.history-table th,.history-table td{padding:.5rem}.history-totals{flex-direction:column}.total-item{justify-content:space-between;width:100%}.info-grid{grid-template-columns:1fr}.payment-progress{gap:.25rem}.progress-label{font-size:.8rem}}[data-theme=dark] .payment-history-view{background:#1e293b}[data-theme=dark] .payment-overview h3{color:#f1f5f9}[data-theme=dark] .overview-card{background:linear-gradient(135deg,#0f172a,#1e293b);border-color:#334155}[data-theme=dark] .overview-card:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f626}[data-theme=dark] .card-label{color:#64748b}[data-theme=dark] .card-value{color:#f1f5f9}[data-theme=dark] .card-value.neutral{color:#94a3b8}[data-theme=dark] .card-value.status-paid{background:#14532d33}[data-theme=dark] .card-value.status-overdue{background:#7f1d1d33}[data-theme=dark] .card-value.status-sent{background:#1e3a8a33}[data-theme=dark] .progress-bar{background-color:#0f172a;border-color:#334155}[data-theme=dark] .progress-label{color:#94a3b8}[data-theme=dark] .reconciliation-status.reconciliation-matched{background-color:#14532d33}[data-theme=dark] .reconciliation-status.reconciliation-partial{background-color:#78350f33}[data-theme=dark] .reconciliation-status.reconciliation-unmatched{background-color:#7f1d1d33}[data-theme=dark] .status-title{color:#e2e8f0}[data-theme=dark] .status-detail{color:#94a3b8}[data-theme=dark] .payment-history h4{color:#f1f5f9}[data-theme=dark] .history-table-wrapper{border-color:#334155}[data-theme=dark] .history-table thead{background-color:#0f172a;border-bottom-color:#334155}[data-theme=dark] .history-table th{color:#94a3b8}[data-theme=dark] .history-table td{border-bottom-color:#1e293b;color:#e2e8f0}[data-theme=dark] .history-table tbody tr.even{background-color:#0f172a80}[data-theme=dark] .history-table tbody tr:hover{background-color:#334155}[data-theme=dark] .history-table .date,[data-theme=dark] .history-table .method{color:#94a3b8}[data-theme=dark] .history-table .recorded-by,[data-theme=dark] .history-table .notes{color:#64748b}[data-theme=dark] .ref-badge{background-color:#334155;border-color:#475569;color:#e2e8f0}[data-theme=dark] .history-totals{background-color:#0f172a;border-top-color:#334155}[data-theme=dark] .total-item .label{color:#e2e8f0}[data-theme=dark] .no-payments{background-color:#0f172a;border-color:#334155;color:#64748b}[data-theme=dark] .payment-info{background-color:#0f172a;border-color:#334155}[data-theme=dark] .payment-info h4{color:#f1f5f9}.reconciliation-dashboard{display:flex;flex-direction:column;gap:2rem;padding:1.5rem;background:#fff;border-radius:8px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #007bff}.dashboard-header h2{margin:0;font-size:1.5rem;color:#333}.btn-refresh{background-color:#f0f0f0;border:1px solid #ddd;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s}.btn-refresh:hover{background-color:#e0e0e0;border-color:#bbb}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.metric-card{display:flex;gap:1rem;align-items:flex-start;padding:1.5rem;border-radius:8px;border-left:4px solid;background:#fff;box-shadow:0 2px 4px #0000000d}.metric-card.primary{border-left-color:#007bff;background:linear-gradient(135deg,#f0f7ff,#e3f2fd)}.metric-card.success{border-left-color:#4caf50;background:linear-gradient(135deg,#e8f5e9,#c8e6c9)}.metric-card.warning{border-left-color:#ff9800;background:linear-gradient(135deg,#fff3e0,#ffe0b2)}.metric-card.danger{border-left-color:#d32f2f;background:linear-gradient(135deg,#ffebee,#ffcdd2)}.metric-icon{font-size:2rem;min-width:50px;text-align:center}.metric-content{flex:1}.metric-label{font-size:.85rem;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem}.metric-value{font-size:1.5rem;font-weight:700;color:#333;margin-bottom:.25rem}.metric-detail{font-size:.85rem;color:#999}.payment-summary-section{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f5f5f5,#fff);border:1px solid #e0e0e0;border-radius:8px}.payment-summary-section h3{margin:0;font-size:1.1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.summary-card{background:#fff;border:1px solid #e0e0e0;border-radius:6px;padding:1rem}.summary-item{display:flex;flex-direction:column;gap:.5rem}.summary-label{font-size:.9rem;color:#999;font-weight:500}.summary-value{font-size:1.3rem;font-weight:700;color:#333}.summary-value.success{color:#4caf50}.summary-value.warning{color:#ff9800}.payment-progress{display:flex;flex-direction:column;gap:.75rem;padding-top:1rem;border-top:1px solid #e0e0e0}.progress-bar-large{width:100%;height:32px;background-color:#f0f0f0;border-radius:16px;overflow:hidden;border:2px solid #ddd}.progress-fill-large{height:100%;background:linear-gradient(90deg,#4caf50,#8bc34a);transition:width .5s ease}.progress-labels{display:flex;justify-content:space-between;font-size:.9rem;color:#666;font-weight:600}.invoice-breakdown{display:flex;flex-direction:column;gap:1rem}.invoice-breakdown h3{margin:0;font-size:1.1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.breakdown-card{display:flex;flex-direction:column;align-items:center;padding:1.5rem;border-radius:8px;border:2px solid;text-align:center;transition:all .2s}.breakdown-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.breakdown-card.paid{border-color:#4caf50;background:#e8f5e9}.breakdown-card.partial{border-color:#ff9800;background:#fff3e0}.breakdown-card.unpaid{border-color:#1976d2;background:#e3f2fd}.breakdown-card.overdue{border-color:#d32f2f;background:#ffebee}.breakdown-title{font-size:.9rem;color:#666;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.5px}.breakdown-count{font-size:2rem;font-weight:700;color:#333;margin-bottom:.5rem}.breakdown-amount{font-size:.95rem;font-weight:600;color:#666}.alert-section{display:flex;flex-direction:column;gap:1rem}.alert{display:flex;gap:1rem;padding:1rem;border-radius:8px;border-left:4px solid}.alert.alert-danger{background-color:#ffebee;border-left-color:#d32f2f}.alert-icon{font-size:1.5rem;min-width:30px;text-align:center}.alert-content{flex:1}.alert-title{font-weight:600;color:#d32f2f;margin-bottom:.25rem}.alert-detail{font-size:.9rem;color:#b71c1c}.overdue-list{display:flex;flex-direction:column;gap:.75rem}.overdue-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border:1px solid #ffcdd2;border-radius:4px;border-left:3px solid #d32f2f}.item-left{display:flex;flex-direction:column;gap:.25rem}.item-number{font-weight:600;color:#333;font-size:.95rem}.item-customer{font-size:.85rem;color:#999}.item-right{text-align:right}.item-amount{font-weight:700;color:#d32f2f;font-size:1rem}.item-days{font-size:.8rem;color:#ff9800}.more-items{text-align:center;padding:.5rem;color:#999;font-size:.9rem}.cash-flow-info{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px}.cash-flow-info h3{margin:0;font-size:1.1rem;color:#333;border-bottom:2px solid #007bff;padding-bottom:.5rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.info-item{display:flex;flex-direction:column;gap:.5rem}.info-label{font-size:.85rem;color:#999;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:1.1rem;font-weight:600;color:#333}.loading{text-align:center;padding:2rem;color:#666}.error{text-align:center;padding:2rem;color:#d32f2f;background-color:#ffebee;border:1px solid #ef5350;border-radius:8px}@media(max-width:768px){.reconciliation-dashboard{padding:1rem;gap:1.5rem}.dashboard-header{flex-direction:column;gap:1rem;align-items:flex-start}.metrics-grid{grid-template-columns:1fr}.metric-card{flex-direction:column;align-items:center;text-align:center}.summary-cards,.breakdown-grid{grid-template-columns:1fr}.overdue-item{flex-direction:column;align-items:flex-start;gap:.5rem}.item-right{text-align:left}.info-grid{grid-template-columns:1fr}.progress-labels{flex-direction:column;gap:.5rem}}[data-theme=dark] .reconciliation-dashboard{background:#1e293b}[data-theme=dark] .dashboard-header{border-bottom-color:#3b82f6}[data-theme=dark] .dashboard-header h2{color:#f1f5f9}[data-theme=dark] .btn-refresh{background-color:#334155;border-color:#475569;color:#e2e8f0}[data-theme=dark] .btn-refresh:hover{background-color:#475569;border-color:#64748b}[data-theme=dark] .metric-card{background:#0f172a;box-shadow:0 2px 4px #0000004d}[data-theme=dark] .metric-card.primary{background:linear-gradient(135deg,#1e3a8a33,#1e40af1a)}[data-theme=dark] .metric-card.success{background:linear-gradient(135deg,#14532d33,#1665341a)}[data-theme=dark] .metric-card.warning{background:linear-gradient(135deg,#78350f33,#92400e1a)}[data-theme=dark] .metric-card.danger{background:linear-gradient(135deg,#7f1d1d33,#991b1b1a)}[data-theme=dark] .metric-label{color:#94a3b8}[data-theme=dark] .metric-value{color:#f1f5f9}[data-theme=dark] .metric-detail{color:#64748b}[data-theme=dark] .payment-summary-section{background:linear-gradient(135deg,#0f172a,#1e293b);border-color:#334155}[data-theme=dark] .payment-summary-section h3{color:#f1f5f9}[data-theme=dark] .summary-card{background:#1e293b;border-color:#334155}[data-theme=dark] .summary-label{color:#64748b}[data-theme=dark] .summary-value{color:#f1f5f9}[data-theme=dark] .payment-progress{border-top-color:#334155}[data-theme=dark] .progress-bar-large{background-color:#0f172a;border-color:#334155}[data-theme=dark] .progress-labels{color:#94a3b8}[data-theme=dark] .invoice-breakdown h3{color:#f1f5f9}[data-theme=dark] .breakdown-card.paid{border-color:#4caf50;background:#14532d33}[data-theme=dark] .breakdown-card.partial{border-color:#ff9800;background:#78350f33}[data-theme=dark] .breakdown-card.unpaid{border-color:#1976d2;background:#1e3a8a33}[data-theme=dark] .breakdown-card.overdue{border-color:#d32f2f;background:#7f1d1d33}[data-theme=dark] .breakdown-title{color:#94a3b8}[data-theme=dark] .breakdown-count{color:#f1f5f9}[data-theme=dark] .breakdown-amount{color:#94a3b8}[data-theme=dark] .alert.alert-danger{background-color:#7f1d1d26}[data-theme=dark] .overdue-item{background:#0f172a;border-color:#ef444433}[data-theme=dark] .item-number{color:#e2e8f0}[data-theme=dark] .item-customer,[data-theme=dark] .more-items{color:#64748b}[data-theme=dark] .cash-flow-info{background:#0f172a;border-color:#334155}[data-theme=dark] .cash-flow-info h3{color:#f1f5f9}[data-theme=dark] .info-label{color:#64748b}[data-theme=dark] .info-value{color:#e2e8f0}[data-theme=dark] .loading{color:#94a3b8}[data-theme=dark] .error{color:#fca5a5;background-color:#ef44441a;border-color:#ef44444d}.finance-panel{display:flex;flex-direction:column;gap:20px;padding:20px;background-color:#f9f9f9;min-height:100vh}.tab-navigation{display:flex;gap:10px;border-bottom:2px solid #ddd;background-color:#fff;padding:10px;border-radius:8px 8px 0 0}.tab-button{padding:12px 24px;border:none;background-color:transparent;color:#666;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;border-bottom:3px solid transparent;margin-bottom:-10px}.tab-button:hover{color:#333;background-color:#f0f0f0}.tab-button.active{color:#2563eb;border-bottom-color:#2563eb}.finance-tab{background-color:#fff;padding:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a}.tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #eee}.tab-header h3{margin:0;font-size:20px;color:#333}.filters{display:flex;gap:10px;margin-bottom:20px}.filter-select{padding:8px 12px;border:1px solid #ddd;border-radius:4px;background-color:#fff;cursor:pointer;font-size:14px;color:#666}.filter-select:hover{border-color:#999}.filter-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table thead{background-color:#f5f5f5;border-bottom:2px solid #ddd}.data-table th{padding:12px;text-align:left;font-weight:600;color:#333}.data-table tbody tr{border-bottom:1px solid #eee;transition:background-color .2s ease}.data-table tbody tr:hover{background-color:#f9f9f9}.data-table td{padding:12px;vertical-align:middle}.data-table .amount{font-weight:600;color:#2563eb}.data-table .invoice-number,.data-table .creditnote-number,.data-table .quote-number{font-family:Courier New,monospace;font-weight:500;color:#2563eb}.status-badge{display:inline-block;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-draft{background-color:#e5e7eb;color:#6b7280}.status-sent{background-color:#dbeafe;color:#1e40af}.status-overdue{background-color:#fee2e2;color:#991b1b}.status-paid{background-color:#dcfce7;color:#166534}.status-partially_paid{background-color:#fef08a;color:#854d0e}.status-cancelled{background-color:#f3f4f6;color:#6b7280}.status-issued{background-color:#d1d5db;color:#374151}.status-applied,.status-accepted{background-color:#dcfce7;color:#166534}.status-rejected{background-color:#fee2e2;color:#991b1b}.status-expired{background-color:#fca5a5;color:#7f1d1d}.level-badge{display:inline-block;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:600}.level-first{background-color:#fef3c7;color:#92400e}.level-second{background-color:#fed7aa;color:#9a3412}.level-third{background-color:#fca5a5;color:#7f1d1d}.actions{display:flex;gap:8px;flex-wrap:wrap}.btn-primary,.btn-secondary,.btn-small,.btn-success,.btn-warning,.btn-info{padding:8px 16px;border:none;border-radius:4px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.btn-primary{background-color:#2563eb;color:#fff}.btn-primary:hover{background-color:#1d4ed8;box-shadow:0 2px 8px #2563eb4d}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover{background-color:#4b5563}.btn-small{padding:6px 12px;background-color:#e5e7eb;color:#374151;font-size:12px}.btn-small:hover{background-color:#d1d5db}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover{background-color:#059669}.btn-warning{background-color:#f59e0b;color:#fff}.btn-warning:hover{background-color:#d97706}.btn-info{background-color:#3b82f6;color:#fff}.btn-info:hover{background-color:#2563eb}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-state p{margin:0;font-size:16px}.loading-spinner{text-align:center;padding:40px;color:#666;font-size:16px}.loading-spinner:after{content:"";display:inline-block;width:16px;height:16px;margin-left:8px;border:2px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;animation:spin .6s linear infinite;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.alert{padding:12px 16px;border-radius:4px;display:flex;justify-content:space-between;align-items:center;gap:10px}.alert-error{background-color:#fee2e2;color:#991b1b;border-left:4px solid #dc2626}.alert button{background:none;border:none;color:inherit;font-size:20px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.alert button:hover{opacity:.7}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background-color:#fff;border-radius:8px;padding:30px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.modal.modal-large{max-width:800px}.detail-actions{display:flex;gap:.5rem;margin-bottom:1rem}.modal h2{margin:0 0 15px;font-size:20px;color:#333}.modal p{margin:0 0 20px;color:#666;font-size:14px}@media(max-width:768px){.finance-panel{padding:10px}.tab-navigation{overflow-x:auto;gap:5px}.tab-button{padding:10px 16px;font-size:12px}.tab-header{flex-direction:column;align-items:flex-start;gap:15px}.tab-header h3{font-size:18px}.data-table{font-size:12px}.data-table th,.data-table td{padding:8px}.actions{flex-direction:column}.btn-small{width:100%;text-align:center}.modal{max-width:95%}}@media(max-width:480px){.finance-panel{padding:5px}.tab-header{flex-direction:column}.tab-header h3{font-size:16px}.data-table{font-size:11px}.data-table th,.data-table td{padding:6px}.status-badge{padding:4px 8px;font-size:10px}}[data-theme=dark] .finance-panel{background-color:#0f172a}[data-theme=dark] .tab-navigation{background-color:#1e293b;border-bottom-color:#334155}[data-theme=dark] .tab-button{color:#94a3b8}[data-theme=dark] .tab-button:hover{color:#e2e8f0;background-color:#334155}[data-theme=dark] .tab-button.active{color:#60a5fa;border-bottom-color:#60a5fa}[data-theme=dark] .finance-tab{background-color:#1e293b;box-shadow:0 1px 3px #0006}[data-theme=dark] .tab-header{border-bottom-color:#334155}[data-theme=dark] .tab-header h3{color:#f1f5f9}[data-theme=dark] .filter-select{background-color:#334155;border-color:#475569;color:#e2e8f0}[data-theme=dark] .filter-select:hover{border-color:#64748b}[data-theme=dark] .data-table thead{background-color:#1e293b;border-bottom-color:#334155}[data-theme=dark] .data-table th{color:#94a3b8}[data-theme=dark] .data-table tbody tr{border-bottom-color:#1e293b}[data-theme=dark] .data-table tbody tr:hover{background-color:#334155}[data-theme=dark] .data-table td{color:#e2e8f0}[data-theme=dark] .status-draft{background-color:#6b728033;color:#94a3b8}[data-theme=dark] .status-sent{background-color:#3b82f633;color:#93c5fd}[data-theme=dark] .status-overdue{background-color:#ef444433;color:#fca5a5}[data-theme=dark] .status-paid{background-color:#22c55e33;color:#86efac}[data-theme=dark] .status-partially_paid{background-color:#eab30833;color:#fde047}[data-theme=dark] .status-cancelled{background-color:#6b728026;color:#94a3b8}[data-theme=dark] .status-issued{background-color:#9ca3af33;color:#d1d5db}[data-theme=dark] .status-applied,[data-theme=dark] .status-accepted{background-color:#22c55e33;color:#86efac}[data-theme=dark] .status-rejected{background-color:#ef444433;color:#fca5a5}[data-theme=dark] .status-expired{background-color:#ef444426;color:#fca5a5}[data-theme=dark] .level-first{background-color:#92400e33;color:#fde047}[data-theme=dark] .level-second{background-color:#9a341233;color:#fdba74}[data-theme=dark] .level-third{background-color:#7f1d1d33;color:#fca5a5}[data-theme=dark] .btn-small{background-color:#334155;color:#e2e8f0}[data-theme=dark] .btn-small:hover{background-color:#475569}[data-theme=dark] .empty-state{color:#64748b}[data-theme=dark] .loading-spinner{color:#94a3b8}[data-theme=dark] .loading-spinner:after{border-color:#334155;border-top-color:#60a5fa}[data-theme=dark] .alert-error{background-color:#ef444426;color:#fca5a5;border-left-color:#ef4444}[data-theme=dark] .modal-overlay{background-color:#000000b3}[data-theme=dark] .modal{background-color:#1e293b;box-shadow:0 10px 40px #0009}[data-theme=dark] .modal h2{color:#f1f5f9}[data-theme=dark] .modal p{color:#94a3b8}
