@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Components/AssistantSelection.razor.rz.scp.css */
/* All Recent Chats modal styles have been moved to wwwroot/css/app.css for better dark mode support and global visibility */
/* /Components/ConversationManager.razor.rz.scp.css */
.conversation-manager[b-oewxufr6h5] {
    margin-bottom: 1rem;
}

.conversation-controls[b-oewxufr6h5] {
    background: var(--bs-light);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);
}

.current-conversation-info[b-oewxufr6h5] {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--bs-white);
    border-radius: 0.25rem;
}

/* Modal Backdrop */
.conversation-modal-backdrop[b-oewxufr6h5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn-b-oewxufr6h5 0.2s ease-out;
}

/* Modal Container */
.conversation-modal[b-oewxufr6h5] {
    background: var(--bs-white);
    border-radius: 0.75rem;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideUp-b-oewxufr6h5 0.3s ease-out;
}

/* Modal Header */
.conversation-modal-header[b-oewxufr6h5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-light);
    border-radius: 0.75rem 0.75rem 0 0;
}

.conversation-modal-title[b-oewxufr6h5] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--bs-dark) !important;
}

.conversation-count[b-oewxufr6h5] {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--bs-secondary);
    margin-left: 0.5rem;
}

.conversation-modal-close[b-oewxufr6h5] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--bs-secondary);
    padding: 0.25rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.conversation-modal-close:hover[b-oewxufr6h5] {
    color: var(--bs-dark);
    background: rgba(0, 0, 0, 0.05);
}

/* Modal Body */
.conversation-modal-body[b-oewxufr6h5] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

/* Empty State */
.empty-state[b-oewxufr6h5] {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--bs-secondary);
}

.empty-state i[b-oewxufr6h5] {
    font-size: 3rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
}

.empty-state p[b-oewxufr6h5] {
    margin: 0.5rem 0;
    font-size: 1.125rem;
}

.empty-state small[b-oewxufr6h5] {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Conversation List */
.conversation-list[b-oewxufr6h5] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
}

/* Conversation Item */
.conversation-item[b-oewxufr6h5] {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bs-white);
}

