.delete-modal{max-width:400px!important}.delete-icon-wrapper{display:flex;justify-content:center;margin-bottom:1rem;color:#ef4444}.delete-modal .modal-body{text-align:center;padding:2rem 1.5rem 1rem}.delete-modal h3{color:#111827;font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.delete-modal p{color:#6b7280;font-size:.875rem;line-height:1.5}.delete-modal strong{color:#1f2937;font-weight:600}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.sidebar{width:280px;background:linear-gradient(180deg,#1e1b4b,#312e81);color:#e0e7ff;display:flex;flex-direction:column;height:100vh;position:fixed;left:0;top:0;box-shadow:4px 0 32px #00000026}.sidebar-header{padding:1.25rem;border-bottom:1px solid rgba(255,255,255,.1)}.logo{display:flex;align-items:center;gap:.75rem}.logo-icon{width:36px;height:36px;background:linear-gradient(135deg,#7c3aed,#ec4899);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff}.logo-icon svg{width:20px;height:20px}.logo-text{display:flex;align-items:center;gap:.375rem}.logo-title{font-size:1.125rem;font-weight:700;color:#fff}.logo-badge{background:linear-gradient(135deg,#7c3aed,#ec4899);color:#fff;font-size:.625rem;font-weight:700;padding:.125rem .375rem;border-radius:4px}.sidebar-content{flex:1;overflow-y:auto;padding:1rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.section-header h3{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#a5b4fc;font-weight:600}.section-header .count{background:#ffffff1a;padding:.125rem .5rem;border-radius:10px;font-size:.7rem}.connections-list{display:flex;flex-direction:column;gap:.25rem}.connection-item{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;border-radius:8px;cursor:pointer;transition:all .2s ease;color:#e0e7ff}.connection-item:hover{background:#ffffff14}.connection-item.active{background:#8b5cf64d;color:#c4b5fd}.connection-item .icon{width:32px;height:32px;background:#ffffff1a;border-radius:6px;display:flex;align-items:center;justify-content:center}.connection-item .name{flex:1;font-size:.875rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection-item .delete-btn{opacity:0;background:#ef444433;border:none;color:#fca5a5;width:20px;height:20px;border-radius:4px;cursor:pointer;font-size:1rem;line-height:1;transition:all .2s}.connection-item:hover .delete-btn{opacity:1}.connection-item .delete-btn:hover{background:#ef4444;color:#fff}.sidebar-footer{padding:1rem;border-top:1px solid rgba(255,255,255,.1)}.add-btn{width:100%;background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;border:none;border-radius:8px;padding:.75rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s}.add-btn:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed);transform:translateY(-1px)}.add-btn span{font-size:1.25rem;font-weight:300}.data-table-container{display:flex;flex-direction:column;height:100%}.table-wrapper{flex:1;overflow:auto}.preview-table{width:100%;border-collapse:collapse;font-size:.8rem}.preview-table th{background:#f9fafb;padding:.5rem .75rem;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;position:sticky;top:0;z-index:10}.preview-table td{padding:.5rem .75rem;border-bottom:1px solid #f3f4f6;color:#374151;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-table tr:hover td{background:#faf5ff}.null-value{color:#9ca3af;font-style:italic}.pagination{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-top:1px solid #e5e7eb;background:#f9fafb}.rows-per-page{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#6b7280}.rows-per-page select{width:auto;padding:.25rem .5rem;font-size:.8rem;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.page-controls{display:flex;align-items:center;gap:.5rem}.page-btn{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:.375rem .75rem;cursor:pointer;font-size:.875rem;color:#374151;transition:all .2s}.page-btn:hover:not(:disabled){border-color:#7c3aed;color:#7c3aed}.page-btn:disabled{opacity:.5;cursor:not-allowed}.page-info{font-size:.8rem;color:#6b7280;padding:0 .5rem}.total-rows{font-size:.8rem;color:#6b7280}.connection-details{display:flex;flex-direction:column;height:100%;overflow:hidden}.main-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.main-header h1{font-size:1.5rem;font-weight:700;color:#111827}.panels{display:grid;grid-template-columns:280px 1fr;gap:1.5rem;flex:1;overflow:hidden}.panel{background:#fff;border-radius:12px;border:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e5e7eb}.panel-header h3{font-size:.875rem;font-weight:600;color:#374151}.panel-header .count{background:#7c3aed1a;color:#7c3aed;padding:.125rem .5rem;border-radius:10px;font-size:.75rem;font-weight:600}.panel-body{flex:1;overflow:auto;padding:.75rem}.loading,.empty{display:flex;align-items:center;justify-content:center;height:100%;color:#6b7280;font-size:.875rem}.table-list{display:flex;flex-direction:column;gap:.5rem}.table-card{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-radius:8px;border:1px solid #e5e7eb;cursor:pointer;transition:all .2s}.table-card:hover{border-color:#a78bfa;box-shadow:0 4px 12px #8b5cf61a}.table-card.selected{border-color:#7c3aed;background:#8b5cf60d}.table-name{font-size:.875rem;font-weight:500;color:#374151}.row-count{font-size:.75rem;color:#6b7280}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:2rem}.empty-icon{width:80px;height:80px;background:linear-gradient(135deg,#7c3aed1a,#ec48991a);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;color:#7c3aed}.empty-state h3{font-size:1.25rem;font-weight:600;color:#111827;margin-bottom:.5rem}.empty-state p{font-size:.875rem;color:#6b7280;max-width:320px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:16px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem;border-bottom:1px solid #e5e7eb}.modal-title{font-size:1.1rem;font-weight:600;color:#111827}.modal-close{background:none;border:none;cursor:pointer;padding:.5rem;color:#6b7280;border-radius:6px}.modal-close:hover{background:#f3f4f6;color:#111827}.modal-body{padding:1.25rem}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.25rem;border-top:1px solid #e5e7eb}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.source-btn-wrapper{position:relative}.source-btn{background:#fff;border:2px solid #e5e7eb;border-radius:10px;padding:1rem .5rem;cursor:pointer;transition:all .2s;text-align:center;width:100%}.source-btn:hover{border-color:#a78bfa}.source-btn.selected{border-color:#7c3aed;background:#8b5cf60d}.source-btn .icon{width:32px;height:32px;margin:0 auto .375rem;display:flex;align-items:center;justify-content:center}.source-btn .name{font-size:.75rem;font-weight:500;color:#374151}.help-btn{position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:50%;background:#e5e7eb;border:none;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.help-btn:hover{background:#7c3aed;color:#fff}.connection-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.375rem}.form-group label{font-size:.8rem;font-weight:500;color:#6b7280}.form-group input{width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.625rem .875rem;font-size:.875rem;transition:all .2s}.form-group input:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-hint{font-size:.75rem;color:#6b7280;margin-top:.25rem}.form-hint code{background:#f3f4f6;padding:.125rem .375rem;border-radius:4px;font-size:.7rem}.btn{border:none;border-radius:8px;padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.btn-secondary{background:#f3f4f6;color:#374151}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.message{padding:.75rem 1rem;border-radius:8px;font-size:.875rem}.message.success{background:#10b9811a;color:#059669}.message.error{background:#ef44441a;color:#dc2626}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#fafafb;color:#374151;line-height:1.5}.app{display:flex;min-height:100vh}.main{margin-left:280px;flex:1;padding:1.5rem 2rem;height:100vh;overflow:hidden;display:flex;flex-direction:column;min-width:0}.main>.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-state .empty-icon{width:100px;height:100px;background:linear-gradient(135deg,#7c3aed1a,#ec48991a);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;color:#7c3aed}.empty-state h3{font-size:1.5rem;font-weight:600;color:#111827;margin-bottom:.5rem}.empty-state p{font-size:.875rem;color:#6b7280;margin-bottom:1.5rem;max-width:320px}.btn{border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.btn-primary{background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff}.btn-primary:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed);transform:translateY(-1px)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f3f4f6}::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}
