Spaces:
Sleeping
Sleeping
| /* CSS Variables for Theming */ | |
| :root { | |
| --bg-primary: #f9fafb; | |
| --bg-secondary: #ffffff; | |
| --bg-tertiary: #f3f4f6; | |
| --text-primary: #111827; | |
| --text-secondary: #6b7280; | |
| --text-tertiary: #ffffff; | |
| --border-color: #e5e7eb; | |
| --accent-color: #3b82f6; | |
| --accent-colors:#ffffff; | |
| --accent-hover: #2563eb; | |
| --success-color: #10b981; | |
| --warning-color: #f59e0b; | |
| --error-color: #ef4444; | |
| --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05); | |
| --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); | |
| --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); | |
| --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6); | |
| --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6); | |
| --border-radius-sm: 0.375rem; | |
| --border-radius-md: 0.5rem; | |
| --border-radius-lg: 0.75rem; | |
| --transition-ease: all 0.2s ease-in-out; | |
| } | |
| [data-theme="dark"] { | |
| --bg-primary: #0f172a; | |
| --bg-secondary: #1e293b; | |
| --bg-tertiary: #334155; | |
| --text-primary: #f8fafc; | |
| --text-secondary: #cbd5e1; | |
| --text-tertiary: #ffffff; | |
| --border-color: #475569; | |
| --accent-color: #3b82f6; | |
| --accent-hover: #60a5fa; | |
| --success-color: #22c55e; | |
| --warning-color: #fbbf24; | |
| --error-color: #f87171; | |
| } | |
| .message.user .message-text { | |
| color: var(--text-tertiary); | |
| } | |
| .fa-file-text { | |
| color: #3b82f6 ; | |
| } | |
| /* Reset and Base Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; | |
| background-color: var(--bg-primary); | |
| color: var(--text-primary); | |
| line-height: 1.6; | |
| font-size: 16px; | |
| transition: var(--transition-ease); | |
| } | |
| .app { | |
| display: flex; | |
| min-height: 100vh; | |
| overflow: hidden; | |
| } | |
| /* Sidebar Styles */ | |
| .sidebar { | |
| width: 320px; | |
| background-color: var(--bg-secondary); | |
| border-right: 1px solid var(--border-color); | |
| display: flex; | |
| flex-direction: column; | |
| transition: transform 0.3s ease; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| .sidebar-header { | |
| padding: 1.5rem; | |
| border-bottom: 1px solid var(--border-color); | |
| } | |
| .sidebar-title-row { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 1rem; | |
| } | |
| .sidebar-title-row h2 { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| } | |
| .close-sidebar-btn { | |
| display: none; | |
| background: none; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| padding: 0.5rem; | |
| border-radius: var(--border-radius-sm); | |
| transition: var(--transition-ease); | |
| } | |
| .close-sidebar-btn:hover { | |
| background-color: var(--bg-tertiary); | |
| } | |
| .new-chat-btn { | |
| width: 100%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| padding: 0.75rem 1rem; | |
| background: var(--gradient-primary); | |
| color: white; | |
| border: none; | |
| border-radius: var(--border-radius-md); | |
| cursor: pointer; | |
| font-weight: 500; | |
| font-size: 0.875rem; | |
| transition: var(--transition-ease); | |
| } | |
| .btn-upgrade { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| padding: 0.75rem 1rem; | |
| background: var(--gradient-primary); | |
| color: white; | |
| border: none; | |
| border-radius: var(--border-radius-md); | |
| cursor: pointer; | |
| font-weight: 500; | |
| font-size: 0.875rem; | |
| transition: var(--transition-ease); | |
| } | |
| .new-chat-btn:hover { | |
| opacity: 0.9; | |
| transform: translateY(-2px); | |
| } | |
| .conversations-list { | |
| flex: 1; | |
| max-height: 67vh; | |
| overflow-y: auto; | |
| padding: 1rem; | |
| scroll-behavior: smooth; | |
| } | |
| .empty-conversations { | |
| text-align: center; | |
| padding: 2rem 0; | |
| color: var(--text-secondary); | |
| } | |
| .empty-conversations i { | |
| font-size: 3rem; | |
| color: var(--text-tertiary); | |
| margin-bottom: 1rem; | |
| } | |
| .conversation-item { | |
| padding: 0.75rem; | |
| border-radius: var(--border-radius-md); | |
| cursor: pointer; | |
| margin-bottom: 0.5rem; | |
| border: 1px solid transparent; | |
| transition: var(--transition-ease); | |
| position: relative; | |
| } | |
| .conversation-item:hover { | |
| background-color: var(--bg-tertiary); | |
| transform: translateX(4px); | |
| } | |
| .conversation-item.active { | |
| background-color: var(--bg-tertiary); | |
| border-color: var(--accent-color); | |
| } | |
| .conversation-title { | |
| font-weight: 500; | |
| font-size: 0.875rem; | |
| color: var(--text-primary); | |
| margin-bottom: 0.25rem; | |
| white-space: nowrap; | |
| max-width: 250px; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .conversation-meta { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| } | |
| .delete-conversation { | |
| position: absolute; | |
| top: 0.5rem; | |
| right: 0.5rem; | |
| background: none; | |
| border: none; | |
| color: var(--error-color); | |
| cursor: pointer; | |
| padding: 0.25rem; | |
| border-radius: var(--border-radius-sm); | |
| opacity: 0; | |
| transition: var(--transition-ease); | |
| } | |
| .conversation-item:hover .delete-conversation { | |
| opacity: 1; | |
| } | |
| .delete-conversation:hover { | |
| background-color: var(--bg-tertiary); | |
| } | |
| .sidebar-footer { | |
| padding: 1rem; | |
| border-top: 1px solid var(--border-color); | |
| background-color: var(--bg-secondary); | |
| height: auto; | |
| } | |
| .controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .control-btn { | |
| font-size: small; | |
| background: none; | |
| border: 1px solid var(--border-color); | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| padding: 0.5rem; | |
| width: 35px; | |
| border-radius: var(--border-radius-sm); | |
| transition: var(--transition-ease); | |
| } | |
| .control-btn-off { | |
| background: none; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| padding: 0.5rem; | |
| border-radius: var(--border-radius-sm); | |
| transition: var(--transition-ease); | |
| } | |
| .control-btn:hover, | |
| .control-btn-off:hover { | |
| background-color: var(--bg-tertiary); | |
| color: var(--text-primary); | |
| } | |
| .language-select { | |
| flex: 1; | |
| background-color: var(--bg-secondary); | |
| border: 1px solid var(--border-color); | |
| color: var(--text-primary); | |
| padding: 0.5rem; | |
| border-radius: var(--border-radius-sm); | |
| font-size: 0.875rem; | |
| transition: var(--transition-ease); | |
| } | |
| .footer-text { | |
| text-align: center; | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| } | |
| .footer-text-image { | |
| text-align: left; | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| } | |
| /* Chat Area Styles */ | |
| .chat-area { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| min-width: 0; | |
| } | |
| .chat-header { | |
| background-color: var(--bg-secondary); | |
| border-bottom: 1px solid var(--border-color); | |
| padding: 1rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| } | |
| .menu-btn { | |
| display: none; | |
| background: none; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| padding: 0.5rem; | |
| border-radius: var(--border-radius-sm); | |
| transition: var(--transition-ease); | |
| } | |
| .menu-btn:hover { | |
| background-color: var(--bg-tertiary); | |
| } | |
| .header-info { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .bot-avatar { | |
| width: 2.5rem; | |
| height: 2.5rem; | |
| background: var(--gradient-primary); | |
| border-radius: var(--border-radius-md); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| font-size: 1.25rem; | |
| } | |
| .header-text h1 { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| } | |
| .header-text p { | |
| font-size: 0.875rem; | |
| color: var(--text-secondary); | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .user-info { | |
| margin-left: auto; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| color: var(--text-primary); | |
| } | |
| .user-info span { | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| color: var(--text-primary); | |
| } | |
| .user-info .control-btn-off { | |
| color: var(--text-secondary); | |
| font-size: small; | |
| } | |
| .user-info .control-btn-off:hover { | |
| color: var(--text-primary); | |
| } | |
| .messages-container { | |
| flex: 1; | |
| max-height: 77vh; | |
| overflow-y: auto; | |
| padding: 1rem; | |
| background-color: var(--bg-primary); | |
| scroll-behavior: smooth; | |
| } | |
| .messages-container::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .messages-container::-webkit-scrollbar-track { | |
| background: var(--bg-tertiary); | |
| } | |
| .messages-container::-webkit-scrollbar-thumb { | |
| background: var(--text-tertiary); | |
| border-radius: 3px; | |
| } | |
| .messages-container::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-secondary); | |
| } | |
| .welcome-section { | |
| max-width: 48rem; | |
| margin: 0 auto; | |
| text-align: center; | |
| } | |
| .welcome-icon { | |
| width: 4rem; | |
| height: 4rem; | |
| background: var(--gradient-primary); | |
| border-radius: var(--border-radius-lg); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin: 0 auto 1.5rem; | |
| color: white; | |
| font-size: 2rem; | |
| } | |
| .welcome-section h2 { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| margin-bottom: 1rem; | |
| } | |
| .welcome-section>p { | |
| color: var(--text-secondary); | |
| margin-bottom: 2rem; | |
| max-width: 32rem; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .suggested-questions { | |
| max-width: 48rem; | |
| margin: 0 auto; | |
| } | |
| .suggested-questions h3 { | |
| font-size: 1.125rem; | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-bottom: 1rem; | |
| } | |
| .questions-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |
| gap: 1rem; | |
| } | |
| .question-btn { | |
| background-color: var(--bg-secondary); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--border-radius-md); | |
| padding: 1rem; | |
| text-align: left; | |
| cursor: pointer; | |
| transition: var(--transition-ease); | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.75rem; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .question-btn:hover { | |
| border-color: var(--accent-color); | |
| background-color: var(--bg-tertiary); | |
| transform: translateY(-2px); | |
| } | |
| .question-btn i { | |
| color: var(--accent-color); | |
| margin-top: 0.125rem; | |
| flex-shrink: 0; | |
| } | |
| .question-btn span { | |
| font-size: 0.875rem; | |
| color: var(--text-primary); | |
| line-height: 1.4; | |
| } | |
| .messages { | |
| max-width: 48rem; | |
| margin: 0 auto; | |
| padding: 1rem 0; | |
| } | |
| .message { | |
| display: flex; | |
| margin-bottom: 1.5rem; | |
| } | |
| .message.user { | |
| justify-content: flex-end; | |
| } | |
| .message.assistant { | |
| justify-content: flex-start; | |
| } | |
| .message-content { | |
| max-width: 48rem; | |
| width: 100%; | |
| } | |
| .message.user .message-content { | |
| margin-left: 3rem; | |
| } | |
| .message.assistant .message-content { | |
| margin-right: 3rem; | |
| } | |
| .message-wrapper { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.75rem; | |
| } | |
| .message.user .message-wrapper { | |
| flex-direction: row-reverse; | |
| } | |
| .message-avatar { | |
| width: 2rem; | |
| height: 2rem; | |
| border-radius: var(--border-radius-md); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| flex-shrink: 0; | |
| color: white; | |
| font-size: 0.875rem; | |
| } | |
| .message.user .message-avatar { | |
| background-color: var(--accent-color); | |
| } | |
| .message.assistant .message-avatar { | |
| background: var(--gradient-primary); | |
| } | |
| .message-bubble { | |
| border-radius: var(--border-radius-lg); | |
| padding: 1rem; | |
| position: relative; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .message.user .message-bubble { | |
| background-color: var(--accent-color); | |
| margin-left: auto; | |
| } | |
| .message.assistant .message-bubble { | |
| background-color: var(--bg-secondary); | |
| border: 1px solid var(--border-color); | |
| } | |
| .message-text { | |
| font-size: 0.875rem; | |
| line-height: 1.5; | |
| white-space: pre-wrap; | |
| color: var(--text-primary); | |
| } | |
| .typing-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.75rem 1rem; /* Đồng bộ với padding của .message-bubble */ | |
| } | |
| .typing-dots { | |
| display: flex; | |
| gap: 0.25rem; | |
| } | |
| .typing-dot { | |
| width: 0.5rem; | |
| height: 0.5rem; | |
| background-color: var(--text-secondary); /* Sử dụng màu accent để nổi bật hơn */ | |
| border-radius: 50%; | |
| animation: typing 1.4s infinite ease-in-out; | |
| } | |
| .typing-dot:nth-child(2) { | |
| animation-delay: 0.2s; | |
| } | |
| .typing-dot:nth-child(3) { | |
| animation-delay: 0.4s; | |
| } | |
| @keyframes typing { | |
| 0%, 60%, 100% { | |
| transform: translateY(0); | |
| } | |
| 30% { | |
| transform: translateY(-10px); | |
| } | |
| } | |
| .typing-indicator span { | |
| color: var(--text-primary); /* Sử dụng text-primary để tương phản tốt hơn */ | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| } | |
| .message-sources { | |
| margin-top: 0.75rem; | |
| } | |
| .sources-title { | |
| font-size: 0.75rem; | |
| font-weight: 500; | |
| color: var(--text-secondary); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 0.5rem; | |
| } | |
| .source-item { | |
| background-color: var(--bg-tertiary); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--border-radius-md); | |
| padding: 0.75rem; | |
| margin-bottom: 0.5rem; | |
| cursor: pointer; | |
| transition: var(--transition-ease); | |
| } | |
| .source-item:hover { | |
| background-color: var(--bg-secondary); | |
| transform: translateY(-2px); | |
| } | |
| .source-header { | |
| display: flex; | |
| align-items: flex-start; | |
| justify-content: space-between; | |
| gap: 0.5rem; | |
| } | |
| .source-info { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.5rem; | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .source-info i { | |
| color: var(--text-tertiary); | |
| margin-top: 0.125rem; | |
| flex-shrink: 0; | |
| } | |
| .source-details { | |
| min-width: 0; | |
| flex: 1; | |
| } | |
| .source-name { | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| color: var(--text-primary); | |
| margin-bottom: 0.25rem; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .source-excerpt { | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| line-height: 1.4; | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| } | |
| .source-score { | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| } | |
| .message-timestamp { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| margin-top: 0.5rem; | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| } | |
| .message-timestamp i { | |
| font-size: 0.625rem; | |
| } | |
| .input-area { | |
| background-color: var(--bg-secondary); | |
| border-top: 1px solid var(--border-color); | |
| padding: 1.5rem; | |
| } | |
| .input-form { | |
| max-width: 48rem; | |
| margin: 0 auto; | |
| } | |
| .input-wrapper { | |
| display: flex; | |
| gap: 1rem; | |
| align-items: flex-end; | |
| } | |
| #messageInput { | |
| flex: 1; | |
| background-color: var(--bg-secondary); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--border-radius-lg); | |
| padding: 0.75rem 1rem; | |
| font-size: 0.875rem; | |
| line-height: 1.5; | |
| resize: none; | |
| min-height: 2.75rem; | |
| max-height: 7.5rem; | |
| color: var(--text-primary); | |
| transition: var(--transition-ease); | |
| } | |
| #messageInput:focus { | |
| outline: none; | |
| border-color: var(--accent-color); | |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); | |
| } | |
| #messageInput::placeholder { | |
| color: var(--text-tertiary); | |
| } | |
| #sendBtn { | |
| background-color: var(--accent-color); | |
| color: white; | |
| border: none; | |
| border-radius: var(--border-radius-lg); | |
| padding: 0.75rem 1.5rem; | |
| cursor: pointer; | |
| transition: var(--transition-ease); | |
| flex-shrink: 0; | |
| height: 2.75rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| #sendBtn:hover:not(:disabled) { | |
| background-color: var(--accent-hover); | |
| transform: translateY(-2px); | |
| } | |
| #sendBtn:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| .input-hint { | |
| text-align: center; | |
| font-size: 0.75rem; | |
| color: var(--text-secondary); | |
| margin-top: 0.5rem; | |
| } | |
| .mobile-overlay { | |
| display: none; | |
| position: fixed; | |
| inset: 0; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| z-index: 40; | |
| } | |
| .related-questions { | |
| margin-top: 1rem; | |
| } | |
| .related-questions .questions-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |
| gap: 1rem; | |
| } | |
| .related-questions .question-btn { | |
| background-color: var(--bg-secondary); | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--border-radius-md); | |
| padding: 1rem; | |
| text-align: left; | |
| cursor: pointer; | |
| transition: var(--transition-ease); | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.75rem; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .related-questions .question-btn:hover { | |
| border-color: var(--accent-color); | |
| background-color: var(--bg-tertiary); | |
| transform: translateY(-2px); | |
| } | |
| .message .message.assistant .message-text{ | |
| color: var(--text-tertiary); | |
| } | |
| .message-timestamp{ | |
| color: var(--text-tertiary); | |
| } | |
| .related-questions .question-btn i { | |
| color: var(--accent-color); | |
| margin-top: 0.125rem; | |
| flex-shrink: 0; | |
| } | |
| .related-questions .question-btn span { | |
| font-size: 0.875rem; | |
| color: var(--text-primary); | |
| line-height: 1.4; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 1024px) { | |
| .sidebar { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: 100vh; | |
| z-index: 50; | |
| transform: translateX(-100%); | |
| } | |
| .sidebar.open { | |
| transform: translateX(0); | |
| } | |
| .mobile-overlay.show { | |
| display: block; | |
| } | |
| .close-sidebar-btn { | |
| display: block; | |
| } | |
| .menu-btn { | |
| display: block; | |
| } | |
| .chat-area { | |
| width: 100%; | |
| } | |
| .questions-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .message.user .message-content { | |
| margin-left: 1rem; | |
| } | |
| .message.assistant .message-content { | |
| margin-right: 1rem; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .sidebar { | |
| width: 100vw; | |
| } | |
| .header-info { | |
| flex-wrap: wrap; | |
| gap: 0.5rem; | |
| } | |
| .user-info { | |
| margin-left: 0; | |
| gap: 0.5rem; | |
| flex-wrap: nowrap; | |
| } | |
| .bot-avatar { | |
| width: 2rem; | |
| height: 2rem; | |
| font-size: 1rem; | |
| } | |
| .header-text h1 { | |
| font-size: 1rem; | |
| } | |
| .header-text p { | |
| font-size: 0.75rem; | |
| } | |
| .welcome-section { | |
| padding: 1rem; | |
| } | |
| .welcome-section h2 { | |
| font-size: 1.25rem; | |
| } | |
| .messages { | |
| padding: 0.5rem 0; | |
| } | |
| .message-content { | |
| max-width: 100%; | |
| } | |
| .message.user .message-content, | |
| .message.assistant .message-content { | |
| margin-left: 0.5rem; | |
| margin-right: 0.5rem; | |
| } | |
| .message-bubble { | |
| width: 85%; | |
| } | |
| .input-wrapper { | |
| gap: 0.5rem; | |
| } | |
| #sendBtn { | |
| padding: 0.75rem; | |
| width: 2.75rem; | |
| } | |
| .header-text { | |
| display: none; | |
| } | |
| .conversation-title { | |
| max-width: 325px; | |
| } | |
| .suggested-questions h3 { | |
| font-size: 1rem; | |
| } | |
| } | |
| /* Scrollbar Styling */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--bg-tertiary); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--text-tertiary); | |
| border-radius: 3px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-secondary); | |
| } | |
| /* Animation Classes */ | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .user-info { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| #query-count-display { | |
| font-size: 14px; | |
| font-weight: bold; | |
| padding: 5px 10px; | |
| border-radius: 5px; | |
| transition: color 0.3s ease; | |
| } | |
| #query-count-display.red { | |
| color: red; | |
| } | |
| #query-count-display.orange { | |
| color: orange; | |
| } | |
| #query-count-display.blue { | |
| color: #3b82f6; | |
| } |