Spaces:
Sleeping
Sleeping
| /* Modern Chat Page Layout */ | |
| .modern-chat-page { | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| [data-theme="dark"] .modern-chat-page { | |
| background: var(--bg-gradient); | |
| will-change: auto; | |
| -webkit-transform: translateZ(0); | |
| transform: translateZ(0); | |
| } | |
| /* Floating Header */ | |
| .floating-header { | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| background: var(--header-bg); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border-bottom: 1px solid var(--header-border); | |
| padding: 12px 24px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| box-shadow: var(--header-shadow); | |
| flex-shrink: 0; | |
| } | |
| .header-left { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| } | |
| .modern-home-btn { | |
| width: 44px; | |
| height: 44px; | |
| border-radius: 12px; | |
| border: none; | |
| background: var(--bg-secondary); | |
| color: var(--text-secondary); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .modern-home-btn:hover { | |
| background: var(--accent-primary); | |
| color: white; | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); | |
| } | |
| .header-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .brand-icon { | |
| width: 40px; | |
| height: 40px; | |
| background: var(--accent-gradient); | |
| border-radius: 10px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| } | |
| .brand-text { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .brand-text h1 { | |
| font-size: 20px; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| margin: 0; | |
| line-height: 1.2; | |
| } | |
| .brand-text p { | |
| font-size: 13px; | |
| color: var(--text-secondary); | |
| margin: 0; | |
| line-height: 1.35; | |
| } | |
| .header-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| } | |
| .header-controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .thinking-pulse { | |
| position: absolute; | |
| top: -2px; | |
| right: -2px; | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| animation: pulse-dot 1.5s ease-in-out infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.7; } | |
| } | |
| @keyframes pulse-dot { | |
| 0%, 100% { transform: scale(1); opacity: 1; } | |
| 50% { transform: scale(1.2); opacity: 0.8; } | |
| } | |
| /* Main Content Area */ | |
| .main-content { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| padding-top: 24px; | |
| padding-bottom: 140px; | |
| padding-left: 16px; | |
| padding-right: 16px; | |
| overflow: visible; | |
| min-height: 0; | |
| height: 100vh; | |
| } | |
| .export-dropdown { | |
| z-index: 1000; | |
| } | |
| /* Welcome State */ | |
| .welcome-state { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: flex-start; | |
| padding-top: 40px; | |
| overflow-y: auto; | |
| overflow-x: hidden; | |
| scroll-behavior: smooth; | |
| -webkit-overflow-scrolling: touch; | |
| } | |
| .suggestions-container { | |
| width: 100%; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| flex-shrink: 0; | |
| } | |
| /* Chat State */ | |
| .chat-state { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| min-height: 0; | |
| height: 100%; | |
| } | |
| .chat-content { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| min-height: 0; | |
| /* Add bottom padding to prevent content being hidden behind floating input */ | |
| padding-bottom: 140px; | |
| } | |
| .messages-area { | |
| flex: 1; | |
| overflow: hidden; | |
| min-height: 0; | |
| } | |
| .messages-scroll { | |
| height: 100%; | |
| overflow-y: auto; | |
| overflow-x: hidden; | |
| padding: 20px; | |
| padding-bottom: 40px; | |
| background: var(--bg-gradient); | |
| scroll-behavior: smooth; | |
| -webkit-overflow-scrolling: touch; | |
| scrollbar-width: thin; | |
| } | |
| .messages-container { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| min-height: 0; | |
| height: 100%; | |
| background: var(--bg-gradient); | |
| } | |
| .messages-list { | |
| flex: 1; | |
| overflow: hidden; | |
| min-height: 0; | |
| height: 100%; | |
| } | |
| /* Advisor carousel: horizontal layout for multiple advisor responses */ | |
| .advisor-carousel { | |
| display: flex; | |
| align-items: stretch; | |
| gap: 12px; | |
| margin-bottom: 24px; | |
| min-height: 0; | |
| width: 100%; | |
| } | |
| .advisor-carousel .carousel-viewport { | |
| flex: 1; | |
| min-width: 0; | |
| overflow: hidden; | |
| } | |
| .advisor-carousel .carousel-track { | |
| display: flex; | |
| height: 100%; | |
| transition: transform 0.25s ease-out; | |
| } | |
| /* Grid mode: wide layout, all advisor cards side by side */ | |
| .advisor-carousel.grid-mode .carousel-track { | |
| transform: none; | |
| gap: 16px; | |
| } | |
| .advisor-carousel.grid-mode .carousel-slide { | |
| flex: 1 1 0; | |
| min-width: 240px; | |
| max-width: 400px; | |
| } | |
| /* Carousel mode: narrow layout, one card at a time with arrows */ | |
| .advisor-carousel.carousel-mode { | |
| position: relative; | |
| padding: 0 40px; | |
| } | |
| .advisor-carousel.carousel-mode .carousel-track { | |
| width: 100%; | |
| } | |
| .advisor-carousel.carousel-mode .carousel-slide { | |
| width: 100%; | |
| flex-shrink: 0; | |
| } | |
| .advisor-carousel .carousel-arrow { | |
| position: absolute; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 50%; | |
| border: 1px solid var(--border-primary); | |
| background: var(--bg-secondary); | |
| color: var(--text-primary); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: background 0.2s, color 0.2s; | |
| flex-shrink: 0; | |
| z-index: 2; | |
| } | |
| .advisor-carousel .carousel-arrow:hover:not(:disabled) { | |
| background: var(--accent-primary); | |
| color: white; | |
| border-color: var(--accent-primary); | |
| } | |
| .advisor-carousel .carousel-arrow:disabled { | |
| opacity: 0.4; | |
| cursor: not-allowed; | |
| } | |
| .advisor-carousel .carousel-prev { | |
| left: 0; | |
| } | |
| .advisor-carousel .carousel-next { | |
| right: 0; | |
| } | |
| .advisor-carousel .carousel-dots { | |
| display: flex; | |
| justify-content: center; | |
| gap: 8px; | |
| margin-top: 12px; | |
| flex-shrink: 0; | |
| } | |
| .advisor-carousel .carousel-dot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| border: none; | |
| background: var(--border-primary); | |
| cursor: pointer; | |
| transition: background 0.2s; | |
| padding: 0; | |
| } | |
| .advisor-carousel .carousel-dot.active, | |
| .advisor-carousel .carousel-dot:hover { | |
| background: var(--accent-primary); | |
| } | |
| .single-response-wide { | |
| margin-bottom: 24px; | |
| width: 100%; | |
| max-width: 512px; | |
| } | |
| [data-theme="dark"] .messages-scroll, | |
| [data-theme="dark"] .messages-container, | |
| [data-theme="dark"] .main-content { | |
| background: var(--bg-gradient); | |
| will-change: auto; | |
| -webkit-transform: translateZ(0); | |
| transform: translateZ(0); | |
| } | |
| /* Smooth scrolling with fixed background */ | |
| @media (prefers-reduced-motion: no-preference) { | |
| .messages-scroll { | |
| scroll-behavior: smooth; | |
| } | |
| } | |
| /* Scrollbar styling for dark mode */ | |
| [data-theme="dark"] .messages-scroll::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| [data-theme="dark"] .messages-scroll::-webkit-scrollbar-track { | |
| background: var(--bg-secondary); | |
| border-radius: 4px; | |
| } | |
| [data-theme="dark"] .messages-scroll::-webkit-scrollbar-thumb { | |
| background: var(--border-primary); | |
| border-radius: 4px; | |
| } | |
| [data-theme="dark"] .messages-scroll::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-tertiary); | |
| } | |
| /* Prevent background shift during scroll */ | |
| .messages-scroll * { | |
| background-attachment: fixed; | |
| } | |
| /* Ensure scroll anchor area */ | |
| .messages-end-anchor { | |
| height: 1px; | |
| background: transparent; | |
| } | |
| /* Message Components */ | |
| .orchestrator-message { | |
| display: flex; | |
| gap: 16px; | |
| margin-bottom: 24px; | |
| align-items: flex-start; | |
| } | |
| .orchestrator-avatar { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 20px; | |
| background: var(--accent-gradient); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| flex-shrink: 0; | |
| } | |
| .orchestrator-content { | |
| flex: 1; | |
| background: var(--bg-secondary); | |
| border-radius: 16px; | |
| padding: 16px 20px; | |
| border: 1px solid var(--border-primary); | |
| max-width: 600px; | |
| } | |
| .orchestrator-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-bottom: 8px; | |
| } | |
| .orchestrator-name { | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| font-size: 14px; | |
| } | |
| .message-timestamp { | |
| font-size: 12px; | |
| color: var(--text-tertiary); | |
| } | |
| .orchestrator-text { | |
| color: var(--text-accent); | |
| line-height: 1.6; | |
| margin: 0; | |
| } | |
| /* System Notifications */ | |
| .system-notification { | |
| display: flex; | |
| justify-content: center; | |
| margin: 16px 0; | |
| } | |
| .system-content { | |
| background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); | |
| color: white; | |
| padding: 12px 20px; | |
| border-radius: 20px; | |
| font-size: 14px; | |
| font-weight: 500; | |
| box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); | |
| text-align: center; | |
| max-width: 400px; | |
| } | |
| /* System Message Base Styles */ | |
| .system-message-container { | |
| display: flex; | |
| justify-content: center; | |
| margin: 16px 0; | |
| } | |
| .system-message { | |
| background: var(--bg-secondary); | |
| border: 1px solid var(--border-primary); | |
| border-radius: 12px; | |
| padding: 12px 16px; | |
| font-size: 14px; | |
| color: var(--text-secondary); | |
| text-align: center; | |
| max-width: 500px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| /* Document Upload Specific Styles */ | |
| .system-message.document-upload { | |
| background: #F0F9F4; | |
| border: 1px solid #10B981; | |
| border-left: 4px solid #10B981; | |
| color: #065F46; | |
| font-weight: 500; | |
| box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1); | |
| animation: slideInNotification 0.3s ease-out; | |
| } | |
| .system-message.document-upload svg { | |
| color: #10B981; | |
| flex-shrink: 0; | |
| } | |
| .system-message.document-upload p { | |
| margin: 0; | |
| line-height: 1.4; | |
| } | |
| [data-theme="dark"] .system-message.document-upload { | |
| background: rgba(16, 185, 129, 0.15); | |
| border-color: #10B981; | |
| color: #6EE7B7; | |
| } | |
| [data-theme="dark"] .system-message.document-upload svg { | |
| color: #34D399; | |
| } | |
| /* Animation for notification appearance */ | |
| @keyframes slideInNotification { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-8px) scale(0.98); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| /* Thinking Indicators */ | |
| .orchestrator-thinking { | |
| display: flex; | |
| gap: 16px; | |
| align-items: center; | |
| opacity: 0.8; | |
| margin-bottom: 24px; | |
| } | |
| .orchestrator-thinking .thinking-bubble { | |
| width: 40px; | |
| height: 40px; | |
| min-width: 40px; | |
| min-height: 40px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: var(--accent-gradient, var(--accent-primary)); | |
| color: white; | |
| border: none; | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .thinking-content { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| background: var(--bg-secondary); | |
| border-radius: 16px; | |
| padding: 16px 20px; | |
| border: 1px solid var(--border-primary); | |
| } | |
| .thinking-label { | |
| font-size: 14px; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| } | |
| .thinking-animation { | |
| display: flex; | |
| gap: 4px; | |
| } | |
| .thinking-animation .dot { | |
| width: 6px; | |
| height: 6px; | |
| background: var(--accent-primary); | |
| border-radius: 50%; | |
| animation: thinking-bounce 1.4s infinite ease-in-out both; | |
| } | |
| .thinking-animation .dot:nth-child(1) { animation-delay: -0.32s; } | |
| .thinking-animation .dot:nth-child(2) { animation-delay: -0.16s; } | |
| .thinking-animation .dot:nth-child(3) { animation-delay: 0s; } | |
| @keyframes thinking-bounce { | |
| 0%, 80%, 100% { transform: scale(0); } | |
| 40% { transform: scale(1); } | |
| } | |
| /* Floating Input Area - FIXED VERSION */ | |
| .floating-input-area { | |
| position: fixed; | |
| bottom: 20px; | |
| left: 300px; | |
| right: 0; | |
| z-index: 50; | |
| background: transparent; | |
| padding: 0; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| max-width: 860px; | |
| margin: 0 auto; | |
| transition: left 0.3s ease; | |
| } | |
| .floating-input-area.sidebar-collapsed { | |
| left: 70px; | |
| } | |
| /* Reply Banner in ChatPage - matches input width and fixes dark mode */ | |
| .floating-input-area .reply-banner { | |
| background: var(--bg-primary); | |
| border: 1px solid var(--border-primary); | |
| border-radius: 12px; | |
| padding: 12px 16px; | |
| margin: 0 16px 12px 16px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); | |
| width: 100%; | |
| max-width: 768px; | |
| box-sizing: border-box; | |
| } | |
| [data-theme="dark"] .floating-input-area .reply-banner { | |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Reply Info - Fix dark mode text color */ | |
| .floating-input-area .reply-info { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| color: var(--text-secondary); | |
| font-size: 14px; | |
| } | |
| .floating-input-area .reply-info strong { | |
| color: var(--accent-primary); | |
| } | |
| /* Cancel Reply Button */ | |
| .floating-input-area .cancel-reply { | |
| background: none; | |
| border: none; | |
| color: var(--text-tertiary); | |
| cursor: pointer; | |
| padding: 4px; | |
| border-radius: 6px; | |
| transition: all 0.2s ease; | |
| } | |
| .floating-input-area .cancel-reply:hover { | |
| background: var(--bg-secondary); | |
| color: var(--text-secondary); | |
| } | |
| /* MAIN LAYOUT WITH SIDEBAR - FIXED */ | |
| .chat-page-with-sidebar { | |
| display: flex; | |
| height: 100vh; | |
| overflow: hidden; | |
| background: var(--bg-gradient); | |
| } | |
| .main-chat-area { | |
| flex: 1; | |
| margin-left: 300px; /* Width of sidebar when expanded */ | |
| display: flex; | |
| flex-direction: column; | |
| height: 100vh; | |
| transition: margin-left 0.3s ease; | |
| overflow: hidden; | |
| } | |
| /* FIXED: Chat area expansion when sidebar is collapsed */ | |
| .main-chat-area.sidebar-collapsed { | |
| margin-left: 70px; /* Width of sidebar when collapsed */ | |
| } | |
| /* Optional header sign out button */ | |
| .header-signout-btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 8px; | |
| border: none; | |
| background: none; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| color: var(--text-secondary, #6b7280); | |
| transition: all 0.2s ease; | |
| margin-right: 8px; | |
| } | |
| .header-signout-btn:hover { | |
| background: var(--bg-secondary, #f3f4f6); | |
| color: #ef4444; | |
| } | |
| .dark .header-signout-btn:hover { | |
| background: var(--bg-secondary-dark, #374151); | |
| } | |
| .header-help-btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 10px; | |
| background: var(--bg-primary); | |
| border: 1px solid var(--border-primary); | |
| border-radius: 12px; | |
| cursor: pointer; | |
| color: var(--text-secondary); | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| transition: all 0.2s ease; | |
| } | |
| .header-help-btn svg { | |
| width: 20px; | |
| height: 20px; | |
| display: block; | |
| } | |
| .header-help-btn:hover { | |
| background: var(--bg-secondary); | |
| border-color: #2663EB; | |
| color: #2663EB; | |
| } | |
| /* Loading session indicator */ | |
| .loading-session { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 12px; | |
| padding: 20px; | |
| color: var(--text-secondary); | |
| font-size: 14px; | |
| background: var(--bg-gradient); | |
| } | |
| [data-theme="dark"] .loading-session { | |
| color: var(--text-secondary-dark); | |
| background: var(--bg-gradient); | |
| } | |
| .dark .loading-session { | |
| color: var(--text-secondary-dark, #9ca3af); | |
| } | |
| .loading-session .loading-spinner { | |
| width: 16px; | |
| height: 16px; | |
| border: 2px solid var(--border-light, #e5e7eb); | |
| border-top: 2px solid var(--primary-color, #3b82f6); | |
| border-radius: 50%; | |
| animation: spin 1s linear infinite; | |
| } | |
| .dark .loading-session .loading-spinner { | |
| border-color: var(--border-dark, #374151); | |
| border-top-color: var(--primary-color, #3b82f6); | |
| } | |
| /* Document Indicator Styles */ | |
| .document-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 6px 12px; | |
| background: var(--feature-bg); /* Use theme variable */ | |
| border: 1px solid var(--accent-primary); /* Use theme variable */ | |
| border-radius: 20px; | |
| color: var(--accent-primary); /* Use theme variable */ | |
| font-size: 13px; | |
| font-weight: 600; | |
| cursor: default; | |
| transition: all 0.2s ease; | |
| } | |
| .document-indicator:hover { | |
| background: var(--accent-primary); | |
| color: white; | |
| } | |
| .doc-count { | |
| background: var(--accent-primary); | |
| color: white; | |
| border-radius: 10px; | |
| padding: 2px 6px; | |
| font-size: 11px; | |
| font-weight: 700; | |
| min-width: 16px; | |
| text-align: center; | |
| line-height: 1.2; | |
| } | |
| .document-indicator:hover .doc-count { | |
| background: white; | |
| color: var(--accent-primary); | |
| } | |
| /* Provider Dropdown Styles - FIXED */ | |
| .provider-dropdown { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .provider-button { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 10px 16px; | |
| background: var(--bg-primary); | |
| border: 1px solid var(--border-primary); | |
| border-radius: 12px; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| font-size: 14px; | |
| min-width: 140px; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| } | |
| .provider-button:hover:not(.loading) { | |
| background: var(--bg-secondary); | |
| border-color: var(--accent-primary); | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| } | |
| .provider-button.open { | |
| background: var(--bg-secondary); | |
| border-color: var(--accent-primary); | |
| } | |
| .provider-button.loading { | |
| opacity: 0.7; | |
| cursor: not-allowed; | |
| } | |
| .provider-button-content { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| flex: 1; | |
| } | |
| .provider-icon { | |
| color: var(--accent-primary); | |
| flex-shrink: 0; | |
| } | |
| .provider-icon.spinning { | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| .provider-info { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 2px; | |
| } | |
| .provider-name { | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| font-size: 13px; | |
| } | |
| .provider-badge { | |
| font-size: 10px; | |
| color: var(--text-tertiary); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .provider-badge.gemini { color: #4285f4; } | |
| .provider-badge.ollama { color: #10b981; } | |
| .provider-badge.vllm { color: #ef4444; } | |
| .clarification-message-container { | |
| display: flex; | |
| justify-content: center; | |
| margin: 24px 0; | |
| } | |
| .clarification-message { | |
| background: var(--bg-secondary); | |
| border: 1px solid var(--border-primary); | |
| color: var(--text-primary); | |
| padding: 20px; | |
| border-radius: 16px; | |
| max-width: 600px; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); | |
| border-left: 4px solid var(--accent-primary); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| /* Add subtle accent background */ | |
| .clarification-message::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: var(--accent-gradient); | |
| opacity: 0.03; | |
| pointer-events: none; | |
| } | |
| [data-theme="dark"] .clarification-message { | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); | |
| } | |
| [data-theme="dark"] .clarification-message::before { | |
| opacity: 0.05; | |
| } | |
| .clarification-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| margin-bottom: 12px; | |
| font-weight: 600; | |
| font-size: 14px; | |
| color: var(--accent-primary); | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .clarification-message p { | |
| margin: 0 0 16px 0; | |
| line-height: 1.6; | |
| font-size: 15px; | |
| color: var(--text-secondary); | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .clarification-suggestions { | |
| margin-top: 16px; | |
| padding-top: 16px; | |
| border-top: 1px solid var(--border-primary); | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .suggestions-label { | |
| font-size: 13px; | |
| margin-bottom: 12px; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| } | |
| .suggestions-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .suggestion-button { | |
| background: var(--bg-primary); | |
| border: 1px solid var(--border-primary); | |
| color: var(--text-primary); | |
| padding: 12px 16px; | |
| border-radius: 12px; | |
| cursor: pointer; | |
| text-align: left; | |
| font-size: 13px; | |
| font-weight: 500; | |
| transition: all 0.2s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .suggestion-button::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: var(--accent-primary); | |
| opacity: 0; | |
| transition: opacity 0.2s ease; | |
| pointer-events: none; | |
| } | |
| .suggestion-button:hover { | |
| border-color: var(--accent-primary); | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |
| } | |
| .suggestion-button:hover::before { | |
| opacity: 0.05; | |
| } | |
| .suggestion-button:hover { | |
| color: var(--accent-primary); | |
| } | |
| [data-theme="dark"] .suggestion-button:hover { | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); | |
| } | |
| [data-theme="dark"] .suggestion-button:hover::before { | |
| opacity: 0.1; | |
| } | |
| .suggestion-button:active { | |
| transform: translateY(0); | |
| } | |
| .dropdown-arrow { | |
| color: var(--text-secondary); | |
| transition: transform 0.2s ease; | |
| flex-shrink: 0; | |
| } | |
| .dropdown-arrow.rotated { | |
| transform: rotate(180deg); | |
| } | |
| .provider-dropdown-menu { | |
| position: absolute; | |
| top: calc(100% + 8px); | |
| right: 0; | |
| min-width: 220px; | |
| background: var(--bg-primary); | |
| border: 1px solid var(--border-primary); | |
| border-radius: 12px; | |
| box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15); | |
| z-index: 1000; | |
| overflow: hidden; | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| } | |
| [data-theme="dark"] .provider-dropdown-menu { | |
| box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); | |
| } | |
| .provider-option { | |
| width: 100%; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 14px 16px; | |
| border: none; | |
| background: none; | |
| cursor: pointer; | |
| transition: background-color 0.2s ease; | |
| text-align: left; | |
| } | |
| .provider-option:hover:not(.selected) { | |
| background: var(--bg-secondary); | |
| } | |
| .provider-option.selected { | |
| background: var(--feature-bg); | |
| cursor: default; | |
| } | |
| .provider-option-icon { | |
| color: var(--accent-primary); | |
| flex-shrink: 0; | |
| } | |
| .provider-option-info { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2px; | |
| } | |
| .provider-option-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .provider-option-name { | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| font-size: 13px; | |
| } | |
| .provider-option-badge { | |
| font-size: 9px; | |
| padding: 2px 6px; | |
| border-radius: 4px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| font-weight: 600; | |
| } | |
| .provider-option-badge.gemini { | |
| background: rgba(66, 133, 244, 0.15); | |
| color: #4285f4; | |
| } | |
| .provider-option-badge.ollama { | |
| background: rgba(16, 185, 129, 0.15); | |
| color: #10b981; | |
| } | |
| .provider-option-badge.vllm { | |
| background: rgba(239, 68, 68, 0.15); | |
| color: #ef4444; | |
| } | |
| .provider-option-description { | |
| font-size: 11px; | |
| color: var(--text-tertiary); | |
| } | |
| .provider-option-checkmark { | |
| color: var(--accent-primary); | |
| font-weight: bold; | |
| font-size: 12px; | |
| } | |
| .mobile-menu-button { | |
| display: none; | |
| width: 44px; | |
| height: 44px; | |
| border-radius: 12px; | |
| border: none; | |
| background: var(--bg-secondary); | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .mobile-menu-button:hover { | |
| background: var(--accent-primary); | |
| color: white; | |
| } | |
| /* Responsive Design for Chat Page */ | |
| @media (max-width: 768px) { | |
| .floating-header { | |
| padding: 12px 16px; | |
| flex-wrap: nowrap; | |
| gap: 8px; | |
| } | |
| .header-left { | |
| gap: 12px; | |
| flex: 0; /* Don't let it grow */ | |
| min-width: 0; | |
| } | |
| /* Hide brand elements on mobile to reduce clutter */ | |
| .header-left .modern-home-btn, | |
| .header-left .header-brand { | |
| display: none; | |
| } | |
| .header-right { | |
| gap: 8px; | |
| flex: 1; /* Let header-right take available space */ | |
| justify-content: flex-end; /* Align items to the right */ | |
| flex-shrink: 0; | |
| } | |
| /* Ensure mobile menu button is visible */ | |
| .mobile-menu-button { | |
| display: flex; | |
| } | |
| .main-content { | |
| padding: 24px 12px 120px 12px; /* Adjusted for mobile */ | |
| } | |
| .welcome-state { | |
| min-height: 50vh; | |
| } | |
| .messages-scroll { | |
| padding: 16px; | |
| padding-bottom: 30px; | |
| } | |
| .floating-input-area, | |
| .floating-input-area.sidebar-collapsed { | |
| bottom: 10px; | |
| left: 0; | |
| } | |
| .floating-input-area .reply-banner { | |
| margin: 0 12px 12px 12px; | |
| } | |
| .orchestrator-content { | |
| max-width: none; | |
| } | |
| .system-content { | |
| max-width: 90%; | |
| padding: 10px 16px; | |
| font-size: 13px; | |
| } | |
| .main-chat-area { | |
| margin-left: 0; | |
| } | |
| .main-chat-area.sidebar-collapsed { | |
| margin-left: 0; | |
| } | |
| .clarification-message { | |
| margin: 0 16px; | |
| max-width: none; | |
| padding: 16px; | |
| } | |
| .clarification-header { | |
| font-size: 13px; | |
| } | |
| .clarification-message p { | |
| font-size: 14px; | |
| } | |
| .suggestion-button { | |
| padding: 10px 14px; | |
| font-size: 12px; | |
| } | |
| .brand-text h1 { | |
| font-size: 16px; | |
| } | |
| .brand-text p { | |
| font-size: 11px; | |
| } | |
| .session-title-display{ | |
| display: none; | |
| } | |
| } |