sameerbanchhor-work's picture
download
raw
32.5 kB
/* ==========================================================================
DESIGN SYSTEM & CUSTOM PROPERTIES
========================================================================== */
:root {
/* Color Palette - Dark Theme (Default) */
--bg-primary: #0A0D0A;
--bg-secondary: #131713;
--bg-tertiary: #191E19;
--bg-glass: rgba(19, 23, 19, 0.75);
--bg-glass-hover: rgba(25, 30, 25, 0.85);
--border-glass: rgba(163, 230, 53, 0.15);
--border-glass-hover: rgba(163, 230, 53, 0.3);
--text-primary: #FFFFFF;
--text-secondary: #90A090;
--text-muted: #556055;
--accent-blue: #A3E635; /* Neon Lime/Teal */
--accent-green: #22C55E;
--accent-grad: linear-gradient(135deg, #A3E635 0%, #22C55E 100%);
--accent-glow: rgba(163, 230, 53, 0.2);
--accent-rose: #EF4444;
/* Layout Tokens */
--font-sans: 'Inter', sans-serif;
--font-display: 'Outfit', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
--radius-sm: 0.5rem;
--radius-md: 0.75rem;
--radius-lg: 1rem;
--radius-xl: 1.5rem;
--transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
--transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
--header-height: 60px;
}
/* Light Theme Variables Toggle */
[data-theme="light"] {
--bg-primary: #F4F7F4;
--bg-secondary: #FFFFFF;
--bg-tertiary: #E8EFE8;
--bg-glass: rgba(255, 255, 255, 0.85);
--bg-glass-hover: rgba(232, 239, 232, 0.95);
--border-glass: rgba(101, 163, 0, 0.2);
--border-glass-hover: rgba(101, 163, 0, 0.4);
--text-primary: #121812;
--text-secondary: #586558;
--text-muted: #9BB09B;
--accent-blue: #65A30D;
--accent-green: #16A34A;
--accent-grad: linear-gradient(135deg, #65A30D 0%, #16A34A 100%);
--accent-glow: rgba(101, 163, 0, 0.15);
--accent-rose: #DC2626;
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
}
/* ==========================================================================
RESET & BASICS
========================================================================== */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-sans);
background-color: var(--bg-primary);
color: var(--text-primary);
min-height: 100vh;
min-height: 100dvh;
overflow: hidden;
display: flex;
flex-direction: column;
transition: background-color var(--transition-normal), color var(--transition-normal);
}
/* Animated Ambient Gradient background */
body::before {
content: '';
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background:
radial-gradient(circle at 15% 20%, var(--accent-glow) 0%, transparent 60%),
radial-gradient(circle at 85% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
pointer-events: none;
z-index: 0;
animation: ambientShift 15s ease infinite alternate;
}
@keyframes ambientShift {
0% { transform: scale(1) translate(0px, 0px); }
100% { transform: scale(1.05) translate(20px, -20px); }
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-glass);
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-blue);
}
/* ==========================================================================
HEADER COMPONENT
========================================================================== */
header {
height: var(--header-height);
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-glass);
display: grid;
grid-template-columns: 240px 1fr auto;
align-items: center;
padding: 0 1.25rem;
z-index: 100;
box-shadow: var(--shadow-md);
position: relative;
}
.header-left {
display: flex;
align-items: center;
gap: 0.75rem;
}
.sidebar-toggle {
display: block; /* Always visible to toggle left sidebar */
background: none;
border: none;
color: var(--text-primary);
font-size: 1.25rem;
cursor: pointer;
transition: color var(--transition-fast);
}
.sidebar-toggle:hover {
color: var(--accent-blue);
}
.logo-area {
display: flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-display);
font-weight: 700;
font-size: 1.2rem;
letter-spacing: -0.02em;
}
.logo-img {
height: 30px;
width: auto;
display: inline-block;
}
.logo-text span {
color: var(--accent-blue);
}
/* API Connection Selector */
.header-center {
display: flex;
justify-content: center;
width: 100%;
}
.api-config-group {
display: flex;
align-items: center;
background: var(--bg-primary);
border: 1px solid var(--border-glass);
border-radius: var(--radius-full);
padding: 0.25rem 0.75rem;
width: 480px;
max-width: 90%;
gap: 0.5rem;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.api-config-group:focus-within {
border-color: var(--accent-blue);
box-shadow: 0 0 12px var(--accent-glow);
}
.api-icon {
color: var(--text-secondary);
font-size: 0.9rem;
}
.api-config-group input {
background: transparent;
border: none;
outline: none;
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 0.8rem;
flex-grow: 1;
}
.api-badge {
display: flex;
align-items: center;
gap: 0.35rem;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
background: var(--bg-tertiary);
padding: 0.15rem 0.5rem;
border-radius: var(--radius-sm);
color: var(--text-secondary);
}
.api-badge .dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #EAB308; /* Yellow = unknown */
display: inline-block;
}
.api-badge.online .dot { background: var(--accent-green); }
.api-badge.offline .dot { background: var(--accent-rose); }
.header-right {
display: flex;
align-items: center;
gap: 0.75rem;
}
.theme-toggle-btn, .panel-toggle-btn {
background: var(--bg-primary);
border: 1px solid var(--border-glass);
color: var(--text-primary);
width: 38px;
height: 38px;
border-radius: var(--radius-sm);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.05rem;
transition: all var(--transition-fast);
}
.theme-toggle-btn:hover, .panel-toggle-btn:hover {
border-color: var(--accent-blue);
background: var(--bg-tertiary);
}
/* Toggle light/dark icons */
.theme-toggle-btn .icon-sun { display: none; }
[data-theme="light"] .theme-toggle-btn .icon-sun { display: block; }
[data-theme="light"] .theme-toggle-btn .icon-moon { display: none; }
/* ==========================================================================
LAYOUT CONTAINERS
========================================================================== */
.main-container {
display: flex;
flex-grow: 1;
height: calc(100vh - var(--header-height));
height: calc(100dvh - var(--header-height));
position: relative;
overflow: hidden;
}
.sidebar-backdrop {
display: none;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(4px);
z-index: 90;
}
/* ==========================================================================
LEFT SIDEBAR: MODES & METRICS
========================================================================== */
.sidebar-left {
width: 260px;
flex-shrink: 0;
background: var(--bg-secondary);
border-right: 1px solid var(--border-glass);
display: flex;
flex-direction: column;
z-index: 95;
margin-left: -261px; /* Hidden by default on desktop layout */
transition: margin-left var(--transition-normal), transform var(--transition-normal);
}
.sidebar-left.open {
margin-left: 0;
}
.sidebar-scroll-area {
flex-grow: 1;
overflow-y: auto;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.new-chat-btn {
background: var(--accent-grad);
color: var(--bg-primary);
border: none;
font-family: var(--font-display);
font-weight: 700;
padding: 0.75rem;
border-radius: var(--radius-md);
font-size: 0.95rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.new-chat-btn:hover {
opacity: 0.9;
transform: translateY(-1px);
}
/* Chat History Styling */
.chats-section {
display: flex;
flex-direction: column;
flex-grow: 1;
min-height: 0;
}
.chat-sessions-list {
display: flex;
flex-direction: column;
gap: 0.35rem;
overflow-y: auto;
flex-grow: 1;
padding-right: 4px;
}
/* Custom mini scrollbar for session list */
.chat-sessions-list::-webkit-scrollbar {
width: 4px;
}
.chat-sessions-list::-webkit-scrollbar-track {
background: transparent;
}
.chat-sessions-list::-webkit-scrollbar-thumb {
background: var(--border-glass);
border-radius: 4px;
}
.chat-sessions-list::-webkit-scrollbar-thumb:hover {
background: var(--border-glass-hover);
}
.chat-session-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
padding: 0.5rem 0.6rem;
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-glass);
border-radius: var(--radius-sm);
cursor: pointer;
transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
color: var(--text-muted);
}
.chat-session-item:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--border-glass-hover);
color: var(--text-primary);
}
.chat-session-item.active {
background: var(--accent-glow);
border-color: var(--accent-blue);
color: var(--text-primary);
}
.chat-session-left {
display: flex;
align-items: center;
gap: 0.4rem;
flex-grow: 1;
overflow: hidden;
}
.chat-session-icon {
font-size: 0.75rem;
opacity: 0.7;
flex-shrink: 0;
}
.chat-session-title {
font-size: 0.8rem;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
user-select: none;
}
.chat-session-actions {
display: flex;
align-items: center;
gap: 0.35rem;
opacity: 0;
transition: opacity var(--transition-fast);
}
.chat-session-item:hover .chat-session-actions,
.chat-session-item.active .chat-session-actions {
opacity: 1;
}
.chat-session-btn {
background: none;
border: none;
padding: 2px;
cursor: pointer;
color: var(--text-muted);
font-size: 0.75rem;
transition: color var(--transition-fast), transform var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
}
.chat-session-btn:hover {
color: var(--text-primary);
transform: scale(1.1);
}
.chat-session-btn.delete-btn:hover {
color: var(--accent-rose, #ef4444);
}
.chat-session-input {
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--accent-blue);
color: var(--text-primary);
font-size: 0.8rem;
font-family: var(--font-sans);
font-weight: 500;
width: 100%;
border-radius: var(--radius-xs, 2px);
padding: 1px 4px;
outline: none;
margin: 0;
}
.sidebar-section-title {
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
color: var(--text-muted);
letter-spacing: 0.05em;
margin-bottom: 0.6rem;
display: flex;
align-items: center;
gap: 0.35rem;
}
.sidebar-mode-list {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.sidebar-mode-btn {
display: flex;
align-items: center;
gap: 0.75rem;
background: transparent;
border: 1px solid transparent;
color: var(--text-secondary);
padding: 0.7rem 0.85rem;
border-radius: var(--radius-md);
cursor: pointer;
font-size: 0.85rem;
font-family: var(--font-display);
font-weight: 500;
text-align: left;
transition: all var(--transition-fast);
}
.sidebar-mode-btn:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.sidebar-mode-btn.active {
background: var(--bg-tertiary);
border-color: var(--border-glass);
color: var(--accent-blue);
box-shadow: inset 0 0 10px rgba(163, 230, 53, 0.05);
}
/* Database stats card */
.db-stats-card {
background: var(--bg-tertiary);
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
padding: 0.85rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.stat-item {
display: flex;
justify-content: space-between;
font-size: 0.78rem;
}
.stat-lbl {
color: var(--text-secondary);
}
.stat-val {
font-family: var(--font-mono);
color: var(--accent-blue);
font-weight: 600;
}
/* Settings dropdowns */
.select-wrapper {
position: relative;
width: 100%;
}
.select-wrapper::after {
content: '\f078';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
position: absolute;
right: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
pointer-events: none;
font-size: 0.75rem;
}
.settings-select {
width: 100%;
background: var(--bg-primary);
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
padding: 0.6rem 2.25rem 0.6rem 0.75rem;
color: var(--text-primary);
font-family: var(--font-sans);
font-size: 0.825rem;
outline: none;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
transition: all var(--transition-fast);
}
.settings-select:focus {
border-color: var(--accent-blue);
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}
.settings-select option {
background: var(--bg-secondary);
color: var(--text-primary);
}
/* Color Presets Grid */
.color-presets-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.5rem;
margin-top: 0.5rem;
}
.preset-btn {
border: 1px solid var(--border-glass);
background: var(--bg-tertiary);
height: 38px;
border-radius: var(--radius-md);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition-fast);
position: relative;
}
.preset-btn:hover {
border-color: var(--accent-blue);
background: var(--bg-glass-hover);
transform: translateY(-1px);
}
.preset-btn.active {
border-color: var(--accent-blue);
box-shadow: 0 0 8px var(--accent-glow);
background: var(--bg-glass-hover);
}
.preset-dot {
width: 14px;
height: 14px;
border-radius: 50%;
}
/* Scale Preset Buttons */
.scale-preset-list {
display: flex;
gap: 0.5rem;
margin-top: 0.5rem;
}
.scale-btn {
flex: 1;
background: transparent;
border: 1px solid var(--border-glass);
color: var(--text-secondary);
padding: 0.5rem;
border-radius: var(--radius-md);
cursor: pointer;
font-size: 0.78rem;
font-family: var(--font-display);
font-weight: 600;
text-align: center;
transition: all var(--transition-fast);
}
.scale-btn:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
border-color: var(--accent-blue);
}
.scale-btn.active {
background: var(--bg-tertiary);
border-color: var(--accent-blue);
color: var(--accent-blue);
box-shadow: inset 0 0 10px rgba(163, 230, 53, 0.05);
}
/* API Secret Key Box */
.secret-key-card {
background: var(--bg-tertiary);
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
padding: 0.55rem 0.75rem;
display: flex;
align-items: center;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.secret-key-card:focus-within {
border-color: var(--accent-blue);
box-shadow: 0 0 8px var(--accent-glow);
}
.secret-key-card input {
background: transparent;
border: none;
outline: none;
color: var(--text-primary);
font-family: var(--font-mono);
font-size: 0.8rem;
width: 100%;
}
/* Footer Section inside Sidebar */
.sidebar-footer {
padding: 1rem 1.25rem;
border-top: 1px solid var(--border-glass);
font-size: 0.75rem;
color: var(--text-muted);
}
.server-meta {
display: flex;
justify-content: space-between;
margin-bottom: 0.25rem;
}
.server-meta .val {
color: var(--text-secondary);
font-family: var(--font-mono);
}
.version-tag {
text-align: right;
font-size: 0.65rem;
}
/* ==========================================================================
CHAT AREA COMPONENT
========================================================================== */
.chat-area {
flex-grow: 1;
display: flex;
flex-direction: column;
background: var(--bg-primary);
position: relative;
z-index: 10;
min-height: 0;
}
.messages-container {
flex-grow: 1;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 2rem 10% 4rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
scroll-behavior: smooth;
}
/* Welcome Hero state */
.welcome-hero {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin: auto;
max-width: 600px;
padding: 2rem;
animation: fadeIn 0.5s ease;
}
.welcome-hero-logo {
width: 80px;
height: 80px;
object-fit: contain;
margin-bottom: 1.25rem;
}
.welcome-hero h3 {
font-family: var(--font-display);
font-size: 1.6rem;
font-weight: 800;
margin-bottom: 0.5rem;
}
.welcome-hero p {
color: var(--text-secondary);
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 2rem;
}
.suggestions-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
width: 100%;
}
.suggestion-card {
background: var(--bg-secondary);
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
padding: 1rem 0.85rem;
cursor: pointer;
transition: all var(--transition-fast);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.suggestion-card:hover {
border-color: var(--accent-blue);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
background: var(--bg-glass-hover);
}
.suggestion-card .card-icon {
color: var(--accent-blue);
font-size: 1.2rem;
}
.suggestion-card .card-text {
font-size: 0.78rem;
font-weight: 500;
line-height: 1.4;
color: var(--text-secondary);
}
/* Chat bubble styling */
.message-bubble {
display: flex;
gap: 1rem;
max-width: 800px;
animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.message-bubble.user {
align-self: flex-end;
flex-direction: row-reverse;
}
.message-bubble.bot {
align-self: flex-start;
}
.avatar {
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 0.95rem;
}
.message-bubble.user .avatar {
background: var(--text-secondary);
color: var(--bg-primary);
}
.message-bubble.bot .avatar {
background: var(--accent-grad);
color: var(--bg-primary);
overflow: hidden;
}
.bot-avatar-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.bubble-content {
padding: 0.85rem 1.15rem;
border-radius: var(--radius-lg);
line-height: 1.6;
font-size: 0.9rem;
max-width: calc(100% - 48px);
}
.bubble-content table {
width: 100%;
border-collapse: collapse;
margin: 0.5rem 0;
font-size: 0.82rem;
display: block;
overflow-x: auto;
}
.bubble-content img {
max-width: 150px;
max-height: 150px;
width: auto;
height: auto;
border-radius: var(--radius-md);
border: 1px solid var(--border-glass);
margin: 0.75rem 0;
display: block;
box-shadow: var(--shadow-md);
}
.message-bubble.user .bubble-content {
background: var(--bg-secondary);
border: 1px solid var(--border-glass);
border-top-right-radius: 0;
}
.message-bubble.bot .bubble-content {
background: var(--bg-secondary);
border: 1px solid var(--border-glass);
border-top-left-radius: 0;
}
/* Markdown parsing in bot bubble */
.bubble-content h1, .bubble-content h2, .bubble-content h3 {
font-family: var(--font-display);
margin: 0.75rem 0 0.4rem;
}
.bubble-content h3 { font-size: 1.05rem; }
.bubble-content p { margin-bottom: 0.5rem; }
.bubble-content p:last-child { margin-bottom: 0; }
.bubble-content ul, .bubble-content ol {
margin-left: 1.25rem;
margin-bottom: 0.5rem;
}
.bubble-content code {
font-family: var(--font-mono);
background: var(--bg-primary);
padding: 0.15rem 0.35rem;
border-radius: 4px;
font-size: 0.8rem;
border: 1px solid var(--border-glass);
}
.bubble-content pre {
background: var(--bg-primary);
padding: 0.75rem;
border-radius: var(--radius-md);
border: 1px solid var(--border-glass);
overflow-x: auto;
margin: 0.5rem 0;
}
.bubble-content pre code {
background: transparent;
padding: 0;
border: none;
}
/* Agent Steps Timeline in responses */
.agent-steps-timeline {
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
background: var(--bg-tertiary);
margin-top: 1rem;
overflow: hidden;
}
.timeline-header {
padding: 0.6rem 0.85rem;
display: flex;
justify-content: space-between;
align-items: center;
font-family: var(--font-display);
font-weight: 600;
font-size: 0.8rem;
color: var(--text-secondary);
cursor: pointer;
background: rgba(0,0,0,0.1);
}
.timeline-header:hover {
color: var(--text-primary);
}
.timeline-body {
padding: 0.85rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
border-top: 1px solid var(--border-glass);
}
.timeline-step {
display: flex;
gap: 0.75rem;
}
.timeline-badge {
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.65rem;
flex-shrink: 0;
}
.timeline-badge.done {
background: rgba(34, 197, 94, 0.15);
color: var(--accent-green);
border: 1px solid var(--accent-green);
}
.timeline-badge.running {
background: rgba(234, 179, 8, 0.15);
color: #EAB308;
border: 1px solid #EAB308;
}
.timeline-badge.error {
background: rgba(239, 68, 68, 0.15);
color: var(--accent-rose);
border: 1px solid var(--accent-rose);
}
.timeline-content {
font-size: 0.75rem;
}
.timeline-agent {
font-weight: 700;
color: var(--text-primary);
text-transform: uppercase;
font-size: 0.7rem;
letter-spacing: 0.02em;
}
.timeline-action {
color: var(--text-secondary);
margin-top: 0.1rem;
}
.timeline-details {
font-family: var(--font-mono);
color: var(--text-muted);
background: rgba(0,0,0,0.2);
border: 1px solid var(--border-glass);
padding: 0.4rem;
border-radius: var(--radius-sm);
margin-top: 0.35rem;
word-break: break-all;
font-size: 0.7rem;
}
/* Metadata tag lists */
.metadata-tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: 0.75rem;
}
.meta-tag {
font-size: 0.7rem;
font-weight: 600;
background: var(--bg-tertiary);
border: 1px solid var(--border-glass);
color: var(--text-secondary);
padding: 0.2rem 0.5rem;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
gap: 0.35rem;
}
.meta-tag.sql {
cursor: pointer;
background: rgba(163, 230, 53, 0.05);
border-color: rgba(163, 230, 53, 0.2);
color: var(--accent-blue);
}
.meta-tag.sql:hover {
background: rgba(163, 230, 53, 0.12);
border-color: var(--accent-blue);
}
/* Typing Indicator animation */
.typing-indicator {
display: flex;
gap: 4px;
padding: 0.4rem 0.2rem;
}
.typing-dot {
width: 6px;
height: 6px;
background: var(--text-muted);
border-radius: 50%;
animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
0%, 80%, 100% { transform: scale(0); }
40% { transform: scale(1); }
}
/* Chat Input control footer */
.chat-input-wrapper {
background: var(--bg-secondary);
border-top: 1px solid var(--border-glass);
padding: 1rem 10% 1.25rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.chat-input-area {
display: flex;
align-items: flex-end;
background: var(--bg-primary);
border: 1px solid var(--border-glass);
border-radius: var(--radius-lg);
padding: 0.6rem 0.85rem;
gap: 0.5rem;
}
.chat-input {
background: transparent;
border: none;
outline: none;
color: var(--text-primary);
font-family: var(--font-sans);
font-size: 0.9rem;
resize: none;
flex-grow: 1;
max-height: 150px;
line-height: 1.5;
}
.export-btn {
background: transparent;
color: var(--text-muted);
border: 1px solid var(--border-glass);
width: 32px;
height: 32px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all var(--transition-fast);
}
.export-btn:hover {
color: var(--text-primary);
border-color: var(--border-glass-hover);
background: rgba(255, 255, 255, 0.05);
transform: scale(1.05);
}
.send-btn {
background: var(--accent-grad);
color: var(--bg-primary);
border: none;
width: 32px;
height: 32px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.send-btn:hover {
opacity: 0.9;
transform: scale(1.05);
}
.chat-disclaimer {
font-size: 0.7rem;
color: var(--text-muted);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
#system-status-indicator.status-ready { color: var(--text-secondary); }
#system-status-indicator.status-running { color: var(--accent-blue); animation: pulseText 1.5s infinite; }
#system-status-indicator.status-error { color: var(--accent-rose); }
@keyframes pulseText {
0% { opacity: 0.8; }
50% { opacity: 0.4; }
100% { opacity: 0.8; }
}
/* ==========================================================================
RIGHT PANEL: UTILITIES
========================================================================== */
.right-panel {
width: 420px;
flex-shrink: 0;
background: var(--bg-secondary);
border-left: 1px solid var(--border-glass);
display: flex;
flex-direction: column;
z-index: 85;
margin-right: -421px; /* Hidden by default on desktop layout */
transition: margin-right var(--transition-normal), transform var(--transition-normal);
}
.right-panel.open {
margin-right: 0;
}
.panel-header {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.9rem 1.25rem;
font-family: var(--font-display);
font-weight: 700;
font-size: 0.9rem;
color: var(--text-primary);
border-bottom: 1px solid var(--border-glass);
background: rgba(0, 0, 0, 0.15);
}
.panel-scroll-area {
flex-grow: 1;
overflow-y: auto;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.panel-footer {
padding: 1rem 1.25rem;
border-top: 1px solid var(--border-glass);
font-size: 0.75rem;
color: var(--text-muted);
background: rgba(0, 0, 0, 0.05);
}
/* Thinking Block styles */
.thinking-block {
background: rgba(255, 255, 255, 0.02);
border-left: 3px solid var(--text-muted);
padding: 0.6rem 0.85rem;
border-radius: var(--radius-sm);
margin-bottom: 0.75rem;
font-size: 0.825rem;
color: var(--text-secondary);
font-style: italic;
line-height: 1.45;
}
.thinking-block-title {
font-family: var(--font-display);
font-weight: 600;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
margin-bottom: 0.35rem;
display: flex;
align-items: center;
gap: 0.35rem;
}
/* ==========================================================================
TOASTS & GENERAL UTILITIES
========================================================================== */
.toast-container {
position: fixed;
bottom: 20px;
right: 20px;
display: flex;
flex-direction: column;
gap: 8px;
z-index: 1000;
}
.toast {
background: var(--bg-secondary);
border-left: 4px solid var(--accent-blue);
border-right: 1px solid var(--border-glass);
border-top: 1px solid var(--border-glass);
border-bottom: 1px solid var(--border-glass);
color: var(--text-primary);
padding: 0.75rem 1.25rem;
border-radius: var(--radius-sm);
font-size: 0.8rem;
font-weight: 600;
box-shadow: var(--shadow-md);
animation: slideInRight 0.25s cubic-bezier(0.4, 0, 0.2, 1);
min-width: 250px;
display: flex;
align-items: center;
gap: 0.5rem;
}
/* Progress indicator bar on top */
.progress-bar-wrap {
position: fixed;
top: 0; left: 0; right: 0;
height: 3px;
z-index: 1001;
background: transparent;
overflow: hidden;
}
.progress-bar {
height: 100%;
width: 0%;
background: var(--accent-grad);
transition: width 0.4s ease;
}
.progress-bar.indeterminate {
width: 100%;
animation: indeterminateLoading 1.5s infinite ease-in-out;
}
@keyframes indeterminateLoading {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
/* ==========================================================================
RESPONSIVE LAYOUTS
========================================================================== */
@media (max-width: 1024px) {
.right-panel {
position: fixed;
right: 0;
top: var(--header-height);
bottom: 0;
width: 100%;
max-width: 420px;
transform: translateX(100%);
margin-right: 0; /* Reset desktop margin-right spacing */
box-shadow: var(--shadow-lg);
}
.right-panel.open {
transform: translateX(0);
}
}
@media (max-width: 768px) {
/* Lower DPI / Zoom scaling on screens <= 768px */
html {
font-size: 13px;
}
header {
display: flex;
justify-content: space-between;
padding: 0 0.85rem;
}
.header-left {
gap: 0.4rem;
}
.logo-area {
gap: 0.35rem;
font-size: 1.05rem;
}
.logo-img {
height: 24px;
}
.sidebar-toggle {
display: block;
}
.sidebar-left {
position: fixed;
left: 0;
top: var(--header-height);
bottom: 0;
width: 100%;
max-width: 280px;
transform: translateX(-100%);
margin-left: 0; /* Reset desktop margin-left spacing */
box-shadow: var(--shadow-lg);
}
.sidebar-left.open {
transform: translateX(0);
}
.sidebar-backdrop.open {
display: block;
}
.header-center {
display: none; /* Hide API input on mobile header to save space */
}
.messages-container {
padding: 1.5rem 1rem 3rem;
}
.chat-input-wrapper {
padding: 0.75rem 1rem 1rem;
}
.suggestions-grid {
grid-template-columns: 1fr;
}
}

Xet Storage Details

Size:
32.5 kB
·
Xet hash:
a8cbb76143176c4840b214ad6c1f8f20b838bc8f2361ce2830814b2b014aee9f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.