*{box-sizing:border-box}#root{width:100%;height:100vh;margin:0;padding:0;display:flex;justify-content:center;align-items:center}.app{width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background:#1a1a1d;padding:20px}.chat-container{width:100%;max-width:800px;height:100%;max-height:900px;background:#2b2b2e;border-radius:20px;box-shadow:0 20px 60px #00000080;display:flex;flex-direction:column;overflow:hidden;border:1px solid #3a3a3d}.chat-header{background:linear-gradient(135deg,#1a1a1d,#2b2b2e);color:#99ebeb;padding:20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 10px #0000004d;border-bottom:2px solid #99ebeb;position:relative}.header-logo{height:40px;width:auto;object-fit:contain}.chat-header h1{margin:0;font-size:28px;font-weight:600;color:#99ebeb;position:absolute;left:50%;transform:translate(-50%);text-align:center}.header-spacer{width:40px;height:40px}.messages-container{flex:1;overflow-y:auto;padding:20px;background:#1a1a1d}.messages-container::-webkit-scrollbar{width:8px}.messages-container::-webkit-scrollbar-track{background:#2b2b2e;border-radius:10px}.messages-container::-webkit-scrollbar-thumb{background:#99ebeb;border-radius:10px}.messages-container::-webkit-scrollbar-thumb:hover{background:#66c9c9}.welcome-message{text-align:center;color:#99ebeb;margin-top:100px}.welcome-message p{font-size:18px}.message{margin-bottom:15px;display:flex}.message.user{justify-content:flex-end}.message.ai{justify-content:flex-start}.message-content{max-width:70%;padding:12px 16px;border-radius:18px;word-wrap:break-word;line-height:1.4}.message.user .message-content{background:#99ebeb;color:#1a1a1d;border-bottom-right-radius:4px}.message.ai .message-content{background:#2b2b2e;color:#e0e0e0;border-bottom-left-radius:4px;border:1px solid #3a3a3d}.message-content.loading{background:#2b2b2e;padding:15px 20px;border:1px solid #3a3a3d}.typing-indicator{display:inline-block;font-size:24px;letter-spacing:2px;animation:typing 1.5s infinite;color:#99ebeb}@keyframes typing{0%,to{opacity:.3}50%{opacity:1}}.input-container{display:flex;padding:20px;background:#2b2b2e;border-top:1px solid #3a3a3d;gap:10px;align-items:flex-end}.message-input{flex:1;padding:12px 16px;border:2px solid #3a3a3d;border-radius:20px;font-size:16px;font-family:inherit;resize:none;max-height:120px;transition:border-color .3s;background:#1a1a1d;color:#e0e0e0}.message-input:focus{outline:none;border-color:#99ebeb}.message-input:disabled{background:#2b2b2e;cursor:not-allowed}.message-input::placeholder{color:#666}.send-button{padding:12px 30px;background:#99ebeb;color:#1a1a1d;border:none;border-radius:20px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}.send-button:hover:not(:disabled){transform:translateY(-2px);background:#66c9c9;box-shadow:0 5px 15px #99ebeb66}.send-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 600px){.app{padding:0}.chat-container{border-radius:0;max-height:100%}.message-content{max-width:85%}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;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}}
