.chatdoctor-container{display:flex;height:100vh;width:100%;overflow:hidden;background-color:#212121;position:relative}.chatdoctor-container.dark{background-color:#212121}.new-chat-button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;background-color:transparent;border:1px solid #d1d5db;border-radius:8px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.new-chat-button:hover{background-color:#10a37f1a;border-color:#10a37f;color:#10a37f}.chatdoctor-container.dark .new-chat-button{border-color:#4d4d4d;color:#ececec}.chatdoctor-container.dark .new-chat-button:hover{background-color:#10a37f26;border-color:#10a37f}.session-item{padding:10px 12px!important;border-radius:8px!important;font-size:14px!important;transition:background-color .2s!important}.session-item:hover{background-color:#0000000d!important}.chatdoctor-container.dark .session-item:hover{background-color:#ffffff14!important}.session-item.Mui-selected{background-color:#10a37f1a!important;font-weight:500!important}.chatdoctor-container.dark .session-item.Mui-selected{background-color:#10a37f26!important}.chatdoctor-main{flex:1;display:flex;flex-direction:column;width:100%;min-width:0;position:relative;background-color:#fff}.chatdoctor-container.dark .chatdoctor-main{background-color:#212121}.chatdoctor-header{display:flex;align-items:center;padding:16px 24px;border-bottom:1px solid #ececec;background-color:#fff;min-height:60px;box-sizing:border-box}.chatdoctor-container.dark .chatdoctor-header{border-bottom-color:#2f2f2f;background-color:#212121}.chatdoctor-messages{flex:1;overflow-y:auto;background-color:#fff}.chatdoctor-container.dark .chatdoctor-messages{background-color:#212121}.chatdoctor-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:816px;height:100%;text-align:center;padding:24px;margin:0 auto;box-sizing:border-box}.welcome-logo{margin-bottom:24px}.chatdoctor-welcome h2{font-size:32px;font-weight:400;color:#374151;margin:0}.chatdoctor-container.dark .chatdoctor-welcome h2{color:#ececec}.chatdoctor-message{display:flex;align-items:flex-start;padding:8px 24px;max-width:816px;width:100%;margin:0 auto;box-sizing:border-box}.chatdoctor-message.user{justify-content:flex-end}.chatdoctor-message.assistant{justify-content:flex-start}.chatdoctor-message+.chatdoctor-message{margin-top:12px}.message-avatar{display:none!important}.message-content{font-size:16px;line-height:1.5;max-width:70%}.chatdoctor-message.user .message-content{background-color:#f4f4f4;border-radius:18px;padding:12px 16px;color:#0d0d0d}.chatdoctor-container.dark .chatdoctor-message.user .message-content{background-color:#2f2f2f;color:#ececec}.chatdoctor-message.assistant .message-content{background-color:transparent;padding:0;color:#0d0d0d}.chatdoctor-container.dark .chatdoctor-message.assistant .message-content{color:#ececec}.markdown-content{white-space:pre-wrap;word-wrap:break-word}.markdown-content p{margin:0 0 12px}.markdown-content p:last-child{margin-bottom:0}.typing-indicator{display:flex;gap:4px;padding:8px 0}.typing-indicator span{width:8px;height:8px;background-color:#10a37f;border-radius:50%;animation:typing 1.4s infinite}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-10px);opacity:1}}.chatdoctor-input-container{padding:16px 24px 24px;background-color:#fff;border-top:none;width:100%;box-sizing:border-box}.chatdoctor-container.dark .chatdoctor-input-container{background-color:#212121}.chatdoctor-input-container>form{width:100%;max-width:768px;margin:0 auto;box-sizing:border-box}.chatdoctor-input-container>*{width:100%;max-width:768px;margin:0 auto;box-sizing:border-box}.chatdoctor-input-form{width:100%;position:relative;background-color:#f4f4f4;border:1px solid #d1d5db;border-radius:24px;box-shadow:0 0 #0000;transition:all .2s}.chatdoctor-input-form:focus-within{border-color:#b4b4b4;box-shadow:none}.chatdoctor-container.dark .chatdoctor-input-form{background-color:#40414f;border-color:#565869}.chatdoctor-container.dark .chatdoctor-input-form:focus-within{border-color:#565869;box-shadow:none}.chatdoctor-textarea{width:100%;min-height:24px;max-height:200px;padding:12px 48px 12px 16px;border:none;background:transparent;color:#0d0d0d;font-size:16px;font-family:inherit;line-height:24px;resize:none;outline:none}.chatdoctor-container.dark .chatdoctor-textarea{color:#ececec}.chatdoctor-textarea::placeholder{color:#8e8ea0}.chatdoctor-textarea:disabled{opacity:.5;cursor:not-allowed}.chatdoctor-send-button{position:absolute;right:8px;bottom:8px;width:32px;height:32px;border:none;border-radius:8px;background-color:#0d0d0d;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.chatdoctor-container.dark .chatdoctor-send-button{background-color:#ececec;color:#0d0d0d}.chatdoctor-send-button:hover:not(:disabled){background-color:#2f2f2f}.chatdoctor-container.dark .chatdoctor-send-button:hover:not(:disabled){background-color:#d1d1d1}.chatdoctor-send-button:disabled{background-color:#d1d5db;cursor:not-allowed;opacity:.4}.chatdoctor-container.dark .chatdoctor-send-button:disabled{background-color:#676778;color:#40414f;opacity:.5}@media (max-width: 820px){.chatdoctor-message{padding:8px 16px}.message-content{max-width:80%}.chatdoctor-welcome{padding:16px}.chatdoctor-input-container{padding:12px 16px 16px}.chatdoctor-header{padding:12px 16px}}.chatdoctor-messages::-webkit-scrollbar{width:8px}.chatdoctor-messages::-webkit-scrollbar-track{background:transparent}.chatdoctor-messages::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:4px}.chatdoctor-container.dark .chatdoctor-messages::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2)}.chatdoctor-messages::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.3)}.chatdoctor-container.dark .chatdoctor-messages::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3)}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f5f5f5;color:#333;line-height:1.6;overflow:hidden}#root{width:100%;height:100vh;display:flex;flex-direction:column}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:10px;transition:background .2s ease}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*{scrollbar-width:thin;scrollbar-color:#c1c1c1 #f1f1f1}*:focus-visible{outline:2px solid #1976d2;outline-offset:2px}button{border:none;background:none;cursor:pointer;font-family:inherit}a{text-decoration:none;color:inherit}input,textarea{font-family:inherit;border:none;outline:none}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.fade-in{animation:fadeIn .3s ease-out}.slide-in{animation:slideIn .3s ease-out}.pulse{animation:pulse 2s infinite}.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-container{height:100vh;display:flex;flex-direction:column;overflow:hidden}.chat-messages{flex:1;overflow-y:auto;padding:20px;scroll-behavior:smooth}.chat-input-container{flex-shrink:0;border-top:1px solid #e0e0e0;background:white;padding:20px}.message{margin-bottom:16px;animation:fadeIn .3s ease-out}.message-user{display:flex;justify-content:flex-end}.message-assistant{display:flex;justify-content:flex-start}.message-content{max-width:70%;padding:12px 16px;border-radius:12px;line-height:1.5;word-wrap:break-word}.message-content.user{background:#1976d2;color:#fff;border-bottom-right-radius:4px}.message-content.assistant{background:white;color:#333;border:1px solid #e0e0e0;border-bottom-left-radius:4px}.message-content pre{background:#f5f5f5;border-radius:6px;padding:12px;overflow-x:auto;margin:8px 0;font-size:14px}.message-content code{background:#f5f5f5;padding:2px 6px;border-radius:4px;font-size:14px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.message-content pre code{background:none;padding:0}@media (max-width: 768px){.message-content{max-width:85%}.chat-messages,.chat-input-container{padding:16px}}@media (max-width: 480px){.message-content{max-width:95%}.chat-messages,.chat-input-container{padding:12px}}:root{--bg-primary: #ffffff;--bg-secondary: #f8f9fa;--bg-tertiary: #f1f3f5;--bg-message-user: #0066ff;--bg-message-ai: #f1f3f5;--text-primary: #1a1a1a;--text-secondary: #6b7280;--text-tertiary: #9ca3af;--border-color: #e5e7eb;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;--font-mono: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", monospace;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-6: 1.5rem;--space-8: 2rem;--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--transition-base: .2s cubic-bezier(.4, 0, .2, 1);--transition-slow: .3s cubic-bezier(.4, 0, .2, 1)}.dark{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-tertiary: #334155;--bg-message-user: #3b82f6;--bg-message-ai: #1e293b;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-tertiary: #94a3b8;--border-color: #334155;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .5);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .5);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .5)}*{transition:background-color var(--transition-base),border-color var(--transition-base),color var(--transition-base)}body{font-family:var(--font-sans);background-color:var(--bg-primary);color:var(--text-primary)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-secondary)}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.message-bubble{padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);max-width:85%;word-wrap:break-word;box-shadow:var(--shadow-sm)}.message-bubble-user{background-color:var(--bg-message-user);color:#fff;margin-left:auto;border-bottom-right-radius:var(--radius-sm)}.message-bubble-ai{background-color:var(--bg-message-ai);color:var(--text-primary);border-bottom-left-radius:var(--radius-sm)}.markdown-content{font-size:.9375rem;line-height:1.6}.markdown-content h1,.markdown-content h2,.markdown-content h3{margin-top:var(--space-6);margin-bottom:var(--space-3);font-weight:600;color:var(--text-primary)}.markdown-content h1{font-size:1.5rem}.markdown-content h2{font-size:1.25rem}.markdown-content h3{font-size:1.125rem}.markdown-content p{margin-bottom:var(--space-4)}.markdown-content ul,.markdown-content ol{margin:var(--space-3) 0;padding-left:var(--space-6)}.markdown-content li{margin-bottom:var(--space-2)}.markdown-content strong{font-weight:600;color:var(--text-primary)}.markdown-content em{font-style:italic}.markdown-content code{background-color:var(--bg-tertiary);padding:.125rem .375rem;border-radius:var(--radius-sm);font-family:var(--font-mono);font-size:.875em;color:var(--text-primary)}.markdown-content pre{background-color:var(--bg-tertiary);padding:var(--space-4);border-radius:var(--radius-md);overflow-x:auto;margin:var(--space-4) 0}.markdown-content pre code{background-color:transparent;padding:0}.markdown-content blockquote{border-left:3px solid var(--border-color);padding-left:var(--space-4);margin:var(--space-4) 0;color:var(--text-secondary);font-style:italic}.markdown-content a{color:#3b82f6;text-decoration:none}.markdown-content a:hover{text-decoration:underline}.chat-input{background-color:var(--bg-secondary);border-radius:var(--radius-xl);border:1px solid var(--border-color);transition:all var(--transition-base)}.chat-input:hover{border-color:var(--text-tertiary)}.chat-input:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.animate-fade-in{animation:fadeIn var(--transition-base)}.animate-slide-in{animation:slideIn var(--transition-base)}.typing-indicator{display:flex;gap:4px;padding:var(--space-3)}.typing-indicator span{width:8px;height:8px;background-color:var(--text-tertiary);border-radius:50%;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-10px)}}@media (max-width: 768px){.message-bubble{max-width:90%}}
