:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#c2c5ff}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}::-webkit-scrollbar{display:none}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;color:#00000090;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.bot-message-container{max-width:100%;box-sizing:border-box}.bot-message-text{margin-bottom:15px}.datasource-label{font-size:12px;color:#28a745;background-color:#d4edda;padding:4px 8px;border-radius:12px;display:inline-block;margin-bottom:10px;border:1px solid #c3e6cb}.bot-card{width:100%;background-color:#f8f9fa;padding:15px;border-radius:8px;border:1px solid #dee2e6;margin-bottom:15px;box-sizing:border-box}.bot-card-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;row-gap:8px;margin-bottom:10px}.bot-card-title{margin:0;color:#2c3e50;flex:1 1 200px}.bot-buttons{display:flex;flex-direction:row;gap:10px;align-items:center;flex-wrap:nowrap}@media (max-width: 768px){.bot-buttons{flex-direction:column;gap:8px;margin-top:10px}}.icon-button{display:flex;align-items:center;justify-content:center;padding:6px;border-radius:6px;background-color:#f0f0f0;cursor:pointer}.icon-button.mobile{width:100%;margin:5px 0}.bot-summary{margin-top:15px;padding:10px;background-color:#e8f4f8;border-radius:4px;font-weight:700;color:#2c3e50}.bot-suggestions{margin-top:15px}.suggestion-label{font-size:14px;color:#666;margin-bottom:8px}.suggestion-button{display:block;margin:5px 0;padding:8px 12px;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-size:14px;width:100%;text-align:left}.customer-outstanding-card{margin-bottom:10px;padding:10px;background-color:#f0fbff;border-radius:4px;border:1px solid #e9ecef}.customer-outstanding-card .amount{color:#dc3545}.customer-outstanding-card .due-date{font-size:12px;color:#520910}.customer-outstanding-card .overdue{color:#dc3545;font-weight:700}.customer-outstanding-card .document-info{font-size:12px;font-weight:700;color:#11b806;padding:8px;background:#e6ffde;border-radius:5px;box-shadow:0 0 1px #00000080;display:inline-block;margin-top:5px}@media screen and (max-width: 600px){.customer-outstanding-card{padding:8px;font-size:14px}.customer-outstanding-card .document-info,.customer-outstanding-card .due-date{font-size:11px}}.customer-total-outstanding-card{margin-bottom:10px;padding:10px;background-color:#f0fbff;border-radius:4px;border:1px solid #e9ecef}.customer-total-outstanding-card .amount{color:#dc3545}.customer-total-outstanding-card .dues-chip{font-size:12px;color:#819067;padding:7px;border-radius:10px;border:1px solid #819067;display:inline-block;margin-top:5px}@media screen and (max-width: 600px){.customer-total-outstanding-card{padding:8px;font-size:14px}.customer-total-outstanding-card .dues-chip{font-size:11px;padding:6px}}.sales-order-blocked-container{display:flex;flex-direction:column;gap:10px}.sales-order-card{margin-bottom:10px;padding:10px;background-color:#fff;border-radius:4px;border:1px solid #e9ecef}.amount-highlight{color:#dc3545}.block-reason{color:#ffc107;background:#fff5db;font-weight:700;padding:4px 10px;border-radius:8px;box-shadow:0 0 1px #ffc107;display:inline-block;margin-top:4px}.created-date{font-size:12px;color:#6c757d;background:#cfffe0;padding:4px 5px;border-radius:5px;box-shadow:0 0 1px #cfffe0;display:inline-block;margin-top:4px}.supplier-outstanding-container{margin-bottom:10px;padding:10px;background-color:#fff;border-radius:4px;border:1px solid #e9ecef}.supplier-outstanding-header{font-weight:700}.supplier-amount{color:#28a745}.supplier-invoice,.supplier-due,.supplier-company{font-size:12px;color:#6c757d}.supplier-company{font-size:11px}.overdue-text{color:#dc3545;font-weight:700}@media (max-width: 600px){.supplier-outstanding-container{padding:8px}.supplier-amount,.supplier-invoice,.supplier-due,.supplier-company{font-size:11px}.supplier-company{font-size:10px}}.chat-card{margin-bottom:10px;padding:10px;background-color:#fff;border-radius:4px;border:1px solid #e9ecef;box-shadow:0 1px 3px #0000000d;font-size:14px}.chat-card strong{font-size:15px}.chat-card .highlight-green{color:#28a745;font-weight:700}.chat-card .highlight-red{color:#dc3545;font-weight:700}.chat-card .small-text{font-size:12px;color:#6c757d}.chat-card .meta-text{font-size:11px;color:#6c757d}@media screen and (max-width: 600px){.chat-card{font-size:13px;padding:8px}.chat-card strong{font-size:14px}.chat-card .small-text,.chat-card .meta-text{font-size:11px}}.po-overdue-container{display:flex;flex-direction:column;gap:10px}.po-overdue-card{padding:10px;background-color:#fff;border-radius:4px;border:1px solid #e9ecef;font-size:14px;word-wrap:break-word}.po-overdue-line{color:#28a745}.po-overdue-details{font-size:11px;color:#6c757d}.po-overdue-date{font-size:12px;color:#6c757d}.po-overdue-days{font-weight:700;color:#dc3545}@media screen and (max-width: 600px){.po-overdue-card{font-size:13px;padding:8px}.po-overdue-details,.po-overdue-date{font-size:11px}}.custom-table-wrapper{margin-top:20px}.custom-table-wrapper.hidden{display:none}.table-scroll-container{overflow-x:auto;border:1px solid #dee2e6;border-radius:10px;max-width:100%}.custom-table{border-collapse:collapse;width:100%;min-width:600px}.custom-table thead tr{background-color:#dee2e6;position:sticky;top:0}.custom-table th,.custom-table td{padding:10px;border:1px solid #dee2e6;text-align:center;font-size:.9rem;white-space:nowrap}.custom-table tbody tr:nth-child(2n){background-color:#f9f9f9}@media (max-width: 768px){.custom-table th,.custom-table td{font-size:.75rem;padding:8px}.custom-table{min-width:100%}}.tab-header{background-color:#fff;border-bottom:1px solid #dee2e6;display:flex;flex-wrap:wrap}.tab-button{flex:1;min-width:150px;padding:15px 20px;border:none;cursor:pointer;font-size:16px;border-bottom:3px solid transparent;background-color:#fff;color:#333}.tab-button.messages-active{background-color:#007bff;color:#fff;border-bottom:3px solid #0056b3}.tab-button.selfhelp-active{background-color:#28a745;color:#fff;border-bottom:3px solid #1e7e34}@media (max-width: 600px){.tab-button{font-size:14px;padding:10px 12px}}.sap-header{background-color:#2c3e50;color:#fff;padding:20px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.sap-header-left{flex:1;min-width:200px}.sap-header-left h1{margin:0;font-size:24px}.sap-header-left p{margin:5px 0 0;font-size:14px;opacity:.8}.sap-header-right{display:flex;justify-content:center;align-items:center;min-width:150px;margin-top:10px;gap:10px;flex-wrap:wrap}.sap-header-user{font-size:12px;color:#fff9}.sap-header-user span{font-size:16px;font-weight:700;color:#fff}@media (max-width: 300px){.sap-header-right{flex-direction:column;align-items:flex-start}}@media (max-width: 768px){.sap-header{flex-direction:column;align-items:flex-start}.sap-header-right{align-items:flex-start;margin-top:20px;width:100%}.sap-header-left h1{font-size:20px}.sap-header-left p{font-size:13px}.sap-header-user{font-size:11px}.sap-header-user span{font-size:14px}}.chat-container{flex:1;overflow-y:auto;padding:20px;background:#fff;border:1px solid #dee2e6}.chat-message-wrapper{margin-bottom:20px;display:flex}.chat-message-wrapper.user{justify-content:flex-end}.chat-message-wrapper.bot{justify-content:flex-start}.chat-bubble{max-width:90%;padding:12px 16px;border-radius:18px;word-wrap:break-word}.chat-bubble.user{background-color:#007bff;color:#fff}.chat-bubble.bot{background-color:#e9ecef;color:#333}.chat-timestamp{width:80%;font-size:11px;opacity:.7;margin-top:5px}.loading-wrapper{display:flex;justify-content:flex-start;margin-bottom:20px}.loading-bubble{padding:12px 16px;border-radius:18px;background-color:#e9ecef;color:#333}.loading-indicator{display:flex;align-items:center;gap:5px}.loading-dot{width:8px;height:8px;background-color:#007bff;border-radius:50%;animation:pulse 1.5s infinite}.loading-dot:nth-child(2){animation-delay:.5s}.loading-dot:nth-child(3){animation-delay:1s}@keyframes pulse{0%{opacity:.3;transform:scale(1)}50%{opacity:1;transform:scale(1.4)}to{opacity:.3;transform:scale(1)}}@media (max-width: 768px){.chat-bubble{max-width:100%;font-size:14px}.chat-container{padding:12px}.chat-timestamp{font-size:10px}}.scroll-to-top{position:fixed;bottom:100px;right:40px;width:50px;height:50px;background:#00809d;color:#fff;font-size:20px;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1000;box-shadow:0 4px 12px #0000004d;transition:transform .2s ease,box-shadow .2s ease}.scroll-to-top:hover{transform:scale(1.1);box-shadow:0 6px 15px #0006}@media (max-width: 480px){.scroll-to-top{bottom:80px;right:20px;width:45px;height:45px;font-size:18px}}.input-container{padding:20px;background-color:#f8f9fa;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.input-field{flex:1;min-width:180px;padding:12px;border-radius:25px;font-size:16px;outline:none;background:#fff;color:#000}.send-button{padding:10px 20px;border-radius:25px;border:none;background-color:#28a745;color:#fff;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.send-button.disabled{background-color:#98c9a4;cursor:not-allowed;opacity:.6}.send-text{display:none}@media (min-width: 768px){.send-text{display:inline}}*{margin:0;padding:0;box-sizing:border-box}
