*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100%}body{color:#172033;background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.form-group label{color:#374151;font-size:13px;font-weight:600}.input-label{justify-content:space-between;align-items:center;display:flex}.input-label-action{font-size:12px}.button{cursor:pointer;border:none;height:44px;padding:0 20px;font-size:14px;font-weight:600;transition:background .2s,transform .1s}.button-primary{color:#fff;background:#2563eb}.button-primary:hover{background:#1d4ed8}.button-secondary{color:#374151;background:#fff;border:1px solid #9ca3af}.button-secondary:hover{background:#f3f4f6}.button:active{transform:translateY(1px)}.button:disabled{opacity:.6;cursor:not-allowed}.login-page{background:#f4f6fa;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border:1px solid #dfe3ea;width:100%;max-width:420px;padding:40px;box-shadow:0 8px 30px #14203214}.login-header{text-align:center;margin-bottom:32px}.login-logo{color:#fff;background:#1e293b;border-radius:4px;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto 16px;font-size:14px;font-weight:700;display:flex}.login-header h1{color:#172033;margin:0;font-size:22px;font-weight:700}.login-header p{color:#6b7280;margin-top:6px;font-size:13px}.login-form{flex-direction:column;gap:20px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-group label,.password-label label{color:#374151;font-size:13px;font-weight:600}.form-group input{color:#172033;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;outline:none;width:100%;height:44px;padding:0 12px;font-size:14px}.form-group input::placeholder{color:#9ca3af}.form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.password-label{justify-content:space-between;align-items:center;display:flex}.password-label a{color:#2563eb;font-size:12px;text-decoration:none}.password-label a:hover{text-decoration:underline}.remember-me{align-items:center;gap:8px;display:flex}.remember-me input{width:14px;height:14px}.remember-me label{color:#4b5563;font-size:13px}.login-button{color:#fff;cursor:pointer;background:#2563eb;border:none;width:100%;height:44px;font-size:14px;font-weight:600;transition:background .2s}.login-button:hover{background:#1d4ed8}.login-button:active{transform:translateY(1px)}.login-footer{text-align:center;color:#9ca3af;margin-top:28px;font-size:11px}.login-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;margin:0;padding:10px 12px;font-size:13px;line-height:1.5}.sidebar{box-sizing:border-box;background:#fff;border-right:1px solid #d9dee7;flex-direction:column;flex-shrink:0;width:185px;height:100vh;display:flex}.sidebar-brand{padding:18px 16px 22px}.sidebar-brand h1{color:#172033;margin:0;font-size:17px;font-weight:700}.sidebar-brand span{color:#6b7280;margin-top:5px;font-size:10px;display:block}.sidebar-nav{flex-direction:column;gap:3px;padding:0 7px;display:flex}.sidebar-link{color:#4b5563;border-left:2px solid #0000;align-items:center;gap:10px;height:34px;padding:0 10px;font-size:12px;text-decoration:none;display:flex}.sidebar-link:hover{background:#f5f7fa}.sidebar-link.active{color:#172033;background:#e8f0ff;border-left-color:#2563eb;font-weight:600}.sidebar-bottom{border-top:1px solid #edf0f4;flex-direction:column;gap:12px;margin-top:auto;padding:12px 10px 16px;display:flex}.sidebar-user{align-items:center;gap:9px;min-width:0;padding:4px;display:flex}.user-avatar{color:#6b7280;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.user-info{flex-direction:column;min-width:0;display:flex}.user-info strong{color:#172033;font-size:10px}.logout-button{color:#dc2626;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;padding:10px;font-family:inherit;font-size:12px;font-weight:500;transition:background-color .2s;display:flex}.logout-button:hover{background:#fef2f2}.logout-button:disabled{opacity:.6;cursor:not-allowed}.dashboard-header{background:#fff;border-bottom:1px solid #d9dee7;justify-content:space-between;align-items:center;height:43px;padding:0 15px;display:flex}.dashboard-header h2{color:#172033;margin:0;font-size:13px;font-weight:700}.header-actions{align-items:center;gap:5px;display:flex}.header-icon{color:#4b5563;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.header-icon:hover{background:#f3f4f6}.dashboard-layout{background:#f5f7fb;min-height:100vh;display:flex}.dashboard-main{flex-direction:column;flex:1;min-width:0;display:flex}.dashboard-content{flex:1;padding:20px}.stat-card{background:#fff;border:1px solid #d9dee7;border-top:2px solid #64748b;min-height:106px;padding:15px}.stat-card.debt{border-top-color:#d64b4b}.stat-card.receivable{border-top-color:#429579}.stat-card.balance{border-top-color:#334155}.stat-title{letter-spacing:.5px;color:#4b5563;font-size:9px;font-weight:500;display:block}.stat-amount{color:#172033;margin-top:5px;font-size:31px;line-height:1;display:block}.stat-description{color:#6b7280;align-items:center;gap:6px;margin-top:10px;font-size:9px;display:flex}.stat-change{font-weight:600}.debt .stat-change{color:#d64b4b}.receivable .stat-change{color:#429579}.transaction-section{background:#fff;border:1px solid #d9dee7}.transaction-header{border-bottom:1px solid #d9dee7;justify-content:space-between;align-items:center;height:50px;padding:0 15px;display:flex}.transaction-header h3{color:#172033;margin:0;font-size:14px}.transaction-header button{color:#172033;cursor:pointer;background:0 0;border:none;font-size:9px;font-weight:600}.table-wrapper{overflow-x:auto}.transaction-section table{border-collapse:collapse;table-layout:fixed;width:100%}.transaction-section th{text-align:left;letter-spacing:.5px;color:#4b5563;background:#f7f8fb;border-bottom:1px solid #d9dee7;height:30px;padding:0 15px;font-size:12px;font-weight:600}.transaction-section td{color:#374151;border-bottom:1px solid #e5e7eb;height:38px;padding:0 15px;font-size:14px}.transaction-section tbody tr:last-child td{border-bottom:none}.transaction-section tbody tr:hover{background:#fafbfc}.transaction-section th:first-child,.transaction-section td:first-child{width:18%}.transaction-section th:nth-child(2),.transaction-section td:nth-child(2){width:25%}.transaction-section th:nth-child(3),.transaction-section td:nth-child(3){width:18%}.transaction-section th:nth-child(4),.transaction-section td:nth-child(4){text-align:right;width:22%}.transaction-section th:nth-child(5),.transaction-section td:nth-child(5){width:17%}.entity{font-weight:600;color:#172033!important}.status{text-transform:uppercase;border:1px solid;padding:3px 7px;font-size:10px;display:inline-block}.status.paid{color:#25856c;background:#f3fbf8;border-color:#51ad96}.status.unpaid{color:#e04b4b;background:#fff5f5;border-color:#ed7777}.dashboard-page{width:100%;max-width:1100px;margin:0 auto}.dashboard-summary{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px;display:grid}.dashboard-reports{margin:24px 0}.dashboard-reports h2{margin-bottom:16px;font-size:20px;font-weight:600}.report-buttons{flex-wrap:wrap;gap:12px;display:flex}.report-button{color:#fff;cursor:pointer;background-color:#16a34a;border:none;border-radius:8px;padding:12px 20px;font-size:14px;font-weight:600;transition:background-color .2s}.report-button:hover{background-color:#15803d}.report-button:focus-visible{outline-offset:3px;outline:3px solid #86efac}@media (width<=480px){.report-buttons{flex-direction:column}.report-button{width:100%}}.page-header{justify-content:space-between;align-items:flex-end;margin-bottom:20px;display:flex}.page-header-content h1{color:#172033;font-size:22px;line-height:1.2}.page-header-content p{color:#6b7280;margin-top:6px;font-size:11px}.page-header-actions{gap:6px;display:flex}.filter-bar{background:#fff;border:1px solid #d9dee7;justify-content:space-between;align-items:center;min-height:49px;margin-bottom:10px;padding:10px;display:flex}.filter-controls{gap:10px;display:flex}.search-box{color:#4b5563;background:#fff;border:1px solid #d3d8e0;align-items:center;gap:6px;width:170px;height:27px;padding:0 7px;display:flex}.search-box input{color:#172033;border:none;outline:none;width:100%;font-size:9px}.search-box input::placeholder{color:#9ca3af}.filter-controls select{color:#374151;background:#fff;border:1px solid #d3d8e0;outline:none;width:150px;height:27px;padding:0 7px;font-size:12px}.filter-result{color:#6b7280;font-size:9px}.status-badge{text-transform:uppercase;border:1px solid;margin:4px 0;padding:2px 7px;font-size:10px;font-weight:600;display:inline-block}.status-badge.processing{color:#31598f;background:#e9f1ff;border-color:#d5e2f8}.status-badge.overdue{color:#df4444;background:#fff1f1;border-color:#ef7777}.status-badge.paid{color:#25856c;background:#f3fbf8;border-color:#51ad96}.status-badge.pending{color:#b45309;background:#fef3c7;border:1px solid #f59e0b}.status-badge.dalam-proses{color:#31598f;background:#e5efff;border-color:#cfdef5}.data-table-wrapper{background:#fff;border:1px solid #d9dee7;width:100%;overflow-x:auto}.data-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1050px}.data-table thead{background:#f7f8fb}.data-table th{text-align:left;letter-spacing:.3px;color:#4b5563;border-bottom:1px solid #d9dee7;height:31px;padding:0 10px;font-size:12px;font-weight:600}.data-table td{color:#374151;border-bottom:1px solid #e5e7eb;height:37px;padding:0 10px;font-size:14px}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#fafbfc}.data-table th:first-child,.data-table td:first-child{width:10%}.data-table th:nth-child(2),.data-table td:nth-child(2){width:13%}.data-table th:nth-child(3),.data-table td:nth-child(3){width:12%}.data-table th:nth-child(4),.data-table td:nth-child(4){width:10%}.data-table th:nth-child(5),.data-table td:nth-child(5){width:11%}.data-table th:nth-child(6),.data-table td:nth-child(6){width:10%}.data-table th:nth-child(7),.data-table td:nth-child(7){width:9%}.data-table th:nth-child(8),.data-table td:nth-child(8),.data-table th:nth-child(9),.data-table td:nth-child(9){width:10%}.data-table th:nth-child(10),.data-table td:nth-child(10){width:5%}.table-name{font-weight:600;color:#172033!important}.table-amount{color:#19876b!important}.data-table td.overdue{color:#e04444}.table-action{justify-content:center;align-items:center;gap:5px;display:flex}.table-action button{color:#4b5563;cursor:pointer;background:0 0;border:none}.discount-header{white-space:nowrap;text-align:center!important}.discount-header-content{flex-direction:column;justify-content:center;align-items:center;gap:3px;display:flex}.discount-toggle{background:#eef1f5;border:1px solid #d5dbe3;border-radius:4px;align-items:center;padding:2px;display:inline-flex}.discount-toggle button{color:#8a94a3;cursor:pointer;background:0 0;border:none;border-radius:3px;min-width:25px;height:17px;padding:0 5px;font-size:9px;font-weight:600;transition:background-color .15s,color .15s,box-shadow .15s}.discount-toggle button:hover{color:#374151}.discount-toggle button.active{color:#172033;background:#fff;box-shadow:0 1px 2px #1720331f}.discount-cell{text-align:center;white-space:nowrap}.pagination{justify-content:flex-end;align-items:center;gap:4px;margin-top:10px;display:flex}.pagination button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d3d8e0;width:22px;height:22px;font-size:9px}.pagination button:hover:not(:disabled){background:#f3f4f6}.pagination button.active{color:#fff;background:#172033;border-color:#172033}.pagination button:disabled{color:#c4c8ce;cursor:not-allowed}.pagination span{color:#6b7280;font-size:9px}.receivable-page{width:100%;max-width:1100px;margin:0 auto}.receivable-stats{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px;display:grid}.outline-button,.primary-button{cursor:pointer;align-items:center;gap:5px;height:25px;padding:0 9px;font-size:8px;font-weight:600;display:flex}.outline-button{color:#172033;background:#fff;border:1px solid #172033}.primary-button{color:#fff;background:#172033;border:1px solid #172033}.outline-button:hover{background:#f4f5f7}.primary-button:hover{background:#273348}.receivable-table-footer{background:#fff;border:1px solid #d9dee7;border-top:none;justify-content:space-between;align-items:center;min-height:30px;padding:0 10px;display:flex}.receivable-table-footer>span{color:#6b7280;font-size:9px}.receivable-table-footer .pagination{margin-top:0}.debt-page{width:100%;max-width:1100px;margin:0 auto}.debt-stats{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px;display:grid}.debt-filter{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.debt-filter-left{align-items:center;gap:8px;display:flex}.debt-search{background:#fff;border:1px solid #d3d8e0;align-items:center;gap:6px;width:197px;height:27px;padding:0 8px;display:flex}.debt-search span{color:#374151;font-size:16px;line-height:1}.debt-search input{color:#172033;background:0 0;border:none;outline:none;width:100%;font-size:9px}.debt-search input::placeholder{color:#9ca3af}.debt-filter-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d3d8e0;align-items:center;gap:5px;height:27px;padding:0 9px;font-size:8px;font-weight:600;display:flex}.debt-filter-button:hover{background:#f5f6f8}.debt-export-button{color:#fff;cursor:pointer;background:#172033;border:1px solid #172033;align-items:center;gap:5px;height:27px;padding:0 10px;font-size:8px;font-weight:600;display:flex}.debt-export-button:hover{background:#263248}.debt-table-footer{background:#fff;border:1px solid #d9dee7;border-top:none;justify-content:space-between;align-items:center;min-height:30px;padding:0 10px;display:flex}.debt-table-footer>span{color:#6b7280;font-size:9px}.debt-table-footer .pagination{margin-top:0}.toast{color:#fff;z-index:1000;background:#172033;border-radius:4px;padding:12px 18px;font-size:12px;position:fixed;top:80px;right:20px}.report-type-selector{grid-template-columns:1fr 1fr;gap:8px;display:grid}.report-type{color:#374151;cursor:pointer;background:#fff;border:1px solid #dce1e8;justify-content:center;align-items:center;gap:6px;height:34px;font-family:inherit;font-size:9px;display:flex}.report-type.active{color:#fff;background:#1c2638;border-color:#1c2638}.report-type:hover:not(.active){background:#f7f8fa}.add-report-page{justify-content:center;width:100%;padding:18px 0 40px;display:flex}.add-report-card{box-sizing:border-box;background:#fff;border:1px solid #e1e5eb;width:500px;padding:24px}.add-report-header{border-bottom:1px solid #edf0f3;margin-bottom:16px;padding-bottom:18px}.add-report-header h1{color:#172033;margin:0;font-family:Georgia,Times New Roman,serif;font-size:22px}.add-report-header p{color:#6b7280;margin:5px 0 0;font-size:12px}.add-report-form{flex-direction:column;gap:16px;display:flex}.form-section{flex-direction:column;gap:8px;display:flex}.form-label{color:#374151;font-size:13px;font-weight:600}.date-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.notes-field{flex-direction:column;gap:8px;display:flex}.notes-field label{color:#374151;font-size:13px;font-weight:600}.notes-field textarea{box-sizing:border-box;resize:none;color:#172033;border:1px solid #d1d5db;outline:none;width:100%;height:90px;padding:12px;font-family:inherit;font-size:14px}.notes-field textarea::placeholder{color:#9ca3af}.notes-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.amount-field{flex-direction:column;gap:8px;display:flex}.amount-field label{color:#374151;font-size:13px;font-weight:600}.amount-input{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;align-items:center;width:100%;height:44px;display:flex}.amount-input:focus-within{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.amount-input span{color:#6b7280;padding-left:12px;font-size:14px}.amount-input input{color:#172033;background:0 0;border:none;outline:none;width:100%;height:100%;padding:0 12px;font-size:14px}.form-actions{border-top:1px solid #edf0f3;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:20px;display:flex}.customer-modal-overlay{z-index:1000;background:#00000059;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.customer-modal{background:#fff;border-radius:8px;flex-direction:column;width:min(500px,90%);max-height:80vh;padding:20px;display:flex}.customer-modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:16px;display:flex}.customer-modal-header h2{margin:0;font-size:18px}.customer-modal-header p{color:#6b7280;margin:5px 0 0;font-size:12px}.customer-modal-header button{cursor:pointer;background:0 0;border:none}.customer-search{background:#fff;border:1px solid #d9dee7;border-radius:8px;align-items:center;gap:10px;height:42px;margin-bottom:16px;padding:0 12px;transition:border-color .2s,box-shadow .2s;display:flex}.customer-search:focus-within{border-color:#8b93a3;box-shadow:0 0 0 3px #646e8214}.customer-search svg{color:#8a93a3;flex-shrink:0}.customer-search input{color:#172033;background:0 0;border:none;outline:none;flex:1;font-size:13px}.customer-search input::placeholder{color:#9aa2b1}.customer-search-clear{color:#6b7280;cursor:pointer;background:#f1f3f6;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:flex}.customer-search-clear:hover{background:#e5e7eb}.customer-list{max-height:320px;margin:0 -4px;padding:0 4px;overflow-y:auto}.customer-item{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:space-between;align-items:center;width:100%;padding:12px 10px;transition:background .15s,border-color .15s;display:flex}.customer-item:hover{background:#f7f8fb}.customer-item.selected{background:#f5f7fa;border-color:#d9dee7}.customer-item-info{flex-direction:column;gap:4px;display:flex}.customer-item-info strong{color:#172033;font-size:13px;font-weight:600}.customer-item-info span{color:#7b8494;font-size:11px}.customer-check{color:#fff;background:#172033;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:600;display:flex}.customer-empty{text-align:center;color:#8a93a3;flex-direction:column;align-items:center;padding:32px 20px;display:flex}.customer-empty svg{margin-bottom:8px}.customer-empty p{color:#4b5563;margin:0;font-size:13px;font-weight:600}.customer-empty span{margin-top:4px;font-size:11px}.customer-modal-footer{border-top:1px solid #eef0f4;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px;display:flex}.customer-modal-footer span{color:#6b7280;font-size:11px}.add-customer-button{cursor:pointer;background:0 0;border:none;font-size:12px;font-weight:600}.customer-form-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.customer-selector{color:#172033;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9dee7;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:52px;padding:8px 12px;transition:border-color .2s,box-shadow .2s,background .2s;display:flex}.customer-selector:hover{background:#fafbfc;border-color:#b9c0cc}.customer-selector:focus{border-color:#8b93a3;outline:none;box-shadow:0 0 0 3px #646e8214}.selected-customer{flex-direction:column;gap:3px;display:flex}.selected-customer strong{color:#172033;font-size:13px;font-weight:600}.selected-customer span{color:#7b8494;font-size:11px}.customer-placeholder{color:#9aa2b1;font-size:13px}.customer-selector>svg{color:#6b7280;flex-shrink:0;transition:transform .2s,color .2s}.customer-selector:hover>svg,.customer-selector:focus>svg{color:#172033}.transaction-type-display{box-sizing:border-box;color:#4b5563;background:#f7f8fb;border:1px solid #d9dee7;border-radius:8px;align-items:center;width:100%;min-height:42px;padding:0 12px;font-size:13px;font-weight:600;display:flex}.payment-page{background:#f8fafc;min-height:100vh;padding:24px}.payment-header{align-items:center;gap:16px;margin-bottom:24px;display:flex}.payment-header button{cursor:pointer;background:0 0;border:none;font-size:14px}.payment-header-content{align-items:center;gap:20px;display:flex}.payment-header h1{margin:0;font-size:24px}.payment-header p{color:#64748b;margin:4px 0 0;font-size:18px}.payment-summary{grid-template-columns:1fr;gap:12px;margin-bottom:16px;display:grid}.payment-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:18px}.payment-card span{color:#64748b;margin-bottom:8px;font-size:13px;display:block}.payment-card strong{font-size:20px}.payment-progress-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px;padding:20px}.payment-progress-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.payment-progress-header span{font-size:14px;font-weight:500}.payment-progress-header strong{font-size:14px}.payment-progress-bar{background:#e2e8f0;border-radius:999px;width:100%;height:10px;overflow:hidden}.payment-progress-fill{background:#172033;border-radius:999px;height:100%;transition:width .3s}.payment-progress-card p{color:#64748b;margin:10px 0 0;font-size:12px}.payment-form-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px;padding:20px}.payment-form-card h2{margin:0 0 20px;font-size:18px}.payment-form-group{flex-direction:column;gap:7px;margin-bottom:16px;display:flex}.payment-form-group label{font-size:13px;font-weight:500}.payment-form-group input,.payment-form-group textarea{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:11px 12px;font-family:inherit;font-size:14px}.payment-form-group input:focus,.payment-form-group textarea:focus{border-color:#172033}.payment-form-group textarea{resize:vertical;min-height:100px}.payment-form-actions{gap:10px;margin-top:8px;display:flex}.payment-form-actions button{cursor:pointer;border:none;border-radius:6px;padding:10px 16px;font-size:13px}.payment-form-actions button[type=submit]{color:#fff;background:#172033}.payment-form-actions button[type=button]{color:#172033;background:#e2e8f0}.payment-paid-message{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px;padding:24px}.payment-paid-message strong{margin-bottom:6px;font-size:16px;display:block}.payment-paid-message p{color:#64748b;margin:0;font-size:13px}.payment-history-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px}.payment-history-card h2{margin:0 0 20px;font-size:18px}.payment-history-list{flex-direction:column;gap:12px;display:flex}.payment-history-item{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.payment-history-item:last-child{border-bottom:none}.payment-history-info{flex-direction:column;gap:4px;display:flex}.payment-history-info strong{font-size:20px}.payment-history-info span{color:#64748b;font-size:16px}.payment-history-info small{color:#475569;font-size:14px}.payment-history-actions{gap:8px;display:flex}.payment-history-actions button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:5px;padding:7px 10px;font-size:12px}@media (width>=600px){.payment-page{padding:32px}.payment-summary{grid-template-columns:repeat(2,1fr)}}@media (width>=900px){.payment-page{max-width:1100px;margin:0 auto;padding:40px}.payment-summary{grid-template-columns:repeat(4,1fr)}.payment-form-card{max-width:700px}}.outstanding-report{background:#fff;width:100%;max-width:1100px;margin:0 auto;padding:30px}.report-header{text-align:center;margin-bottom:25px;position:relative}.report-header h1{letter-spacing:.5px;margin:0;font-size:22px;font-weight:700}.report-header p{color:#555;text-transform:uppercase;margin:6px 0 0;font-size:14px}.report-filter{justify-content:flex-end;margin-bottom:20px;display:flex}.report-filter label{align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.report-filter input{border:1px solid #ccc;border-radius:4px;padding:6px 8px;font-size:13px}.outstanding-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.outstanding-table th{text-align:left;border-top:1px solid #222;border-bottom:1px solid #222;padding:9px 10px;font-size:11px;font-weight:700}.outstanding-table td{vertical-align:middle;border-bottom:1px solid #ddd;padding:8px 10px}.outstanding-table th:first-child,.outstanding-table td:first-child{width:15%}.outstanding-table th:nth-child(2),.outstanding-table td:nth-child(2){width:20%}.outstanding-table th:nth-child(3),.outstanding-table td:nth-child(3){width:15%}.outstanding-table th:nth-child(4),.outstanding-table td:nth-child(4){width:20%}.outstanding-table th:nth-child(5),.outstanding-table td:nth-child(5){width:30%}.customer-row td{border-bottom:none;padding-top:18px;padding-bottom:7px;font-size:14px;font-weight:700}.customer-total td{border-top:1px solid #999;border-bottom:1px solid #ddd;font-weight:600}.customer-total td:first-child{text-align:right}.amount{text-align:right;white-space:nowrap}.report-total{border-top:2px solid #222;justify-content:flex-end;gap:40px;margin-top:25px;padding-top:12px;font-size:14px;display:flex}.report-total strong{text-align:right;min-width:180px}.report-filter{justify-content:flex-end;align-items:center;gap:12px;margin-bottom:20px;display:flex}.report-filter button{color:#fff;cursor:pointer;background:#222;border:none;border-radius:4px;padding:7px 14px;font-size:13px}.report-filter button:hover{opacity:.85}.report-back-button{color:#374151;cursor:pointer;background-color:#fff;border:1px solid #d1d5db;border-radius:6px;padding:8px 14px;font-size:14px;font-weight:500;transition:background-color .2s;position:absolute;top:0;left:0}@media print{.report-back-button{display:none}}@media (width<=768px){.outstanding-report{padding:20px}.outstanding-table{min-width:700px}.report-filter{justify-content:flex-start}.outstanding-report{overflow-x:auto}}@media print{.report-filter{display:none}.outstanding-report{background:#fff;max-width:none;margin:0;padding:0;overflow:visible!important}.outstanding-table{width:100%;font-size:11px;min-width:0!important}.outstanding-table th{padding:6px 8px;font-size:10px}.outstanding-table td{padding:6px 8px}.outstanding-table tr{break-inside:avoid}.customer-row{break-after:avoid}.customer-total,.report-total{break-inside:avoid}}@page{size:A4;margin:15mm}.outstanding-payment-report{box-sizing:border-box;background:#fff;width:100%;max-width:1200px;margin:0 auto;padding:24px}.outstanding-payment-report .report-header{text-align:center;margin-bottom:24px}.outstanding-payment-report .report-header h1{margin:0;font-size:24px;font-weight:700}.outstanding-payment-report .report-header p{margin:6px 0 0;font-size:14px}.outstanding-payment-report .report-filter{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.outstanding-payment-report .report-filter label{align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.outstanding-payment-report .report-filter input{border:1px solid #ccc;border-radius:6px;padding:8px 10px;font-size:14px}.outstanding-payment-report .report-filter button{color:#fff;cursor:pointer;background:#222;border:none;border-radius:6px;padding:9px 16px;font-size:14px;font-weight:600}.outstanding-payment-report .report-filter button:hover{opacity:.85}.outstanding-payment-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.outstanding-payment-table th{text-align:center;vertical-align:middle;background:#f2f2f2;border:1px solid #222;padding:10px 8px;font-size:12px;font-weight:700}.outstanding-payment-table td{vertical-align:middle;word-wrap:break-word;border:1px solid #ccc;padding:9px 8px}.outstanding-payment-table th:first-child,.outstanding-payment-table td:first-child{width:9%}.outstanding-payment-table th:nth-child(2),.outstanding-payment-table td:nth-child(2){width:13%}.outstanding-payment-table th:nth-child(3),.outstanding-payment-table td:nth-child(3){width:10%}.outstanding-payment-table th:nth-child(4),.outstanding-payment-table td:nth-child(4){width:13%}.outstanding-payment-table th:nth-child(5),.outstanding-payment-table td:nth-child(5){width:11%}.outstanding-payment-table th:nth-child(6),.outstanding-payment-table td:nth-child(6){width:13%}.outstanding-payment-table th:nth-child(7),.outstanding-payment-table td:nth-child(7){width:10%}.outstanding-payment-table th:nth-child(8),.outstanding-payment-table td:nth-child(8){width:21%}.outstanding-payment-table .customer-row td{background:#eaeaea;border:1px solid #222;padding:10px;font-weight:700}.outstanding-payment-table .customer-total td{background:#f7f7f7;border-top:2px solid #222;padding:9px 8px;font-weight:700}.outstanding-payment-table .amount{text-align:right;white-space:nowrap}.outstanding-payment-report .report-total{border-top:2px solid #222;justify-content:space-between;align-items:center;margin-top:20px;padding:14px 16px;font-size:16px;font-weight:700;display:flex}.empty-report{text-align:center;color:#666;background:#f8f8f8;border:1px dashed #ccc;border-radius:8px;margin-top:16px;padding:32px 16px;font-size:14px}.report-error{text-align:center;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:16px;padding:16px;font-size:14px}.report-back-button{color:#374151;cursor:pointer;background-color:#fff;border:1px solid #d1d5db;border-radius:6px;padding:8px 14px;font-size:14px;font-weight:500;transition:background-color .2s}.report-back-button:hover{background-color:#f3f4f6}.report-back-button:focus-visible{outline-offset:2px;outline:3px solid #86efac}@media print{.report-back-button{display:none}}@media (width<=768px){.outstanding-payment-report{padding:16px}.outstanding-payment-report .report-header h1{font-size:20px}.outstanding-payment-report .report-filter{flex-direction:column;align-items:flex-start}.outstanding-payment-report .report-filter button{width:100%}.outstanding-payment-table{min-width:900px}.outstanding-payment-report{overflow-x:auto}}@media print{html,body{overflow:visible!important}.outstanding-payment-report{background:#fff;width:100%;max-width:none;margin:0;padding:0;overflow:visible!important}.outstanding-payment-report .report-filter{display:none}.outstanding-payment-report .report-header{margin-bottom:15px}.outstanding-payment-report .report-header h1{font-size:18px}.outstanding-payment-report .report-header p{font-size:11px}.outstanding-payment-table{table-layout:fixed;width:100%;font-size:10px;min-width:0!important}.outstanding-payment-table th,.outstanding-payment-table td{padding:6px 5px;font-size:9px}.outstanding-payment-table tr{break-inside:avoid}.outstanding-payment-table .customer-row{break-after:avoid}.outstanding-payment-table .customer-total{break-inside:avoid}.outstanding-payment-report .report-total{break-inside:avoid;margin-top:12px;padding:8px 0;font-size:12px}}@page{size:A4 landscape;margin:15mm}
