 /* Chat Interface Styles */
#chat-container {
    position: fixed;
    z-index: 5;
    left: 20px;
    right: 20px;
    /* Initial state: centered vertically with additional margins (non-mobile only) */
    top: 50vh;
    transform: translateY(-50%);
    margin: 0 10%; /* Additional margins when centered */
    transition: top 0.4s ease-out, transform 0.6s ease-out, margin 0.3s ease-out, bottom 0.4s ease-out;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Make children full width */
}

/* Mobile devices: Always keep chat at bottom with no margins */
@media (max-width: 768px) {
    #chat-container {
        bottom: 20px !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        transition: none !important;
    }

    #chat-container.positioned-bottom {
        bottom: 20px !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
    }
}

/* User Greeting Styles */
.user-greeting {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.user-greeting.hidden {
    opacity: 0;
    pointer-events: none;
}

.greeting-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #374151;
    margin: 0;
}

.dark .greeting-text {
    color: #f1f5f9;
}

/* Hide greeting when chat is positioned at bottom */
#chat-container.positioned-bottom .user-greeting {
    display: none;
}

/* Final state: positioned at bottom */
#chat-container.positioned-bottom {
    top: auto;
    bottom: 20px; /* Anchor to bottom */
    transform: translateY(0);
    margin: 0; /* Remove horizontal margins when at bottom */
}

/* Attachments container positioning (images + documents) */
#attachments-container {
    order: 1; /* Above input wrapper */
    margin: 0 10% 8px 10%; /* Match input wrapper margins */
}

/* Adjust for sidebar on larger screens */
@media (min-width: 1024px) {
    #chat-container {
        left: 320px; /* 300px sidebar + 20px padding */
        right: 20px;
    }
}

#response-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
    margin: 0 10%;
}

/* Mobile styling */
@media (max-width: 768px) {
    #response-container {
        /* Use safe-area friendly padding to avoid causing overflow */
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        margin: 0 auto;
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }
}

/* Error Message Styles */
.error-message {
    padding: 12px 16px;
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    border-radius: 4px;
    color: #991b1b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.dark .error-message {
    background-color: #7f1d1d;
    border-left-color: #ef4444;
    color: #fca5a5;
}

/* Chat Message Styles */
.chat-message {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    /* Allow long content (URLs, long words) to wrap instead of forcing page overflow */
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

/* Visualization Container Styles */
.visualization-container {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
}

.plot-container {
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}


/* Chat Input Wrapper */
.chat-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

/* Input row with send button */
.input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* Chat Input Enhancements */
#chat-container input {
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.2s ease;
    flex: 1;
}

/* Button row styles */
.chat-input-wrapper .flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Attach Button Styles - Updated for new layout */
#attach-button, #docs-button, #tools-button, #collection-button {
    border-radius: 20px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid inherit;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    white-space: nowrap;
}

#attach-button:hover, #docs-button:hover, #tools-button:hover, #collection-button:hover {
    color: #374151;
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

#chat-container input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dark #chat-container input {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.dark #chat-container input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Send Button Styles */
#send-button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

/* Conversations List Styles */
#conversations-list {
    max-height: 60vh;
    overflow-y: auto;
}

#conversations-container {
    overflow: visible;
}

/* Ensure sidebar containers don't clip dropdowns */
.max-w-xs {
    overflow: visible !important;
}

/* Ensure conversation items can show dropdowns outside bounds */
.conversation-item {
    position: relative;
    overflow: visible;
}

/* Ensure the sidebar itself doesn't clip */
.bg-secondary {
    overflow: visible !important;
}

.conversation-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.conversation-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.conversation-item.uk-card-primary {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.conversation-item.uk-card-primary h6,
.conversation-item.uk-card-primary p {
    color: white;
}

.dark .conversation-item {
    border-color: #334155;
    background-color: #1e293b;
}

.dark .conversation-item:hover {
    background-color: #334155;
}

#new-conversation-btn {
    transition: all 0.2s ease;
}

#new-conversation-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Conversation dropdown styles */
.conversation-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.conversation-item:hover .conversation-actions {
    opacity: 1;
}

.conversation-menu-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background-color 0.2s ease;
    border: none;
    background: transparent;
    padding: 0;
}