.conversation-item:hover[b-oewxufr6h5] {
    background: var(--bs-light);
    border-color: var(--bs-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.conversation-item.active[b-oewxufr6h5] {
    background: var(--bs-primary-bg-subtle);
    border-color: var(--bs-primary);
}

.conversation-item-content[b-oewxufr6h5] {
    padding: 1rem;
}

.conversation-item-header[b-oewxufr6h5] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.conversation-title[b-oewxufr6h5] {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--bs-dark);
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.conversation-title i[b-oewxufr6h5] {
    font-size: 0.875rem;
    color: var(--bs-primary);
}

.delete-btn[b-oewxufr6h5] {
    background: none;
    border: 1px solid var(--bs-danger);
    color: var(--bs-danger);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.7;
}

.delete-btn:hover[b-oewxufr6h5] {
    background: var(--bs-danger);
    color: white;
    opacity: 1;
}

.conversation-preview[b-oewxufr6h5] {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    color: var(--bs-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-meta[b-oewxufr6h5] {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--bs-secondary);
}

.meta-item[b-oewxufr6h5] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.meta-item i[b-oewxufr6h5] {
    font-size: 0.75rem;
}

/* Loading */
.loading-spinner[b-oewxufr6h5] {
    text-align: center;
    padding: 1rem;
}

.spin[b-oewxufr6h5] {
    animation: spin-b-oewxufr6h5 1s linear infinite;
    font-size: 2rem;
    color: var(--bs-primary);
}

/* Animations */
@keyframes spin-b-oewxufr6h5 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn-b-oewxufr6h5 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-oewxufr6h5 {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .conversation-modal-backdrop[b-oewxufr6h5] {
        padding: 0.5rem;
        align-items: center;
    }

    .conversation-modal[b-oewxufr6h5] {
        max-width: 100%;
        max-height: 85vh;
        margin: 0;
        border-radius: 0.75rem;
        animation: slideUp-b-oewxufr6h5 0.3s ease-out;
    }

    .conversation-modal-header[b-oewxufr6h5] {
        padding: 1rem;
    }

    .conversation-modal-title[b-oewxufr6h5] {
        font-size: 1.125rem;
    }

    .conversation-item-content[b-oewxufr6h5] {
        padding: 0.875rem;
    }

    .conversation-title[b-oewxufr6h5] {
        font-size: 0.9375rem;
    }

    .conversation-preview[b-oewxufr6h5] {
        font-size: 0.8125rem;
    }

    .conversation-meta[b-oewxufr6h5] {
        font-size: 0.6875rem;
        gap: 0.75rem;
    }

    .delete-btn[b-oewxufr6h5] {
        padding: 0.125rem 0.375rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .conversation-modal-backdrop[b-oewxufr6h5] {
        padding: 0;
        align-items: flex-end;
    }

    .conversation-modal[b-oewxufr6h5] {
        max-width: 100%;
        max-height: 85vh;
        margin: 0;
        border-radius: 1rem 1rem 0 0;
        animation: slideUpMobile-b-oewxufr6h5 0.3s ease-out;
    }

    .conversation-modal-header[b-oewxufr6h5] {
        padding: 1rem;
    }

    .conversation-modal-title[b-oewxufr6h5] {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .conversation-modal[b-oewxufr6h5] {
        max-height: 90vh;
    }

    .conversation-modal-header[b-oewxufr6h5] {
        padding: 0.875rem;
    }

    .conversation-modal-title[b-oewxufr6h5] {
        font-size: 0.95rem;
    }

    .conversation-item-content[b-oewxufr6h5] {
        padding: 0.75rem;
    }
}

@keyframes slideUpMobile-b-oewxufr6h5 {
    from { 
        transform: translateY(100%);
    }
    to { 
        transform: translateY(0);
    }
}

/* Dark mode support */
[data-theme="dark"] .conversation-modal-backdrop[b-oewxufr6h5] {
    background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .conversation-modal[b-oewxufr6h5] {
    background: var(--bs-dark);
    color: var(--bs-light);
}

[data-theme="dark"] .conversation-modal-header[b-oewxufr6h5] {
    background: var(--bs-gray-800);
    border-color: var(--bs-gray-700);
}

[data-theme="dark"] .conversation-modal-title[b-oewxufr6h5] {
    color: var(--bs-light) !important;
}

[data-theme="dark"] .conversation-modal-close[b-oewxufr6h5] {
    color: var(--bs-gray-400);
}

[data-theme="dark"] .conversation-modal-close:hover[b-oewxufr6h5] {
    color: var(--bs-light);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .conversation-item[b-oewxufr6h5] {
    background: var(--bs-gray-800);
    border-color: var(--bs-gray-700);
}

[data-theme="dark"] .conversation-item:hover[b-oewxufr6h5] {
    background: var(--bs-gray-700);
}

[data-theme="dark"] .conversation-item.active[b-oewxufr6h5] {
    background: rgba(13, 110, 253, 0.15);
}

[data-theme="dark"] .conversation-title[b-oewxufr6h5] {
    color: var(--bs-light);
}

[data-theme="dark"] .conversation-preview[b-oewxufr6h5] {
    color: var(--bs-gray-400);
}

[data-theme="dark"] .conversation-meta[b-oewxufr6h5] {
    color: var(--bs-gray-500);
}

[data-theme="dark"] .delete-btn[b-oewxufr6h5] {
    border-color: var(--bs-danger);
    color: var(--bs-danger);
}

[data-theme="dark"] .empty-state[b-oewxufr6h5] {
    color: var(--bs-gray-400);
}

/* Existing styles for conversation controls */
[data-theme="dark"] .conversation-controls[b-oewxufr6h5] {
    background: var(--bs-dark);
}

[data-theme="dark"] .current-conversation-info[b-oewxufr6h5] {
    background: var(--bs-gray-800);
}
/* /Components/Footer.razor.rz.scp.css */
  .footer-link[b-t35rjmxc3t] {
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        color: #4b5563;
        text-decoration: none;
        transition: all 0.2s;
    }

    .footer-link:hover[b-t35rjmxc3t] {
        background: linear-gradient(to right, #3b82f6, #8b5cf6);
        color: white;
        text-decoration: none;
    }

    .gap-3[b-t35rjmxc3t] {
        gap: 1rem;
    }
/* /Components/LeftSidebar.razor.rz.scp.css */
/* Left Sidebar - ChatGPT-style floating overlay */
.left-sidebar[b-itzhmsckjn] {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.left-sidebar.expanded[b-itzhmsckjn] {
    transform: translateX(0);
}

.left-sidebar.collapsed[b-itzhmsckjn] {
    width: 60px;
    transform: translateX(0);
    cursor: pointer;
}

.left-sidebar.collapsed:hover[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.05);
}

/* Sidebar Toggle Button */
.sidebar-toggle[b-itzhmsckjn] {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #374151;
}

.sidebar-toggle:hover[b-itzhmsckjn] {
    background: #f8f9fa;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Bottom Toggle Button */
.sidebar-toggle-bottom[b-itzhmsckjn] {
    top: auto;
    bottom: 20px;
}

/* Sidebar Content */
.sidebar-content[b-itzhmsckjn] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 16px 16px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.sidebar-content[b-itzhmsckjn]::-webkit-scrollbar {
    width: 4px;
}

.sidebar-content[b-itzhmsckjn]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content[b-itzhmsckjn]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

/* Logo Section */
.sidebar-logo[b-itzhmsckjn] {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sneos-brand[b-itzhmsckjn] {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: #3b82f6;
    transition: all 0.2s ease;
}

.sneos-brand:hover[b-itzhmsckjn] {
    color: #2563eb;
}

.sneos-icon[b-itzhmsckjn] {
    font-size: 1.5rem;
    margin-right: 8px;
}

.collapsed .sneos-text[b-itzhmsckjn] {
    display: none;
}

/* Section Titles */
.sidebar-section[b-itzhmsckjn] {
    margin-bottom: 24px;
}

.sidebar-section-title[b-itzhmsckjn] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.collapsed .sidebar-section-title[b-itzhmsckjn] {
    display: none;
}

/* Model Selection */
.model-selection-grid[b-itzhmsckjn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.model-button[b-itzhmsckjn] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    text-align: left;
}

.model-button:hover[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.model-button.selected[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #1d4ed8;
}

.model-button i[b-itzhmsckjn] {
    margin-right: 8px;
    font-size: 1rem;
}

.model-name[b-itzhmsckjn] {
    flex: 1;
}

/* Search Box */
.search-box[b-itzhmsckjn] {
    position: relative;
}

.search-icon[b-itzhmsckjn] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    z-index: 1;
}

.search-input[b-itzhmsckjn] {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.search-input:focus[b-itzhmsckjn] {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Conversation History */
.conversation-history[b-itzhmsckjn] {
    flex: 1;
    min-height: 0;
}

.conversation-list[b-itzhmsckjn] {
    flex: 1;
    overflow-y: auto;
}

.conversation-item[b-itzhmsckjn] {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

.conversation-item:hover[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.1);
}

.conversation-item.active[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.conversation-title[b-itzhmsckjn] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-date[b-itzhmsckjn] {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
}

/* Navigation Links */
.nav-links[b-itzhmsckjn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-link[b-itzhmsckjn] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #6b7280;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.nav-link:hover[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    text-decoration: none;
}

.nav-link.active[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
    font-weight: 500;
}

.nav-link i[b-itzhmsckjn] {
    margin-right: 12px;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.collapsed .nav-link span[b-itzhmsckjn] {
    display: none;
}

.collapsed .nav-link[b-itzhmsckjn] {
    justify-content: center;
    padding: 10px;
}

.collapsed .nav-link i[b-itzhmsckjn] {
    margin-right: 0;
}

.collapsed-nav .sidebar-section-title[b-itzhmsckjn] {
    display: none;
}

/* User Settings */
.user-settings[b-itzhmsckjn] {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.settings-row[b-itzhmsckjn] {
    margin-bottom: 12px;
}

.user-info[b-itzhmsckjn] {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
}

.user-avatar[b-itzhmsckjn] {
    margin-right: 12px;
    font-size: 1.5rem;
    color: #6b7280;
}

.user-details[b-itzhmsckjn] {
    flex: 1;
}

.user-name[b-itzhmsckjn] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.2;
}

.user-actions[b-itzhmsckjn] {
    margin-left: 8px;
}

.user-action-link[b-itzhmsckjn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-action-link:hover[b-itzhmsckjn] {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    text-decoration: none;
}

.btn-ghost[b-itzhmsckjn] {
    background: transparent;
    border: 1px solid transparent;
    padding: 4px 8px;
    border-radius: 4px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.btn-ghost:hover[b-itzhmsckjn] {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

/* Sidebar Overlay */
.sidebar-overlay[b-itzhmsckjn] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn-b-itzhmsckjn 0.2s ease forwards;
}

@keyframes fadeIn-b-itzhmsckjn {
    to {
        opacity: 1;
    }
}

/* Dark Mode Support */
.dark-mode .left-sidebar[b-itzhmsckjn] {
    background: rgba(30, 41, 59, 0.95);
    border-right-color: rgba(71, 85, 105, 0.3);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .sidebar-toggle[b-itzhmsckjn] {
    background: #334155;
    border-color: rgba(71, 85, 105, 0.5);
    color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark-mode .sidebar-toggle:hover[b-itzhmsckjn] {
    background: #475569;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.dark-mode .sidebar-toggle-bottom[b-itzhmsckjn] {
    background: #334155;
    border-color: rgba(71, 85, 105, 0.5);
    color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dark-mode .sidebar-logo[b-itzhmsckjn] {
    border-bottom-color: rgba(71, 85, 105, 0.3);
}

.dark-mode .sneos-brand[b-itzhmsckjn] {
    color: #60a5fa;
}

.dark-mode .sneos-brand:hover[b-itzhmsckjn] {
    color: #93c5fd;
}

.dark-mode .sidebar-section-title[b-itzhmsckjn] {
    color: #94a3b8;
}

.dark-mode .model-button[b-itzhmsckjn] {
    border-color: rgba(71, 85, 105, 0.3);
    color: #e2e8f0;
}

.dark-mode .model-button:hover[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.1);
    border-color: rgba(60, 165, 246, 0.3);
}

.dark-mode .model-button.selected[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.2);
    border-color: #60a5fa;
    color: #93c5fd;
}

.dark-mode .search-input[b-itzhmsckjn] {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(71, 85, 105, 0.3);
    color: #e2e8f0;
}

.dark-mode .search-input[b-itzhmsckjn]::placeholder {
    color: #94a3b8;
}

.dark-mode .search-input:focus[b-itzhmsckjn] {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 246, 0.1);
}

.dark-mode .conversation-item:hover[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.1);
}

.dark-mode .conversation-item.active[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.2);
    border-color: rgba(60, 165, 246, 0.3);
}

.dark-mode .conversation-title[b-itzhmsckjn] {
    color: #e2e8f0;
}

.dark-mode .conversation-date[b-itzhmsckjn] {
    color: #94a3b8;
}

.dark-mode .nav-link[b-itzhmsckjn] {
    color: #94a3b8;
}

.dark-mode .nav-link:hover[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.1);
    color: #60a5fa;
}

.dark-mode .nav-link.active[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.2);
    color: #93c5fd;
}

.dark-mode .user-settings[b-itzhmsckjn] {
    border-top-color: rgba(71, 85, 105, 0.3);
}

.dark-mode .user-info[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.1);
}

.dark-mode .user-name[b-itzhmsckjn] {
    color: #e2e8f0;
}

.dark-mode .user-action-link[b-itzhmsckjn] {
    color: #94a3b8;
}

.dark-mode .user-action-link:hover[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.1);
    color: #60a5fa;
}

.dark-mode .btn-ghost[b-itzhmsckjn] {
    color: #94a3b8;
}

.dark-mode .btn-ghost:hover[b-itzhmsckjn] {
    background: rgba(71, 85, 105, 0.3);
    color: #e2e8f0;
}

.dark-mode .left-sidebar.collapsed:hover[b-itzhmsckjn] {
    background: rgba(60, 165, 246, 0.1);
}

/* Mobile and Tablet Responsive - Hide sidebar when nav-pills are shown */
@media (max-width: 991px) {
    .left-sidebar[b-itzhmsckjn] {
        width: 260px;
        /* Hide by default on mobile/tablet */
        transform: translateX(-100%) !important;
    }
    
    .left-sidebar.collapsed[b-itzhmsckjn] {
        /* Keep hidden when collapsed on mobile/tablet */
        transform: translateX(-100%) !important;
    }
    
    .left-sidebar.expanded[b-itzhmsckjn] {
        /* Allow expansion on mobile/tablet only when explicitly expanded */
        transform: translateX(0) !important;
    }
    
    .sidebar-toggle[b-itzhmsckjn] {
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-width: 2px;
    }
    
    .sidebar-toggle-bottom[b-itzhmsckjn] {
        bottom: 20px;
    }
}

/* Desktop - Show sidebar in collapsed state by default */
@media (min-width: 992px) {
    .left-sidebar.collapsed[b-itzhmsckjn] {
        width: 60px;
        transform: translateX(0);
    }
}
/* /Components/MobileBottomNav.razor.rz.scp.css */
/* Old FAB styles removed - now using inline FAB integrated with nav-pills */

/* Bottom Sheet Overlay */
.bottom-sheet-overlay[b-6sa5oiif09] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2147483646; /* Just below FAB button */
    backdrop-filter: blur(4px);
    animation: fadeIn-b-6sa5oiif09 0.3s ease;
}

@keyframes fadeIn-b-6sa5oiif09 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Sidebar Popup */
.mobile-sidebar-popup[b-6sa5oiif09] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    overflow: hidden;
    animation: slideUp-b-6sa5oiif09 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 2147483645; /* High z-index for mobile popup */
}

@keyframes slideUp-b-6sa5oiif09 {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Popup Header */
.popup-header[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.popup-handle[b-6sa5oiif09] {
    width: 36px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.brand-section[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon[b-6sa5oiif09] {
    font-size: 24px;
    color: #3b82f6;
}

.brand-text[b-6sa5oiif09] {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.close-button[b-6sa5oiif09] {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.close-button:hover[b-6sa5oiif09] {
    background: #f3f4f6;
    color: #374151;
}

/* Popup Content */
.popup-content[b-6sa5oiif09] {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

/* Navigation Section */
.nav-section[b-6sa5oiif09] {
    margin-bottom: 24px;
}

.nav-item[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.nav-item:hover[b-6sa5oiif09] {
    background: #f9fafb;
    color: #1f2937;
    text-decoration: none;
}

.nav-item.active[b-6sa5oiif09] {
    background: #eff6ff;
    color: #2563eb;
}

.nav-item i[b-6sa5oiif09] {
    font-size: 18px;
    width: 20px;
}

/* Conversations Section */
.conversations-section[b-6sa5oiif09] {
    margin-bottom: 24px;
}

.section-title[b-6sa5oiif09] {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.loading-spinner[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #6b7280;
}

.conversations-list[b-6sa5oiif09] {
    max-height: 200px;
    overflow-y: auto;
}

.conversation-item[b-6sa5oiif09] {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.conversation-item:hover[b-6sa5oiif09] {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.conversation-item.active[b-6sa5oiif09] {
    background: #eff6ff;
    border-color: #3b82f6;
}

.conversation-title[b-6sa5oiif09] {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-meta[b-6sa5oiif09] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

.no-conversations[b-6sa5oiif09] {
    text-align: center;
    color: #9ca3af;
    padding: 20px;
    font-size: 14px;
}

/* User Section */
.user-section[b-6sa5oiif09] {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
}

.auth-button[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    justify-content: center;
}

.auth-button:hover[b-6sa5oiif09] {
    background: #2563eb;
    color: white;
    text-decoration: none;
}

.user-info[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar i[b-6sa5oiif09] {
    font-size: 32px;
    color: #6b7280;
}

.user-details[b-6sa5oiif09] {
    flex: 1;
}

.user-name[b-6sa5oiif09] {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.user-actions[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-badge[b-6sa5oiif09] {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.premium-badge:hover[b-6sa5oiif09] {
    background: #059669;
    color: white;
    text-decoration: none;
}

.logout-button[b-6sa5oiif09] {
    background: none;
    border: none;
    color: #dc2626;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logout-button:hover[b-6sa5oiif09] {
    background: #fef2f2;
    color: #b91c1c;
}

/* Footer Section */
.footer-section[b-6sa5oiif09] {
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

.footer-link[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.footer-link:hover[b-6sa5oiif09] {
    background: #f9fafb;
    color: #374151;
    text-decoration: none;
}

.footer-link i[b-6sa5oiif09] {
    font-size: 16px;
    width: 16px;
}

.dark-mode-section[b-6sa5oiif09] {
    padding: 8px 16px;
    margin-bottom: 4px;
}

.dark-mode-row[b-6sa5oiif09] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.overlay-close-button[b-6sa5oiif09] {
    width: auto; /* Auto width for text */
    height: 56px; /* Match FAB height */
    min-width: 80px; /* Minimum width for text */
    padding: 0 16px; /* Horizontal padding for text */
    border-radius: 28px; /* Pill shape for text button */
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(239, 68, 68, 0.9)); /* Orange-red gradient */
    border: 2px solid rgba(255, 255, 255, 0.2); /* Match FAB border style */
    color: white; /* White text */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4); /* Orange shadow */
    backdrop-filter: blur(10px); /* Match FAB backdrop filter */
    opacity: 0.95; /* Match FAB opacity */
    font-size: 14px;
    font-weight: 500;
}

.overlay-close-button:hover[b-6sa5oiif09] {
    background: linear-gradient(135deg, rgba(249, 115, 22, 1), rgba(239, 68, 68, 1)); /* Full opacity gradient */
    border-color: rgba(255, 255, 255, 0.3); /* Match FAB hover border */
    transform: scale(1.08); /* Match FAB hover scale */
    opacity: 1;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6); /* Orange shadow */
}

.overlay-close-button:active[b-6sa5oiif09] {
    transform: scale(0.92); /* Match FAB active scale */
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3); /* Orange shadow */
}

/* Manual Dark Mode Styles - highest priority */
[data-theme="dark"] .mobile-sidebar-popup[b-6sa5oiif09],
.dark-mode .mobile-sidebar-popup[b-6sa5oiif09] {
    background: #1f2937 !important;
    color: #f9fafb !important;
}

[data-theme="dark"] .popup-header[b-6sa5oiif09],
.dark-mode .popup-header[b-6sa5oiif09] {
    border-bottom-color: #374151 !important;
}

[data-theme="dark"] .brand-text[b-6sa5oiif09],
.dark-mode .brand-text[b-6sa5oiif09] {
    color: #f9fafb !important;
}

[data-theme="dark"] .close-button[b-6sa5oiif09],
.dark-mode .close-button[b-6sa5oiif09] {
    color: #9ca3af !important;
}

[data-theme="dark"] .close-button:hover[b-6sa5oiif09],
.dark-mode .close-button:hover[b-6sa5oiif09] {
    background: #374151 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .nav-item[b-6sa5oiif09],
.dark-mode .nav-item[b-6sa5oiif09] {
    color: #d1d5db !important;
}

[data-theme="dark"] .nav-item:hover[b-6sa5oiif09],
.dark-mode .nav-item:hover[b-6sa5oiif09] {
    background: #374151 !important;
    color: #f9fafb !important;
}

[data-theme="dark"] .nav-item.active[b-6sa5oiif09],
.dark-mode .nav-item.active[b-6sa5oiif09] {
    background: #1e40af !important;
    color: #60a5fa !important;
}

[data-theme="dark"] .section-title[b-6sa5oiif09],
.dark-mode .section-title[b-6sa5oiif09] {
    color: #f9fafb !important;
}

[data-theme="dark"] .conversation-item:hover[b-6sa5oiif09],
.dark-mode .conversation-item:hover[b-6sa5oiif09] {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

[data-theme="dark"] .conversation-item.active[b-6sa5oiif09],
.dark-mode .conversation-item.active[b-6sa5oiif09] {
    background: #1e40af !important;
    border-color: #3b82f6 !important;
}

[data-theme="dark"] .conversation-title[b-6sa5oiif09],
.dark-mode .conversation-title[b-6sa5oiif09] {
    color: #f9fafb !important;
}

[data-theme="dark"] .user-section[b-6sa5oiif09],
.dark-mode .user-section[b-6sa5oiif09] {
    background: #374151 !important;
}

[data-theme="dark"] .user-name[b-6sa5oiif09],
.dark-mode .user-name[b-6sa5oiif09] {
    color: #f9fafb !important;
}

[data-theme="dark"] .footer-section[b-6sa5oiif09],
.dark-mode .footer-section[b-6sa5oiif09] {
    border-top-color: #374151 !important;
}

[data-theme="dark"] .footer-link[b-6sa5oiif09],
.dark-mode .footer-link[b-6sa5oiif09] {
    color: #9ca3af !important;
}

[data-theme="dark"] .footer-link:hover[b-6sa5oiif09],
.dark-mode .footer-link:hover[b-6sa5oiif09] {
    background: #374151 !important;
    color: #f3f4f6 !important;
}

[data-theme="dark"] .overlay-close-button[b-6sa5oiif09],
.dark-mode .overlay-close-button[b-6sa5oiif09] {
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.9), rgba(248, 113, 113, 0.9)) !important; /* Pink-red gradient for dark mode */
    border-color: rgba(255, 255, 255, 0.15) !important; /* Match FAB dark mode border */
    color: white !important; /* Keep white text */
    box-shadow: 0 4px 16px rgba(251, 113, 133, 0.4) !important; /* Pink shadow */
}

[data-theme="dark"] .overlay-close-button:hover[b-6sa5oiif09],
.dark-mode .overlay-close-button:hover[b-6sa5oiif09] {
    background: linear-gradient(135deg, rgba(251, 113, 133, 1), rgba(248, 113, 113, 1)) !important; /* Full opacity gradient */
    border-color: rgba(255, 255, 255, 0.25) !important; /* Match FAB hover border */
    box-shadow: 0 6px 20px rgba(251, 113, 133, 0.6) !important; /* Pink shadow */
}

/* OS preference - only when no manual override */
@media (prefers-color-scheme: dark) {
    html:not([data-theme]) .mobile-sidebar-popup[b-6sa5oiif09] {
        background: #1f2937;
        color: #f9fafb;
    }
    
    html:not([data-theme]) .popup-header[b-6sa5oiif09] {
        border-bottom-color: #374151;
    }
    
    html:not([data-theme]) .brand-text[b-6sa5oiif09] {
        color: #f9fafb;
    }
    
    html:not([data-theme]) .close-button[b-6sa5oiif09] {
        color: #9ca3af;
    }
    
    html:not([data-theme]) .close-button:hover[b-6sa5oiif09] {
        background: #374151;
        color: #f3f4f6;
    }
    
    html:not([data-theme]) .nav-item[b-6sa5oiif09] {
        color: #d1d5db;
    }
    
    html:not([data-theme]) .nav-item:hover[b-6sa5oiif09] {
        background: #374151;
        color: #f9fafb;
    }
    
    html:not([data-theme]) .nav-item.active[b-6sa5oiif09] {
        background: #1e40af;
        color: #60a5fa;
    }
    
    html:not([data-theme]) .section-title[b-6sa5oiif09] {
        color: #f9fafb;
    }
    
    html:not([data-theme]) .conversation-item:hover[b-6sa5oiif09] {
        background: #374151;
        border-color: #4b5563;
    }
    
    html:not([data-theme]) .conversation-item.active[b-6sa5oiif09] {
        background: #1e40af;
        border-color: #3b82f6;
    }
    
    html:not([data-theme]) .conversation-title[b-6sa5oiif09] {
        color: #f9fafb;
    }
    
    html:not([data-theme]) .user-section[b-6sa5oiif09] {
        background: #374151;
    }
    
    html:not([data-theme]) .user-name[b-6sa5oiif09] {
        color: #f9fafb;
    }
    
    html:not([data-theme]) .footer-section[b-6sa5oiif09] {
        border-top-color: #374151;
    }
    
    html:not([data-theme]) .footer-link[b-6sa5oiif09] {
        color: #9ca3af;
    }
    
    html:not([data-theme]) .footer-link:hover[b-6sa5oiif09] {
        background: #374151;
        color: #f3f4f6;
    }
}

/* Small screens (max-width: 576px) - Adjust popup height */
@media (max-width: 576px) {
    .mobile-sidebar-popup[b-6sa5oiif09] {
        max-height: calc(100vh - 80px); /* Account for chat input height */
        max-height: calc(100dvh - 80px); /* Dynamic viewport height for mobile browsers */
    }
    
    .conversations-list[b-6sa5oiif09] {
        max-height: 180px; /* Increase height for better visibility */
    }
    
    .popup-content[b-6sa5oiif09] {
        padding: 0 16px 16px; /* Reduce padding on small screens */
    }
    
    .conversations-section[b-6sa5oiif09] {
        margin-bottom: 20px; /* Ensure proper spacing */
    }
    
    .conversation-item[b-6sa5oiif09] {
        padding: 14px 16px; /* Slightly larger touch targets */
        margin-bottom: 6px; /* Better spacing between items */
    }
}
/* /Components/ShareButton.razor.rz.scp.css */
  .screenshot-button[b-ad2a72fcxn] {
        width: 100%;
        height: 100%;
        border: none;
        background: transparent;
        color: inherit;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: inherit;
        transition: all 0.2s ease;
        position: relative;
    }

    .screenshot-button:disabled[b-ad2a72fcxn] {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .loading-spinner[b-ad2a72fcxn] {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(107, 114, 128, 0.3);
        border-radius: 50%;
        border-top-color: currentColor;
        animation: spin-b-ad2a72fcxn 1s linear infinite;
    }

    @keyframes spin-b-ad2a72fcxn {
        to { transform: rotate(360deg); }
    }
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-5xjof8hcjc] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.page.with-left-sidebar[b-5xjof8hcjc] {
    flex-direction: row;
}

main[b-5xjof8hcjc] {
    flex: 1;
}

.main-with-sidebar[b-5xjof8hcjc] {
    margin-left: 0;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Adjust main content when sidebar is present */
@media (min-width: 1025px) {
    .main-with-sidebar[b-5xjof8hcjc] {
        margin-left: 60px; /* Collapsed sidebar width */
    }
}

.sidebar[b-5xjof8hcjc] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-5xjof8hcjc] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5xjof8hcjc]  a, .top-row[b-5xjof8hcjc]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-5xjof8hcjc]  a:hover, .top-row[b-5xjof8hcjc]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-5xjof8hcjc]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-5xjof8hcjc] {
        justify-content: space-between;
    }

    .top-row[b-5xjof8hcjc]  a, .top-row[b-5xjof8hcjc]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-5xjof8hcjc] {
        flex-direction: row;
    }

    .sidebar[b-5xjof8hcjc] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5xjof8hcjc] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5xjof8hcjc]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-5xjof8hcjc], article[b-5xjof8hcjc] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-panojowh4b] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-panojowh4b] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-panojowh4b] {
    font-size: 1.1rem;
}

.bi[b-panojowh4b] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-panojowh4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-panojowh4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-panojowh4b] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-panojowh4b] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-panojowh4b] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-panojowh4b] {
        padding-bottom: 1rem;
    }

    .nav-item[b-panojowh4b]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-panojowh4b]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-panojowh4b]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-panojowh4b] {
        display: none;
    }

    .collapse[b-panojowh4b] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-panojowh4b] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/About.razor.rz.scp.css */
  .about-container[b-f6i9n58f42] {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-section[b-f6i9n58f42] {
        margin-bottom: 3rem;
    }

    .hero-title[b-f6i9n58f42] {
        font-family: 'Orbitron', monospace;
        font-size: 2.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 1rem;
    }

    .hero-subtitle[b-f6i9n58f42] {
        font-size: 1.25rem;
        color: #64748b;
        font-weight: 400;
        margin-bottom: 2rem;
    }

    .hero-divider[b-f6i9n58f42] {
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #60a5fa, #a78bfa);
        margin: 0 auto;
        border-radius: 2px;
    }

    .creator-section[b-f6i9n58f42] {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 3rem;
    }

    .creator-image-wrapper[b-f6i9n58f42] {
        position: relative;
        display: inline-block;
    }

    .creator-image[b-f6i9n58f42] {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center top;
        border: 4px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .social-link[b-f6i9n58f42] {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 8px;
        color: #3b82f6;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .social-link:hover[b-f6i9n58f42] {
        background: #3b82f6;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

    .section-title[b-f6i9n58f42] {
        font-size: 1.75rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1.5rem;
    }

    .creator-content[b-f6i9n58f42] {
        padding-left: 1rem;
    }

    .creator-bio[b-f6i9n58f42] {
        color: #475569;
        line-height: 1.7;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .content-card[b-f6i9n58f42] {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 2rem;
    }

    .platform-description[b-f6i9n58f42] {
        color: #475569;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
    }

    .feature-card[b-f6i9n58f42] {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        height: 100%;
    }

    .feature-title[b-f6i9n58f42] {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .feature-list[b-f6i9n58f42] {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .feature-list li[b-f6i9n58f42] {
        color: #475569;
        margin-bottom: 0.5rem;
        padding-left: 1.5rem;
        position: relative;
    }

    .feature-list li[b-f6i9n58f42]::before {
        content: "•";
        color: #a78bfa;
        font-size: 1.2rem;
        position: absolute;
        left: 0;
    }

    .how-it-works-text[b-f6i9n58f42] {
        color: #475569;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
    }

    .cta-section[b-f6i9n58f42] {
        margin-top: 3rem;
    }

    .cta-card[b-f6i9n58f42] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 2.5rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        text-align: center;
    }

    .cta-title[b-f6i9n58f42] {
        font-size: 2rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1.5rem;
    }

    .cta-description[b-f6i9n58f42] {
        color: #475569;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        font-size: 1.05rem;
    }

    .cta-tagline[b-f6i9n58f42] {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 2rem;
    }

    .cta-button[b-f6i9n58f42] {
        display: inline-block;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #ff416c, #ff4b2b);
        color: white;
        text-decoration: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(255, 65, 108, 0.3);
    }

    .cta-button:hover[b-f6i9n58f42] {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255, 65, 108, 0.4);
        color: white;
        text-decoration: none;
    }

    .launch-note[b-f6i9n58f42] {
        color: #64748b;
        font-size: 0.9rem;
        margin-top: 2rem;
        margin-bottom: 0;
        font-style: italic;
    }

    /* Dark Mode Styles */
    .dark-mode .about-container[b-f6i9n58f42] {
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #1e293b 100%);
    }

    .dark-mode .hero-subtitle[b-f6i9n58f42] {
        color: var(--text-secondary);
    }

    .dark-mode .creator-section[b-f6i9n58f42] {
        background: rgba(30, 41, 59, 0.7);
        border: 1px solid rgba(71, 85, 105, 0.3);
    }

    .dark-mode .creator-image[b-f6i9n58f42] {
        border: 4px solid rgba(71, 85, 105, 0.8);
    }

    .dark-mode .social-link[b-f6i9n58f42] {
        background: rgba(30, 41, 59, 0.8);
        border: 1px solid rgba(96, 165, 250, 0.3);
        color: #60a5fa;
    }

    .dark-mode .social-link:hover[b-f6i9n58f42] {
        background: #60a5fa;
        color: white;
    }

    .dark-mode .section-title[b-f6i9n58f42] {
        color: var(--text-primary);
    }

    .dark-mode .creator-bio[b-f6i9n58f42] {
        color: var(--text-secondary);
    }

    .dark-mode .content-card[b-f6i9n58f42] {
        background: rgba(30, 41, 59, 0.6);
        border: 1px solid rgba(71, 85, 105, 0.3);
    }

    .dark-mode .platform-description[b-f6i9n58f42] {
        color: var(--text-secondary);
    }

    .dark-mode .feature-card[b-f6i9n58f42] {
        background: rgba(30, 41, 59, 0.5);
        border: 1px solid rgba(71, 85, 105, 0.3);
    }

    .dark-mode .feature-title[b-f6i9n58f42] {
        color: var(--text-primary);
    }

    .dark-mode .feature-list li[b-f6i9n58f42] {
        color: var(--text-secondary);
    }

    .dark-mode .feature-list li[b-f6i9n58f42]::before {
        color: #a78bfa;
    }

    .dark-mode .how-it-works-text[b-f6i9n58f42] {
        color: var(--text-secondary);
    }

    .dark-mode .cta-card[b-f6i9n58f42] {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
        border: 1px solid rgba(71, 85, 105, 0.3);
    }

    .dark-mode .cta-title[b-f6i9n58f42] {
        color: var(--text-primary);
    }

    .dark-mode .cta-description[b-f6i9n58f42] {
        color: var(--text-secondary);
    }

    .dark-mode .cta-tagline[b-f6i9n58f42] {
        color: var(--text-primary);
    }

    .dark-mode .launch-note[b-f6i9n58f42] {
        color: var(--text-muted);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .about-container[b-f6i9n58f42] {
            padding: 1rem 0;
        }

        .hero-title[b-f6i9n58f42] {
            font-size: 2rem;
        }

        .creator-section[b-f6i9n58f42], .content-card[b-f6i9n58f42], .cta-card[b-f6i9n58f42] {
            padding: 1.5rem;
        }

        .creator-content[b-f6i9n58f42] {
            padding-left: 0;
            margin-top: 1rem;
        }
    }
/* /Pages/ChatHub.razor.rz.scp.css */

/* CSS Variables for Theming */
:root[b-g82b5ulz0i] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --chat-user-bg: rgba(59, 130, 246, 0.1);
    --chat-ai-bg: #f3f4f6;
    --chat-window-bg: #ffffff;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --indicator-bg: rgba(255, 255, 255, 0.8);
    --nav-arrow-bg: rgba(255, 255, 255, 0.4);
    --nav-arrow-hover: rgba(255, 255, 255, 0.6);
    --comparison-bg: #f9fafb;
    --comparison-border: #e5e7eb;
    --loading-spinner: #3b82f6;
    
    /* UI Preferences - Dynamic font and button sizes */
    --chat-font-size: 1rem;
    --input-font-size: 1rem;
    --button-font-size: 1rem;
}

/* Dark mode variables */
[data-theme="dark"][b-g82b5ulz0i] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-light: #374151;
    --border-medium: #4b5563;
    --chat-user-bg: rgba(59, 130, 246, 0.2);
    --chat-ai-bg: #374151;
    --chat-window-bg: #1e293b;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --indicator-bg: rgba(30, 41, 59, 0.9);
    --nav-arrow-bg: rgba(30, 41, 59, 0.45);
    --nav-arrow-hover: rgba(30, 41, 59, 0.65);
    --comparison-bg: #1e293b;
    --comparison-border: #374151;
    --loading-spinner: #60a5fa;
}

/* Apply theming to body and main containers */
body.dark-mode[b-g82b5ulz0i] {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Remove padding from container-fluid for more space */
.container-fluid[b-g82b5ulz0i] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    /* Ensure container doesn't push content down */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Dark mode for Bootstrap components */
[data-theme="dark"] .card[b-g82b5ulz0i] {
    background-color: var(--bg-secondary);
    border-color: var(--border-light);
    color: var(--text-primary);
}

[data-theme="dark"] .card-body[b-g82b5ulz0i] {
    background-color: var(--chat-window-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .container-fluid[b-g82b5ulz0i] {
    background-color: var(--bg-primary);
}

/* Text color overrides for dark mode */
[data-theme="dark"] .text-white-50[b-g82b5ulz0i] {
    color: rgba(241, 245, 249, 0.5) !important;
}

[data-theme="dark"] .text-dark[b-g82b5ulz0i] {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .text-muted[b-g82b5ulz0i] {
    color: var(--text-muted) !important;
}

/* Chat Container */
.chat-container[b-g82b5ulz0i] {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 0;
    margin-top: 0; /* Remove any top margin that creates gap */
    box-sizing: border-box;
    max-width: 100%;
    isolation: isolate;
    /* Reduced height to move chat input up by 17px total */
    min-height: calc(100vh - 197px);
    min-height: calc(100dvh - 197px);
}

/* Mobile-specific chat container height */
@media (max-width: 991px) {
    .chat-container[b-g82b5ulz0i] {
        /* Reduce container height to eliminate excess space above chat input */
        min-height: calc(100vh - 137px);
        min-height: calc(100dvh - 137px);
        min-height: calc(100svh - 137px);
    }
}

/* Ensure main container doesn't get affected by wide content */
body[b-g82b5ulz0i] {
    overflow-x: hidden !important; /* Prevent horizontal page scroll */
    max-width: 100vw !important;
}

.container-fluid[b-g82b5ulz0i] {
    overflow-x: hidden !important; /* Prevent container from expanding */
    max-width: 100vw !important;
}

/* Prevent message content from causing horizontal overflow - but not layout elements */
.chat-user-message[b-g82b5ulz0i],
.chat-ai-message[b-g82b5ulz0i],
.chat-user-message *[b-g82b5ulz0i],
.chat-ai-message *[b-g82b5ulz0i],
.comparison-container *[b-g82b5ulz0i] {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Only apply max-width to message content, not layout elements */
.chat-user-message .text-break[b-g82b5ulz0i],
.chat-ai-message .text-break[b-g82b5ulz0i],
.chat-user-message p[b-g82b5ulz0i],
.chat-ai-message p[b-g82b5ulz0i],
.chat-user-message span[b-g82b5ulz0i],
.chat-ai-message span[b-g82b5ulz0i],
.comparison-container .text-break[b-g82b5ulz0i],
.comparison-container p[b-g82b5ulz0i] {
    max-width: 100% !important;
}

/* Chat Windows Container */
.chat-windows-container[b-g82b5ulz0i] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
    box-sizing: border-box;
    padding: 0; /* Removed all padding for more space */
}

/* Chat Windows Slider */
.chat-windows-slider[b-g82b5ulz0i] {
    display: flex;
    transition: transform 0.3s ease-out;
    width: 100%;
}

/* Chat Window Wrapper */
.chat-window-wrapper[b-g82b5ulz0i] {
    flex: 0 0 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Add transition to cards */
.card[b-g82b5ulz0i] {
    transition: all 0.3s ease;
}

.card-body[b-g82b5ulz0i] {
    transition: height 0.3s ease;
}

/* Mobile Indicator Pills */
.mobile-indicator[b-g82b5ulz0i] {
    display: none;
    justify-content: space-between; /* Space between nav-pills and FAB */
    align-items: center;
    margin-bottom: 2px; /* Minimal bottom margin */
    margin-top: 0;
    position: relative;
    z-index: 100010; /* High z-index to ensure FAB can stack above chat input */
    isolation: isolate; /* Create isolated stacking context for FAB */
    background-color: transparent;
    padding: 2px 8px; /* Reduced right padding to allow FAB overflow */
    width: 100%;
    box-sizing: border-box;
    overflow: visible; /* Allow FAB to extend beyond bounds */
}

/* Container for centered nav-pills */
.nav-pills-container[b-g82b5ulz0i] {
    display: flex;
    justify-content: center;
    flex: 1;
}

.indicator-pills[b-g82b5ulz0i] {
    display: flex;
    gap: 6px; /* Reduced from 8px */
    background-color: var(--indicator-bg);
    padding: 4px 10px; /* Reduced padding */
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    align-items: center;
}

/* FAB integrated with nav-pills - Large overlapping design */
.mobile-fab-inline[b-g82b5ulz0i] {
    width: 56px; /* Much larger for overlap effect */
    height: 56px; /* Much larger for overlap effect */
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.9)); /* Purple-blue gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px; /* Larger icon */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4); /* Purple shadow */
    backdrop-filter: blur(10px);
    opacity: 0.95;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    flex-shrink: 0;
    position: absolute;
    right: 0px;
    top: -90%;
    transform: translateY(-50%);
    z-index: 2147483647; /* Maximum z-index value to ensure it's above everything including chat input */
}

.mobile-fab-inline:hover[b-g82b5ulz0i] {
    background: linear-gradient(135deg, rgba(139, 92, 246, 1), rgba(59, 130, 246, 1)); /* Full opacity gradient */
    transform: translateY(-50%) scale(1.08); /* Maintain centering while scaling */
    opacity: 1;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6); /* More dramatic purple shadow */
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-fab-inline:active[b-g82b5ulz0i] {
    transform: translateY(-50%) scale(0.92); /* Maintain centering while scaling */
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* Dark mode support for inline FAB */
[data-theme="dark"] .mobile-fab-inline[b-g82b5ulz0i] {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.9), rgba(96, 165, 246, 0.9)); /* Lighter purple-blue gradient for dark mode */
    box-shadow: 0 4px 16px rgba(167, 139, 250, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .mobile-fab-inline:hover[b-g82b5ulz0i] {
    background: linear-gradient(135deg, rgba(167, 139, 250, 1), rgba(96, 165, 246, 1)); /* Full opacity gradient for dark mode */
    box-shadow: 0 6px 20px rgba(167, 139, 250, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

.indicator-pill[b-g82b5ulz0i] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    transition: all 0.3s ease;
}

.indicator-pill.active[b-g82b5ulz0i] {
    background-color: #3b82f6;
    width: 24px;
    border-radius: 4px;
}

/* Navigation Arrows */
.chat-nav-arrows[b-g82b5ulz0i] {
    position: absolute;
    top: 50%;
    width: 100%;
    display: none;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.chat-nav-arrow[b-g82b5ulz0i] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--nav-arrow-bg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    pointer-events: auto;
    font-size: 18px;
    transition: all 0.2s ease;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.chat-nav-arrow:hover:not(:disabled)[b-g82b5ulz0i] {
    background-color: var(--nav-arrow-hover);
    transform: scale(1.05);
}

.chat-nav-arrow:disabled[b-g82b5ulz0i] {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-nav-arrow.left[b-g82b5ulz0i] {
    margin-left: 10px;
}

.chat-nav-arrow.right[b-g82b5ulz0i] {
    margin-right: 10px;
}

/* Chat Message Styling */
.chat-user-message[b-g82b5ulz0i] {
    background-color: var(--chat-user-bg);
    color: var(--text-primary);
    animation: slideIn-b-g82b5ulz0i 0.3s ease-out;
    padding: 0.75rem !important; /* Reduced padding */
    font-size: var(--chat-font-size) !important;
    line-height: 1.5;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.chat-ai-message[b-g82b5ulz0i] {
    background-color: var(--chat-ai-bg);
    color: var(--text-primary);
    animation: slideIn-b-g82b5ulz0i 0.3s ease-out;
    padding: 0.75rem !important; /* Reduced padding */
    font-size: var(--chat-font-size) !important;
    line-height: 1.5;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Prevent long content from breaking layout */
.chat-user-message *[b-g82b5ulz0i],
.chat-ai-message *[b-g82b5ulz0i] {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

/* Handle code blocks and pre elements */
.chat-user-message pre[b-g82b5ulz0i],
.chat-ai-message pre[b-g82b5ulz0i] {
    overflow-x: auto !important;
    max-width: 100% !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
}

/* Handle tables in messages */
.chat-user-message table[b-g82b5ulz0i],
.chat-ai-message table[b-g82b5ulz0i] {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
}

/* Apply font size to chat content */
.chat-user-message .text-break[b-g82b5ulz0i],
.chat-ai-message .text-break[b-g82b5ulz0i],
.chat-user-message p[b-g82b5ulz0i],
.chat-ai-message p[b-g82b5ulz0i],
.chat-user-message li[b-g82b5ulz0i],
.chat-ai-message li[b-g82b5ulz0i] {
    font-size: var(--chat-font-size) !important;
}

.chat-timestamp[b-g82b5ulz0i] {
    color: var(--text-muted);
}

/* Comparison Section Styling */
.comparison-container[b-g82b5ulz0i] {
    background-color: var(--comparison-bg);
    border: 1px solid var(--comparison-border);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 10; /* Lower than chat input */
    margin-bottom: 0; /* No space above fixed chat container */
    max-width: 100%;
    width: 100%;
    overflow: hidden; /* Prevent content from breaking out */
    box-sizing: border-box;
    /* Ensure comparison container never causes horizontal scrolling */
    contain: layout;
}

.comparison-container .p-4[b-g82b5ulz0i] {
    overflow-x: auto; /* Enable horizontal scrolling for content */
    overflow-y: visible;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure tables and wide content scroll horizontally */
.comparison-container table[b-g82b5ulz0i] {
    min-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-container pre[b-g82b5ulz0i],
.comparison-container .prose[b-g82b5ulz0i] {
    overflow-x: auto;
    max-width: 100%;
}

/* Prevent wide content from breaking layout */
.comparison-container *[b-g82b5ulz0i] {
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* Override Tailwind's prose max-w-none specifically */
.comparison-container .prose.max-w-none[b-g82b5ulz0i] {
    max-width: 100% !important;
}

/* Override any Tailwind spacing utilities that might cause overflow */
.comparison-container .space-y-4 > * + *[b-g82b5ulz0i] {
    margin-top: 1rem !important;
    max-width: 100% !important;
}

.comparison-differences[b-g82b5ulz0i] {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Loading Spinner and Text */
.loading-spinner[b-g82b5ulz0i] {
    color: var(--loading-spinner);
    border-color: var(--border-light);
    border-top-color: var(--loading-spinner);
}

.loading-text[b-g82b5ulz0i] {
    color: var(--text-secondary);
}

.loading-subtext[b-g82b5ulz0i] {
    color: var(--text-muted);
}

/* Animation for messages */
.chat-user-message[b-g82b5ulz0i], .chat-ai-message[b-g82b5ulz0i] {
    animation: slideIn-b-g82b5ulz0i 0.3s ease-out;
}

@keyframes slideIn-b-g82b5ulz0i {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Premium Buttons Styling */
.premium-button-container[b-g82b5ulz0i] {
    margin-bottom: 0; /* No margin - touching the container below */
}

.premium-button-container .row[b-g82b5ulz0i] {
    margin-top: 0 !important; /* No top spacing */
}

/* Compact header for premium users */
.premium-compact-header[b-g82b5ulz0i] {
    margin-bottom: 0 !important; /* Touching the green container */
}

.premium-compact-header .col-12[b-g82b5ulz0i] {
    min-height: 3rem;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Ensure the absolutely positioned UI preferences stay within bounds */
    position: relative !important;
    padding-right: 60px !important; /* Reserve more space for the UI preferences button */
    overflow: hidden !important; /* Prevent button from escaping container */
}

.premium-compact-header .position-absolute[b-g82b5ulz0i] {
    right: 10px !important; /* Move button away from edge */
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Desktop premium buttons - hidden by default, shown at 1200px+ */
.desktop-premium-buttons[b-g82b5ulz0i] {
    display: none;
}

/* Mobile premium buttons in header - shown by default, hidden at 1200px+ */
.mobile-premium-buttons[b-g82b5ulz0i] {
    display: flex;
}

/* Mobile SNEOS logo in header - shown by default, hidden at 1200px+ */
.mobile-sneos-logo[b-g82b5ulz0i] {
    display: flex;
}

/* Prevent overlap between mobile buttons and SNEOS logo */
.mobile-buttons-container[b-g82b5ulz0i] {
    margin-right: 100px; /* Account for SNEOS logo width */
}

/* Hide mobile SNEOS logo when Premium badge is present to prevent overlap */
.hide-on-premium[b-g82b5ulz0i] {
    display: none !important;
}

/* When SNEOS logo is hidden, reduce margin on mobile buttons container */
.hide-on-premium ~ .mobile-buttons-container[b-g82b5ulz0i] {
    margin-right: 10px; /* Reduced margin when logo is hidden */
}

/* Responsive control for premium buttons and mobile logo */
@media (min-width: 992px) {
    .desktop-premium-buttons[b-g82b5ulz0i] {
        display: block !important;
    }
    
    .mobile-premium-buttons[b-g82b5ulz0i] {
        display: none !important;
    }
    
    .mobile-sneos-logo[b-g82b5ulz0i] {
        display: none !important;
    }
    
    .mobile-buttons-container[b-g82b5ulz0i] {
        margin-right: 0; /* Reset margin on desktop */
    }
}

/* Playful Premium Buttons for Desktop */
.premium-subscribe-button-playful[b-g82b5ulz0i] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: white;
    transition: all 0.3s ease;
    transform: scale(1);
}

.premium-subscribe-button-playful:hover[b-g82b5ulz0i] {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.premium-waiting-button-playful[b-g82b5ulz0i] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: scale(1);
}

.premium-waiting-button-playful:hover[b-g82b5ulz0i] {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.premium-subscribe-button-playful:active[b-g82b5ulz0i],
.premium-waiting-button-playful:active[b-g82b5ulz0i] {
    transform: scale(0.98);
    transition: all 0.1s ease;
}

/* Mobile Premium Buttons in Header */
.premium-mobile-button[b-g82b5ulz0i] {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive Layouts */
/* Desktop: Grid layout with 3 windows */
@media (min-width: 992px) {
    .chat-windows-container[b-g82b5ulz0i] {
        padding: 0 2px !important; /* Even less padding for maximum edge proximity */
    }
    
    .chat-windows-slider[b-g82b5ulz0i] {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* Use minmax to prevent overflow */
        gap: 4px !important; /* Minimal gap for maximum space utilization */
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        /* Override any mobile flexbox styles */
        flex-direction: unset !important;
    }
    
    .chat-window-wrapper[b-g82b5ulz0i] {
        flex: unset !important; /* Remove flexbox behavior for desktop grid */
        width: 100% !important;
        min-width: unset !important; /* Remove mobile min-width constraints */
        max-width: unset !important; /* Remove mobile max-width constraints */
        padding: 0;
        overflow: hidden !important; /* Contain content */
    }
    
    /* Special styling for first and last windows to extend closer to edges */
    .chat-window-wrapper:first-child[b-g82b5ulz0i] {
        padding-left: 0 !important;
    }
    
    .chat-window-wrapper:last-child[b-g82b5ulz0i] {
        padding-right: 0 !important;
    }
    
    .mobile-indicator[b-g82b5ulz0i] {
        display: none !important;
    }
    
    .chat-nav-arrows[b-g82b5ulz0i] {
        display: none !important;
    }
    
    /* Adjust chat window height for desktop */
    .card-body[b-g82b5ulz0i] {
        /* Further reduced height to move chat input up */
        height: calc(100dvh - 237px) !important;
        height: calc(100vh - 237px) !important; /* Fallback */
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Ensure cards don't overflow their containers */
    .card[b-g82b5ulz0i] {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* Hide scrollbar for Webkit browsers */
    .card-body[b-g82b5ulz0i]::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Premium users get taller chat windows due to compact header */
    .premium-compact-header ~ #chat-container .card-body[b-g82b5ulz0i] {
        height: calc(100dvh - 217px) !important;
        height: calc(100vh - 217px) !important; /* Fallback */
    }
}

/* Tablet and Mobile: Swipeable single window */
@media (max-width: 991px) {
    .chat-windows-container[b-g82b5ulz0i] {
        overflow-x: hidden !important;
        overflow-y: visible;
        padding: 0 !important; /* Remove padding on mobile */
    }
    
    /* Mobile comparison section */
    .comparison-container[b-g82b5ulz0i] {
        margin: 0 8px 0 8px !important; /* No bottom margin on mobile */
        border-radius: 12px !important;
        max-width: calc(100vw - 16px) !important; /* Prevent overflow beyond viewport */
        box-sizing: border-box !important;
        /* Force container to not exceed screen width */
        width: calc(100vw - 16px) !important;
        overflow-x: hidden !important;
    }
    
    .comparison-container .p-4[b-g82b5ulz0i] {
        padding: 16px !important; /* Adjust padding for mobile */
        overflow-x: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Force all content inside comparison to respect mobile boundaries */
    .comparison-container *[b-g82b5ulz0i] {
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Mobile table handling - prevent horizontal overflow */
    .comparison-container table[b-g82b5ulz0i] {
        font-size: 0.85rem !important; /* Smaller font for mobile */
        white-space: nowrap !important;
        display: block !important;
        overflow-x: auto !important;
        max-width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
        /* Force table to be scrollable horizontally without breaking layout */
        width: 100% !important;
        table-layout: fixed !important;
    }
    
    /* Make table cells more mobile-friendly */
    .comparison-container table td[b-g82b5ulz0i],
    .comparison-container table th[b-g82b5ulz0i] {
        min-width: 120px !important;
        padding: 8px !important;
        font-size: 0.8rem !important;
    }
    
    .comparison-container .prose[b-g82b5ulz0i] {
        font-size: 0.9rem !important; /* Slightly smaller prose text */
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Override any Tailwind prose classes that might cause overflow */
    .comparison-container .prose p[b-g82b5ulz0i],
    .comparison-container .prose ul[b-g82b5ulz0i],
    .comparison-container .prose ol[b-g82b5ulz0i],
    .comparison-container .prose li[b-g82b5ulz0i],
    .comparison-container .prose blockquote[b-g82b5ulz0i] {
        max-width: 100% !important;
        width: auto !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Handle code blocks in comparison */
    .comparison-container .prose pre[b-g82b5ulz0i],
    .comparison-container .prose code[b-g82b5ulz0i] {
        overflow-x: auto !important;
        max-width: 100% !important;
        white-space: pre-wrap !important;
        word-break: break-all !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Specific fixes for gradient background containers */
    .comparison-container .bg-gradient-to-r[b-g82b5ulz0i] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .chat-windows-slider[b-g82b5ulz0i] {
        display: flex !important;
        transition: transform 0.3s ease;
        width: 300% !important; /* 3 windows x 100% each */
        transform: translateX(0);
        /* Override desktop grid layout */
        grid-template-columns: none !important;
    }
    
    .chat-window-wrapper[b-g82b5ulz0i] {
        flex: 0 0 33.333% !important;
        min-width: 33.333% !important;
        max-width: 33.333% !important;
        width: 33.333% !important;
        padding: 0 4px !important; /* Reduced horizontal padding */
        box-sizing: border-box !important;
        /* Override desktop styles */
        overflow: visible !important;
    }
    
    .chat-nav-arrows[b-g82b5ulz0i] {
        display: flex !important;
    }
    
    .mobile-indicator[b-g82b5ulz0i] {
        display: flex !important;
        position: relative !important;
        z-index: 100010 !important; /* High z-index to ensure FAB can stack above chat input */
        margin-bottom: 2px !important; /* Minimal margin for smooth transition */
        margin-top: 0 !important;
        background-color: transparent;
        min-height: 28px !important; /* Further reduced height */
        padding: 2px 0 !important; /* Minimal padding */
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Fix card body height for mobile with proper viewport units */
    .card-body[b-g82b5ulz0i] {
        /* Further reduced to move chat input up */
        /* Account for: header (~60px) + nav pills (~50px) + chat input (~80px) + small margin (~10px) = ~200px */
        /* Use dvh (dynamic viewport height) for better mobile browser support */
        height: calc(100dvh - 217px) !important;
        /* Fallback for browsers that don't support dvh */
        height: calc(100vh - 217px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    /* Safari-specific: Use viewport height that excludes address bar */
    @supports (-webkit-touch-callout: none) {
        .card-body[b-g82b5ulz0i] {
            /* Safari: Use small viewport height (excludes address bar) */
            /* svh gives us the viewport without browser UI */
            /* For iPhone, we need even less offset to maximize space */
            height: calc(100svh - 197px) !important;
            /* Account for safe area on newer iPhones */
            height: calc(100svh - 197px - env(safe-area-inset-bottom)) !important;
            min-height: 350px !important;
        }
    }
    
    /* Chrome mobile: Use dynamic viewport height */
    @supports not (-webkit-touch-callout: none) {
        .card-body[b-g82b5ulz0i] {
            /* Chrome: Use dynamic viewport height that adjusts with browser UI */
            height: calc(100dvh - 217px) !important;
            /* Fallback to static viewport height */
            height: calc(100vh - 217px) !important;
            min-height: 350px !important;
        }
    }
    
    /* Hide scrollbar on mobile */
    .card-body[b-g82b5ulz0i]::-webkit-scrollbar {
        display: none !important;
    }
}

/* Small screens adjustments */
@media (max-width: 767px) {
    .card-body[b-g82b5ulz0i] {
        padding: 8px !important; /* Reduced padding */
    }
    
    .card-header[b-g82b5ulz0i] {
        padding: 8px !important; /* Reduced padding */
    }
    
    /* Critical fix for comparison container on small screens */
    .comparison-container[b-g82b5ulz0i] {
        margin: 0 4px !important;
        max-width: calc(100vw - 8px) !important;
        width: calc(100vw - 8px) !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        contain: layout style !important;
    }
    
    /* Override all potential overflow-causing elements */
    .comparison-container .bg-gradient-to-r[b-g82b5ulz0i],
    .comparison-container .from-blue-500[b-g82b5ulz0i],
    .comparison-container .to-purple-600[b-g82b5ulz0i],
    .comparison-container .text-white[b-g82b5ulz0i],
    .comparison-container .p-4[b-g82b5ulz0i],
    .comparison-container .rounded-t-xl[b-g82b5ulz0i],
    .comparison-container .prose[b-g82b5ulz0i],
    .comparison-container .max-w-none[b-g82b5ulz0i] {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Force markdown content to wrap */
    .comparison-container .prose p[b-g82b5ulz0i],
    .comparison-container .prose li[b-g82b5ulz0i],
    .comparison-container .prose ul[b-g82b5ulz0i],
    .comparison-container .prose ol[b-g82b5ulz0i] {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;
        max-width: 100% !important;
    }
}

/* Mobile responsive for premium buttons in container */
@media (max-width: 768px) {
    .premium-button-container .col-12[b-g82b5ulz0i] {
        gap: 1rem !important;
    }
    
    .premium-subscribe-button-playful[b-g82b5ulz0i],
    .premium-waiting-button-playful[b-g82b5ulz0i] {
        font-size: 0.85rem;
        padding: 7px 18px;
        border-radius: 20px;
        width: 100%;
    }
}

/* Screenshot Mode Styles */
.screenshot-mode .no-screenshot[b-g82b5ulz0i],
.screenshot-mode [data-exclude-from-screenshot="true"][b-g82b5ulz0i],
.screenshot-mode .premium-button-container[b-g82b5ulz0i],
.screenshot-mode #chat-input-container[b-g82b5ulz0i] {
    display: none !important;
}

.screenshot-mode .card[b-g82b5ulz0i] {
    opacity: 1 !important;
}

.screenshot-mode .chat-windows-slider[b-g82b5ulz0i] {
    display: grid !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: 100% !important;
    left: 0 !important;
}

.screenshot-mode .chat-window-wrapper[b-g82b5ulz0i] {
    position: static !important;
    left: 0 !important;
    padding: 0 8px !important;
    width: 100% !important;
    flex: 1 !important;
}

.screenshot-mode .chat-windows-container[b-g82b5ulz0i] {
    position: static !important;
    overflow: visible !important;
}

.screenshot-mode *[b-g82b5ulz0i] {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

/* Screenshot grid layouts */
@media (min-width: 768px) {
    .screenshot-mode .chat-windows-slider[b-g82b5ulz0i] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 767px) {
    .screenshot-mode .chat-windows-slider[b-g82b5ulz0i] {
        grid-template-columns: 1fr !important;
    }
    
    .screenshot-mode .card-body[b-g82b5ulz0i] {
        max-height: 500px !important;
        height: auto !important;
        overflow-y: auto !important;
    }
}

/* Screenshot text rendering improvements */
.screenshot-mode .text-dark[b-g82b5ulz0i], 
.screenshot-mode .text-break[b-g82b5ulz0i], 
.screenshot-mode p[b-g82b5ulz0i],
.screenshot-mode pre[b-g82b5ulz0i],
.screenshot-mode code[b-g82b5ulz0i],
.screenshot-mode li[b-g82b5ulz0i] {
    font-weight: 500 !important;
    color: #000000 !important;
    -webkit-font-smoothing: antialiased !important;
    letter-spacing: -0.01em !important;
}

.screenshot-mode .bg-primary[b-g82b5ulz0i] {
    background-color: #cce5ff !important;
    border: 1px solid #b8daff !important;
}

.screenshot-mode .bg-light[b-g82b5ulz0i] {
    background-color: #f0f0f0 !important;
    border: 1px solid #e0e0e0 !important;
}

.screenshot-mode .mb-3[b-g82b5ulz0i] {
    margin-bottom: 1rem !important;
}

/* Safari-specific screenshot fixes */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .taking-screenshot p[b-g82b5ulz0i],
        .taking-screenshot .text-dark[b-g82b5ulz0i],
        .taking-screenshot .text-break[b-g82b5ulz0i] {
            -webkit-font-smoothing: antialiased !important;
            color: #000000 !important;
        }
        
        .taking-screenshot .bg-primary[b-g82b5ulz0i] {
            background-color: #cce5ff !important;
        }
        
        .taking-screenshot .bg-light[b-g82b5ulz0i] {
            background-color: #f0f0f0 !important;
        }
    }
}

/* Share button visibility */
.share-button-wrapper[b-g82b5ulz0i] {
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sneos-brand[b-g82b5ulz0i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    min-height: 2.5rem;
    transition: all 0.3s ease;
}

.sneos-logo[b-g82b5ulz0i] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.sneos-icon[b-g82b5ulz0i] {
    font-size: 1.1rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.sneos-text[b-g82b5ulz0i] {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Responsive adjustments - keep everything on one line */
@media (max-width: 992px) {
    .sneos-brand[b-g82b5ulz0i] {
        padding: 0.4rem 0.8rem;
    }
    
    .sneos-text[b-g82b5ulz0i] {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .sneos-icon[b-g82b5ulz0i] {
        font-size: 1rem;
    }
    
    .btn-text[b-g82b5ulz0i] {
        display: inline;
    }
}

@media (max-width: 768px) {
    .sneos-brand[b-g82b5ulz0i] {
        padding: 0.3rem 0.6rem;
    }
    
    .sneos-text[b-g82b5ulz0i] {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .sneos-icon[b-g82b5ulz0i] {
        font-size: 0.9rem;
    }
    
    .btn[b-g82b5ulz0i] {
        padding: 0.375rem 0.5rem !important;
        font-size: 0.875rem !important;
    }
    
    .btn-text[b-g82b5ulz0i] {
        display: none;
    }
    
    .premium-button-container .gap-2[b-g82b5ulz0i] {
        gap: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    .sneos-text[b-g82b5ulz0i] {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .sneos-icon[b-g82b5ulz0i] {
        font-size: 0.8rem;
    }
    
    .sneos-brand[b-g82b5ulz0i] {
        padding: 0.25rem 0.5rem;
    }
    
    .btn[b-g82b5ulz0i] {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.8rem !important;
    }
}

/* Hover effects */
.sneos-brand:hover[b-g82b5ulz0i] {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.sneos-brand:hover .sneos-icon[b-g82b5ulz0i] {
    transform: scale(1.05);
}

.sneos-brand:hover .sneos-text[b-g82b5ulz0i] {
    filter: brightness(1.1);
}

/* Compact SNEOS branding for premium users */
.sneos-brand-compact[b-g82b5ulz0i] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    min-height: 2.2rem;
    transition: all 0.3s ease;
}

.sneos-logo-compact[b-g82b5ulz0i] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.sneos-icon-compact[b-g82b5ulz0i] {
    font-size: 0.9rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

.sneos-text-compact[b-g82b5ulz0i] {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sneos-brand-compact:hover[b-g82b5ulz0i] {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.sneos-brand-compact:hover .sneos-icon-compact[b-g82b5ulz0i] {
    transform: scale(1.05);
}

/* Ensure buttons don't wrap */
.premium-button-container .d-flex.gap-2[b-g82b5ulz0i] {
    flex-wrap: nowrap;
}

/* Keep layout flexible but prevent wrapping */
.col-12.d-flex[b-g82b5ulz0i] {
    flex-wrap: nowrap !important;
    overflow: hidden;
}

/* Breaking News Section Styles */
.breaking-news-container[b-g82b5ulz0i] {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin: 0 1rem;
}

.breaking-news-wrapper[b-g82b5ulz0i] {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    animation: newsGlow-b-g82b5ulz0i 3s ease-in-out infinite;
    width: 100%;
    min-height: 2.5rem;
}

.breaking-news-wrapper:hover[b-g82b5ulz0i] {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.breaking-news-badge[b-g82b5ulz0i] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: badgePulse-b-g82b5ulz0i 2s ease-in-out infinite;
    flex-shrink: 0;
}

.breaking-news-icon[b-g82b5ulz0i] {
    font-size: 0.7rem;
    animation: iconSpin-b-g82b5ulz0i 4s linear infinite;
}

.breaking-news-label[b-g82b5ulz0i] {
    text-transform: uppercase;
    line-height: 1;
}

.breaking-news-content[b-g82b5ulz0i] {
    flex: 1;
    min-width: 0;
}

.breaking-news-text[b-g82b5ulz0i] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.1rem;
}

.breaking-news-subtext[b-g82b5ulz0i] {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1;
}

.premium-link[b-g82b5ulz0i] {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.premium-link:hover[b-g82b5ulz0i] {
    color: #1d4ed8;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.premium-link:active[b-g82b5ulz0i] {
    color: #1e40af;
}

/* Animations */
@keyframes newsGlow-b-g82b5ulz0i {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    }
    50% { 
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
    }
}

@keyframes badgePulse-b-g82b5ulz0i {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.05);
    }
}

@keyframes iconSpin-b-g82b5ulz0i {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .breaking-news-container[b-g82b5ulz0i] {
        max-width: 320px;
        margin: 0 0.5rem;
    }
    
    .breaking-news-wrapper[b-g82b5ulz0i] {
        padding: 0.4rem 1rem;
        gap: 0.5rem;
    }
    
    .breaking-news-text[b-g82b5ulz0i] {
        font-size: 0.75rem;
    }
    
    .breaking-news-subtext[b-g82b5ulz0i] {
        font-size: 0.6rem;
    }
}

@media (max-width: 991px) {
    .breaking-news-container[b-g82b5ulz0i] {
        display: none;
    }
}

/* Hide on mobile when premium buttons stack */
@media (max-width: 768px) {
    .breaking-news-container[b-g82b5ulz0i] {
        display: none;
    }
}

/* Force mobile layout on small screens - highest specificity override */
@media (max-width: 991px) {
    .chat-windows-container .chat-windows-slider[b-g82b5ulz0i] {
        display: flex !important;
        grid-template-columns: none !important;
        width: 300% !important;
    }
    
    .chat-windows-container .chat-window-wrapper[b-g82b5ulz0i] {
        flex: 0 0 33.333% !important;
        width: 33.333% !important;
        min-width: 33.333% !important;
        max-width: 33.333% !important;
    }
}

/* Grok Live Search Toggle Styling */
.form-check.form-switch[b-g82b5ulz0i] {
    margin-bottom: 0 !important;
}

.form-check-input[b-g82b5ulz0i] {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked[b-g82b5ulz0i] {
    background-color: #22c55e;
    border-color: #22c55e;
}

.form-check-input:focus[b-g82b5ulz0i] {
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
    border-color: #22c55e;
}

.form-check-label[b-g82b5ulz0i] {
    font-size: 0.85rem !important;
    cursor: pointer;
    user-select: none;
}

/* Beta badge specific styling */
.badge.bg-info[b-g82b5ulz0i] {
    background-color: #0ea5e9 !important;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    text-transform: uppercase;
}

/* Dark mode adjustments for live search toggle */
[data-theme="dark"] .form-check-input[b-g82b5ulz0i] {
    background-color: rgba(148, 163, 184, 0.3);
    border-color: rgba(148, 163, 184, 0.5);
}

[data-theme="dark"] .form-check-input:checked[b-g82b5ulz0i] {
    background-color: #22c55e;
    border-color: #22c55e;
}

/* Mobile adjustments for live search toggle */
@media (max-width: 768px) {
    .form-check-label.small[b-g82b5ulz0i] {
        font-size: 0.75rem !important;
    }
    
    .badge.bg-info[b-g82b5ulz0i] {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.3rem;
    }
}

/* Remove footer hiding - we want to push it below the viewport instead */

/* Copy Message Button Styling - Elegant Overlay */
.copy-message-btn[b-g82b5ulz0i] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    pointer-events: none; /* Don't interfere with text selection */
}

/* Show copy button on hover for desktop */
.chat-ai-message:hover .copy-message-btn[b-g82b5ulz0i] {
    opacity: 0.8;
    pointer-events: auto; /* Enable interaction on hover */
}

/* Hover state for copy button */
.copy-message-btn:hover[b-g82b5ulz0i] {
    opacity: 1 !important;
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.2);
    color: var(--text-primary);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Active/Focus state */
.copy-message-btn:focus[b-g82b5ulz0i],
.copy-message-btn:active[b-g82b5ulz0i] {
    outline: none;
    background: rgba(34, 197, 94, 0.15);
    border-color: rgb(34, 197, 94);
    color: rgb(34, 197, 94);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

/* Success state when copied */
.copy-message-btn.copied[b-g82b5ulz0i] {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgb(34, 197, 94);
    color: rgb(34, 197, 94);
    opacity: 1 !important;
}

/* Icon states */
.copy-message-btn .copied-icon[b-g82b5ulz0i] {
    transition: all 0.2s ease;
}

.copy-message-btn.copied .copy-icon[b-g82b5ulz0i] {
    display: none;
}

.copy-message-btn.copied .copied-icon[b-g82b5ulz0i] {
    display: inline-block !important;
}

/* Dark mode support */
[data-theme="dark"] .copy-message-btn[b-g82b5ulz0i] {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
}

[data-theme="dark"] .copy-message-btn:hover[b-g82b5ulz0i] {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--text-primary);
}

[data-theme="dark"] .copy-message-btn:focus[b-g82b5ulz0i],
[data-theme="dark"] .copy-message-btn:active[b-g82b5ulz0i],
[data-theme="dark"] .copy-message-btn.copied[b-g82b5ulz0i] {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgb(34, 197, 94);
    color: rgb(34, 197, 94);
}

/* Mobile: Show copy buttons as subtle overlay */
@media (max-width: 991px) {
    .copy-message-btn[b-g82b5ulz0i] {
        opacity: 0.4; /* More subtle on mobile */
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        pointer-events: auto; /* Always interactive on mobile */
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(6px);
    }
    
    .copy-message-btn:hover[b-g82b5ulz0i],
    .copy-message-btn:active[b-g82b5ulz0i] {
        opacity: 1;
        background: rgba(255,255,255,0.9);
    }
    
    /* Better touch targets for mobile */
    .copy-message-btn[b-g82b5ulz0i]::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        /* Invisible expanded touch area */
    }
}

/* Accessibility improvements */
.copy-message-btn:focus-visible[b-g82b5ulz0i] {
    outline: 2px solid rgb(34, 197, 94);
    outline-offset: 2px;
}

/* No padding needed - copy button is now a non-intrusive overlay */

/* Quality Highlighting System Styles */
.quality-highlights-toggle[b-g82b5ulz0i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-size: 0.85rem;
}

.quality-highlights-toggle .form-check-input[b-g82b5ulz0i] {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.quality-highlights-toggle .form-check-input:checked[b-g82b5ulz0i] {
    background-color: #fbbf24;
    border-color: #fbbf24;
}

.quality-highlights-toggle .form-check-label[b-g82b5ulz0i] {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
}

/* Premium badge for highlighting feature */
.premium-highlight-badge[b-g82b5ulz0i] {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Old legend styles removed - using new under-input legend */

/* Mobile adjustments for highlighting features */
@media (max-width: 768px) {
    .quality-highlights-toggle[b-g82b5ulz0i] {
        margin-left: 0.5rem;
        font-size: 0.75rem;
    }
    
    .premium-highlight-badge[b-g82b5ulz0i] {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }
}

/* Highlighting status indicator */
.highlighting-status[b-g82b5ulz0i] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.highlighting-status .status-icon[b-g82b5ulz0i] {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* Animation for when highlights are being generated */
.generating-highlights[b-g82b5ulz0i] {
    opacity: 0.7;
    position: relative;
}

.generating-highlights[b-g82b5ulz0i]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: highlightSweep-b-g82b5ulz0i 2s ease-in-out infinite;
}

@keyframes highlightSweep-b-g82b5ulz0i {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* Chat Input Container with Legend */
.chat-input-with-legend-container[b-g82b5ulz0i] {
    position: relative;
}

/* New Legend Under Input - Desktop Only */
.highlight-legend-under-input[b-g82b5ulz0i] {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #374151;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    align-items: center;
    gap: 12px;
    max-width: 90vw;
    animation: slideUpFade-b-g82b5ulz0i 0.4s ease-out;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.highlight-legend-under-input.legend-visible[b-g82b5ulz0i] {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.highlight-legend-under-input.legend-hidden[b-g82b5ulz0i] {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
}

.legend-text[b-g82b5ulz0i] {
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.legend-items[b-g82b5ulz0i] {
    display: flex;
    gap: 12px;
    align-items: center;
}

.legend-item[b-g82b5ulz0i] {
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-hover[b-g82b5ulz0i] {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    white-space: nowrap;
}

/* Dark mode support */
[data-theme="dark"] .highlight-legend-under-input[b-g82b5ulz0i] {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .legend-text[b-g82b5ulz0i] {
    color: #e2e8f0;
}

[data-theme="dark"] .legend-item[b-g82b5ulz0i] {
    color: #e2e8f0;
}

[data-theme="dark"] .legend-hover[b-g82b5ulz0i] {
    color: #94a3b8;
}

@keyframes slideUpFade-b-g82b5ulz0i {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Hide on mobile and tablet */
@media (max-width: 991px) {
    .highlight-legend-under-input[b-g82b5ulz0i] {
        display: none !important;
    }
}
