.ant-input-affix-wrapper{border-radius:10px}.ant-input-affix-wrapper:focus,.ant-input-affix-wrapper:focus-within,.ant-input-affix-wrapper:hover{border-color:#e6ecf1;box-shadow:none}.ant-input-affix-wrapper .ant-input::placeholder{font-size:14px;font-size:var(--form-control-placeholder-size)}.search-input .ant-input-affix-wrapper{background:#fff;border-radius:6px;border-radius:var(--form-control-radius);height:32px;height:var(--form-control-height);padding:0 11px;padding:0 var(--form-control-padding-x)}.custom-search .ant-input-affix-wrapper input[type=text]{margin-top:-5px}.search-input .ant-input-prefix{align-items:center;color:#6b7280;display:inline-flex;margin-right:10px}.form-group label{position:relative;z-index:1}.search-input .ant-input{font-size:14px;font-size:var(--form-control-font-size)}.page-actions .btn{align-items:center;border-radius:6px!important;border-radius:var(--form-control-radius)!important;display:inline-flex;font-size:14px!important;font-size:var(--form-control-font-size)!important;height:32px!important;height:var(--form-control-height)!important;min-height:32px!important;min-height:var(--form-control-height)!important;padding:0 11px!important;padding:0 var(--form-control-padding-x)!important}.ant-cascader-dropdown,.ant-dropdown,.ant-picker-dropdown,.ant-select-dropdown{max-width:90vw}.ant-select-dropdown .ant-select-item-option-content{white-space:normal;word-break:break-word}:root{--form-control-height:32px!important;--form-control-radius:6px;--form-control-font-size:14px;--form-control-placeholder-size:14px;--form-control-padding-y:4px;--form-control-padding-x:11px}.form-input,.page-container input[type=date],.page-container input[type=email],.page-container input[type=number],.page-container input[type=password],.page-container input[type=tel],.page-container input[type=text]{border:1px solid #d9d9d9;border-radius:6px;border-radius:var(--form-control-radius);font-size:14px;font-size:var(--form-control-font-size);height:32px;height:var(--form-control-height);padding:4px 11px;padding:var(--form-control-padding-y) var(--form-control-padding-x)}.ant-input-number input,.ant-picker-input>input{font-size:14px;font-size:var(--form-control-font-size);height:100%;padding:0}.ant-select .ant-select-selector{box-shadow:none!important;outline:none!important}.ant-select-focused .ant-select-selector,.ant-select-selector:focus,.ant-select-selector:focus-within{border-color:#4096ff!important;box-shadow:none!important;outline:none!important}.ant-picker,.ant-picker input:focus,.ant-picker input:focus-within,.ant-picker-focused,.ant-picker:focus,.ant-picker:hover,.ant-select-selection-search-input:focus{box-shadow:none!important;outline:none!important}.ant-picker-focused{border-color:#4096ff!important}.ant-input-number,.ant-input-number input:focus,.ant-input-number-focused,.ant-input-number:focus,.ant-input-number:focus-within{box-shadow:none!important;outline:none!important}.ant-input-number-focused{border-color:#4096ff!important}.ant-input,.ant-input-affix-wrapper,.ant-input-number,.ant-picker,.ant-select .ant-select-selector{border:1px solid #d9d9d9}*{box-sizing:border-box;margin:0;padding:0}body{background-color:#f5f5f5;font-family:Fira Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,sans-serif;font-size:14px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.mobile-only{display:none!important}.desktop-only{display:flex!important}@media screen and (max-width:992px){.mobile-only{display:block!important}.desktop-only{display:none!important}}.page-container{margin:0 auto;max-width:1400px;padding:20px;width:100%}.header{background:#eee;border-radius:10px;color:#000;margin-bottom:30px;padding:20px;text-align:right}.header h1{font-size:2.5rem;margin-bottom:10px}.header p{font-size:1.1rem;opacity:.9}.tabs{align-items:flex-end;border-bottom:2.5px solid #e6ecf1;box-shadow:none;display:flex;justify-content:flex-start;margin-bottom:30px;padding-bottom:10px}.tab,.tabs{background:none}.tab{border:none;color:#888;cursor:pointer;font-size:1rem;font-weight:500;margin-bottom:-2.5px;margin-right:32px;outline:none;padding:8px 0 0;position:relative;text-align:center;transition:color .2s}.tab:last-child{margin-right:0}.tab.active{color:#1677ff;font-weight:700}.tab.active:after{background:#1677ff;border-radius:2px;content:"";display:block;height:2.5px;margin:8px auto -9px;width:100%}.form-group{margin-bottom:0}.btn{align-items:center;border:none;border-radius:8px;box-sizing:border-box;cursor:pointer;display:inline-flex;font-weight:500;gap:8px;justify-content:center;line-height:1.5;outline:none;text-decoration:none;transition:all .3s ease;-webkit-user-select:none;user-select:none}.btn-sm{font-size:12px;padding:6px 12px}.btn{font-size:14px;padding:10px 16px}.btn-lg{font-size:16px;padding:12px 20px}.btn-primary{background:#1677ff;box-shadow:0 4px 12px #5969c533;color:#fff}.btn-primary:hover:not(:disabled){background:#5969c5;box-shadow:0 4px 12px #5969c533;transform:translateY(-1px)}.btn-secondary{background:#6c757d;box-shadow:0 4px 12px #5969c533;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268;box-shadow:0 4px 12px #5969c533;transform:translateY(-1px)}.btn-success{background:#1677ff;box-shadow:0 4px 12px #5969c533;color:#fff}.btn-success:hover:not(:disabled){background:#5969c5;box-shadow:0 4px 12px #5969c533;transform:translateY(-1px)}.btn-danger{background:#dc3545;box-shadow:0 2px 4px #dc354533;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333;box-shadow:0 4px 12px #dc35454d;transform:translateY(-1px)}.btn-outline{background:#0000;border:1.5px solid #1677ff;color:#1677ff}.btn-outline:hover:not(:disabled){background:#1677ff;color:#fff;transform:translateY(-1px)}.btn-ghost{background:#0000;box-shadow:none;color:#6c757d}.btn-ghost:hover:not(:disabled){background:#f8f9fa;color:#495057}.btn:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.6;transform:none!important}.btn:focus{box-shadow:0 0 0 3px #49236333}.action-btn{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:12px;font-weight:500;height:32px;justify-content:center;min-width:32px;padding:6px 8px;transition:all .2s ease}.action-btn.edit{background:#3b82f61a;color:#3b82f6}.action-btn.edit:hover{background:#3b82f633;transform:translateY(-1px)}.action-btn.delete{background:#ef44441a;color:#ef4444}.action-btn.delete:hover{background:#ef444433;transform:translateY(-1px)}.action-btn.toggle{background:#10b9811a;color:#10b981;font-size:11px;padding:6px 12px}.action-btn.toggle:hover{background:#10b98133;transform:translateY(-1px)}.dropdown-select,.form-select,select.form-control{-webkit-appearance:none;appearance:none;background:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;border:1.5px solid #e6ecf1;border-radius:8px;box-shadow:0 1px 3px #4c4f690a;color:#333;cursor:pointer;font-size:14px;font-weight:400;line-height:1.5;outline:none;padding:10px 40px 10px 16px;transition:all .2s ease;width:100%}.dropdown-select:hover,.form-select:hover{border-color:#1677ff;box-shadow:0 2px 8px #4c4f691a}.dropdown-select:focus,.form-select:focus{border-color:#1677ff;box-shadow:0 0 0 3px #6c7ee326}.dropdown-select:disabled,.form-select:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;opacity:.7}.form-select-sm{background-position:right 8px center;background-size:14px 14px;font-size:12px;padding:6px 32px 6px 12px}.dropdown-btn{align-items:center;background:#fff;border:1.5px solid #e6ecf1;border-radius:8px;box-shadow:0 1px 3px #4c4f690a;color:#333;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:8px;justify-content:space-between;min-width:120px;outline:none;padding:10px 16px;text-align:left;transition:all .2s ease}.dropdown-btn:hover{border-color:#1677ff;box-shadow:0 2px 8px #4c4f691a}.dropdown-btn.active,.dropdown-btn:focus{border-color:#764ba2;box-shadow:0 0 0 3px #764ba226}.dropdown-menu{left:0}.dropdown-menu,.dropdown-menu-right{border:1px solid #e6ecf1;border-radius:8px;box-shadow:0 4px 20px #00000026;margin-top:4px;max-height:300px;overflow-y:auto;padding:4px 0;position:absolute;right:0;top:100%;z-index:1000}.dropdown-menu-right{background:#fff;left:auto;min-width:180px;white-space:nowrap}.dropdown-item{color:#333;font-size:14px;gap:8px;outline:none;padding:10px 16px;transition:background-color .2s ease}.dropdown-item:focus,.dropdown-item:hover{background-color:#f8f9fa}.dropdown-item:focus{outline:none}.dropdown-item.active{background-color:#f0f9ff;color:#0369a1;font-weight:500}.dropdown-item.danger:hover{background-color:#fef2f2}.form-group{margin-bottom:20px}.form-group label{color:#333;display:block;font-size:14px;margin-bottom:10px}.form-group input,.form-group select,.form-group textarea{background:#fff;border:1.5px solid #e6ecf1;border-radius:10px;box-shadow:0 1px 3px #4c4f690a;box-sizing:border-box;color:#111827;font-size:15px;padding:10px 16px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#1677ff;box-shadow:0 0 0 3px #6c7ee326}.table{background:#fff;border-collapse:collapse;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin:20px 0;overflow:visible;width:100%}.table td,.table th{border-bottom:1px solid #e9ecef;padding:12px;text-align:left}.invoice-history-table{min-width:800px;overflow:visible}.table-wrapper{-webkit-overflow-scrolling:touch;position:relative}.dropdown-menu-right{z-index:9999}.table th{background:#fff;color:#333;font-weight:600;white-space:nowrap}.table tr:hover{background:#f8f9fa}.table td:last-child,.table th:last-child{text-align:right}@media screen and (max-width:1024px){.invoice-history-table{min-width:700px}.table td,.table th{font-size:13px;padding:10px 8px}}@media screen and (max-width:768px){.invoice-history-table{min-width:600px}.table td,.table th{font-size:12px;padding:8px 6px}}@media screen and (max-width:576px){.table-wrapper{margin:0 -15px;padding:0 15px}.invoice-history-table{min-width:500px}.table td,.table th{font-size:11px;padding:6px 4px}}.invoice-preview{align-items:stretch;border:1px solid #333;box-sizing:border-box;display:flex;flex-direction:column;margin:20px auto;max-width:800px;min-height:auto;min-height:29.7cm;width:210mm}.invoice-footer{margin-top:auto!important}.invoice-header{align-items:flex-start;border-bottom:1px solid #333;display:flex;justify-content:space-between;margin-bottom:-1px;text-align:center}.invoice-title{color:#333;font-size:2rem;font-weight:700;margin-bottom:0}.invoice-details{align-items:flex-start;display:flex;gap:10px}.invoice-info{border:1px solid #333;border-left:0;border-right:1px solid;font-size:12px;padding:26px 14px}.invoice-info h3{color:#000;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.invoice-table{border:1px solid #333;border-collapse:collapse;border-left:0;border-right:0;margin:0;width:100%}.invoice-table td,.invoice-table th{border:1px solid #333;font-size:.98rem;padding:6px 10px;text-align:left}.invoice-table tbody tr td{border-bottom:1px solid #0000}.invoice-table th{border:1px solid #333;font-weight:600}.invoice-table td:last-child,.invoice-table th:last-child,.invoice-total{text-align:right}.invoice-total{border-top:1px solid #333;margin-top:0}.invoice-total table{border:1px solid #0000;border-spacing:0;margin-left:auto;margin-right:-2px;margin-top:-2px;width:330px}.invoice-total td{border:1px solid #333;font-size:.98rem;padding:6px 10px}.invoice-total .total-row{border:1px solid #333;font-size:1.08rem;font-weight:700}.amount-in-words{border:1px solid #333;border-bottom:0;border-left:0;border-right:0;font-size:10px;font-style:italic;margin-top:-2px;padding:4px 14px}.invoice-footer{border-top:1px solid #333;display:flex;margin-top:0!important;padding-top:0}.invoice-footer h4{color:#000;font-size:12px;letter-spacing:.5px;margin-top:10px;text-transform:uppercase}.bank-details{border:1px solid #333;border-right:0;margin-top:-1px;padding:10px 14px}.bank-details p{font-size:.98rem;margin:3px 0}.client-list{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-top:20px}.client-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 2px 5px #0000001a;padding:20px}.client-card h3{color:#333;margin-bottom:10px}.client-card p{color:#666;margin:5px 0}.client-actions{margin-top:15px}@media print{.no-print{display:none!important}*{height:auto!important;max-height:none!important;min-height:auto!important}.invoice-preview{background:#fff;border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box!important;display:block!important;margin:12mm;max-width:180mm!important;overflow:visible!important;padding:0;page-break-after:auto;position:static!important;width:188mm!important}.invoice-preview>*,.invoice-table,.invoice-table tbody,.invoice-table tr{break-inside:auto!important;page-break-inside:auto!important}.amount-in-words,.invoice-footer,.invoice-total{break-inside:avoid!important;page-break-inside:avoid!important}.invoice-preview{align-items:stretch!important;flex-direction:column!important;height:auto!important;max-height:none!important;min-height:auto!important}.invoice-details,.invoice-footer,.invoice-header,.invoice-preview{display:flex!important}@page{size:A4!important;margin:10mm!important}.invoice-preview table{display:table!important}.invoice-preview tr{display:table-row!important}.invoice-preview td,.invoice-preview th{display:table-cell!important}.pto-text{display:none!important}@media print{.pto-text{display:block!important}}.invoice-info{border:1px solid #333;border-left:0;border-right:1px solid;font-size:12px;padding:4px 14px}.invoice-table{border:1px solid #000;border-left:0;border-radius:0;border-right:0}.invoice-table td,.invoice-table th{border:1px solid #000}.invoice-table tbody tr td{border-bottom:1px solid #0000}.invoice-total table{border:1px solid #0000;border-spacing:0;margin-left:auto;margin-right:-2px;margin-top:-2px;width:87.3mm}.amount-in-words,.invoice-total td{border:1px solid #000}.amount-in-words{border-bottom:0;border-left:0;border-right:0;font-size:10px;font-style:italic;margin-top:-2px;padding:4px 14px}.bank-details{border:1px solid #333;border-right:0;margin-top:-1px;padding:10px 14px}body{background:#fff}.invoice-preview td{border-bottom:0;border-right:0}.invoice-total tbody{border:1px solid #0000}.invoice-total td{border:1px solid #000!important;border-bottom:0!important;border-right:0!important}}@media (min-width:1194px) and (max-width:1200px){.container{max-width:100%;padding:12px}.form-group{margin-bottom:14px}.form-group label{font-size:13px;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{font-size:13px;height:36px;padding:8px 12px}.btn{font-size:13px;height:36px;padding:8px 16px}.btn-sm{font-size:12px;height:32px;padding:6px 12px}.btn-lg{font-size:14px;height:40px;padding:10px 20px}.table{font-size:11px}.table td,.table th{padding:8px 10px}.form-input,.form-select{font-size:13px;height:36px;padding:8px 12px}.form-input-sm{font-size:12px;height:32px;padding:6px 10px}.invoice-preview{margin:8mm;max-width:180mm!important;width:180mm!important}.invoice-preview p,.invoice-preview td,.invoice-preview th{font-size:9px}.invoice-table td,.invoice-table th{padding:4px 6px}.modal-right-content{max-width:600px;width:90%}}@media (min-width:834px) and (max-width:1200px) and (orientation:landscape){.container{padding:10px}.header{padding:16px 20px}.header h1{font-size:1.5rem}.header p{font-size:.9rem}.tabs{gap:8px;padding:8px}.tab{font-size:13px;padding:10px 16px}.tab-content{padding:16px}.form-group{margin-bottom:12px}.form-group label{font-size:12px;margin-bottom:4px}.form-group input,.form-group select,.form-group textarea{font-size:12px;height:32px;padding:6px 10px}.btn{font-size:12px;height:32px;padding:6px 14px}.table{font-size:10px}.table td,.table th{padding:6px 8px}.invoice-preview{margin:6mm;max-width:170mm!important;width:170mm!important}.invoice-preview p,.invoice-preview td,.invoice-preview th{font-size:8px}.invoice-table td,.invoice-table th{padding:3px 5px}.modal-right-content{max-width:500px;width:85%}.modal-right-body,.modal-right-footer,.modal-right-header{padding:12px 16px}}@media (max-width:768px){.container{padding:10px}.invoice-details{grid-template-columns:1fr}.tabs{flex-direction:column}.invoice-preview{padding:10px}}.invoice-preview{background:#fff;border:1px solid #000;border-radius:0;box-shadow:none;height:auto!important;margin:10mm;max-width:190mm!important;min-height:auto!important;padding:0;page-break-after:auto;width:190mm!important}.table input[type=number],.table input[type=text]{background:#fff;border:2px solid #e9ecef;border-radius:6px;box-sizing:border-box;font-size:1rem;height:40px;min-height:40px;padding:0 12px}.cell-input{background:#fff;border:1.5px solid #e6ecf1;border-radius:8px;box-sizing:border-box;font-size:14px;height:36px;min-height:36px;padding:6px 10px;width:100%}.cell-input:focus{border-color:#1677ff;box-shadow:0 0 0 3px #6c7ee326;outline:none}.cell-input--hsn{max-width:110px}.cell-input--amt{max-width:120px;text-align:right}.cell-input--desc{max-width:520px}.invoice-items-table thead th{position:-webkit-sticky;position:sticky;top:0;z-index:2}.invoice-items-table tbody tr:hover{background:#f5f8ff}.delete-row-btn{background:#ffe8ea;border:none;border-radius:10px;color:#dc3545;cursor:pointer;font-size:14px;padding:6px 10px}.delete-row-btn:hover{background:#ffdadd}.invoice-totals-bar{align-items:center;display:flex;flex-wrap:nowrap;gap:16px;justify-content:flex-end;padding:12px 8px 0;width:100%}.invoice-totals-bar .totals-item{align-items:center;background:#f8f9fa;border:1px solid #e6ecf1;border-radius:10px;display:flex;gap:10px;padding:10px 14px}.invoice-totals-bar .totals-item span{color:#666;font-weight:500}.invoice-totals-bar .totals-item.total{background:#eef2ff;border-color:#e0e7ff}.sticky-action-bar{align-items:center;-webkit-backdrop-filter:saturate(180%) blur(6px);backdrop-filter:saturate(180%) blur(6px);background:#ffffffd9;border-top:1px solid #e6ecf1;bottom:0;display:flex;justify-content:space-between;margin-top:16px;padding:12px 24px;position:-webkit-sticky;position:sticky;z-index:20}.sticky-action-bar .summary{color:#374151}.sticky-action-right{display:flex;gap:8px}@media (max-width:768px){.invoice-totals-bar{flex-wrap:wrap;gap:10px;justify-content:space-between}.cell-input--desc{max-width:none}.sticky-action-bar{align-items:stretch;flex-direction:column;gap:10px}.sticky-action-right{justify-content:stretch}}.invoice-form-grid-2{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1.15fr 1fr}.client-select-panel{background:#e7f0ff;border:1px solid #d8e7ff;border-radius:12px;padding:16px}@media (max-width:900px){.invoice-form-grid-2{grid-template-columns:1fr}}.invoice-number-title{align-items:baseline;display:flex;gap:12px;margin:12px 0 0;padding:8px 0 0}.invoice-number-title span{color:#6b7280;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.invoice-number-title h2{color:#1f2937;font-size:22px;font-weight:700;margin:0}.po-checkbox-row{align-items:center;display:flex;height:40px}.table input[type=number]:focus,.table input[type=text]:focus{border-color:#eb2026;outline:2px solid #b4b6b8}.invoice-meta-table{border:1px solid #333;border-bottom:0;border-collapse:collapse;border-left:0;border-right:0;font-size:12px;margin-bottom:0;width:100%}.invoice-meta-table td{border:1px solid #333;border-left:0;border-right:0;font-size:12px;padding:4px 6px;text-align:left;vertical-align:top}.invoice-preview p,.invoice-preview td,.invoice-preview th{font-size:10px}.invoice-table td:first-child,.invoice-table th:first-child{border-left:0}.invoice-table td:last-child,.invoice-table th:last-child{border-right:0}.form-input,.form-input textarea{background:#fff;border:1.5px solid #e6ecf1;border-radius:10px;box-shadow:0 1px 3px #4c4f690a;color:#111827;font-family:inherit;font-size:15px;font-weight:400;line-height:1.5;outline:none;padding:10px 16px;transition:border-color .2s ease,box-shadow .2s ease;width:100%}.page-container input[type=date]::placeholder,.page-container input[type=email]::placeholder,.page-container input[type=number]::placeholder,.page-container input[type=password]::placeholder,.page-container input[type=tel]::placeholder,.page-container input[type=text]::placeholder{color:#6b7280}.page-container input[type=date]:focus,.page-container input[type=email]:focus,.page-container input[type=number]:focus,.page-container input[type=password]:focus,.page-container input[type=tel]:focus,.page-container input[type=text]:focus,.page-container select:focus{border-color:#1677ff;box-shadow:0 0 0 3px #6c7ee326}.page-container label{color:#374151;font-size:14px;font-weight:600}.form-input textarea:hover,.form-input:hover{border-color:#1677ff;box-shadow:0 2px 8px #4c4f691a}.form-input textarea:focus,.form-input:focus{border-color:#1677ff;box-shadow:0 0 0 3px #6c7ee326}.form-input textarea::placeholder,.form-input::placeholder{color:#6b7280}.form-input textarea:disabled,.form-input:disabled{background-color:#f8f9fa;color:#6c757d;cursor:not-allowed;opacity:.7}.form-input-sm{font-size:12px;padding:6px 12px}@keyframes slideInFromRight{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}@keyframes slideOutToRight{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100%)}}.modal-right-overlay{align-items:flex-start;background:#00000080;display:flex;height:100vh;justify-content:flex-end;left:0;padding:0;position:fixed;top:0;width:100vw;z-index:1000}.modal-right-content{animation:slideInFromRight .3s cubic-bezier(.25,.46,.45,.94);background:#fff;box-shadow:-4px 0 20px #0003;display:flex;flex-direction:column;height:100vh;max-width:90vw;overflow-x:hidden;overflow-y:auto;position:relative;width:400px}.modal-right-content.modal-wide{max-width:100vw;width:500px}.modal-right-content.closing{animation:slideOutToRight .3s cubic-bezier(.25,.46,.45,.94)}.modal-right-header{background:#fff;border-bottom:1px solid #eee;padding:24px 30px 20px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.modal-right-body{flex:1 1;overflow-x:hidden;overflow-y:auto;padding:20px 30px calc(120px + env(safe-area-inset-bottom));scroll-padding-bottom:140px}.modal-right-footer{background:#fff;border-top:1px solid #eee;bottom:0;padding:20px 30px;position:-webkit-sticky;position:sticky;z-index:5}@media (max-width:768px){.modal-right-content{max-width:100vw;width:100vw}.modal-right-overlay{justify-content:center;z-index:99999}}.invoice-number-link{background:none;background-color:#764ba200;border:none;border-radius:4px;color:#1677ff;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:500;margin:0;padding:2px 4px;text-decoration:underline;transition:all .2s ease}.invoice-number-link:hover{background-color:#764ba21a;border-radius:4px;color:#764ba2;padding:2px 4px;text-decoration:none}.invoice-number-link:focus{border-radius:4px;outline:2px solid #764ba24d;outline-offset:2px}.invoice-number-link:active{color:#3d1e54;transform:translateY(1px)}.ant-input-affix-wrapper input[type=text]{border:none;padding:0 12px}.ant-menu-light .ant-menu-item-selected,.ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title{background-color:#1677ff1f!important;color:#1677ff!important;font-weight:500}.ant-menu-inline-collapsed .ant-menu-item-selected{background-color:#1677ff4d!important}.ant-menu-item,.ant-menu-submenu-title{border-radius:8px!important;margin-block:4px!important;margin-inline:5px!important;width:calc(100% - 10px)!important}.ant-menu-title-content{padding-top:4px}.ant-menu-light .ant-menu-item-selected .anticon,.ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title .anticon{color:#1677ff!important}.ant-menu-light .ant-menu-item:hover,.ant-menu-light .ant-menu-submenu-title:hover{background-color:#1677ff1f!important;color:#1677ff!important}.ant-menu-light .ant-menu-item:hover .anticon,.ant-menu-light .ant-menu-submenu-title:hover .anticon{color:#1677ff!important}body,html{width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:initial;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:initial}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}.App{text-align:center}body,html{height:100%;margin:0;overflow-x:hidden;padding:0}:root{--motion-fast:120ms;--motion-normal:220ms;--motion-slow:360ms;--easing-standard:cubic-bezier(0.4,0,0.2,1);--easing-emphasized:cubic-bezier(0.2,0,0,1)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{animation:App-logo-spin 20s linear infinite}}.App-header{background-color:#282c34;color:#fff;padding:20px}.App-link{color:#61dafb}@keyframes App-logo-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.config-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;margin-bottom:20px;padding:20px}.card-style{background:#fff;border-radius:12px;box-shadow:0 2px 10px #4c4f690f;margin-bottom:0;padding:24px 24px 18px}.config-section-header{align-items:center;border-bottom:1.5px solid #f3f3f3;display:flex;justify-content:space-between;margin-bottom:18px;padding-bottom:8px}.config-section-header h3{color:#6c7ee3;font-size:1.15rem;font-weight:600;margin:0}.config-items-grid{grid-row-gap:12px;grid-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:220px 1fr;margin-top:8px;row-gap:12px}.config-label{color:#888;font-weight:500;padding-right:8px;text-align:right}.config-items-grid input[type=file]{width:100%}.upload-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr}.upload-item{display:flex;flex-direction:column;gap:8px}.upload-title{color:#666;font-size:.9rem;font-weight:600}.bank-card{border-left:3px solid #43a047;margin-bottom:0!important}.facility-pill{align-items:center;background:#f093fb22;border-radius:16px;box-shadow:0 1px 3px #fa709a0a;color:#764ba2;display:inline-flex;font-size:13px;font-weight:500;margin-bottom:4px;padding:4px 14px 4px 12px}@media (max-width:900px){.config-items-grid{column-gap:0;grid-template-columns:1fr;row-gap:8px}.card-style{padding:18px 10px 14px}}.table{font-size:12px;overflow:visible!important}.table input{font-size:12px!important}.expense-category-card:hover{border-color:#cbd5e0!important;box-shadow:0 2px 8px #0000001a!important}.action-btn svg,.action-button svg{font-size:1em!important;height:1em!important;vertical-align:middle;width:1em!important}.invoice-history-filters{align-items:center;display:flex;gap:16px}.invoice-history-filters select{-webkit-appearance:none;appearance:none;background:#fff;border:1.5px solid #e6ecf1;border-radius:10px;box-shadow:0 1px 3px #4c4f690a;color:#222;cursor:pointer;font-size:1rem;height:40px;min-width:120px;outline:none;padding:0 18px 0 12px;transition:border .2s,box-shadow .2s}.invoice-history-filters select:focus{border-color:#764ba2;box-shadow:0 0 0 2px #764ba222}.invoice-history-filters select:hover{border-color:#6c7ee3}.app-layout{display:flex;min-height:100vh}.security-pill{align-items:center;background:none;border:none;border-radius:20px;color:#2e7d32;display:flex;font-size:.75rem;font-weight:500;gap:6px;margin-top:8px;padding:0;transition:all .3s ease}.security-pill:hover{color:#1b5e20;transform:translateY(-1px)}@keyframes lockPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}.security-pill .lottie-shield-container{animation:lockPulse 2s ease-in-out infinite}.security-indicator{align-items:center;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:linear-gradient(135deg,#4caf50,#45a049);border-radius:0 0 16px 16px;box-shadow:0 4px 16px #4caf504d;color:#fff;display:flex;font-size:.8rem;font-weight:500;gap:8px;padding:8px 16px;position:fixed;right:9px;top:0;transition:all .3s ease;z-index:999999}.security-indicator:hover{box-shadow:0 6px 20px #4caf5066;transform:translateY(-2px)}.lottie-shield-container{align-items:center;display:flex;flex-shrink:0;justify-content:center}.session-timer-label{background:#1976d20f;border:1px solid #1976d224;border-radius:10px;color:#455a64;font-size:12.5px;font-weight:500;margin:0 16px 16px;padding:10px 12px;text-align:center}.session-timer-label span{background:#1976d22e;border-radius:8px;color:#0c3d91;display:inline-block;font-family:SFMono-Regular,Roboto Mono,Menlo,monospace;letter-spacing:.05em;margin-left:8px;min-width:60px;padding:3px 10px}.invoice-form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr 1fr;margin-bottom:20px}@media (max-width:1200px){.invoice-form-grid{gap:16px;margin-bottom:16px}}@media (max-width:900px){.invoice-form-grid{gap:14px;grid-template-columns:1fr 1fr;margin-bottom:14px}}@media (max-width:600px){.invoice-form-grid{gap:12px;grid-template-columns:1fr;margin-bottom:12px}}@media (min-width:1194px) and (max-width:1200px){.config-items-grid{column-gap:16px;grid-template-columns:120px 1fr}.security-indicator{border-radius:0 0 12px 12px;font-size:.7rem;padding:6px 12px;right:6px;top:0}.form-group{margin-bottom:12px}.form-group label{font-size:12px;margin-bottom:4px}.form-group input,.form-group select,.form-group textarea{font-size:12px;height:32px;padding:6px 10px}.table{font-size:10px}.table td,.table th{padding:6px 8px}.table input{font-size:10px!important;height:28px;padding:4px 6px}.invoice-form-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr 1fr;margin-bottom:16px}.btn{font-size:12px;height:32px;padding:6px 14px}.btn-sm{font-size:11px;height:28px;padding:4px 10px}.modal-right-content{max-width:600px;width:90%}.invoice-preview{margin:8mm;max-width:180mm!important;width:180mm!important}.invoice-preview p,.invoice-preview td,.invoice-preview th{font-size:9px}.invoice-table td,.invoice-table th{padding:4px 6px}}@media (min-width:834px) and (max-width:1200px) and (orientation:landscape){.config-section{margin-bottom:16px;padding:16px}.card-style{padding:20px 20px 16px}.form-group{margin-bottom:10px}.form-group label{font-size:11px;margin-bottom:3px}.form-group input,.form-group select,.form-group textarea{font-size:11px;height:28px;padding:5px 8px}.table{font-size:9px}.table td,.table th{padding:4px 6px}.table input{font-size:9px!important;height:24px;padding:3px 5px}.invoice-form-grid{gap:12px;margin-bottom:12px}.btn{font-size:11px;height:28px;padding:5px 12px}.btn-sm{font-size:10px;height:24px;padding:3px 8px}.modal-right-content{max-width:500px;width:85%}.modal-right-body,.modal-right-footer,.modal-right-header{padding:12px 16px}.invoice-preview{margin:6mm;max-width:170mm!important;width:170mm!important}.invoice-preview p,.invoice-preview td,.invoice-preview th{font-size:8px}.invoice-table td,.invoice-table th{padding:3px 5px}}@media (max-width:768px){.security-pill{font-size:.7rem;margin-top:6px;padding:0}}@media (max-width:600px){.security-indicator{border-radius:0 0 12px 12px;font-size:.7rem;padding:6px 12px;right:6px;top:0}}.container{margin:0;max-width:none;padding:0}@media print{.no-print,.print-button,.print-button-container{display:none!important}.invoice-preview{break-inside:avoid!important;margin:0!important;max-width:none!important;padding:0!important;page-break-inside:avoid!important;width:100%!important}.invoice-preview table{break-inside:auto!important;page-break-inside:auto!important}.invoice-preview tr{break-inside:avoid!important;page-break-inside:avoid!important}.invoice-preview .invoice-items-table{break-inside:auto!important;page-break-inside:auto!important}.invoice-preview .amount-in-words,.invoice-preview .invoice-footer,.invoice-preview .invoice-total{break-inside:avoid!important;page-break-inside:avoid!important}.invoice-preview{border:1px solid #000!important;height:auto!important;max-height:none!important;min-height:auto!important;overflow:visible!important}@page{size:A4!important;margin:.5in!important}.modal-overlay{background:none!important;display:block!important;height:auto!important;position:static!important;width:auto!important}.modal-content{border:none!important;box-shadow:none!important;height:auto!important;margin:0!important;max-height:none!important;max-width:none!important;overflow:visible!important;padding:0!important;width:100%!important}}@keyframes overlayFade{0%{opacity:0}to{opacity:1}}@keyframes modalEnter{0%{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.dropdown-container{display:inline-block;overflow:visible!important;position:relative}.dropdown-menu{background:#fff;border:1px solid #eaeaea;border-radius:14px;box-shadow:0 12px 32px #00000026;min-width:260px;padding:8px 0;position:fixed;z-index:99999}.dropdown-item{align-items:center;background:none;border:none;color:#262626;cursor:pointer;display:flex;font-size:15px;gap:10px;padding:12px 16px;text-align:left;transition:background-color .12s cubic-bezier(.4,0,.2,1),transform .12s cubic-bezier(.4,0,.2,1);transition:background-color var(--motion-fast) var(--easing-standard),transform var(--motion-fast) var(--easing-standard);width:100%}.dropdown-item:hover{background-color:#f7f8ff}.dropdown-item.danger{color:#dc2626}.dropdown-item.danger:hover{background-color:#fff1f1}.invoice-type-tabs{background:#f8f9fa;border-radius:12px;box-shadow:0 2px 8px #00000014;display:flex;gap:8px;margin-bottom:24px;padding:6px}.invoice-type-tab{background:#0000;border:none;border-radius:8px;color:#666;cursor:pointer;font-size:14px;font-weight:600;min-width:120px;overflow:hidden;padding:12px 20px;position:relative;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1)}.invoice-type-tab:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.invoice-type-tab:hover:before{left:100%}.invoice-type-tab.active{background:#6c7ee3;box-shadow:0 4px 15px #376cc81a;color:#fff;transform:translateY(-1px)}.invoice-type-tab:hover:not(.active){background:#fffc;box-shadow:0 2px 8px #0000001a;color:#6c7ee3;transform:translateY(-1px)}.invoice-type-tab .count{font-size:12px;margin-left:4px;opacity:.8}@media (min-width:1194px) and (max-width:1200px){.dashboard-chart-container{height:300px;margin-bottom:16px}.dashboard-chart-container canvas{max-height:280px}.chart-legend{font-size:11px}.chart-title{font-size:14px;margin-bottom:8px}.data-table{font-size:10px}.data-table td,.data-table th{padding:6px 8px}.stats-card{padding:16px}.stats-card h3{font-size:16px;margin-bottom:8px}.stats-card .value{font-size:24px;font-weight:600}.stats-card .label{color:#666;font-size:12px}}@media (min-width:834px) and (max-width:1200px) and (orientation:landscape){.dashboard-chart-container{height:250px;margin-bottom:12px}.dashboard-chart-container canvas{max-height:230px}.chart-legend{font-size:10px}.chart-title{font-size:13px;margin-bottom:6px}.data-table{font-size:9px}.data-table td,.data-table th{padding:4px 6px}.stats-card{padding:12px}.stats-card h3{font-size:14px;margin-bottom:6px}.stats-card .value{font-size:20px;font-weight:600}.stats-card .label{color:#666;font-size:11px}}.page-container{padding:24px}.expenses-page{padding:0}.page-header{align-items:flex-start;display:flex;gap:24px;justify-content:space-between;margin-bottom:32px}.page-title h1{color:#222;font-size:2rem;font-weight:600;margin:0 0 8px}.page-title p{color:#666;font-size:1rem;margin:0}.page-actions{display:flex;flex-shrink:0;gap:12px}.page-actions .search-input{width:280px}@media (max-width:900px){.page-actions .search-input{width:220px}}@media (max-width:600px){.page-actions{flex-wrap:wrap}.page-actions .search-input{width:100%}}.stats-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:16px}.stats-grid.cols-3{grid-template-columns:repeat(3,1fr)}@media (max-width:1100px){.stats-grid.cols-3{grid-template-columns:repeat(2,1fr)}}@media (max-width:900px){.stats-grid.cols-3{grid-template-columns:1fr}}@media (max-width:640px){.stats-grid.cols-3{grid-template-columns:1fr}}.stat-card{align-items:center;background:#fff;border:1px solid #e6ecf1;border-radius:12px;box-shadow:0 2px 8px #0000000d;display:flex;gap:16px;padding:24px;transition:color .12s cubic-bezier(.4,0,.2,1),background .12s cubic-bezier(.4,0,.2,1),transform .12s cubic-bezier(.4,0,.2,1);transition:color var(--motion-fast) var(--easing-standard),background var(--motion-fast) var(--easing-standard),transform var(--motion-fast) var(--easing-standard)}.stat-card:hover{box-shadow:0 4px 16px #0000001a;transform:translateY(-2px)}.invoice-number-card{justify-content:flex-start;margin-bottom:16px}.invoice-number-label{color:#6b7280;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.invoice-number-value{color:#1f2937;font-size:26px;font-weight:800;margin-top:6px}.invoice-meta-item{display:flex;flex-direction:column}.invoice-meta-sep{align-self:center;background:#e6ecf1;height:40px;margin:0 18px;width:1px}.compact-form .form-group{margin-bottom:4px}.compact-form .invoice-form-grid{gap:12px;margin-bottom:0}.compact-form .form-group:first-child{margin-bottom:10px}.invoice-items-table{background:#fff;border:1px solid #e9ecef;box-shadow:none}.invoice-items-table td,.invoice-items-table th{padding:4px 6px}.invoice-items-table input[type=number],.invoice-items-table input[type=text]{padding:0 6px!important;text-align:left}.stat-icon{align-items:center;background:#f8f9fa;border-radius:12px;display:flex;flex-shrink:0;height:60px;justify-content:center;width:60px}.stat-content h3{color:#666;font-size:.9rem;font-weight:500;letter-spacing:.5px;margin:0 0 8px;text-transform:uppercase}.info-row{grid-gap:8px;display:grid;gap:8px;grid-template-columns:160px 1fr;margin:8px 0}.info-row label{color:#666;font-weight:500}.info-row span{color:#222}.info-section{background:#fff;border:1px solid #e6ecf1;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:16px;padding:20px}.info-section-header{align-items:center;border-bottom:1px solid #e6ecf1;display:flex;gap:10px;margin-bottom:16px;padding-bottom:10px}.info-section-header h3{color:#222;font-size:1.1rem;font-weight:600;margin:0}.info-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.info-card{background:#fff;border:1px solid #e6ecf1;border-radius:10px;box-shadow:0 2px 8px #0000000a;padding:12px 14px}.info-card-label{color:#6b7280;font-size:12px;letter-spacing:.04em;margin-bottom:6px;text-transform:uppercase}.info-card-value{color:#111827;font-size:16px;font-weight:600;word-break:break-word}.stat-value{color:#222;font-size:1.8rem;font-weight:600;margin:0}.filters-section{background:#fff;border:1px solid #e6ecf1;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:16px;padding:24px}.filters-header{align-items:center;display:flex;gap:8px;margin-bottom:20px}.filters-header h3{color:#222;font-size:1.1rem;font-weight:600;margin:0}.filters-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{color:#555;font-size:.9rem;font-weight:500}.date-input,.search-input{align-items:center;display:flex;position:relative}.date-input>svg,.search-input>svg{color:#6b7280;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:1}.date-input>input,.search-input>input{border:1.5px solid #e6ecf1;border-radius:12px;color:#111827;font-size:15px;padding:12px 14px 12px 40px;transition:border-color .12s cubic-bezier(.4,0,.2,1),box-shadow .12s cubic-bezier(.4,0,.2,1),transform .12s cubic-bezier(.4,0,.2,1);transition:border-color var(--motion-fast) var(--easing-standard),box-shadow var(--motion-fast) var(--easing-standard),transform var(--motion-fast) var(--easing-standard);width:100%}.date-input>input:focus,.search-input>input:focus{border-color:#6c7ee3;box-shadow:0 0 0 3px #6c7ee326;outline:none}.search-input .ant-input-affix-wrapper{border:1.5px solid #e6ecf1;border-radius:12px;height:44px;padding:0 12px;width:100%}.search-input .ant-input-affix-wrapper:focus-within{border-color:#6c7ee3;box-shadow:0 0 0 3px #6c7ee326}.search-input .ant-input{border:none!important;box-shadow:none!important;padding:0!important}.filter-group select{background:#fff;border:1px solid #ddd;border-radius:8px;font-size:.9rem;padding:10px 12px;transition:border-color .2s ease}.form-select{-webkit-appearance:none;appearance:none;background:#fff;border:1.5px solid #e6ecf1;border-radius:10px;box-shadow:0 1px 3px #4c4f690a;color:#222;cursor:pointer;font-size:1rem;height:40px;min-width:180px;outline:none;padding:0 18px 0 12px;transition:border .2s,box-shadow .2s}.form-select:focus{border-color:#764ba2;box-shadow:0 0 0 2px #764ba222}.form-select:hover{border-color:#6c7ee3}.filter-group select:focus{border-color:#6c7ee3;box-shadow:0 0 0 3px #4923631a;outline:none}.table-container{background:#fff;border:1px solid #e6ecf1;border-radius:12px;box-shadow:0 2px 8px #0000000d;overflow:hidden}.table-header{background:#fafafa;border-bottom:1px solid #e6ecf1;padding:20px 24px}.table-header h3{color:#222;font-size:1.1rem;font-weight:600;margin:0}.table-wrapper{overflow-x:auto}.data-table{border-collapse:collapse;font-size:.9rem;width:100%}.data-table th{background:#f8f9fa;border-bottom:1px solid #e6ecf1;color:#555;font-weight:600;padding:16px 12px;text-align:left;white-space:nowrap}.data-table td{border-bottom:1px solid #f0f0f0;padding:16px 12px;vertical-align:top}.table-company-link{border-radius:6px;color:#1f2937;font-weight:600;padding:4px 6px;text-decoration:none;transition:background-color .12s cubic-bezier(.4,0,.2,1),color .12s cubic-bezier(.4,0,.2,1);transition:background-color var(--motion-fast) var(--easing-standard),color var(--motion-fast) var(--easing-standard)}.table-company-link:hover{background:#e7ebff;color:#1e40af}.table-company-cell{border-radius:10px;display:inline-block;padding:6px 8px;transition:background-color .12s cubic-bezier(.4,0,.2,1);transition:background-color var(--motion-fast) var(--easing-standard)}.table-company-cell:hover{background:#f3f4f6}.data-table tbody tr:hover{background:#f8f9fa}.data-table .col-vendor{text-align:left!important}.category-badge{background:#e3f2fd;border-radius:6px;color:#1976d2;display:inline-block;font-size:.8rem;font-weight:500;padding:4px 8px}.description-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount-cell{color:#43a047;font-weight:600;text-align:right}.status-badge{align-items:center;border-radius:9999px;display:inline-flex;font-size:.8rem;font-weight:600;gap:6px;padding:6px 10px;text-transform:capitalize;white-space:nowrap}.status-badge.status-pending{background:#fff7ed;border:1px solid #fde4cf;color:#c2410c}.status-badge.status-partially_paid{background:#eef2ff;border:1px solid #e0e7ff;color:#4338ca}.status-badge.status-fully,.status-badge.status-paid{background:#e8f5e9;border:1px solid #c8e6c9;color:#2e7d32}.status-badge.status-overdue{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c}.btn-icon{align-items:center;background:#0000;border:none;border-radius:6px;cursor:pointer;display:flex;height:32px;justify-content:center;transition:background .12s cubic-bezier(.4,0,.2,1),transform .12s cubic-bezier(.4,0,.2,1),box-shadow .12s cubic-bezier(.4,0,.2,1);transition:background var(--motion-fast) var(--easing-standard),transform var(--motion-fast) var(--easing-standard),box-shadow var(--motion-fast) var(--easing-standard);width:32px}.btn-icon:hover{transform:translateY(-1px)}.btn-edit{color:#2196f3}.btn-edit:hover{background:#e3f2fd}.btn-delete{color:#f44336}.btn-delete:hover{background:#ffebee}.btn-sm{border-radius:6px;height:28px;width:28px}.pagination{align-items:center;background:#fafafa;border-top:1px solid #e6ecf1;display:flex;gap:16px;justify-content:center;padding:20px 24px}.pagination-info{color:#666;font-size:.9rem;font-weight:500}.modal-overlay{animation:overlayFade .22s cubic-bezier(.4,0,.2,1);animation:overlayFade var(--motion-normal) var(--easing-standard);padding:20px}.modal{animation:modalEnter .22s cubic-bezier(.2,0,0,1) forwards;animation:modalEnter var(--motion-normal) var(--easing-emphasized) forwards;box-shadow:0 8px 32px #0003;max-width:600px;transform:translateY(6px) scale(.98);width:100%}.modal-header{margin-bottom:24px;padding:24px 24px 0}.modal-header h2{color:#222;font-size:1.5rem}.modal-form{padding:0 24px 24px}.form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group.full-width{grid-column:1/-1}.form-group label{color:#555;font-size:.9rem;font-weight:500}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:8px;font-size:.9rem;padding:10px 12px;transition:border-color .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#6c7ee3;box-shadow:0 0 0 3px #4923631a;outline:none}.form-group textarea{min-height:80px;resize:vertical}.loading{align-items:center;display:flex;font-size:1rem;justify-content:center;padding:60px 24px}@media (max-width:768px){.expenses-page{padding:16px}.page-header{align-items:stretch;flex-direction:column;gap:16px}.page-actions{justify-content:stretch}.filters-grid,.form-grid,.stats-grid{gap:16px;grid-template-columns:1fr}.modal{margin:20px;max-width:none}.data-table{font-size:.8rem}.data-table td,.data-table th{padding:12px 8px}.invoice-items-table{min-width:800px}.invoice-history-table{min-width:900px}.client-list-table{min-width:800px}.invoice-type-tabs{-webkit-overflow-scrolling:touch;overflow-x:auto;white-space:nowrap}.invoice-type-tab{flex:0 0 auto}.invoice-history-filters{align-items:stretch!important;flex-direction:column!important;gap:10px!important;width:100%}.invoice-history-filters .actions-dropdown-container,.invoice-history-filters .month-dropdown-container,.invoice-history-filters .year-dropdown-container{width:100%}.invoice-history-filters .btn,.invoice-history-filters .dropdown-btn{justify-content:space-between;width:100%}}.switch{display:inline-block;height:24px;position:relative;width:50px}.switch input{height:0;opacity:0;width:0}.slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.slider,.slider:before{position:absolute;transition:.4s}.slider:before{background-color:#fff;bottom:3px;content:"";height:18px;left:3px;width:18px}input:checked+.slider{background-color:#2196f3}input:focus+.slider{box-shadow:0 0 1px #2196f3}input:checked+.slider:before{transform:translateX(26px)}.slider.round{border-radius:24px}.slider.round:before{border-radius:50%}.session-countdown-overlay{align-items:center;background:#0e1e258c;display:flex;inset:0;justify-content:center;position:fixed;z-index:3000}.session-countdown-modal{background:#fff;border-radius:12px;box-shadow:0 12px 32px #0003;color:#1a1a1a;max-width:320px;padding:24px 32px;text-align:center}.session-countdown-modal h3{font-size:20px;font-weight:600;margin:0 0 8px}.session-countdown-modal p{color:#4a4a4a;font-size:15px;margin:0 0 16px}.session-countdown-timer{color:#d32f2f;font-size:36px;font-weight:700;margin-bottom:16px}.session-countdown-button{background:#1976d2;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:15px;padding:10px 16px;transition:background .2s ease}.session-countdown-button:focus,.session-countdown-button:hover{background:#1565c0;outline:none}@media (max-width:768px){.credit-note-form-grid,.credit-note-reason-grid{grid-template-columns:1fr!important}.credit-note-items-desktop{display:none!important}.credit-note-items-mobile{display:block!important}}@media (min-width:769px){.credit-note-items-desktop{display:block!important}.credit-note-items-mobile{display:none!important}}.login-container{align-items:center;background:radial-gradient(60% 40% at 50% 100%,#6c7ee399 0,#6c7ee300 60%),radial-gradient(60% 40% at 0 0,#000c 0,#0006 60%),radial-gradient(60% 40% at 100% 0,#000c 0,#0006 60%),#0b0f1a;display:flex;justify-content:center;min-height:100vh;padding:24px}.login-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0f;border:1px solid #ffffff1f;border-radius:20px;box-shadow:0 8px 40px #00000059;color:#eaeef8;max-width:440px;padding:28px;width:100%}.login-header{margin-bottom:20px}.login-header h1{color:#eaeef8;font-size:20px;margin:8px 0 6px}.login-header p{color:#b8c0ea;font-size:13px}.login-tabs{display:flex;gap:8px}.login-tab{background:#ffffff0f;border:1px solid #ffffff14;border-radius:9999px;color:#cfd6ff;cursor:default;font-size:12px;padding:6px 12px}.login-tab.active{background:#6c7ee3;border-color:#0000;color:#fff}.login-tab.inactive{opacity:.6}.login-logo{filter:drop-shadow(0 4px 12px rgba(73,35,99,.2));height:70px;margin-bottom:-10px;object-fit:contain;width:140px}.login-header h1{color:#fff;font-size:28px;font-weight:700;margin:0 0 8px}.login-header p{color:#989898;font-size:16px;font-weight:500;margin:0}.form-group input::placeholder{color:#8d8d8d}.error-message{background:#e74c3c1f;border-left:3px solid #e74c3c;border-radius:8px;color:#ffb0b0;font-size:13px;margin-bottom:16px;padding:12px 16px}.submit-btn{margin-top:6px;width:100%}.loading-spinner{animation:spin 1s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:20px;width:20px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:480px){.login-card{margin:10px;padding:30px 20px}.login-header h1{font-size:24px}.login-header p{font-size:14px}}.users-search{margin-bottom:20px}.search-box{max-width:400px;position:relative}.search-box .ant-input-affix-wrapper{border:2px solid #e1e5e9;border-radius:8px;height:44px;padding:0 12px;width:100%}.search-box .ant-input-affix-wrapper:focus-within{border-color:#6c7ee3;box-shadow:0 0 0 3px #6c7ee333}.search-box .ant-input{border:none;box-shadow:none;padding:0}.search-box svg{color:#666;position:static;transform:none}.search-box input{border:2px solid #e1e5e9;border-radius:8px;font-size:14px;padding:12px 16px 12px 40px;transition:all .3s ease;width:100%}.search-box input:focus{border-color:#6c7ee3;box-shadow:0 0 0 3px #6c7ee333;outline:none}.users-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.users-table{border-collapse:collapse;width:100%}.users-table th{background:#f8f9fa;border-bottom:2px solid #e9ecef;color:#333;font-weight:600;padding:16px 12px;text-align:left}.users-table td{border-bottom:1px solid #f0f0f0;padding:16px 12px;vertical-align:middle}.users-table tr:hover{background:#f8f9fa}.users-table tr.inactive{opacity:.6}.role-badge{align-items:center;border-radius:12px;display:inline-flex;font-size:12px;font-weight:500;gap:4px;padding:4px 8px}.role-badge.admin{background:#6c7ee31f;color:#6c7ee3}.role-badge.user{background:#667eea1a;color:#667eea}.status-badge{border-radius:12px;font-size:12px;font-weight:500;padding:4px 8px}.status-badge.active{background:#22c55e1a;color:#22c55e}.status-badge.inactive{background:#ef44441a;color:#ef4444}.action-buttons{gap:8px}.action-buttons,.modal-overlay{align-items:center;display:flex}.modal-overlay{background:#00000080;bottom:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0000001a;max-height:90vh;max-width:500px;overflow-y:auto;padding:0;width:90%}.modal-header{align-items:center;border-bottom:1px solid #e9ecef;display:flex;justify-content:space-between;padding:20px 24px}.modal-header h2{color:#333;font-size:20px;font-weight:600;margin:0}.close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:24px;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.close-btn:hover{background:#f1f3f4;color:#333}.modal form{padding:24px}.modal .form-group{margin-bottom:20px}.modal .form-group label{color:#333;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.modal .form-group input,.modal .form-group select{border:2px solid #e1e5e9;border-radius:8px;box-sizing:border-box;font-size:14px;padding:12px 16px;transition:all .3s ease;width:100%}.modal .form-group input:focus,.modal .form-group select:focus{border-color:#6c7ee3;box-shadow:0 0 0 3px #6c7ee333;outline:none}.modal .form-group input[type=checkbox]{margin-right:8px;width:auto}.modal-actions{border-top:1px solid #e9ecef;display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px}.modal-actions button{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;padding:10px 20px;transition:all .3s ease}.modal-actions button[type=button]{background:#f1f3f4;color:#333}.modal-actions button[type=button]:hover{background:#e1e5e9}.modal-actions button[type=submit]{background:#6c7ee3;color:#fff}.modal-actions button[type=submit]:hover{background:#667eea}.access-denied{color:#666;padding:60px 20px;text-align:center}.access-denied svg{color:#ef4444;margin-bottom:20px}.access-denied h2{color:#333;font-size:24px;font-weight:600;margin:0 0 12px}.access-denied p{font-size:16px;margin:0}.loading{color:#666;font-size:18px;padding:60px 20px;text-align:center}@media (max-width:768px){.users-header{align-items:flex-start;flex-direction:column;gap:16px}.users-table-container{overflow-x:auto}.users-table{min-width:600px}.action-buttons{flex-direction:column;gap:4px}.action-btn.toggle{font-size:10px;padding:4px 8px}}@media (max-width:480px){.users-container{padding:16px}.users-title h1{font-size:24px}.modal{margin:20px;width:95%}.modal form,.modal-header{padding:16px}}.invoice-details-container{margin:0 auto;max-width:1400px;padding:20px}.invoice-preview-card{overflow:auto;padding:20px}.invoice-info-card,.invoice-preview-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;box-shadow:var(--card-shadow,0 2px 8px #0000001a)}.invoice-info-card{padding:24px}.invoice-info-header{border-bottom:1px solid #eee;font-size:1.17em;font-weight:700;margin-bottom:20px;margin-top:0;padding-bottom:10px}.invoice-client-info{align-items:flex-start;display:flex;gap:16px;margin-bottom:20px}.invoice-meta-grid{grid-gap:16px;border-top:1px solid #eee;display:grid;gap:16px;grid-template-columns:1fr 1fr;padding-top:16px}.invoice-total-section{background:#f8f9fa;border-radius:8px;margin-top:24px;padding:16px}.invoice-actions-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.invoice-back-btn{align-items:center;display:flex;gap:8px;margin-bottom:20px}@media (max-width:576px){.invoice-details-container{padding:10px}.invoice-actions-grid,.invoice-meta-grid{grid-template-columns:1fr}.invoice-preview-card{padding:10px}.invoice-info-card{padding:16px}}.profile-container{background-color:#f8fafc;margin:0 auto;max-width:1400px;min-height:calc(100vh - 64px);padding:24px}.profile-header{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:32px;padding:32px}.profile-avatar{align-items:center;background-color:#3b82f6;display:flex;justify-content:center}.profile-header .ant-typography{color:#1e293b}.profile-header .ant-typography-secondary{color:#64748b;font-size:16px}.profile-header .ant-tag{align-items:center;border-radius:6px;display:inline-flex;font-size:13px;margin-right:8px;padding:4px 12px}.profile-container .ant-card{border:1px solid #e2e8f0;border-radius:12px;transition:transform .2s}.profile-container .ant-card-head{border-bottom:1px solid #f1f5f9;min-height:56px;padding:0 24px}.profile-container .ant-card-head-title{align-items:center;color:#1e293b;display:flex;font-weight:700;gap:8px}.profile-container .ant-card-body{padding:24px}.metrics-card .ant-statistic-title{color:#64748b;font-size:14px;font-weight:500}.metrics-card .ant-statistic-content{color:#1e293b;font-size:24px;font-weight:700}.metrics-card .ant-statistic-content-prefix{color:#3b82f6}.summary-type-card{background:#f8fafc!important;border:1px solid #e2e8f0!important;box-shadow:none!important}.summary-type-card:hover{border-color:#3b82f6!important;transform:translateY(-2px)}.password-card .ant-form-item-label>label{color:#334155;font-weight:600}.password-card .ant-input-password{border-radius:8px;padding:8px 12px}.password-card .ant-btn-primary{background-color:#3b82f6;border-color:#3b82f6;border-radius:8px;font-weight:600;height:44px;margin-top:8px}.password-card .ant-btn-primary:hover{background-color:#2563eb;border-color:#2563eb}.access-card .ant-descriptions-bordered .ant-descriptions-item-label{background-color:#f8fafc;color:#334155;font-weight:600}.info-card .ant-descriptions-item-label{color:#64748b;font-weight:500}.info-card .ant-descriptions-item-content{color:#1e293b;font-weight:600}.h-full{height:100%}@media (max-width:768px){.profile-container{padding:16px}.profile-header{padding:24px;text-align:center}.profile-header,.profile-header .ant-space{flex-direction:column}.profile-header .ant-space-item{margin-bottom:16px}}
/*# sourceMappingURL=main.2651ad74.css.map*/