.conversation-menu-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.conversation-content {
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

/* Drop menu styling */
.conversation-actions .uk-drop {
    min-width: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    padding: 4px;
    z-index: 9999 !important;
    position: fixed !important;
    transform: none !important;
    clip: unset !important;
    overflow: visible !important;
}

/* Force all parent containers to not clip */
.conversation-actions,
.conversation-actions * {
    overflow: visible !important;
    clip: unset !important;
    clip-path: none !important;
}

.conversation-actions .uk-nav > li > a {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    margin: 2px 0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.conversation-actions .uk-nav > li > a:hover {
    background-color: #f3f4f6;
}

.conversation-actions .uk-nav > li > a.uk-text-danger:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Dark mode styles for conversation dropdown */
.dark .conversation-menu-btn {
    color: #9ca3af;
}

.dark .conversation-menu-btn:hover {
    background-color: #374151;
    color: #f3f4f6;
}

.dark .conversation-actions .uk-drop {
    background-color: #1f2937;
    border-color: #374151;
}

.dark .conversation-actions .uk-nav > li > a:hover {
    background-color: #374151;
}

.dark .conversation-actions .uk-nav > li > a.uk-text-danger:hover {
    background-color: #7f1d1d;
    color: #fca5a5;
}

/* Hide dropdown actions on selected conversation */
.conversation-item.uk-card-primary .conversation-menu-btn {
    color: rgba(255, 255, 255, 0.7);
}

.conversation-item.uk-card-primary .conversation-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Preview functionality styles */
.preview-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.preview-row:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.preview-row:hover td {
    background-color: transparent;
}

/* Preview modal styles */
#preview-modal .uk-modal-dialog {
    max-width: 90vw;
    width: 90vw;
}

#preview-modal #preview-table {
    font-size: 0.875rem;
    border-collapse: collapse;
}

#preview-modal #preview-table th,
#preview-modal #preview-table td {
    padding: 8px 12px;
    border: 1px solid hsl(var(--table-border));
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    max-width: 200px;
}

#preview-modal #preview-table th {
    background-color: #f9fafb;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* #preview-modal #preview-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

#preview-modal #preview-table tbody tr:hover {
    background-color: #f3f4f6;
} */

/* Dark mode styles for preview table */
.dark #preview-modal #preview-table th {
    background-color: hsl(var(--primary) / 0.1);
    color: #f9fafb;
    border-color: hsl(var(--table-border));
}

.dark #preview-modal #preview-table th,
.dark #preview-modal #preview-table td {
    border-color: hsl(var(--table-border));
    color: #f9fafb;
}

/* .dark #preview-modal #preview-table tbody tr:nth-child(even) {
    background-color: #374151;
} */

/* .dark #preview-modal #preview-table tbody tr:hover {
    background-color: #4b5563;
}

.dark #preview-modal #preview-table tbody tr:nth-child(odd) {
    background-color: #1f2937;
} */

/* Responsive table in modal */
@media (max-width: 768px) {
    #preview-modal .uk-modal-dialog {
        width: 95vw;
        max-width: 95vw;
    }

    #preview-modal #preview-table th,
    #preview-modal #preview-table td {
        padding: 6px 8px;
        font-size: 0.75rem;
        max-width: 150px;
    }
}

/* Content inside response container should not overflow horizontally */
#response-container * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Make images/iframes/embeds responsive inside responses */
#response-container img,
#response-container video,
#response-container iframe,
#response-container canvas,
#response-container svg {
    max-width: 100%;
    height: auto;
}

/* Markdown and code blocks from responses */
#response-container pre {
    /* Either wrap long code lines to avoid widening the page... */
    white-space: pre-wrap;
    word-break: break-word;
    /* ...and keep them within the container */
    max-width: 100%;
    overflow-x: auto; /* fallback if very long tokens appear */
    -webkit-overflow-scrolling: touch;
    background: transparent; /* keep existing theme */
}

#response-container code {
    white-space: break-spaces; /* allows wrapping while preserving spaces */
    word-break: break-word;
    max-width: 100%;
}

/* Long links should wrap */
#response-container a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Hide scrollbars while maintaining scroll functionality */

/* Sidebar Toggle Styles */
#sidebar-toggle {
    transition: all 0.3s ease-in-out;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#sidebar-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Floating toggle button styles */
#floating-toggle {
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    /* background-color: rgba(255, 255, 255, 0.9); */
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#floating-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Mobile sidebar styles */
@media (max-width: 1023px) {
    #main-layout {
        grid-template-columns: 1fr; /* Single column layout on mobile */
    }

    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 310px;
        max-width: 310px;
        height: 100vh;
        z-index: 30;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        display: flex !important; /* Override the hidden class */
    }

    /* Show sidebar when mobile-open class is added */
    #main-layout.mobile-sidebar-open #sidebar {
        transform: translateX(0);
    }

    /* Show overlay when sidebar is open on mobile */
    #main-layout.mobile-sidebar-open #mobile-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* Floating toggle button is always visible on mobile */
    #floating-toggle {
        opacity: 1 !important;
        pointer-events: auto !important;
        display: flex !important;
    }
}

