.registerContainer{min-height:100vh;width:100%;background:#0d1117;display:flex;align-items:center;justify-content:center;padding:2rem}.registerCard{width:100%;max-width:400px;background:#161b22;border:1px solid #30363d;border-radius:12px;padding:2.5rem}.registerTitle{font-size:1.6rem;font-weight:600;color:#e6edf3;margin:0 0 1.75rem;text-align:center}.registerForm{display:flex;flex-direction:column;gap:1.1rem}@media(max-width:480px){.registerCard{padding:2rem 1.5rem}}.loginContainer{min-height:100vh;width:100%;background:#0d1117;display:flex;align-items:center;justify-content:center;padding:2rem}.loginCard{width:100%;max-width:400px;background:#161b22;border:1px solid #30363d;border-radius:12px;padding:2.5rem}.loginTitle{font-size:1.6rem;font-weight:600;color:#e6edf3;margin:0 0 1.75rem;text-align:center}.loginForm{display:flex;flex-direction:column;gap:1.1rem}.formGroup{display:flex;flex-direction:column;gap:6px}.formLabel{font-size:13px;font-weight:500;color:#8b949e}.formInput{padding:10px 14px;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:15px;transition:border-color .15s ease}.formInput::placeholder{color:#484f58}.formInput:focus{outline:none;border-color:#6c5ce7}.authLink{font-size:13px;color:#6c5ce7;text-decoration:none;align-self:flex-start;transition:color .15s ease}.authLink:hover{color:#9d8df1}.submitButton{padding:11px;background:#6c5ce7;border:none;border-radius:8px;color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:background .15s ease;margin-top:4px}.submitButton:hover:not(:disabled){background:#7c6ef7}.submitButton:active:not(:disabled){background:#5f4fcc}.submitButton:disabled{opacity:.55;cursor:not-allowed}.errorMessage{padding:10px 14px;background:#f8514914;border:1px solid rgba(248,81,73,.25);border-radius:8px;color:#ffa198;font-size:13.5px;text-align:center;margin-top:4px}@media(max-width:480px){.loginCard{padding:2rem 1.5rem}}*{color:#ececec;font-family:Roboto,Open Sans,Helvetica Neue,sans-serif}body{margin:0;padding:0}.app{background-color:#212121;display:flex}.sidebar{background:#0d1117;color:#e6edf3;height:100vh;width:260px;display:flex;flex-direction:column;border-right:1px solid #21262d;flex-shrink:0}.newChatBtn{display:flex;justify-content:space-between;align-items:center;margin:12px;padding:10px 14px;border-radius:8px;background:#6c5ce7;border:none;cursor:pointer;color:#fff;font-size:14px;font-weight:500;transition:background .15s ease}.newChatBtn:hover{background:#7c6ef7}.newChatBtn:active{background:#5f4fcc}.history{flex:1;padding:6px 8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#30363d transparent}.history::-webkit-scrollbar{width:4px}.history::-webkit-scrollbar-thumb{background:#30363d;border-radius:2px}.history li{list-style:none;cursor:pointer;padding:9px 10px;margin:2px 0;font-size:13.5px;border-radius:6px;color:#8b949e;display:flex;align-items:center;justify-content:space-between;transition:background .15s ease,color .15s ease}.history li:hover{background:#8b949e14;color:#c9d1d9}.thread-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deleteBtn{background:none;border:none;color:#656d76;cursor:pointer;padding:3px 5px;opacity:0;display:flex;align-items:center;border-radius:4px;flex-shrink:0;margin-left:6px;transition:color .15s ease,opacity .15s ease}.history li:hover .deleteBtn{opacity:1}.deleteBtn:hover{color:#f85149}.highlighted{background:#6c5ce71f;color:#c9d1d9;font-weight:500}.highlighted:hover{background:#6c5ce72e!important}.sign{padding:14px 12px;border-top:1px solid #21262d;font-size:12px;text-align:center;color:#484f58}.sign p{margin:0}.chatWindow{background:#0d1117;height:100vh;width:100%;display:flex;flex-direction:column;position:relative;overflow:hidden}.navbar{width:100%;padding:12px 20px;display:flex;justify-content:space-between;align-items:center;background:#010409;border-bottom:1px solid #21262d;z-index:100;box-sizing:border-box}.modelSelector{position:relative}.modelButton{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#6c5ce7;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;transition:background .15s ease}.modelButton:hover{background:#7c6ef7}.modelLogo{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0}.modelOptionLogo{width:18px;height:18px;border-radius:50%;object-fit:cover;flex-shrink:0}.modelName{font-weight:500}.chevron{width:12px;height:12px;opacity:.75;flex-shrink:0}.modelDropdown{position:absolute;top:calc(100% + 8px);left:0;min-width:176px;background:#161b22;border:1px solid #30363d;border-radius:10px;padding:4px;box-shadow:0 8px 24px #00000080;z-index:1000;animation:dropIn .15s ease}@keyframes dropIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.modelOption{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:6px;cursor:pointer;color:#8b949e;font-size:14px;transition:background .15s ease,color .15s ease}.modelOption:hover{background:#6c5ce71a;color:#e6edf3}.profileSection{cursor:pointer}.userAvatar{width:34px;height:34px;border-radius:50%;background:#6c5ce7;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:600;transition:background .15s ease;-webkit-user-select:none;user-select:none}.userAvatar:hover{background:#7c6ef7}.profileDropdown{position:absolute;top:58px;right:16px;min-width:190px;background:#161b22;border:1px solid #30363d;border-radius:10px;padding:4px;box-shadow:0 8px 24px #00000080;z-index:1000;animation:dropIn .15s ease}.profileOption{padding:9px 14px;border-radius:6px;cursor:pointer;color:#8b949e;font-size:14px;transition:background .15s ease,color .15s ease}.profileOption:hover{background:#8b949e12;color:#e6edf3}.profileDivider{height:1px;background:#21262d;margin:4px 0}.logoutOption:hover{background:#f8514914;color:#f85149}.loadingContainer{display:flex;justify-content:center;padding:20px}.chatInputContainer{width:100%;padding:14px 24px 18px;display:flex;flex-direction:column;align-items:center;gap:8px;border-top:1px solid #21262d;background:#0d1117}.inputWrapper{width:100%;max-width:800px;display:flex;align-items:center;gap:10px}.chatInputField{flex:1;padding:11px 16px;background:#161b22;border:1px solid #30363d;border-radius:8px;color:#e6edf3;font-size:15px;transition:border-color .15s ease}.chatInputField::placeholder{color:#484f58}.chatInputField:focus{outline:none;border-color:#6c5ce7}.sendButton{width:42px;height:42px;border-radius:8px;background:#6c5ce7;border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s ease}.sendButton:hover{background:#7c6ef7}.sendButton:active{background:#5f4fcc}.infoText{font-size:12px;color:#484f58;margin:0;text-align:center}@media(max-width:768px){.navbar{padding:10px 16px}.chatInputContainer{padding:12px 16px 16px}.inputWrapper{max-width:100%}}.emptyState{display:flex;flex-direction:column;align-items:center;justify-content:center;height:60vh;gap:10px;text-align:center;padding:0 20px}.emptyStateTitle{font-size:22px;font-weight:600;color:#c9d1d9;margin:0}.emptyStateSubtitle{font-size:14px;color:#656d76;margin:0}.chats{flex:1;width:100%;max-width:860px;margin:0 auto;padding:24px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:18px;scrollbar-width:thin;scrollbar-color:#30363d transparent}.chats::-webkit-scrollbar{width:4px}.chats::-webkit-scrollbar-thumb{background:#30363d;border-radius:2px}.messageContainer{width:100%;display:flex;animation:fadeUp .2s ease}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.userContainer{justify-content:flex-end}.assistantContainer{justify-content:flex-start}.messageWrapper{display:flex;gap:10px;max-width:80%;align-items:flex-end}.userWrapper{flex-direction:row-reverse}.assistantWrapper{flex-direction:row}.avatarBox{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px;font-weight:700;-webkit-user-select:none;user-select:none;letter-spacing:.2px}.userAvatarBox{background:#6c5ce7;color:#fff}.assistantAvatar{background:#1c2128;border:1px solid #30363d;overflow:hidden;padding:0}.avatarLogo{width:100%;height:100%;object-fit:cover;border-radius:50%}.messageBubble{padding:10px 14px;border-radius:14px;max-width:100%;word-wrap:break-word}.userBubble{background:#6c5ce7;color:#fff;border-bottom-right-radius:4px}.assistantBubble{background:#161b22;border:1px solid #21262d;color:#c9d1d9;border-bottom-left-radius:4px}.messageText{margin:0;line-height:1.6;font-size:14.5px}.assistantBubble p{margin:6px 0;line-height:1.65;font-size:14.5px}.assistantBubble p:first-child{margin-top:0}.assistantBubble p:last-child{margin-bottom:0}.assistantBubble h1,.assistantBubble h2,.assistantBubble h3{margin:14px 0 6px;color:#79c0ff;font-weight:600}.assistantBubble h1:first-child,.assistantBubble h2:first-child,.assistantBubble h3:first-child{margin-top:0}.assistantBubble ul,.assistantBubble ol{margin:8px 0;padding-left:20px}.assistantBubble li{margin:4px 0;line-height:1.6;font-size:14.5px}.assistantBubble code{background:#6e76811a;padding:2px 6px;border-radius:4px;font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:13px;color:#79c0ff}.assistantBubble pre{background:#0d1117;padding:14px;border-radius:8px;overflow-x:auto;margin:10px 0;border:1px solid #30363d}.assistantBubble pre code{background:none;padding:0;color:#e6edf3;font-size:13px;display:block;white-space:pre}.assistantBubble a{color:#79c0ff;text-decoration:none}.assistantBubble a:hover{text-decoration:underline}.assistantBubble blockquote{border-left:3px solid #6c5ce7;padding-left:12px;margin:10px 0;color:#8b949e;font-style:italic}.assistantBubble table{width:100%;border-collapse:collapse;margin:10px 0;font-size:13.5px}.assistantBubble th,.assistantBubble td{padding:8px 12px;border:1px solid #30363d;text-align:left}.assistantBubble th{background:#21262d;font-weight:600;color:#c9d1d9}@media(max-width:768px){.chats{padding:16px 12px;gap:14px}.messageWrapper{max-width:92%}.avatarBox{width:26px;height:26px;font-size:10px}.emptyStateTitle{font-size:18px}}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}
