@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);:root{--primary-color:#007bff;--secondary-color:#00d2ff;--background-color:#f7f8fa;--surface-color:#fff;--text-color:#1a1a1a;--text-secondary:#6b7280;--border-color:#00000014;--hover-bg:#0000000d;--button-bg:#00000008;--toggle-bg:#0000000d;--font-main:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto",sans-serif}body.dark-theme{--primary-color:#6366f1;--secondary-color:#8b5cf6;--background-color:#0a0a0f;--surface-color:#141420;--text-color:#e5e7eb;--text-secondary:#9ca3af;--border-color:#ffffff1a;--hover-bg:#ffffff14;--button-bg:#ffffff0d;--toggle-bg:#ffffff1a}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f7f8fa;background-color:var(--background-color);color:#1a1a1a;color:var(--text-color);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-main);margin:0;overflow:hidden;padding:0;transition:background-color .3s ease,color .3s ease}body.dark-theme{background:radial-gradient(circle at 20% 30%,#6366f126 0,#0000 50%),radial-gradient(circle at 80% 70%,#8b5cf626 0,#0000 50%),radial-gradient(circle at 50% 50%,#6366f10d 0,#0000 70%),linear-gradient(135deg,#0a0a0f,#141420);background-attachment:fixed;position:relative}body.dark-theme:before{animation:starfield 20s linear infinite;background-image:radial-gradient(2px 2px at 20% 30%,#ffffff4d,#0000),radial-gradient(2px 2px at 60% 70%,#fff3,#0000),radial-gradient(1px 1px at 50% 50%,#fff6,#0000),radial-gradient(1px 1px at 80% 10%,#ffffff4d,#0000),radial-gradient(2px 2px at 90% 40%,#fff3,#0000),radial-gradient(1px 1px at 33% 60%,#ffffff4d,#0000),radial-gradient(2px 2px at 66% 20%,#fff3,#0000);background-position:0 0,100% 0,50% 50%,0 100%,100% 100%,0 50%,100% 50%;background-size:200% 200%;bottom:0;content:"";left:0;opacity:.6;pointer-events:none;position:fixed;right:0;top:0;z-index:0}@keyframes starfield{0%{background-position:0 0,100% 0,50% 50%,0 100%,100% 100%,0 50%,100% 50%}to{background-position:100% 100%,0 100%,50% 50%,100% 0,0 0,100% 50%,0 50%}}code{font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#0000}::-webkit-scrollbar-thumb{background:#0003;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#0000004d}body.dark-theme ::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}body.dark-theme ::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.App{background:var(--background-color);height:100vh;z-index:1}.App,.Sidebar{display:flex;overflow:hidden;position:relative}.Sidebar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:var(--surface-color);border-right:1px solid var(--border-color);flex-direction:column;transition:background-color .3s ease,border-color .3s ease;width:280px;z-index:10}body.dark-theme .Sidebar{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#141420cc;box-shadow:0 0 30px #6366f11a}.ChatContainer{background:var(--background-color);display:flex;flex:1 1;flex-direction:column;min-width:0;overflow:hidden;position:relative;transition:background-color .3s ease;z-index:1}.App-header{background:var(--surface-color);border-bottom:1px solid var(--border-color);flex-shrink:0;justify-content:space-between;padding:16px 24px}.App-header,.App-header-left{align-items:center;display:flex}.App-logo{border-radius:6px;height:32px;margin-right:12px;pointer-events:none;width:32px}.App-header h1{color:var(--text-color);font-family:var(--font-main);font-size:1.25rem;font-weight:600;margin:0}.SettingsButton{align-items:center;background:var(--button-bg);border:1px solid var(--border-color);border-radius:10px;color:var(--text-color);cursor:pointer;display:flex;height:36px;justify-content:center;padding:8px;transition:all .2s ease;width:36px}.SettingsButton:hover{background:var(--hover-bg);border-color:var(--primary-color);transform:rotate(90deg)}@media (max-width:768px){.App{flex-direction:column}.Sidebar{border-bottom:1px solid #00000014;border-right:none;height:auto;max-height:200px;width:100%}.App-header{padding:12px 16px}.App-header h1{font-size:1.1rem}.App-logo{height:28px;width:28px}}.Message{word-wrap:break-word;animation:fadeIn .3s ease-out;border-radius:16px;display:flex;flex-direction:column;font-size:.95rem;gap:10px;line-height:1.6;max-width:85%;padding:16px 20px;position:relative}.user-message{align-self:flex-end;background:var(--primary-color);border-bottom-right-radius:4px;box-shadow:0 2px 8px #007bff26;color:#fff}.bot-message{align-self:flex-start;background:var(--surface-color);border:1px solid var(--border-color);border-bottom-left-radius:4px;box-shadow:0 1px 3px #0000000d;color:var(--text-color);transition:all .3s ease}body.dark-theme .bot-message{background:#141420cc;border-color:#6366f133;box-shadow:0 2px 8px #0000004d,0 0 15px #6366f11a}body.dark-theme .user-message{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 4px 20px #6366f166}.markdown-content p{margin:0 0 10px}.markdown-content p:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3{color:inherit;font-weight:600;margin-bottom:10px;margin-top:15px}.markdown-content ol,.markdown-content ul{margin:10px 0;padding-left:20px}.markdown-content li{margin-bottom:5px}.markdown-content code{background:#0000000d;border-radius:4px;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:.9em;padding:2px 4px}.markdown-content pre{background:#f4f4f4;border-radius:8px;margin:10px 0;overflow-x:auto;padding:15px}body.dark-theme .markdown-content code{background:#0000004d;color:#e5e7eb}body.dark-theme .markdown-content pre{background:#0006;border:1px solid #6366f133}.markdown-content pre code{background:#0000;padding:0}.user-message .markdown-content code{background:#fff3}.user-message .markdown-content pre{background:#ffffff1a}.Message p{margin:0}.MessageImage{border:1px solid #0000000d;border-radius:12px;max-width:100%}@media (max-width:768px){.Message{font-size:.95rem;max-width:90%;padding:15px 18px}}.ChatBox{display:flex;flex:1 1;flex-direction:column;gap:16px;margin:0 auto;max-width:1200px;overflow-y:auto;padding:24px;position:relative;scroll-behavior:smooth;width:100%;z-index:1}.LoadingIndicator{align-items:center;display:flex;justify-content:center;padding:20px}.spinner{animation:spin 1s linear infinite;border:4px solid #007bff1a;border-radius:50%;border-top:4px solid var(--primary-color);box-shadow:none;height:40px;width:40px}body.dark-theme .spinner{border-color:#6366f133;border-top-color:var(--primary-color);box-shadow:0 0 10px #6366f14d}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ChatInput{backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:var(--surface-color);border-top:1px solid var(--border-color);box-shadow:0 -2px 10px #0000000d;padding:20px 30px;position:relative;transition:background-color .3s ease,border-color .3s ease;z-index:10}body.dark-theme .ChatInput{-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);background:#141420e6;box-shadow:0 -2px 20px #0000004d,0 0 30px #6366f11a}.InputWrapper{align-items:flex-end;display:flex;gap:12px;margin:0 auto;max-width:1200px}.InputArea{background:var(--surface-color);border:1.5px solid var(--border-color);border-radius:16px;display:flex;flex:1 1;flex-direction:column;max-height:300px;min-height:52px;overflow-y:auto;padding:12px 16px;transition:all .2s ease}.InputArea:focus-within{border-color:var(--primary-color);box-shadow:0 0 0 3px #007bff1a}body.dark-theme .InputArea{background:#14142099;border-color:#6366f14d}body.dark-theme .InputArea:focus-within{border-color:var(--primary-color);box-shadow:0 0 0 3px #6366f133,0 0 20px #6366f11a}.TextInput{background-color:initial;border:none;color:var(--text-color);font-family:var(--font-main);font-size:.95rem;line-height:1.5;max-height:250px;min-height:24px;outline:none;overflow-y:auto;padding:0;resize:none;width:100%}.TextInput::placeholder{color:var(--text-secondary)}.ImagePreview{border-bottom:1px solid var(--border-color);display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;padding-bottom:8px}.ImagePreviewItem{display:inline-block;position:relative}.ImagePreviewItem img{border:1px solid #0000001a;border-radius:8px;display:block;height:80px;object-fit:cover;width:80px}.RemoveImageButton{align-items:center;background:#000000b3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:18px;font-weight:300;height:24px;justify-content:center;line-height:1;padding:0;position:absolute;right:-8px;top:-8px;transition:all .2s ease;width:24px}.RemoveImageButton:hover{background:#000000e6;transform:scale(1.1)}.InputButtons{align-items:center;display:flex;flex-shrink:0;gap:8px}.SendButton,.UploadButton{border:none;border-radius:12px;cursor:pointer;font-family:var(--font-main);font-size:.95rem;font-weight:500;padding:12px 20px;transition:all .2s ease;white-space:nowrap}.UploadButton{background:var(--button-bg);border:1px solid var(--border-color);color:var(--text-color)}.UploadButton:hover{background:var(--hover-bg);border-color:var(--primary-color)}body.dark-theme .UploadButton{background:#6366f11a;border-color:#6366f14d}body.dark-theme .UploadButton:hover{background:#6366f133;border-color:#6366f180}.SendButton{background:var(--primary-color);box-shadow:0 2px 8px #007bff33;color:#fff}.SendButton:hover:not(:disabled){background:#0056b3;box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}body.dark-theme .SendButton{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 2px 12px #6366f166}body.dark-theme .SendButton:hover:not(:disabled){background:linear-gradient(135deg,#7c7ff5,#9d6df8);box-shadow:0 4px 20px #6366f199}.SendButton:disabled{cursor:not-allowed;opacity:.5}.InputArea::-webkit-scrollbar{width:6px}.InputArea::-webkit-scrollbar-track{background:#0000}.InputArea::-webkit-scrollbar-thumb{background:#0000001a;border-radius:3px}.InputArea::-webkit-scrollbar-thumb:hover{background:#0003}.TextInput::-webkit-scrollbar{width:6px}.TextInput::-webkit-scrollbar-track{background:#0000}.TextInput::-webkit-scrollbar-thumb{background:#0000001a;border-radius:3px}.TextInput::-webkit-scrollbar-thumb:hover{background:#0003}@media (max-width:768px){.ChatInput{padding:15px}.InputWrapper{gap:8px}.InputArea{border-radius:12px;padding:10px 14px}.SendButton,.UploadButton{font-size:.9rem;padding:10px 16px}.ImagePreviewItem img{height:60px;width:60px}}.ConversationList{display:flex;flex-direction:column;height:100%;overflow:hidden}.NewChatButton{background:var(--primary-color);border:none;border-radius:12px;box-shadow:0 2px 8px #007bff33;color:#fff;cursor:pointer;font-family:var(--font-main);font-size:.95rem;font-weight:500;margin:16px;padding:12px 20px;transition:all .2s ease}.NewChatButton:hover{background:#0056b3;box-shadow:0 4px 12px #007bff4d;transform:translateY(-1px)}body.dark-theme .NewChatButton{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 2px 12px #6366f166}body.dark-theme .NewChatButton:hover{background:linear-gradient(135deg,#7c7ff5,#9d6df8);box-shadow:0 4px 20px #6366f199}.Conversations{display:flex;flex:1 1;flex-direction:column;gap:4px;overflow-y:auto;padding:8px}.ConversationItem{background:#0000;border:1px solid #0000;border-radius:10px;cursor:pointer;padding:12px 16px;transition:all .2s ease}.ConversationItem.active,.ConversationItem:hover{background:var(--hover-bg)}.ConversationItem.active{border-color:var(--primary-color)}body.dark-theme .ConversationItem:hover{background:#6366f126}body.dark-theme .ConversationItem.active{background:#6366f133;border-color:#6366f166;box-shadow:0 0 10px #6366f133}.ConversationTitle{color:var(--text-color);font-size:.9rem;font-weight:500;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ConversationItem.active .ConversationTitle{color:var(--primary-color);font-weight:600}.ConversationPreview{color:var(--text-secondary);font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ConversationItem.active .ConversationPreview{color:var(--text-color)}.EmptyState{color:var(--text-secondary);padding:24px 16px;text-align:center}.EmptyState p{font-size:.9rem;margin:0}.EmptyStateHint{font-size:.8rem!important;margin-top:4px!important;opacity:.7}.Conversations::-webkit-scrollbar{width:6px}.Conversations::-webkit-scrollbar-track{background:#0000}.Conversations::-webkit-scrollbar-thumb{background:#0000001a;border-radius:3px}.Conversations::-webkit-scrollbar-thumb:hover{background:#0003}body.dark-theme .Conversations::-webkit-scrollbar-thumb{background:#ffffff26}body.dark-theme .Conversations::-webkit-scrollbar-thumb:hover{background:#ffffff40}.SettingsOverlay{animation:fadeIn .2s ease-out;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.SettingsDialog{animation:slideUp .3s ease-out;background:var(--surface-color);border:1px solid var(--border-color);border-radius:16px;box-shadow:0 20px 60px #0000004d;left:50%;max-height:90vh;max-width:500px;overflow-y:auto;position:fixed;top:50%;transform:translate(-50%,-50%);transition:background-color .3s ease,border-color .3s ease;width:90%;z-index:1001}body.dark-theme .SettingsDialog{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#141420f2;border-color:#6366f14d;box-shadow:0 20px 60px #0009,0 0 40px #6366f133}.SettingsHeader{align-items:center;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:20px 24px}.SettingsHeader h2{color:var(--text-color);font-size:1.5rem;font-weight:600;margin:0}.SettingsCloseButton{align-items:center;background:none;border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;line-height:1;padding:0;transition:all .2s ease;width:32px}.SettingsCloseButton:hover{background:var(--hover-bg);color:var(--text-color)}.SettingsContent{padding:24px}.SettingsSection{margin-bottom:24px}.SettingsLabel{color:var(--text-color);display:block;font-size:.9rem;font-weight:500;margin-bottom:12px}.ThemeToggle{background:var(--toggle-bg);border-radius:12px;display:flex;gap:8px;padding:4px}.ThemeOption{background:#0000;border:none;border-radius:8px;color:var(--text-secondary);cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:10px 20px;transition:all .2s ease}.ThemeOption.active{background:var(--primary-color);box-shadow:0 2px 8px #007bff4d;color:#fff}.ThemeOption:not(.active):hover{background:var(--hover-bg);color:var(--text-color)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translate(-50%,-45%)}to{opacity:1;transform:translate(-50%,-50%)}}body.dark-theme .SettingsDialog{box-shadow:0 20px 60px #0009}body.dark-theme .ThemeOption.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 2px 12px #6366f166}
/*# sourceMappingURL=main.37b275fd.css.map*/