/* Desktop sidebar collapsed state */
@media (min-width: 1024px) {
    #main-layout.sidebar-collapsed {
        grid-template-columns: 0 1fr;
    }

    #main-layout.sidebar-collapsed #sidebar {
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
    }

    /* Show floating button when sidebar is collapsed on desktop */
    #main-layout.sidebar-collapsed #floating-toggle {
        opacity: 1;
        pointer-events: auto;
        display: flex;
    }

    /* Hide floating button by default on desktop */
    #floating-toggle {
        opacity: 0;
        pointer-events: none;
        display: none;
    }
}

/* Adjust chat container when sidebar is collapsed */
@media (min-width: 1024px) {
    #main-layout.sidebar-collapsed ~ * #chat-container,
    .sidebar-collapsed #chat-container {
        left: 20px; /* Reset to normal left margin when sidebar is hidden */
    }
}

/* Sidebar header styles */
#sidebar h3 {
    font-weight: 600;
    color: inherit;
}

/* For webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* For Firefox */
html {
    scrollbar-width: none;
}

/* Hide scrollbars on specific containers */
#response-container,
#conversations-list,
body,
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

#response-container::-webkit-scrollbar,
#conversations-list::-webkit-scrollbar,
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Ensure all scrollable elements hide their scrollbars */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
/* Typography and chat UI refinements */
:root {
  --card-bg: hsl(var(--secondary));
  --card-border: hsl(var(--primary))
  --table-border: hsl(var(--primary));
  --table-head-bg: hsl(var(--primary) / 0.1);
  --table-zebra: hsl(var(--primary) / 0.01);
}
.dark {
  --card-bg: hsl(var(--secondary));
  --card-border: hsl(var(--primary))
  --table-border: hsl(var(--primary));
  --table-head-bg: hsl(var(--primary) / 0.1);
  --table-zebra: hsl(var(--primary) / 0.01);
}

/* Loosen vertical rhythm in the chat stream without increasing line-height too much */
#response-container {
  padding: 1.25rem 0;
}

/* Slightly more separation between messages */
.chat-message {
  margin-bottom: 1.25rem;
}

/* Reduce spacing between consecutive assistant messages (message segments) */
/* Only apply to assistant messages following other assistant messages, not user messages */
.assistant-message:not(.user-message) + .assistant-message:not(.user-message) {
  margin-top: -0.75rem; /* Tighter spacing for segments in the same response */
}

/* Refine message card appearance */
.chat-message .uk-card {
  border-radius: 12px;
  max-width: 860px; /* Avoid overly long lines and cramped feeling */
}

/* Assistant messages have reduced vertical padding for tighter spacing */
.assistant-message .uk-card {
  padding: 0px 18px;
}

/* User messages maintain standard padding */
.user-message .uk-card {
  padding: 18px;
}

/* Assistant message blends into app background like ChatGPT/Claude */
.assistant-message .uk-card {
  background: transparent !important;
  border: none !important;
  color: inherit;
  margin-right: auto;
}

/* User message adopts the former assistant "neutral card" background */
.user-message .uk-card {
  /* background-color: var(--card-bg) !important; */
  border: 1px solid inherit !important;
  color: inherit;
  margin-left: auto;
  margin-left: auto;
}
.dark .user-message .uk-card {
  color: #f1f5f9;
}

/* Markdown typography — add breathing room without just cranking line-height */
.markdown-content {
  line-height: 1.55;
}
.markdown-content > *:first-child { margin-top: 0; }
.markdown-content > *:last-child { margin-bottom: 0; }
.markdown-content p { margin: 0.5rem 0; }

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  margin: 1rem 0 0.5rem;
  line-height: 1.25;
}

.markdown-content ul,
.markdown-content ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content li {
  margin: 0.25rem 0;
}

.markdown-content hr {
  margin: 1.5rem 0;
  border: none;
  height: 2px;
  background: hsl(var(--primary) / 0.3);
}

.markdown-content blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.05);
  border-radius: 4px;
}

.markdown-content blockquote p {
  margin: 0.25rem 0;
}

.markdown-content blockquote > *:first-child {
  margin-top: 0;
}

.markdown-content blockquote > *:last-child {
  margin-bottom: 0;
}

/* Inline code and code blocks */
.markdown-content code {
  background: hsl(var(--primary) / 0.01);
  border: 1px solid var(--card-border);
  border-radius: 6px;
}
.markdown-content pre {
  background: hsl(var(--primary) / 0.01);
  border: 1px solid var(--primary);
  border-radius: 8px;
  overflow: auto;
}
.markdown-content pre code {
  border: 0;
  background: transparent;
  padding: 0;
}


