/*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(.704 .191 22.216);--color-red-600:oklch(.577 .245 27.325);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-900:oklch(.379 .146 265.522);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-2{top:calc(var(--spacing)*2)}.right-2{right:calc(var(--spacing)*2)}.z-50{z-index:50}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-10{margin-top:calc(var(--spacing)*10)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.flex{display:flex}.hidden{display:none}.inline-block{display:inline-block}.table{display:table}.h-5{height:calc(var(--spacing)*5)}.h-8{height:calc(var(--spacing)*8)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-full{height:100%}.max-h-64{max-height:calc(var(--spacing)*64)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing)*2)}.w-5{width:calc(var(--spacing)*5)}.w-8{width:calc(var(--spacing)*8)}.w-12{width:calc(var(--spacing)*12)}.w-full{width:100%}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\[200px\]{max-width:200px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-full{min-width:100%}.flex-1{flex:1}.table-auto{table-layout:auto}.transform{transform:var(--tw-rotate-x)var(--tw-rotate-y)var(--tw-rotate-z)var(--tw-skew-x)var(--tw-skew-y)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing)*2)}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#5a5a9a\]{border-color:#5a5a9a}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.bg-\[\#2E3D49\]{background-color:#2e3d49}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\[\#2a2a5a\]{--tw-gradient-from:#2a2a5a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-900{--tw-gradient-from:var(--color-blue-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#1a1a4a\]{--tw-gradient-to:#1a1a4a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-600{--tw-gradient-to:var(--color-blue-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.p-0{padding:calc(var(--spacing)*0)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-2{padding-top:calc(var(--spacing)*2)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-gray-100{color:var(--color-gray-100)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.hover\:border-blue-500:hover{border-color:var(--color-blue-500)}.hover\:bg-\[\#1e2a33\]:hover{background-color:#1e2a33}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-gray-300:hover{background-color:var(--color-gray-300)}.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentColor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (width>=48rem){.md\:mt-4{margin-top:calc(var(--spacing)*4)}.md\:ml-6{margin-left:calc(var(--spacing)*6)}.md\:flex{display:flex}.md\:px-4{padding-inline:calc(var(--spacing)*4)}.md\:py-2{padding-block:calc(var(--spacing)*2)}.md\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.md\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}@media (prefers-color-scheme:dark){:where(.dark\:divide-gray-700>:not(:last-child)),.dark\:border-gray-700{border-color:var(--color-gray-700)}.dark\:bg-gray-800{background-color:var(--color-gray-800)}.dark\:bg-gray-900{background-color:var(--color-gray-900)}.dark\:text-gray-100{color:var(--color-gray-100)}.dark\:text-gray-300{color:var(--color-gray-300)}.dark\:text-red-400{color:var(--color-red-400)}.dark\:text-white{color:var(--color-white)}}}:root{color-scheme:light;color:#213547;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#fff;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{place-items:center;min-width:320px;min-height:100vh;margin:0;display:flex}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;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}}@property --tw-rotate-x{syntax:"*";inherits:false;initial-value:rotateX(0)}@property --tw-rotate-y{syntax:"*";inherits:false;initial-value:rotateY(0)}@property --tw-rotate-z{syntax:"*";inherits:false;initial-value:rotateZ(0)}@property --tw-skew-x{syntax:"*";inherits:false;initial-value:skewX(0)}@property --tw-skew-y{syntax:"*";inherits:false;initial-value:skewY(0)}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}.chat-interface{display:flex;flex-direction:column;height:100vh;width:100vw;margin:0;background:#fff;overflow:hidden;transition:all .3s ease;max-width:100%;box-sizing:border-box}.chat-section.fullwidth{width:100%;max-width:100%;flex:1;margin:0;padding:0}.chat-interface.dark{background:#121826;color:#e2e8f0}.app-header{position:sticky;top:0;background:#2e3d49;color:#fff;padding:12px 20px;z-index:1000;text-align:center;border-bottom:1px solid rgba(144,205,244,.2);display:flex;justify-content:space-between;align-items:center}.chat-interface.dark .app-header{background:linear-gradient(135deg,#0c4a6e,#075985);border-bottom:1px solid #2b4c7e;box-shadow:0 2px 12px #0759854d}.app-title{margin:0;font-size:1.8rem;font-weight:700;letter-spacing:.5px}.db-connection-indicator{display:flex;align-items:center;background-color:#10b98133;border-radius:20px;padding:4px 12px;margin-left:10px;border:1px solid rgba(16,185,129,.3)}.db-indicator-dot{width:8px;height:8px;background-color:#10b981;border-radius:50%;margin-right:6px}.db-name{font-size:.8rem;font-weight:500;color:#10b981;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.chat-interface.dark .db-connection-indicator{background-color:#10b98126;border:1px solid rgba(16,185,129,.25)}.chat-interface.dark .db-name{color:#34d399}@media screen and (max-width: 768px){.db-connection-indicator{margin-left:8px;padding:3px 8px}.db-name{max-width:80px;font-size:.75rem}@media screen and (max-width: 480px){.db-connection-indicator{display:none}}}.chat-header{position:sticky;display:flex;align-items:center;justify-content:space-between;top:50px;padding:.75rem 1rem;background:#e4e4e4;border-bottom:1px solid #e2e8f0;z-index:40}.chat-history-menu-item{display:flex;align-items:center;gap:8px;padding:8px 16px;font-size:14px}.chat-history-menu-item.selected{background-color:#3b82f61a}.chat-title-container{flex:1;margin-right:1.5rem;max-width:calc(100% - 100px)}.chat-title{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-weight:500;transition:all .2s ease;padding:.25rem 2.5rem .25rem 1rem;border-radius:9999px}.title-edit-container{position:relative;width:100%}.title-edit-input{width:100%;padding:.5rem 2.5rem .5rem .75rem;border-radius:.375rem;border:1px solid #e2e8f0;outline:none;transition:all .2s ease}.title-edit-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f64d}.header-actions{display:flex;align-items:center;gap:1.5rem;margin-left:auto;min-width:84px;justify-content:flex-end}.header-actions .MuiIconButton-root{width:36px;height:36px;padding:8px}.header-action-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;transition:all .2s ease;cursor:pointer}.header-action-button:hover{background-color:#0000001a}.MuiMenuItem-root{position:relative}.chat-delete-button{position:absolute;right:8px;opacity:0;transition:opacity .2s ease}.MuiMenuItem-root:hover .chat-delete-button{opacity:1}.chat-delete-button:hover{color:#ef4444!important}.MuiMenuItem-root .chat-title-wrapper{display:flex;align-items:center;width:100%;padding-right:32px}.chat-interface.dark .chat-header{background:#1e293b;border-bottom:1px solid #334155}.chat-interface.dark .chat-title{color:#e2e8f0;background:#1a1a2e;border-color:#2a2a4a}.chat-interface.dark .chat-title:hover{background:#2a2a4a}.chat-interface.dark .title-edit-input{background:#0f3460;border-color:#2a2a4a;color:#fff}.chat-interface.dark .title-edit-input:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa4d}.chat-interface.dark .header-action-button:hover{background-color:#fff3}.language-dropdown{position:relative;display:inline-block}.language-menu{position:absolute;right:0;top:100%;background:#fff;border-radius:4px;box-shadow:0 2px 10px #4299e126;z-index:1000;min-width:150px;overflow:hidden;border:1px solid #bee3f8}.chat-interface.dark .language-menu{background:#0c2d48;border:1px solid #2b4c7e;box-shadow:0 2px 10px #0a254d4d}.language-item{padding:8px 12px;width:100%;text-align:left;background:none;border:none;cursor:pointer;font-size:14px;color:#1a365d}.language-item:hover{background:#ebf8ff}.chat-interface.dark .language-item{color:#e2e8f0}.chat-interface.dark .language-item:hover{background:#15304e}.language-item.selected{background:#e6f7ff;font-weight:500;color:#2c5282}.chat-interface.dark .language-item.selected{background:#2b4c7e;color:#90cdf4}.app-title{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:.5px}.chat-messages{flex-grow:1;overflow-y:auto;padding:30px 15px;background:transparent;height:calc(100vh - 180px);margin:0;border-radius:6px;max-width:100%;width:100%;box-sizing:border-box;overflow-x:hidden}.chat-interface.dark .chat-messages{background:transparent;box-shadow:none}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-thumb{background-color:#64748b4d;border-radius:3px}.chat-interface.dark .chat-messages::-webkit-scrollbar-thumb{background-color:#64748b80}.message{display:flex;margin-bottom:8px}.message-content{margin-top:15px;max-width:85%;padding:8px 12px;border-radius:8px;position:relative;box-shadow:0 1px 2px #4299e126;overflow:hidden;word-wrap:break-word}.message.user{justify-content:flex-end}.message.user .message-content{background:#f6f6f6;color:#000;margin-bottom:10px;border:1px solid #e2e8f0;box-shadow:0 6px 7px #e4e4e4}.chat-interface.dark .message.user .message-content{background:linear-gradient(to right,#0284c7,#075985);box-shadow:0 2px 5px #0000004d}.message.bot{justify-content:flex-start}.message.bot .message-content{background:#f6f6f6;color:#1e293b;border:1px solid #e2e8f0}.message.bot .message-content .font-medium{color:#333;font-weight:500;display:flex;align-items:center}.message.bot .message-content .font-medium svg{color:#3182ce}.chat-interface.dark .message.bot .message-content{background:#0f172a;color:#e2e8f0;border:1px solid #1e293b}.message.bot .message-content p,.message.user .message-content p{font-size:.9rem;line-height:1.3;margin-bottom:4px}.response-toggle-container{margin-top:6px}.response-toggle-buttons{display:flex;gap:8px;margin-bottom:10px}.toggle-btn{flex:1;padding:4px 10px;border:none;background:#2e3d49;border:1px solid #d8d8d8;cursor:pointer;transition:all .2s ease;font-size:13px;border-radius:6px;font-weight:500;box-shadow:0 2px 4px #9093944d}.toggle-btn:hover{border-color:#bdbfc1}.toggle-btn.active{color:#fff}.chat-interface.dark .toggle-btn{background:#1e293b;border:1px solid #334155;color:#e2e8f0}.chat-interface.dark .toggle-btn:hover{background:#334155;border-color:#475569}.chat-interface.dark .toggle-btn.active{background:#0284c7;color:#fff;box-shadow:0 2px 4px #0284c766}.execute-btn{padding:4px 10px;border:none;background:#a0b4c7;color:#fff;cursor:pointer;transition:all .2s ease;font-size:13px;border-radius:6px;font-weight:500;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #9093944d}.execute-btn.connected{background:#166534;box-shadow:0 2px 4px #1665344d}.execute-btn.connected:hover{background:#14532d;box-shadow:0 2px 6px #16653466}.execute-btn:active{transform:translateY(1px)}.execute-btn.active{background:linear-gradient(to right,#319795,#2c7a7b);box-shadow:inset 0 1px 3px #0003}.execute-btn:disabled{opacity:.7;cursor:not-allowed}.chat-interface.dark .execute-btn{background:linear-gradient(to right,#059669,#047857)}.chat-interface.dark .execute-btn:hover{background:linear-gradient(to right,#047857,#065f46)}.visualization-container{padding:15px;background:#f8fafc;border-radius:8px;margin-top:5px;border:1px solid #e2e8f0}.chat-interface.dark .visualization-container{background:#0f172a;border:1px solid #1e293b}.visualization-image{width:100%;height:auto;border-radius:4px}.visualization-placeholder{padding:20px;text-align:center;color:#2c5282}.chat-interface.dark .visualization-placeholder{color:#90cdf4b3}.sql-query{position:relative;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:30px 10px 8px;margin-top:2px;font-family:Menlo,Monaco,Courier New,monospace;color:#334155;overflow-x:auto;max-width:100%}.chat-interface.dark .sql-query{background:#000;border:1px solid #1e293b;color:#d4d4d4}.sql-query pre{margin:0;white-space:pre-wrap;word-break:break-all;overflow-x:auto;font-size:.85rem;padding-top:5px;line-height:1.5}.sql-keyword{color:#0550ae;font-weight:700}.chat-interface.dark .sql-keyword{color:#569cd6}.sql-function{color:#9a6e3a}.chat-interface.dark .sql-function{color:#dcdcaa}.sql-string{color:#a31515}.chat-interface.dark .sql-string{color:#ce9178}.sql-number{color:#098658}.chat-interface.dark .sql-number{color:#b5cea8}.sql-operator,.sql-parenthesis{color:#d4d4d4}.sql-comment{color:#6a9955;font-style:italic}.sql-table{color:#267f99}.chat-interface.dark .sql-table{color:#4ec9b0}.sql-column{color:#001080}.chat-interface.dark .sql-column{color:#9cdcfe}.copy-sql-btn{position:absolute;right:5px;top:5px;background:#0000001a;border:none;border-radius:4px;padding:2px 5px;font-size:12px;cursor:pointer;color:#334155;z-index:5;transition:background-color .2s ease}.copy-sql-btn:hover{background:#0003}.chat-interface.dark .copy-sql-btn{background:#ffffff26;color:#fff}.chat-interface.dark .copy-sql-btn:hover{background:#ffffff40}.timestamp{font-size:.7em;opacity:.7;display:block;text-align:right;margin-top:3px;margin-bottom:0;color:#2c5282}.message.user .timestamp{margin-bottom:0}.message.bot .timestamp{margin-bottom:4px}.bot-timestamp{margin-top:6px;margin-bottom:0;text-align:right;opacity:.7;font-size:.7em;color:#2c5282}.chat-interface.dark .bot-timestamp{color:#90cdf4b3}.chat-input-container{display:flex;flex-direction:column;padding:16px 20px 2px;background:#fff;position:sticky;bottom:0;left:0;right:0;z-index:10;margin-bottom:0;width:100%}.chat-interface.dark .chat-input-container{background:#0f172a;border-top:1px solid rgba(255,255,255,.05)}.chat-input-container>div{width:100%;max-width:65%;margin:0 auto}.input-wrapper{position:relative;border-radius:20px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 2px 6px #0000000d;transition:all .2s ease;max-width:100%;width:100%;margin:0 auto;overflow:hidden;display:flex;flex-direction:column}.chat-interface.dark .input-wrapper{background:#1e293b;border:1px solid #334155;box-shadow:0 2px 6px #0003}.input-inner-container{display:flex;align-items:center;width:100%;position:relative;min-height:60px}.chat-input{flex:1;border:none;background:transparent;color:#334155;font-size:16px;padding:16px 50px 16px 24px;min-height:56px;outline:none!important;box-shadow:none!important;resize:none;overflow-y:auto;width:100%;margin:0;box-sizing:border-box}.chat-interface.dark .chat-input{color:#e2e8f0}.chat-input::-moz-placeholder{color:#94a3b8}.chat-input::placeholder{color:#94a3b8}.chat-interface.dark .chat-input::-moz-placeholder{color:#64748b}.chat-interface.dark .chat-input::placeholder{color:#64748b}.input-tools{display:flex;align-items:center;position:static;transform:none;left:auto;top:auto;margin-right:1px;justify-content:space-between}.input-tools .input-tool-button,.input-tools .input-tools-separator{display:flex;align-items:center;justify-content:center}.input-tool-button.connected,.input-tool-button.schema-uploaded{color:#10b981}.input-tool-button{background:transparent;border:none;border-radius:50%;width:32px;height:28px;display:flex;align-items:center;justify-content:center;color:#64748b;transition:all .2s ease;padding:0 0 0 5px;cursor:pointer;margin:0 8px}.input-tool-button svg{width:18px;height:18px}.input-tool-button:hover{background:#0000000d;color:#334155}.chat-interface.dark .input-tool-button:hover{background:#ffffff0d;color:#e2e8f0}.send-button-container{position:absolute;right:16px;top:50%;transform:translateY(-50%)}.send-button{width:34px;height:34px;border-radius:6px;background:#2e3d49;color:#fff;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;padding:0}.send-button svg{width:20px;height:20px}.send-button:hover{background:#1e2a33}.send-button:disabled{opacity:.5;cursor:not-allowed}.chat-interface.dark .send-button{background:#3b82f6}.chat-interface.dark .send-button:hover{background:#2563eb}.input-tools-separator{width:1px;height:20px;background-color:#e2e8f0;margin:0}.chat-interface.dark .input-tools-separator{background-color:#334155}.disclaimer-container{display:flex;align-items:center;width:100%;padding:6px 16px 10px;border-top:1px solid #f0f0f0}.chat-interface.dark .disclaimer-container{border-top:1px solid #293548}.disclaimer-separator{width:1px;height:20px;background-color:#e2e8f0;margin:5px}.chat-interface.dark .disclaimer-separator{background-color:#334155}.disclaimer{font-size:.75rem;color:#64748b;text-align:center;opacity:.9;letter-spacing:.2px;font-weight:400;display:flex;align-items:center;flex:1;justify-content:center}.disclaimer .info-icon{margin-right:6px}.tool-tooltip{position:absolute;bottom:40px;background:#334155;color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;pointer-events:none;opacity:0;transition:opacity .2s ease;white-space:nowrap}.input-tool-button:hover .tool-tooltip{opacity:1}.feedback-attached{display:flex;align-items:center;justify-content:space-between;margin-top:2px;margin-left:0;padding:3px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;width:100%;font-size:13px;color:#64748b;margin-bottom:0}.chat-interface.dark .feedback-attached{background:#0f172a;border:1px solid #1e293b;color:#94a3b8}.feedback-buttons{display:flex;gap:4px}.feedback-btn{background:none;border:none;cursor:pointer;font-size:14px;padding:1px 6px;transition:all .2s;color:inherit}.feedback-btn:hover{transform:scale(1.1)}.modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #4299e140;width:400px;max-width:90%;overflow:hidden;animation:fadeIn .3s ease-in-out;color:#000}.app-container.dark .modal{background:#fff;box-shadow:0 4px 20px #0a254d66;color:#000}.modal-title{color:#000;font-size:18px;margin-top:0;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}.app-container.dark .modal-title{color:#000;border-bottom:1px solid #e2e8f0}.form-group label{font-size:14px;color:#000;font-weight:500}.app-container.dark .form-group label{color:#000}.form-group input,.form-group textarea{padding:8px 10px;border:1px solid #d1d5db;border-radius:4px;font-size:14px;color:#000;background:#fff}.app-container.dark .form-group input,.app-container.dark .form-group textarea{background:#fff;border:1px solid #d1d5db;color:#000}.modal button{color:#000;background:#fff;border:1px solid #d1d5db}.modal button:hover{background:#f9fafb}.modal button.px-4{color:#000;background:#fff;border:1px solid #d1d5db}.modal button.bg-blue-600{background:#2e3d49;color:#fff;border:1px solid #243340}.modal button.bg-blue-600:hover{background:#1e2a33}.active-ddl-button{position:relative;z-index:10;transform:translateY(-2px)!important;box-shadow:0 4px 6px #0000004d!important;transition:all .2s ease}.modal button:focus{outline:2px solid rgba(0,0,0,.2);outline-offset:1px}.modal .ddl-toggle-btn-left{margin-right:3px}.modal .ddl-toggle-btn-right{margin-left:3px}.modal button.disabled,.modal button:disabled{opacity:.7;cursor:not-allowed;box-shadow:none;background:#a0aec0;color:#edf2f7;border-color:#a0aec0}.modal button:disabled:hover{background:#a0aec0;transform:none}.welcome-message{padding:20px;text-align:center;margin-top:40px;border:none;box-shadow:none}.welcome-message p{margin-bottom:10px;font-size:1.1rem;color:#333}.welcome-message p:last-child{font-size:.9rem;color:#555}.chat-interface.dark .welcome-message p{color:#e2e8f0}.chat-interface.dark .welcome-message p:last-child{color:#94a3b8}.header-content{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 20px}.user-email-badge{background-color:#ffffff1a;padding:6px 12px;border-radius:20px;font-size:14px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-text{color:#fff;font-weight:500}.profile-modal{position:absolute;top:60px;right:20px;background:#fff;border-radius:8px;box-shadow:0 4px 15px #4299e133;padding:16px;width:250px;z-index:1000;border:1px solid #bee3f8}.chat-interface.dark .profile-modal{background:#15304e;border:1px solid #2b4c7e;box-shadow:0 4px 15px #0a254d66}.profile-modal-header{display:flex;align-items:center;gap:12px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #bee3f8}.chat-interface.dark .profile-modal-header{border-bottom:1px solid #2b4c7e}.user-avatar-large{width:50px;height:50px;border-radius:50%;background:#4299e1;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.chat-interface.dark .user-avatar-large{background:#3182ce}.user-info-modal{display:flex;flex-direction:column}.user-name{font-weight:600;font-size:16px;color:#1a365d}.chat-interface.dark .user-name{color:#e2e8f0}.user-email-modal{font-size:14px;color:#2c5282;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-interface.dark .user-email-modal{color:#90cdf4}.profile-actions{display:flex;flex-direction:column;gap:8px}.profile-action-btn{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:4px;background:#f0f9ff;border:1px solid #bee3f8;color:#2c5282;cursor:pointer;transition:all .2s;font-size:14px;text-align:left}.chat-interface.dark .profile-action-btn{background:#15304eb3;border:1px solid #2b4c7e;color:#e2e8f0}.profile-action-btn:hover{background:#ebf8ff;border-color:#90cdf4}.chat-interface.dark .profile-action-btn:hover{background:#1c3f63cc;border-color:#4299e1}.profile-action-btn svg{font-size:18px;color:#4299e1}.chat-interface.dark .profile-action-btn svg{color:#90cdf4}.logout-btn{margin-top:8px;color:#e53e3e}.chat-interface.dark .logout-btn{color:#fc8181}.logout-btn svg{color:#e53e3e!important}.chat-interface.dark .logout-btn svg{color:#fc8181!important}.query-results-container{overflow-x:auto;margin-top:10px;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.chat-interface.dark .query-results-container{background:#0f172a;border:1px solid #1e293b}.query-results-container table{width:100%;border-collapse:collapse}.query-results-container th{background:linear-gradient(to bottom,#f8fafc,#f1f5f9);color:#334155;font-weight:600;padding:8px 12px;text-align:left;border-bottom:1px solid #e2e8f0}.chat-interface.dark .query-results-container th{background:linear-gradient(to bottom,#1e293b,#0f172a);color:#e2e8f0;border-bottom:1px solid #334155}.query-results-container td{padding:8px 12px;border-bottom:1px solid #f1f5f9;color:#334155;background-color:#fff}.chat-interface.dark .query-results-container td{border-bottom:1px solid #1e293b;color:#e2e8f0;background:#0f172a}.query-results-container tr:nth-child(2n){background-color:#f8fafc}.chat-interface.dark .query-results-container tr:nth-child(2n){background-color:#111827}.query-results-container tr:hover{background-color:#ebf8ff}.chat-interface.dark .query-results-container tr:hover{background-color:#1c3f63b3}.query-results-container th:not(:last-child),.query-results-container td:not(:last-child){padding-right:24px}@media screen and (max-width: 768px){.chat-interface{border-radius:0;max-width:100%!important}.message-content{max-width:85%}.chat-header{font-size:16px;padding:10px 15px}.app-header{padding:10px 15px}.app-title{font-size:1.3rem}.response-toggle-buttons{flex-direction:column}.toggle-btn{padding:6px}.message.bot .message-content .font-medium{font-size:.95rem}.message-content p{font-size:.85rem}.disclaimer-container{padding-top:24px;flex-direction:column;gap:8px}.input-tools{position:static;transform:none;margin:0 auto 8px}.disclaimer{text-align:center;font-size:.7rem;margin:0 auto;padding-left:0}.disclaimer-container{flex-direction:column;gap:12px;padding-top:12px;padding-bottom:12px}.input-tools{margin-right:0}.disclaimer-separator{display:none}.disclaimer{text-align:center;font-size:.7rem;margin:0 auto}.chat-input-container>div{max-width:90%}}@media screen and (min-width: 1600px){.chat-input-container>div{max-width:55%}}.message-wrapper{width:100%;display:flex;flex-direction:column;align-items:stretch;max-width:100%;margin-bottom:2px}.message-wrapper+.message-wrapper .message.bot,.message-wrapper+.message-wrapper .message.user{margin-top:-4px}.message-wrapper:first-child{margin-top:15px;margin-bottom:20px}.message-wrapper:last-child{margin-bottom:20px}.message.bot .message-content .font-medium{font-size:1rem;font-weight:600;margin-bottom:6px;color:#333;display:flex;align-items:center}.message-content p{font-size:.95rem;line-height:1.5;margin-bottom:8px}.message.user .message-content p{font-weight:500}.sql-query pre{margin:0;white-space:pre-wrap;word-break:break-all;overflow-x:auto;font-size:.85rem;line-height:1.4;font-family:Menlo,Monaco,Courier New,monospace}.copy-sql-btn{font-size:.75rem;padding:1px 4px}.toggle-btn,.execute-btn{font-size:.85rem;font-weight:500}.feedback-attached{font-size:.8rem}.feedback-btn{font-size:.9rem}.timestamp,.bot-timestamp{font-size:.7rem}.query-results-wrapper h4{font-size:.9rem;font-weight:600;margin-top:8px!important}.query-results-container th{font-size:.8rem;font-weight:600}.query-results-container td{font-size:.85rem}.welcome-message p:first-child{font-size:1.3rem;font-weight:600;margin-bottom:12px}.welcome-message p:last-child{font-size:1rem}.chat-input{font-size:1rem}.disclaimer{font-size:.75rem}@media screen and (max-width: 768px){.app-title{font-size:1.4rem}.message.bot .message-content .font-medium{font-size:1rem;font-weight:600;margin-bottom:10px;color:#333;display:flex;align-items:center}.message-content p{font-size:.9rem}.sql-query pre{font-size:.8rem}.welcome-message p:first-child{font-size:1.15rem}.welcome-message p:last-child{font-size:.9rem}}.message.bot .message-content .font-medium{font-size:1.05rem;font-weight:600;margin-bottom:10px;color:#333;display:flex;align-items:center}.chat-interface.dark .message.bot .message-content .font-medium{color:#e2e8f0}.message.user .message-content p{font-weight:500;color:#333}.chat-interface.dark .message.user .message-content p{color:#e2e8f0}.query-results-wrapper h4{font-size:1.05rem;font-weight:600;margin-bottom:8px;color:#333}.chat-interface.dark .query-results-wrapper h4{color:#e2e8f0}.sidebar{width:260px;background:#fff;transition:all .3s ease-in-out;height:100vh;display:flex;flex-direction:column;border-right:1px solid #BBBBBB;box-shadow:2px 0 10px #00000026;position:fixed;left:0;top:0;overflow:hidden;z-index:1000;padding-top:60px}.sidebar-section{padding:14px;background:#eee;border-radius:8px;box-shadow:0 2px 6px #0000001a;border:1px solid #BBBBBB;transition:all .3s ease-in-out}.metallic-btn{background:linear-gradient(to bottom,#d4d4d4,#b8b8b8);border:1px solid #999;color:#333;font-weight:500;text-shadow:0 1px 1px rgba(255,255,255,.5);box-shadow:0 2px 3px #0000001a,inset 0 1px #fff6;transition:all .2s ease}.metallic-btn:hover{background:linear-gradient(to bottom,#e0e0e0,#c8c8c8);box-shadow:0 3px 5px #00000026,inset 0 1px #ffffff80;transform:translateY(-1px)}.sidebar .toggle-btn{position:fixed;background:#fff;border:1px solid #BBBBBB;cursor:pointer;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%;box-shadow:0 2px 4px #0000001a;transition:all .3s ease-in-out;color:#000;z-index:1001}.sidebar .toggle-btn:hover{background:#f1f1f1;box-shadow:0 3px 6px #00000026}.app-container.dark .toggle-btn{background:#fff;border:1px solid #BBBBBB;color:#000;box-shadow:0 2px 4px #0000001a}.app-container.dark .toggle-btn:hover{background:#f1f1f1;box-shadow:0 2px 6px #00000026}.toggle-icon{font-size:30px!important;width:30px!important;height:30px!important;color:#000!important;transition:transform .3s ease-in-out}.app-container.dark .toggle-icon{color:#000!important}.chat-item{width:100%;padding:10px 12px;background:#eee;border-radius:6px;color:#1a365d;font-size:14px;border:1px solid #BBBBBB;box-shadow:0 1px 3px #0000001a;transition:all .2s ease;margin-bottom:6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:flex;align-items:center}.chat-item:hover{background:#e5e5e5;border-color:#bbb}.chat-item.active{background:#e0e0e0;border-color:#bbb;box-shadow:inset 0 0 5px #0000001a}.sidebar textarea,.sidebar input{background:#ccc;border:1px solid #BBBBBB;box-shadow:inset 0 1px 3px #0000001a;border-radius:4px;padding:8px;width:100%}.sidebar textarea:focus,.sidebar input:focus{border-color:#a0a0a0;box-shadow:inset 0 1px 3px #0003}.chat-history-list::-webkit-scrollbar{width:6px}.chat-history-list::-webkit-scrollbar-thumb{background:linear-gradient(to bottom,silver,#a8a8a8);border-radius:4px;border:1px solid #909090}.mobile-menu-toggle{background:linear-gradient(145deg,#d0d0d0,#b8b8b8);border:1px solid #a0a0a0;box-shadow:0 2px 5px #00000026,inset 0 1px #ffffff4d}.modal-overlay{background:#50505099}.modal{background:linear-gradient(145deg,#f0f0f0,#e0e0e0);border:1px solid #c0c0c0;box-shadow:0 4px 20px #00000040,inset 0 1px #fff6}@media screen and (max-width: 768px){.sidebar{transform:translate(-100%);box-shadow:none}.sidebar.mobile-visible{transform:translate(0);box-shadow:4px 0 15px #0003}}@media screen and (max-width: 480px){.sidebar{width:280px}.sidebar-section{padding:12px}}@keyframes metallicShine{0%{background-position:0% 50%}to{background-position:100% 50%}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.metallic-border{border:1px solid;-o-border-image:linear-gradient(to right,#d0d0d0,#f0f0f0,#d0d0d0) 1;border-image:linear-gradient(to right,#d0d0d0,#f0f0f0,#d0d0d0) 1}.metallic-text{background:linear-gradient(to right,#555,#888,#555);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 1px 1px rgba(255,255,255,.3)}.app-container.dark .sidebar{background:linear-gradient(135deg,#0c2d48,#1a365d);color:#e2e8f0;border-right:1px solid #2b4c7e;box-shadow:2px 0 12px #0a254d4d}.sidebar-content{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;gap:8px;padding-top:6px;padding-bottom:8px;height:calc(100vh - 60px);overflow:hidden}.sidebar.collapsed{width:60px;align-items:center;justify-content:flex-start}.sidebar.collapsed .sidebar-content{padding-top:20px;padding-bottom:20px;gap:5px;align-items:center}.sidebar .toggle-btn{position:fixed;background:#2e3d49;border:1px solid #bed8f7;cursor:pointer;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%;box-shadow:0 2px 6px #4299e133;transition:all .3s ease-in-out;color:#2c5282;z-index:1001}.sidebar .toggle-btn:hover{background:#1e2a33;box-shadow:0 3px 8px #2e3d4966}.app-container.dark .toggle-btn{background:#2e3d49;border:1px solid #3182ce;color:#e2e8f0;box-shadow:0 2px 6px #0a254d4d}.app-container.dark .toggle-btn:hover{background:#1e2a33;box-shadow:0 2px 8px #2e3d4966}.sidebar.collapsed .toggle-btn{left:10px}.toggle-icon{font-size:30px!important;width:30px!important;height:30px!important;color:#fff!important;transition:transform .3s ease-in-out}.app-container.dark .toggle-icon{color:#fff!important}.sidebar.collapsed .toggle-icon{transform:rotate(180deg)}.sidebar-section{padding:14px;background:#f0f9ff;border-radius:8px;box-shadow:0 1px 3px #4299e11a;border:1px solid #bee3f8;transition:all .3s ease-in-out}.app-container.dark .sidebar-section{background:#1c3f63b3;border:1px solid #2b4c7e;box-shadow:0 2px 4px #0a254d33}.ddl-content{background:#eee;border:1px solid #BBBBBB;box-shadow:0 2px 6px #0000001a}.ddl-content:hover{background:#ebf8ff;box-shadow:0 2px 6px #00000026}.upload-section{position:relative;margin-top:5px;padding:15px;background:#2e3d49;border:1px solid #BBBBBB;border-radius:8px;box-shadow:0 2px 6px #0000001a;display:flex;flex-direction:column;align-items:center;min-height:50px;text-align:center;transition:all .3s ease}.app-container.dark .upload-section{background:#1c3f63b3;border:1px dashed #4299e1}.upload-section:hover{background:#ebf8ff;box-shadow:0 2px 6px #00000026}.app-container.dark .upload-section:hover{background:#2c5282cc}.chat-history{background:#eee;border:1px solid #BBBBBB;box-shadow:0 2px 6px #0000001a;transition:all .3s ease;margin-top:2px;padding-bottom:10px;flex-grow:1;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.chat-history:hover{background:#ebf8ff;box-shadow:0 2px 6px #00000026}.sidebar-label{font-size:14px;font-weight:600;display:flex;align-items:center;gap:8px;color:#333}.app-container.dark .sidebar-label{color:#90cdf4}.icon{font-size:18px;color:#3182ce}.app-container.dark .icon{color:#63b3ed}.sidebar textarea{width:100%;padding:8px;margin-top:5px;background:#fff;border:1px solid #333;border-radius:6px;font-size:14px;color:#1a365d;resize:none;min-height:80px;max-height:200px}.app-container.dark .sidebar textarea{background:#15304eb3;border:1px solid #2b4c7e;color:#e2e8f0}.sidebar textarea::-moz-placeholder{color:#555}.sidebar textarea::placeholder{color:#555}.app-container.dark .sidebar textarea::-moz-placeholder{color:#90cdf4b3}.app-container.dark .sidebar textarea::placeholder{color:#90cdf4b3}.sidebar textarea:focus{outline:none;border-color:#4299e1;box-shadow:0 0 5px #4299e180}.app-container.dark .sidebar textarea:focus{border-color:#63b3ed;box-shadow:0 0 5px #63b3ed80}.sidebar h3{color:#2c5282;font-size:15px;letter-spacing:.5px;border-bottom:1px solid #bee3f8;padding-bottom:6px;margin-bottom:12px}.app-container.dark .sidebar h3{color:#90cdf4;border-bottom:1px solid #2b4c7e}.upload-section .file-input{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer;top:0;left:0;z-index:1}.upload-section .file-input-label{display:block;width:100%;margin-top:5px;background:#2e3d49;border:1px solid #BBBBBB;font-size:14px;color:#333;text-align:center;cursor:pointer;transition:all .3s ease;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:4px;font-weight:500;margin-bottom:12px;box-shadow:inset 0 1px 3px #0000001a;position:relative;z-index:2}.upload-section .file-input-label:hover{background:#2e3d49;border-color:#6a63ed;box-shadow:0 2px 6px #00000026;transform:scale(1.02)}.chat-history-list{flex:1;overflow-y:auto!important;max-height:none;min-height:0;padding-right:8px;padding-left:4px;display:flex;flex-direction:column;gap:6px;margin-bottom:0;-webkit-overflow-scrolling:touch}.chat-history-list::-webkit-scrollbar-thumb{background:#bbb;border-radius:3px}.app-container.dark .chat-history-list::-webkit-scrollbar-thumb{background:#4299e1}.chat-history ul{list-style:none;padding:0;margin:0}.chat-history li{display:block;padding:8px;transition:background .3s ease;color:#1a365d}.app-container.dark .chat-history li{color:#e2e8f0}.app-container.dark .chat-item{background:#15304eb3;color:#e2e8f0;border:1px solid #2b4c7e}.chat-item:hover{background:#e5e5e5;box-shadow:0 2px 6px #00000026}.app-container.dark .chat-item:hover{background:#2c5282b3;border-color:#4299e1}.chat-item.active-chat{background:#e0e0e0;border-color:#bbb;box-shadow:inset 0 0 5px #0000001a;font-weight:500}.app-container.dark .chat-item.active-chat{background:#4299e140;border-color:#63b3ed}.chat-item.active-chat:hover{background:#d9efff}.app-container.dark .chat-item.active-chat:hover{background:#4299e159}.chat-history-list::-webkit-scrollbar{width:5px!important;display:block!important}.sidebar.collapsed .sidebar-section{display:none}.sidebar.collapsed .collapsed-icons{display:flex;flex-direction:column;align-items:center;gap:15px;margin-top:20px}.collapsed-icon-button{width:45px;height:45px;border-radius:50%;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;border:1px solid #BBBBBB;box-shadow:0 2px 4px #0000001a}.collapsed-icon-button.disabled{cursor:default;opacity:.7;background:#e6e6e6;box-shadow:none}.collapsed-icon-button:not(.disabled):hover{background:#f1f1f1;transform:scale(1.05);box-shadow:0 2px 6px #00000026}.new-chat-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;background:#2e3d49;border:1px solid #243340;border-radius:4px;color:#fff;font-weight:500;font-size:14px;cursor:pointer;transition:all .3s ease;margin-bottom:12px;box-shadow:0 2px 4px #2e3d494d}.new-chat-btn:hover{background:#1e2a33;box-shadow:0 2px 6px #2e3d4966;transform:scale(1.02)}.app-container.dark .new-chat-btn{background:#2e3d49;border-color:#243340;box-shadow:0 2px 4px #2e3d494d}.app-container.dark .new-chat-btn:hover{background:#1e2a33;box-shadow:0 2px 6px #2e3d4966}.new-chat-btn svg,.new-chat-btn{color:#fff!important}.new-chat-btn svg path{fill:#fff!important}.chat-history-header{display:flex;flex-direction:column;gap:10px;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid rgba(187,187,187,.3)}.chat-history-header h3{display:flex;align-items:center;gap:8px;margin:0;font-size:18px;font-weight:600}.welcome-message{padding:20px;text-align:center;color:#555;font-style:italic;border-radius:6px;margin:5px 0}.app-container.dark .welcome-message{color:#90cdf4b3}.user-section{padding:16px;margin-top:auto;background:#4299e11a;border-top:1px solid #bee3f8}.app-container.dark .user-section{background:#15304ee6;border-top:1px solid #2b4c7e}.user-info{display:flex;align-items:center;gap:12px}.user-avatar{width:40px;height:40px;border-radius:50%;background:#4299e1;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.app-container.dark .user-avatar{background:#3182ce}.user-details{display:flex;flex-direction:column;overflow:hidden}.user-email{font-size:14px;color:#1a365d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-container.dark .user-email{color:#e2e8f0}.mobile-menu-toggle{display:none;position:fixed;top:15px;left:15px;z-index:1100;border:1px solid #3182ce;color:#fff;width:40px;height:40px;border-radius:50%;font-size:20px;cursor:pointer;align-items:center;justify-content:center}.app-container.dark .mobile-menu-toggle{background:#2c5282;border:1px solid #3182ce}.sidebar.mobile-visible{transform:translate(0)}@keyframes popupCenter{0%{opacity:0;transform:translate(-50%,-10px) scale(.95);box-shadow:0 8px 20px #00000026}10%{opacity:1;transform:translate(-50%) scale(1.02);box-shadow:0 10px 25px #0003}80%{opacity:.8;transform:translate(-50%)}to{opacity:0;transform:translate(-150vw)}}.notification{padding:14px 18px;margin:0;border-radius:8px;color:#fff;font-size:14px;font-weight:500;display:flex;align-items:center;gap:10px;box-shadow:0 8px 20px #0003;position:fixed;top:20px;left:50%;transform:translate(-50%);z-index:9999;animation:popupCenter 3s cubic-bezier(.22,1,.36,1) forwards;overflow:visible;min-width:300px;max-width:min(450px,90vw);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);letter-spacing:.2px;line-height:1.4;will-change:transform,opacity}.notification.success{background:linear-gradient(135deg,#78909c,#546e7a);border-left:4px solid #455a64;color:#f8f9fa}.notification.error{background:linear-gradient(135deg,#78716c,#57534e);border-left:4px solid #44403c;color:#f8f9fa}.notification:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:3px;background:#ffffff4d;animation:progress 4s cubic-bezier(.22,1,.36,1) forwards;border-bottom-left-radius:8px}@keyframes progress{0%{width:100%;background:#ffffff4d}80%{background:#ffffff4d}to{width:0%;background:#ffffff80}}@keyframes metallicSheen{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.notification-icon{flex-shrink:0;width:24px;height:24px;background-size:contain;margin-right:4px}.app-container.dark .notification.success{background:linear-gradient(135deg,#2c69c9,#1d4ed8);border-left:5px solid #3b82f6;box-shadow:0 10px 25px #00000059}.app-container.dark .notification.error{background:linear-gradient(135deg,#c53030,#9b2c2c);border-left:5px solid #f56565;box-shadow:0 10px 25px #00000059}.database-section{background:#eee;border:1px solid #BBBBBB;box-shadow:0 2px 6px #0000001a;transition:all .3s ease}.database-section:hover{background:#ebf8ff;box-shadow:0 2px 6px #00000026}.app-container.dark .database-section{background:#1c3f63b3;border:1px solid #2b4c7e}.app-container.dark .database-section:hover{background:#2c5282cc}.connect-db-btn{width:100%;padding:8px;background:#2e3d49;border:1px solid #BBBBBB;border-radius:4px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;margin-top:8px;box-shadow:inset 0 1px 3px #0000001a}.connect-db-btn:hover{background:#eee;box-shadow:0 2px 6px #00000026;transform:scale(1.02)}.connect-db-btn.connected{background:#166534;border-color:#bbb;color:#fff;position:relative}.connect-db-btn.connected:before{content:"✓";position:absolute;left:10px;color:#fff}.modal-overlay{background:#0a254d99;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:1100}.modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #4299e140;width:400px;max-width:90%;overflow:hidden;animation:fadeIn .3s ease-in-out}.app-container.dark .modal{background:#15304e;box-shadow:0 4px 20px #0a254d66}.modal-content{padding:20px}.modal-title{color:#2c5282;font-size:18px;margin-top:0;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #bee3f8}.app-container.dark .modal-title{color:#90cdf4;border-bottom:1px solid #2b4c7e}.connection-form{display:flex;flex-direction:column;gap:15px}.form-group{display:flex;flex-direction:column;gap:5px}.form-group label{font-size:14px;color:#2c5282;font-weight:500}.app-container.dark .form-group label{color:#90cdf4}.form-group input{padding:8px 10px;border:1px solid #bee3f8;border-radius:4px;font-size:14px;color:#1a365d;background:#fff}.app-container.dark .form-group input{background:#15304eb3;border:1px solid #2b4c7e;color:#e2e8f0}.form-group input:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 2px #4299e133}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-btn{padding:8px 16px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.cancel-btn{background:#e2e8f0;color:#4a5568;border:1px solid #cbd5e0}.app-container.dark .cancel-btn{background:#2d3748;color:#e2e8f0;border:1px solid #4a5568}.cancel-btn:hover{background:#edf2f7}.app-container.dark .cancel-btn:hover{background:#4a5568}.connect-btn{background:#e2e8f0;color:#4a5568;border:1px solid #cbd5e0;box-shadow:0 2px 4px #4299e133}.connect-btn:hover{background:#edf2f7;box-shadow:0 2px 6px #4299e14d}.chat-item-content{display:flex;justify-content:space-between;align-items:center;width:100%}.chat-item-actions{display:flex;gap:4px;opacity:0;transition:opacity .2s}.chat-item:hover .chat-item-actions{opacity:1}.chat-action-btn{padding:4px;background:none;border:none;color:#555;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center}.app-container.dark .chat-action-btn{color:#90cdf4}.chat-action-btn:hover{background:#0000000d}.app-container.dark .chat-action-btn:hover{background:#90cdf433}.delete-btn:hover{color:#f56565}.edit-btn:hover{color:#4299e1}.chat-title-input{background:#ccc;border:1px solid #BBBBBB;border-radius:4px;color:#333;padding:4px 8px;width:100%;font-size:14px;box-shadow:inset 0 1px 3px #0000001a}.app-container.dark .chat-title-input{background:#15304eb3;border:1px solid #2b4c7e;color:#e2e8f0}.chat-title-input:focus{outline:none;border-color:#a0a0a0}.chat-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px;font-weight:500}.chat-history-list:hover::-webkit-scrollbar-thumb{background:#999}@media screen and (max-width: 768px){.sidebar{transform:translate(-100%);box-shadow:none;transition:transform .3s ease-in-out}.mobile-menu-toggle{display:flex}.sidebar.mobile-visible{transform:translate(0);box-shadow:4px 0 15px #0003;z-index:1050}.toggle-btn{top:15px!important}.sidebar.collapsed .toggle-btn{left:5px}}@media screen and (max-width: 480px){.sidebar{width:240px}.sidebar-content{padding-top:75px}.sidebar-section{padding:12px}.ddl-content textarea{min-height:100px}.chat-history-list{max-height:calc(100vh - 210px);min-height:350px;overflow-y:auto!important}}.sidebar{height:100vh;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}.sidebar::-webkit-scrollbar{display:none}.sidebar-content::-webkit-scrollbar{display:none}.sidebar-content{overflow:hidden}.chat-item{flex-shrink:0;min-height:40px}:root{--sidebar-width: 260px;--sidebar-collapsed-width: 60px;--eg-blue: #0066CC;--eg-darkblue: #004080;--eg-lightblue: #3399FF;--eg-dark: #121225;--eg-gray: #2A2A3A;--eg-lightgray: #E0E0E0}#root{width:100vw;height:100vh;margin:0;padding:0;display:flex;flex-direction:column}.app-container{display:flex;height:100vh;overflow:hidden;background:#f2f2f2;transition:background-color .3s ease}.app-container.dark{background-color:#1a1a2e;color:#fff}.app-layout{display:flex;height:100vh;width:100%;overflow:hidden}.protected-route-loader{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--eg-dark)}.protected-route-spinner{width:3rem;height:3rem;border:.25rem solid rgba(255,255,255,.3);border-radius:50%;border-top-color:var(--eg-blue);animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.chat-section{flex:1;display:flex;flex-direction:column;transition:all .3s ease-in-out;padding:15px;width:100%;margin-left:0;transition:margin-left .3s ease,width .3s ease}.chat-section.with-sidebar{margin-left:260px;width:calc(100% - 260px)}.chat-section.fullwidth{margin-left:60px;width:calc(100% - 60px)}@media screen and (max-width: 768px){.chat-section,.chat-section.with-sidebar,.chat-section.fullwidth{margin-left:0;width:100%}}.placeholder{display:flex;justify-content:center;align-items:center;flex-grow:1;font-size:18px;color:#e0e0e0;background:linear-gradient(to bottom,#3a3a6a,#2a2a5a);border-radius:10px;box-shadow:0 4px 15px #0000004d;border:1px solid #4a4a8a}.app-container.dark .placeholder{background-color:#0f3460;color:#fff}.min-h-screen{min-height:100vh}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-from),var(--tw-gradient-to, rgba(0, 64, 128, 0)))}.from-eg-darkblue{--tw-gradient-from: var(--eg-darkblue)}.to-eg-lightblue{--tw-gradient-to: var(--eg-lightblue)}.login-container{max-width:28rem;width:100%}.login-card{background-color:#fff;border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;padding:2rem}.dark .login-card{background-color:#1a202c}.login-header{margin-bottom:2rem;text-align:center}.login-logo{height:4rem;margin-bottom:1rem;margin-left:auto;margin-right:auto}.login-title{font-size:1.5rem;font-weight:600;color:#2d3748}.dark .login-title{color:#fff}.login-subtitle{color:#718096;margin-top:.5rem}.dark .login-subtitle{color:#a0aec0}.login-button{width:100%;background-color:var(--eg-blue);color:#fff;font-weight:500;padding:.75rem 1rem;border-radius:.5rem;transition:background-color .2s;display:flex;align-items:center;justify-content:center}.login-button:hover{background-color:var(--eg-darkblue)}.login-button svg{margin-right:.5rem}.login-footer{margin-top:1.5rem;text-align:center;font-size:.875rem;color:#718096}.dark .login-footer{color:#a0aec0}.animate-spin{animation:spin 1s linear infinite}@media screen and (max-width: 768px){.chat-section{margin-left:0}.chat-section.expanded{margin-left:var(--sidebar-width)}.chat-section.collapsed{width:100%;margin-left:var(--sidebar-collapsed-width)}.chat-section.with-sidebar{width:100%}.sidebar.mobile-visible{transform:translate(0)}}
