/* Import Inter font as SF Pro alternative */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Light mode colors */
    --background-primary: #ffffff;
--background-secondary: #f9f9fa;
--text-primary: #111111;
--text-secondary: #555555;
--accent-color: #1a73e8;
--border-color: rgba(0, 0, 0, 0.08);
--message-user-bg: #e3f2fd;
--message-ai-bg: var(--background-secondary);
--shadow-color: rgba(0, 0, 0, 0.04);
--glass-bg: rgba(255, 255, 255, 0.85);
--glass-border: rgba(200, 200, 200, 0.4);
}

@media (prefers-color-scheme: dark) {
    :root {
--background-primary: #ffffff; 
--background-secondary: #f2f2f5;
--text-primary: #000000;
--text-secondary: #4d4d4d;
--accent-color: #0066cc;
--border-color: rgba(0, 0, 0, 0.1);
--message-user-bg: #0066CC15;
--message-ai-bg: #f2f2f5;
--shadow-color: rgba(0, 0, 0, 0.08);
--glass-bg: rgba(255, 255, 255, 0.8);
--glass-border: rgba(0, 0, 0, 0.05);

    }
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro', 'Helvetica Neue', sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.5;
    height: 100vh;
    overflow: hidden;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    background-color: var(--background-primary);
}

/* Header Styles */
.chat-header {
    padding: 16px 20px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.header-top h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #34c759;
    box-shadow: 0 0 0 2px var(--glass-bg);
}

