:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;display:flex;min-width:320px;min-height:100vh}h1,h2,h3,h4,h5,h6{line-height:1.2}button{font-family:inherit}#root{width:100%;min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 20px}.main-navbar{background:#4f46e5;color:#fff;padding:.75rem 0;box-shadow:0 2px 4px #0000001a;position:sticky;top:0;z-index:1000}.nav-container{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 1rem}.nav-brand{display:flex;align-items:center;gap:1rem}.brand-logo{font-size:1.25rem;font-weight:800}.tenant-name{background:#fff3;padding:.25rem .75rem;border-radius:99px;font-size:.85rem}.nav-links{display:flex;gap:1.5rem}.nav-item{color:#fffc;text-decoration:none;font-weight:500;transition:color .2s;font-size:.95rem}.nav-item:hover{color:#fff}.nav-item.active{color:#fff;border-bottom:2px solid white}.nav-user{display:flex;align-items:center;gap:1rem}.user-email{font-size:.85rem;opacity:.9}.btn-logout{background:#d32f2f33;border:1px solid rgba(255,255,255,.3);color:#fff;padding:.4rem .75rem;border-radius:6px;cursor:pointer;font-size:.85rem;transition:background .2s}.btn-logout:hover{background:#d32f2f80}.notification-toast{position:fixed;top:2rem;right:2rem;width:350px;background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 20px 40px #00000026;z-index:10000;transition:all .4s cubic-bezier(.175,.885,.32,1.275);border:1px solid #e2e8f0}.notification-toast.hide{opacity:0;transform:translateY(-20px) scale(.95);pointer-events:none}.notification-toast.show{opacity:1;transform:translateY(0) scale(1)}.toast-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #edf2f7;padding-bottom:.8rem;margin-bottom:.5rem}.toast-title{font-weight:700;font-size:1.1rem;color:#4f46e5}.toast-close{background:none;border:none;font-size:1.2rem;color:#a0aec0;cursor:pointer;transition:color .2s;line-height:1}.toast-close:hover{color:#4a5568}.notification-toast .tc-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.notification-toast .tc-payer{font-weight:700;font-size:1.1rem;color:#2d3748}.notification-toast .amount{font-size:1.25rem;font-weight:800;color:#38a169}.notification-toast .tc-label{color:#a0aec0;font-size:.9rem;font-weight:600}.notification-toast .tc-value{color:#4a5568;font-weight:500}.notification-toast .tc-footer{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem}.notification-toast .status-pill{padding:.25rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600}.notification-toast .status-approved{background:#c6f6d5;color:#22543d}.notification-toast .status-pending{background:#feebc8;color:#7b341e}.notification-toast .status-rejected{background:#fed7d7;color:#822727}.notification-toast .tc-type{color:#718096;font-size:.9rem}.app-footer{position:fixed;bottom:0;left:0;right:0;z-index:900;display:flex;justify-content:space-between;align-items:center;padding:.65rem 2rem;background:#ffffffe0;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid #e2e8f0;font-size:.85rem;color:#718096;gap:1rem}.footer-left{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}.footer-brand{font-weight:600;color:#4a5568}.footer-email{color:#3182ce;text-decoration:none;transition:color .2s}.footer-email:hover{color:#2b6cb0;text-decoration:underline}.footer-right{display:flex;align-items:center}.app-footer .signalr-status{display:flex;align-items:center;gap:6px;border:1px solid #e2e8f0;padding:.3rem .85rem;border-radius:20px;font-size:.82rem;font-weight:600;background:#f7fafc;color:#4a5568;white-space:nowrap}.app-footer .dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.app-footer .dot.connected{background:#38a169;box-shadow:0 0 6px #38a16999}.app-footer .dot.disconnected{background:#e53e3e;box-shadow:0 0 6px #e53e3e80}.dashboard-page{min-height:100vh;background:#f4f7fa;color:#1a202c}.notification-banner{background:linear-gradient(135deg,#4f46e5,#3b82f6);color:#fff;padding:1rem;text-align:center;font-weight:600;box-shadow:0 4px 6px #0000001a;animation:slideDown .3s ease-out}@keyframes slideDown{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.dashboard-main{max-width:1200px;margin:3rem auto;padding:0 1.5rem 5rem}.section-title h2{color:#2d3748;font-size:2.2rem;font-weight:800;margin-bottom:2rem}.actions-group{display:flex;gap:1rem;align-items:center}.search-input{padding:.6rem 1rem;border:1px solid #e2e8f0;border-radius:6px;width:280px;font-size:.95rem;transition:all .3s;background:#fff}.search-input:focus{border-color:#3182ce;outline:none;box-shadow:0 0 0 3px #3182ce26}.btn-sync{background:#6b46c1;border:none;padding:.6rem 1.25rem;border-radius:6px;cursor:pointer;font-weight:600;color:#fff;font-size:.95rem;transition:background .2s}.btn-sync:hover:not(:disabled){background:#553c9a}.btn-sync:disabled{opacity:.7;cursor:not-allowed}.btn-collapse{background:transparent;color:#4a5568;border:1px solid #e2e8f0;padding:.5rem;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn-collapse:hover{background:#edf2f7;color:#2d3748}.table-container.fade-in{animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.transactions-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.transaction-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 10px #0000000d;display:flex;flex-direction:column;gap:1rem}.tc-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #edf2f7;padding-bottom:1rem}.tc-payer{font-weight:800;font-size:1.1rem;color:#2d3748;max-width:60%;word-break:break-all}.amount{font-weight:800;color:#2b6cb0;font-size:1.25rem}.tc-body{display:flex;flex-direction:column;gap:.5rem}.tc-info{display:flex;justify-content:space-between;font-size:.9rem}.tc-label{color:#718096;font-weight:500}.tc-value{color:#4a5568;font-weight:600;text-align:right}.tc-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:1rem;border-top:1px dashed #e2e8f0}.status-pill{padding:.3rem .8rem;border-radius:99px;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.status-approved{background:#c6f6d5;color:#22543d}.status-pending{background:#fefcbf;color:#744210}.status-in_process{background:#ebf8ff;color:#2b6cb0}.status-rejected{background:#fed7d7;color:#742a2a}.tc-type{font-size:.75rem;color:#a0aec0;font-weight:600;text-transform:uppercase}.no-data-card{grid-column:1 / -1;background:#fff;padding:3rem;border-radius:12px;text-align:center;box-shadow:0 4px 6px #0000000d}.no-data-card p{font-size:1.1rem;color:#4a5568;font-weight:600;margin-bottom:.5rem}.no-data-hint{color:#718096;font-size:.9rem}.table-controls-container{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;margin-top:3rem;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;border:1px solid #edf2f7}.table-title{font-size:1.4rem;font-weight:700;color:#1a202c;margin:0;display:flex;align-items:center;gap:.5rem}.table-title strong{font-weight:600;color:#3182ce;font-size:1.1rem;background:#ebf8ff;padding:.2rem .6rem;border-radius:6px;letter-spacing:.5px}.table-container{width:100%;overflow-x:auto;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;border:1px solid #edf2f7}.transactions-table{width:100%;border-collapse:collapse;text-align:left}.transactions-table thead{background-color:#f8fafc;border-bottom:1px solid #edf2f7}.transactions-table th{padding:1rem 1.5rem;font-size:.75rem;font-weight:700;color:#4a5568;text-transform:uppercase;letter-spacing:.05em;-webkit-user-select:none;user-select:none;transition:background-color .2s;white-space:nowrap}.transactions-table th:hover{background-color:#edf2f7}.transactions-table tbody tr{border-bottom:1px solid #edf2f7;transition:background-color .15s ease-in-out}.transactions-table tbody tr:last-child{border-bottom:none}.transactions-table tbody tr:hover{background-color:#f7fafc}.transactions-table td{padding:1rem 1.5rem;color:#4a5568;font-size:.95rem;vertical-align:middle}.transactions-table td .amount{font-weight:700;color:#2d3748;font-size:1.05rem}.transactions-table .status-pill{display:inline-flex;align-items:center;justify-content:center;padding:.35rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.transactions-table .no-data{text-align:center;color:#718096;padding:4rem 1rem;font-weight:500}.dashboard-footer{margin-top:3rem;display:flex;justify-content:space-between;align-items:center;color:#718096;font-size:.95rem;font-weight:500;padding-bottom:2rem}.signalr-status{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.5rem 1rem;border-radius:20px;box-shadow:0 2px 4px #0000000d}.dot{width:10px;height:10px;border-radius:50%}.dot.connected{background:#38a169;box-shadow:0 0 8px #38a169}.dot.disconnected{background:#e53e3e;box-shadow:0 0 8px #e53e3e}.settings-page{min-height:100vh;background:#f4f7fa;color:#1a202c}.settings-auth-container{display:flex;justify-content:center;align-items:center;padding-top:10vh}.auth-card{background:#fffffff2;padding:3rem;border-radius:24px;box-shadow:0 20px 40px #00000014;width:100%;max-width:440px;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.5)}.auth-card h3{margin-bottom:.5rem;color:#2b6cb0;font-size:1.8rem;font-weight:700}.auth-card p{color:#718096;font-size:1rem;margin-bottom:2rem}.auth-card form{display:flex;flex-direction:column;gap:1.25rem}.auth-card input{padding:1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;transition:all .3s ease;background:#f7fafc}.auth-card input:focus{border-color:#3182ce;outline:none;box-shadow:0 0 0 3px #3182ce26;background:#fff}.btn-primary{background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;border:none;padding:1rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px #3182ce4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 12px #3182ce66}.btn-secondary{background:#fff;color:#4a5568;border:2px solid #e2e8f0;padding:.75rem 1.25rem;border-radius:10px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#edf2f7;border-color:#cbd5e0}.settings-main{max-width:1100px;margin:3rem auto;padding:0 1.5rem}.settings-main h2{font-size:2.2rem;color:#1a202c;margin-bottom:2rem;font-weight:800}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:2rem}.settings-section{background:#fff;padding:2rem;border-radius:20px;box-shadow:0 10px 25px #0000000d;border:1px solid #edf2f7;transition:transform .3s ease,box-shadow .3s ease}.settings-section:hover{transform:translateY(-5px);box-shadow:0 15px 35px #00000014}.settings-section h3{margin-bottom:1.5rem;font-size:1.3rem;font-weight:700;color:#2d3748;display:flex;align-items:center;gap:.5rem;border-bottom:2px solid #edf2f7;padding-bottom:1rem}.form-group label{display:block;font-weight:600;margin-bottom:.75rem;color:#4a5568}.input-group{display:flex;gap:.75rem}.input-group input{flex:1;padding:.8rem 1rem;border:2px solid #e2e8f0;border-radius:10px;font-size:1rem;transition:border-color .2s}.input-group input:focus{border-color:#3182ce;outline:none}.mp-status-card{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(to right,#f7fafc,#edf2f7);padding:1.5rem;border-radius:12px;border:1px solid #e2e8f0;flex-wrap:wrap;gap:1.5rem}.mp-info{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}.mp-info strong{font-size:1.1rem;color:#2d3748;white-space:nowrap}.flex-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap}.status-on{color:#38a169;font-weight:700;background:#f0fff4;padding:.25rem .75rem;border-radius:20px;display:inline-block;font-size:.85rem}.status-off{color:#e53e3e;font-weight:700;background:#fff5f5;padding:.25rem .75rem;border-radius:20px;display:inline-block;font-size:.85rem}.success-banner{background:#c6f6d5;color:#22543d;padding:1.25rem;border-radius:12px;margin-bottom:2rem;font-weight:600;border-left:5px solid #38a169}.error-banner{background:#fed7d7;color:#742a2a;padding:1.25rem;border-radius:12px;margin-bottom:2rem;font-weight:600;border-left:5px solid #e53e3e}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:440px;width:100%;overflow:hidden}.auth-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:40px 30px;text-align:center}.auth-header h1{margin:0;font-size:32px;font-weight:700}.auth-header p{margin:8px 0 0;opacity:.9;font-size:14px}.auth-form{padding:40px 30px}.auth-form h2{margin:0 0 24px;font-size:24px;color:#333;font-weight:600}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;color:#555;font-weight:500;font-size:14px}.form-group input{width:100%;padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;transition:all .3s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.btn-primary{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;margin-top:8px}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.auth-footer{margin-top:24px;text-align:center;color:#666;font-size:14px}.auth-footer a{color:#667eea;text-decoration:none;font-weight:600;transition:color .2s ease}.auth-footer a:hover{color:#764ba2;text-decoration:underline}.error-message{background:#fee;border-left:4px solid #e53e3e;color:#c53030;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px}.spinner{width:60px;height:60px;border:6px solid #f3f3f3;border-top:6px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