/* Code block enhancements */
pre {
    border: 3px solid var(--primary) !important;
    background-color: black !important;
    padding: 1em 1em !important;
}

pre code.hljs {
    padding: 0 !important;
}

.code-block-container {
    position: relative;
    margin: 1rem 0;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2d3748;
    color: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem 0.375rem 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid #4a5568;
}

.code-language-label {
    text-transform: capitalize;
    color: #a0aec0;
}

.code-copy-button {
    background: #4a5568;
    color: #e2e8f0;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

.code-copy-button:hover {
    background: #2d3748;
}

.code-copy-button.copied {
    background: #38a169;
    color: white;
}

.code-block-container pre {
    margin: 0 !important;
    border-radius: 0 0 0.375rem 0.375rem !important;
}

.code-block-container pre code {
    border-radius: 0 0 0.375rem 0.375rem !important;
}

/* Dark mode styles for code blocks */
.dark .code-block-header {
    background: black;
    border-bottom-color: black;
}

.dark .code-copy-button {
    background: black;
}

.dark .code-copy-button:hover {
    background: #272728;
}

/* Tables — more generous cell padding, zebra rows, contained radius */
.markdown-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.75rem 0 0.5rem;
  border: 1px solid var(--primary);
  border-radius: 10px;
  overflow: hidden;
}
.markdown-content thead th {
  background: hsl(var(--table-head-bg));
  font-weight: 600;
}
.markdown-content th,
.markdown-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--primary);
}
/* .markdown-content tbody tr:nth-child(even) {
  background: var(--table-zebra);
} */
.markdown-content tbody tr:last-child td {
  border-bottom: none;
}

/* Links a touch clearer */
.markdown-content a {
  text-decoration: underline;
}

/* Images within messages */
.markdown-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
/* Override to let the thread breathe like ChatGPT/Claude */
#response-container {
  max-height: none; /* Remove 60vh clamp so content can flow naturally */
}
/* Chat input wrapper: match summary width and add background like chat area */
.chat-input-wrapper {
  /* max-width: 860px;          matches message content max width */
  order: 2; /* Below thumbnails */
  margin: 0 10%; /* Match response container margins */
  border: 1px solid inherit;
  border-radius: 14px;
  padding: 10px 12px;
}

@media (max-width: 768px) {
  .chat-input-wrapper {
    width: 100%;
    margin: 0;
  }
}

/* Textarea styling (replaces single-line input) */
#chat-container textarea.chat-textarea {
  resize: none;
  background: transparent;
  border: 0;
  outline: none;
  border-radius: 12px;
  padding: 12px 16px;
  color: inherit;
  flex: 1;
  min-height: 44px;
  max-height: 200px; /* sync with JS auto-resize cap */
}

/* Keep focus clean; wrapper provides the visual focus via its border */
#chat-container textarea.chat-textarea:focus {
  box-shadow: none;
}

/* === Independent scrolling for sidebar, main column, and File Summary modal === */
#main-layout {
  height: 100svh;            /* fill viewport to allow internal scroll regions */
  overflow: hidden;          /* prevent page-level scroll coupling */
}
#main-layout > * {
  min-height: 0;             /* critical for flex/grid children to allow inner overflow */
}

/* Sidebar scrolls independently of the page and other regions */
#sidebar {
  height: 100%;
  overflow-y: auto !important;  /* override .bg-secondary overflow */
  overflow-x: visible !important;
}

/* Main content column scrolls independently */
.main-column-scroll {
  height: 100%;
  overflow-y: auto;
  min-height: 0;
}

/* File Summary Modal: constrain and enable inner scroll separate from sidebar/body */
#file-summary-modal .uk-modal-dialog {
  max-height: 90svh;          /* keep within viewport */
  display: flex;
  flex-direction: column;
}
#file-summary-modal .uk-modal-header {
  flex: 0 0 auto;
}
#file-summary-modal .uk-modal-body {
  flex: 1 1 auto;
  min-height: 0;              /* allow child to shrink and scroll */
  overflow: hidden;           /* avoid double scrollbars on body */
}
/* The summary container itself scrolls independently */
#summary-container {
  height: 100%;
  overflow-y: auto;
}
/* Optional: cap table area if needed to keep header/controls visible */
#files-table-container {
  overflow: auto;
  max-height: 60svh;
}
/* Streaming indicator styles */
.streaming-indicator {
    display: inline-block;
    color: var(--primary);
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Progress indicator styles */
.progress-indicator {
    display: inline-block;
    color: var(--primary);
    font-style: italic;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