/* Remove ALL image drop zone styles */
.image-drop-zone,
.drop-zone-content,
.image-drop-zone *,
.drop-zone-content * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Placeholder Message */
.placeholder-message {
    background-color: var(--background-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.5s ease-in-out;
    cursor: pointer;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.placeholder-message.highlight {
    border-color: var(--accent-color);
    background-color: var(--message-user-bg);
    transform: scale(1.01);
}

.placeholder-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.placeholder-content svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
}

/* Messages Area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Message Bubbles */
.message {
    position: relative;
    max-width: 85%;
    margin: 4px 0;
    padding: 12px 16px;
    border-radius: 24px;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s ease;
    font-weight: 450;
}

/* User Message */
.user-message {
    background-color: #007AFF;
    background: linear-gradient(to bottom right, #0A84FF, #0066CC);
    color: white;
    margin-left: auto;
    margin-right: 8px;
    padding: 12px 16px;
    border-radius: 24px;
    border-bottom-right-radius: 4px;
    box-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 122, 255, 0.1);
}

/* AI Message */
.ai-message {
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    margin-right: auto;
    margin-left: 8px;
    padding: 14px 18px;
    border-radius: 24px;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        inset 0 0.5px 0.5px rgba(255, 255, 255, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05);
}

/* AI Message Spark Icon - Only for actual AI messages, not typing indicator */
.ai-message:not(.typing-indicator):not([id="typingIndicator"])::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #34C759, #30D158);
    border-radius: 50%;
    box-shadow: 
        0 0 8px rgba(52, 199, 89, 0.4),
        0 0 2px rgba(52, 199, 89, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Message Content Styling */
.message {
    font-size: 15px;
    line-height: 1.5;
}

.message p {
    margin: 0 0 8px 0;
}

.message p:last-child {
    margin-bottom: 0;
}

.message h1, .message h2, .message h3, .message h4 {
    margin: 16px 0 8px;
    font-weight: 600;
    line-height: 1.3;
}

.message h1 { font-size: 1.5em; }
.message h2 { font-size: 1.3em; }
.message h3 { font-size: 1.1em; }
.message h4 { font-size: 1em; }

.message ul, .message ol {
    margin: 8px 0;
    padding-left: 24px;
}

.message li {
    margin: 4px 0;
}

.message code {
    background: var(--background-secondary);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
    font-size: 0.9em;
}

.message pre {
    background: var(--background-secondary);
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 8px 0;
}

.message pre code {
    background: none;
    padding: 0;
}

.message blockquote {
    margin: 8px 0;
    padding: 8px 16px;
    border-left: 4px solid var(--accent-color);
    background: var(--background-secondary);
    border-radius: 4px;
}

/* Streaming animation */
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.message.ai-message:last-child::after {
    content: '▋';
    display: inline-block;
    vertical-align: bottom;
    animation: cursor-blink 1s infinite;
    margin-left: 2px;
}

/* Table Styles */
.message .markdown-table {
    width: 100%;
    margin: 16px 0;
    border-collapse: collapse;
    background-color: var(--background-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px var(--shadow-color);
}

.message .markdown-table td {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background-color: var(--background-primary);
}

.message .markdown-table tr:nth-child(even) td {
    background-color: var(--background-secondary);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .message blockquote {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .message code {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .message pre {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .message .markdown-table td {
        border-color: var(--border-color);
    }
}

/* User message specific styles */
.user-message code {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.user-message pre {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-message blockquote {
    border-left-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.user-message .markdown-table {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-message .markdown-table td {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* AI message specific styles */
.ai-message code {
    color: var(--text-primary);
}

.ai-message pre {
    background-color: var(--background-secondary);
}

.ai-message blockquote {
    border-left-color: var(--accent-color);
    background-color: var(--background-secondary);
}

.ai-message .markdown-table {
    border: 1px solid var(--border-color);
}

/* Message Animations */
@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Removed conflicting animation rule - specific animations handled by user-message and ai-message classes */

/* Links in Messages */
.ai-message a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.ai-message a:hover {
    border-bottom-color: var(--accent-color);
}

.user-message a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease;
}

.user-message a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Chat Input Styles */
.chat-input-container {
    position: relative;
    padding: 12px 16px;
    background: var(--background-primary);
    border-top: 1px solid var(--border-color);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #121214;
    border-radius: 24px;
    padding: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.input-wrapper:focus-within {
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
}

.attachment-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #9A9A9E;
    cursor: pointer;
    transition: all 0.2s ease;
}

.attachment-button:hover {
    color: #0A84FF;
    background: rgba(10, 132, 255, 0.1);
}

#userInput {
    flex: 1;
    min-height: 24px;
    max-height: 120px;
    padding: 8px;
    background: transparent;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #F5F5F7;
    resize: none;
}

#userInput::placeholder {
    color: #9A9A9E;
}

#userInput:focus {
    outline: none;
}

/* ENHANCED SEND BUTTON */
.send-button {
    position: relative;
    background: linear-gradient(45deg, #007AFF, #0066CC);
    border: none;
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 122, 255, 0.25),
        0 4px 16px rgba(0, 122, 255, 0.15);
    overflow: hidden;
}

.send-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.send-button:hover::before {
    opacity: 1;
}

.send-button:hover {
    transform: scale(1.05);
    box-shadow: 
        0 4px 12px rgba(0, 122, 255, 0.35),
        0 8px 24px rgba(0, 122, 255, 0.25);
}

.send-button:active {
    transform: scale(0.95);
}

.send-button:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: scale(0.95);
    opacity: 0.5;
    box-shadow: none;
}

/* STOP BUTTON */
.stop-button {
    position: relative;
    background: linear-gradient(45deg, #FF3B30, #FF2D20);
    border: none;
    color: white;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(255, 59, 48, 0.25),
        0 4px 16px rgba(255, 59, 48, 0.15);
    overflow: hidden;
}

.stop-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.stop-button:hover::before {
    opacity: 1;
}

.stop-button:hover {
    transform: scale(1.05);
    box-shadow: 
        0 4px 12px rgba(255, 59, 48, 0.35),
        0 8px 24px rgba(255, 59, 48, 0.25);
}

.stop-button:active {
    transform: scale(0.95);
}

.stop-button svg {
    width: 16px;
    height: 16px;
}

/* Image Preview Area */
.image-preview-area {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.image-preview-area::-webkit-scrollbar {
    display: none;
}

.image-preview {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-preview:hover .remove-image {
    opacity: 1;
}

/* Drag & Drop Styles */
.input-wrapper.drag-over {
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.3);
    background: rgba(10, 132, 255, 0.05);
}

/* Toast Styles */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Loading Bar Style */
.image-preview .loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #0A84FF;
    transition: width 0.3s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ENHANCED TYPING INDICATOR */
.typing-indicator {
    padding: 12px 16px;
    margin: 8px 0;
    max-width: 85%;
    border-radius: 24px;
    border-bottom-left-radius: 4px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInFromLeft 0.3s ease-out;
    position: relative;
}

/* Remove any ::before pseudo-element from typing indicator - MORE SPECIFIC */
.typing-indicator::before,
.message.typing-indicator::before,
.ai-message.typing-indicator::before,
#typingIndicator::before,
#typingIndicator::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* MODERN THINKING DOTS */
.thinking-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.thinking-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007AFF, #0066CC);
    animation: thinkingPulse 1.5s infinite;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.3);
}

.thinking-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.thinking-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes thinkingPulse {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.thinking-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.8;
}

/* Old typing animation for fallback */
.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}



@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* STREAMING & ANIMATION ENHANCEMENTS */
.streaming-text {
    position: relative;
}

.typing-cursor {
    color: var(--accent-color);
    animation: cursorBlink 1s infinite;
    font-weight: 400;
    margin-left: 2px;
}

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

.message.streaming {
    animation: messageGlow 2s ease-in-out infinite;
}

@keyframes messageGlow {
    0%, 100% { 
        box-shadow: 
            0 1px 4px rgba(0, 0, 0, 0.05),
            0 4px 12px rgba(0, 0, 0, 0.05);
    }
    50% { 
        box-shadow: 
            0 1px 4px rgba(0, 0, 0, 0.05),
            0 4px 12px rgba(0, 0, 0, 0.05),
            0 0 20px rgba(0, 122, 255, 0.1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ENHANCED MESSAGE ANIMATIONS */
.user-message {
    animation: slideInFromRight 0.3s ease-out;
}

.ai-message {
    animation: slideInFromLeft 0.3s ease-out;
}

/* MICRO-INTERACTIONS */
.user-message:hover,
.ai-message:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Markdown Table Styles */
.markdown-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    background: var(--glass-bg);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.9em;
}

.markdown-table th,
.markdown-table td {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.markdown-table th {
    background: var(--background-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.markdown-table tr:nth-child(even) {
    background: var(--background-secondary);
}

/* Session Management Styles */
.session-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
    opacity: 0.8;
}

.session-toast {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback animation for messages that don't have specific animations */
.message:not(.user-message):not(.ai-message) {
    animation: fadeIn 0.3s ease-out;
}

/* Sessions Panel */
.sessions-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.sessions-button:hover {
    background-color: var(--background-secondary);
}

.sessions-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sessions-panel.show {
    right: 0;
}

.sessions-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sessions-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.close-sessions {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-sessions:hover {
    background-color: var(--background-secondary);
}

.sessions-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.session-item {
    padding: 12px;
    border-radius: 12px;
    background-color: var(--background-secondary);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.session-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.session-item.active {
    border-color: var(--accent-color);
    background-color: var(--message-user-bg);
}

.session-item-title {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.session-item-date {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Remove API Key Prompt Styles */
.api-key-prompt,
.api-key-input-container,
.api-key-input,
.api-key-button,
.api-key-help {
    display: none;
}

/* Toast Styles */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =============================================================================
   ENHANCED CHATBOT STYLES - COMPLETE
   Modern, fluid, responsive design with animations and smooth interactions
   ============================================================================= */
