/* _content/MerlinChatInterface/Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-zpfslksvqa] {
    color: #666;
    animation: fade-in-b-zpfslksvqa 1s;
}

@keyframes fade-in-b-zpfslksvqa {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-zpfslksvqa],
    .lds-ellipsis div[b-zpfslksvqa] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-zpfslksvqa] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-zpfslksvqa] {
        position: absolute;
        top: 33.33333px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: currentColor;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1)[b-zpfslksvqa] {
            left: 8px;
            animation: lds-ellipsis1-b-zpfslksvqa 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-zpfslksvqa] {
            left: 8px;
            animation: lds-ellipsis2-b-zpfslksvqa 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-zpfslksvqa] {
            left: 32px;
            animation: lds-ellipsis2-b-zpfslksvqa 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-zpfslksvqa] {
            left: 56px;
            animation: lds-ellipsis3-b-zpfslksvqa 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-zpfslksvqa {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-zpfslksvqa {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-zpfslksvqa {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* _content/MerlinChatInterface/Components/Layout/MainLayout.razor.rz.scp.css */
.dark-theme[b-4nnqn8si0g] {
    color-scheme: dark;
}

/* Main Layout */
.page[b-4nnqn8si0g] {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar */
.sidebar[b-4nnqn8si0g] {
    width: 280px;
    height: 100%;
    background-color: #1e1e2d;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar.open[b-4nnqn8si0g] {
    width: 280px;
}

.sidebar:not(.open)[b-4nnqn8si0g] {
    width: 0;
}

.sidebar-header[b-4nnqn8si0g] {
    padding: 16px;
    border-bottom: 1px solid #2d2d3a;
}

.sidebar-content[b-4nnqn8si0g] {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.sidebar-footer[b-4nnqn8si0g] {
    padding: 16px;
    border-top: 1px solid #2d2d3a;
}

.btn-new-chat[b-4nnqn8si0g] {
    width: 100%;
    background-color: #7b68ee;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.btn-new-chat:hover[b-4nnqn8si0g] {
    background-color: #6a5acd;
}

.btn-projects[b-4nnqn8si0g] {
    background-color: transparent;
    color: #fff;
    border: 1px solid #3e3e4a;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.btn-projects:hover[b-4nnqn8si0g] {
    background-color: #2d2d3a;
}

.btn-user[b-4nnqn8si0g] {
    width: 100%;
    background-color: transparent;
    color: #fff;
    border: 1px solid #3e3e4a;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
}

.btn-user:hover[b-4nnqn8si0g] {
    background-color: #2d2d3a;
}

.user-avatar[b-4nnqn8si0g] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #7b68ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    flex-shrink: 0;
}

.user-info[b-4nnqn8si0g] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-name[b-4nnqn8si0g] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email[b-4nnqn8si0g] {
    font-size: 12px;
    color: #a0a0a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-section[b-4nnqn8si0g] {
    margin-bottom: 24px;
}

.section-header[b-4nnqn8si0g] {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #a0a0a8;
}

.chat-list[b-4nnqn8si0g] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-item[b-4nnqn8si0g] {
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
}

.chat-item:hover[b-4nnqn8si0g] {
    background-color: #2d2d3a;
}

.chat-title[b-4nnqn8si0g] {
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-timestamp[b-4nnqn8si0g] {
    font-size: 12px;
    color: #a0a0a8;
}

.loading-chats[b-4nnqn8si0g], .no-chats[b-4nnqn8si0g] {
    padding: 16px;
    text-align: center;
    color: #a0a0a8;
    font-size: 13px;
    font-style: italic;
}

/* Main content */
.main[b-4nnqn8si0g] {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: #f2f2f2;
}

.top-row[b-4nnqn8si0g] {
    background-color: #1e1e2d;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #fff;
}

.app-title[b-4nnqn8si0g] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 16px;
    color: #fff;
}

.sidebar-toggle[b-4nnqn8si0g] {
    background-color: transparent;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

main[b-4nnqn8si0g] {
    flex: 1;
    overflow: auto;
    padding: 0;
    position: relative;
    background-color: #f2f2f2;
    color: #333;
}

#blazor-error-ui[b-4nnqn8si0g] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-4nnqn8si0g] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Override page-width class to align content left */
:deep(.page-width)[b-4nnqn8si0g] {
    max-width: 100%;
    margin-left: 1rem;
    margin-right: 1rem;
}

/* Avatar Navigation Styles */
.avatar-navigation[b-4nnqn8si0g] {
    padding: 0 8px;
}

.nav-item[b-4nnqn8si0g] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    color: #a0a0a8;
}

.nav-item:hover[b-4nnqn8si0g] {
    background-color: #2d2d3a;
    color: #fff;
}

.nav-item.active[b-4nnqn8si0g] {
    background-color: #7b68ee;
    color: #fff;
}

.nav-icon[b-4nnqn8si0g] {
    display: flex;
    align-items: center;
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    justify-content: center;
}

.nav-title[b-4nnqn8si0g] {
    font-size: 14px;
    font-weight: 500;
}
/* _content/MerlinChatInterface/Components/Layout/SurveyPrompt.razor.rz.scp.css */
.surveyContainer[b-7ek9ji66gs] {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9em;
    margin: 0.5rem auto -0.7rem auto;
    max-width: 1024px;
    color: #444;
}

    .surveyContainer a[b-7ek9ji66gs] {
        text-decoration: underline;
    }

    .surveyContainer .tool-icon[b-7ek9ji66gs] {
        margin-top: 0.15rem;
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }
/* _content/MerlinChatInterface/Components/Pages/Chat/Chat.razor.rz.scp.css */
.chat-container[b-4gs6bphksq] {
    position: sticky; 
    bottom: 0; 
    padding-left: 1rem;
    padding-right: 1rem; 
    padding-top: 0.75rem; 
    padding-bottom: 1.5rem; 
    border-top-width: 1px; 
    background-color: #E5E7EB; 
    border-color: #D1D5DB;
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
.citation[b-5utpwqdm5q] {
    display: inline-flex;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-top: 1rem;
    margin-right: 1rem;
    border-bottom: 2px solid #a770de;
    gap: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background-color: #ffffff;
}

    .citation[href]:hover[b-5utpwqdm5q] {
        outline: 1px solid #865cb1;
    }

    .citation svg[b-5utpwqdm5q] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .citation:active[b-5utpwqdm5q] {
        background-color: rgba(0,0,0,0.05);
    }

.citation-content[b-5utpwqdm5q] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-5utpwqdm5q] {
    font-weight: 600;
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-f5d1qclf9p] {
    top: 0; 
    padding: 1rem;
    background-color: #f2f2f2;
    color: #333;
}

.chat-header-controls[b-f5d1qclf9p] {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .chat-header-container[b-f5d1qclf9p] {
        position: sticky;
    }
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-5oz992gk6a] {
    display: flex; 
    flex-direction: column; 
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .input-box:focus-within[b-5oz992gk6a] {
        outline: 2px solid #4152d5;
        border-color: transparent;
    }

textarea[b-5oz992gk6a] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
    background: transparent;
    color: #333;
}

    textarea:placeholder-shown + .tools[b-5oz992gk6a] {
        --send-button-color: #aaa;
    }

.tools[b-5oz992gk6a] {
    display: flex; 
    margin-top: 1rem; 
    align-items: center;
}

.tool-icon[b-5oz992gk6a] {
    width: 1.25rem;
    height: 1.25rem;
}

.send-button[b-5oz992gk6a] {
    color: var(--send-button-color);
    margin-left: auto;
}

    .send-button:hover[b-5oz992gk6a] {
        color: black;
    }

.attach[b-5oz992gk6a] {
    background-color: white;
    border-style: dashed;
    color: #888;
    border-color: #888;
    padding: 3px 8px;
}

    .attach:hover[b-5oz992gk6a] {
        background-color: #f0f0f0;
        color: black;
    }
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-0e0ac5qotx] {
    background: #dae8f2;
    align-self: flex-end;
    min-width: 25%;
    max-width: calc(100% - 5rem);
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem; 
    color: #1F2937; 
    white-space: pre-wrap;
    margin-right: auto;
    border: 1px solid #c6d5e0;
}

.assistant-message[b-0e0ac5qotx], .assistant-search[b-0e0ac5qotx] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem;
    color: #333;
}

.assistant-message-header[b-0e0ac5qotx] {
    font-weight: 600;
    color: #333;
}

.assistant-message-text[b-0e0ac5qotx] {
    grid-column-start: 2;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
}

.assistant-message-text strong[b-0e0ac5qotx] {
    font-weight: bold;
    color: #6b46c1;
}

.assistant-message-icon[b-0e0ac5qotx] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 9999px; 
    width: 1.5rem; 
    height: 1.5rem; 
    color: #ffffff; 
    background: #9b72ce;
}

    .assistant-message-icon svg[b-0e0ac5qotx] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search[b-0e0ac5qotx] {
    font-size: 0.875rem;
    line-height: 1.25rem; 
}

.assistant-search-icon[b-0e0ac5qotx] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 1.5rem; 
    height: 1.5rem; 
}

    .assistant-search-icon svg[b-0e0ac5qotx] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search-content[b-0e0ac5qotx] {
    align-content: center;
}

.assistant-search-phrase[b-0e0ac5qotx] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-0e0ac5qotx] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-0e0ac5qotx] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-0e0ac5qotx] li {
    margin: 0.5rem 0;
}

[b-0e0ac5qotx] strong {
    font-weight: 600;
}

[b-0e0ac5qotx] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-0e0ac5qotx] p + p {
    margin-top: 1rem;
}

[b-0e0ac5qotx] table {
    margin: 1rem 0;
}

[b-0e0ac5qotx] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-0e0ac5qotx] th, [b-0e0ac5qotx] td {
    padding: 0.1rem 0.5rem;
}

[b-0e0ac5qotx] th, [b-0e0ac5qotx] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.citations-section[b-0e0ac5qotx] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-l7f5x8k8c0] {
    margin: 0.5rem 1rem 2rem 1rem;
    flex-grow: 1;
}

.message-list[b-l7f5x8k8c0] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem;
    align-items: flex-start;
}

.no-messages[b-l7f5x8k8c0] {
    text-align: left;
    font-size: 1.25rem;
    color: #555;
    margin-top: calc(30vh);
    margin-left: 1rem;
}

chat-messages[b-l7f5x8k8c0] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}

.typing-indicator[b-l7f5x8k8c0] {
    background-color: #f0f0f0;
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-block;
    margin: 10px 0;
    font-size: 14px;
    color: #555;
    animation: pulse-b-l7f5x8k8c0 1.5s infinite;
}

.typing-indicator span[b-l7f5x8k8c0] {
    opacity: 0;
    animation: dot-b-l7f5x8k8c0 1.5s infinite;
    display: inline-block;
}

.typing-indicator span:nth-child(1)[b-l7f5x8k8c0] {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2)[b-l7f5x8k8c0] {
    animation-delay: 0.3s;
}

.typing-indicator span:nth-child(3)[b-l7f5x8k8c0] {
    animation-delay: 0.6s;
}

@keyframes dot-b-l7f5x8k8c0 {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes pulse-b-l7f5x8k8c0 {
    0% { box-shadow: 0 0 0 0 rgba(0,0,0, 0.1); }
    70% { box-shadow: 0 0 0 5px rgba(0,0,0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0, 0); }
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-3le1cj7s53] {
    text-align: left;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatVoiceStreamComponent.razor.rz.scp.css */
.chat-voice-stream-component[b-m4rtbg2lgq] {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-interface[b-m4rtbg2lgq] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 500px;
}

.chat-messages[b-m4rtbg2lgq] {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 400px;
    border: 1px solid #e9ecef;
}

.message[b-m4rtbg2lgq] {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.user-message[b-m4rtbg2lgq] {
    align-items: flex-end;
}

.assistant-message[b-m4rtbg2lgq] {
    align-items: flex-start;
}

.message-content[b-m4rtbg2lgq] {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.user-message .message-content[b-m4rtbg2lgq] {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-bottom-right-radius: 4px;
}

.assistant-message .message-content[b-m4rtbg2lgq] {
    background: #f1f3f4;
    color: #202124;
    border-bottom-left-radius: 4px;
}

.assistant-message.streaming .message-content[b-m4rtbg2lgq] {
    background: #e8f5e8;
    border-left: 4px solid #28a745;
}

.message-text[b-m4rtbg2lgq] {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-timestamp[b-m4rtbg2lgq] {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.user-message .message-timestamp[b-m4rtbg2lgq] {
    color: rgba(255, 255, 255, 0.8);
}

.assistant-message .message-timestamp[b-m4rtbg2lgq] {
    color: #6c757d;
}

.cursor[b-m4rtbg2lgq] {
    animation: blink-b-m4rtbg2lgq 1s infinite;
    color: #28a745;
    font-weight: bold;
}

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

.chat-input[b-m4rtbg2lgq] {
    margin-bottom: 20px;
}

.input-group[b-m4rtbg2lgq] {
    display: flex;
    gap: 10px;
}

.input-group textarea[b-m4rtbg2lgq] {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.3s ease;
}

.input-group textarea:focus[b-m4rtbg2lgq] {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.input-group-append[b-m4rtbg2lgq] {
    display: flex;
    gap: 8px;
}

.btn[b-m4rtbg2lgq] {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.btn-primary[b-m4rtbg2lgq] {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.btn-primary:hover:not(:disabled)[b-m4rtbg2lgq] {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-warning[b-m4rtbg2lgq] {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.btn-warning:hover:not(:disabled)[b-m4rtbg2lgq] {
    background: linear-gradient(135deg, #e0a800, #d39e00);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.btn:disabled[b-m4rtbg2lgq] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.voice-controls[b-m4rtbg2lgq] {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.voice-controls .form-group[b-m4rtbg2lgq] {
    margin-bottom: 16px;
}

.voice-controls label[b-m4rtbg2lgq] {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.voice-controls select[b-m4rtbg2lgq],
.voice-controls input[type="range"][b-m4rtbg2lgq] {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.voice-controls select:focus[b-m4rtbg2lgq],
.voice-controls input[type="range"]:focus[b-m4rtbg2lgq] {
    outline: none;
    border-color: #007bff;
}

.form-control-range[b-m4rtbg2lgq] {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.form-control-range[b-m4rtbg2lgq]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-control-range[b-m4rtbg2lgq]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-check[b-m4rtbg2lgq] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input[b-m4rtbg2lgq] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.form-check-label[b-m4rtbg2lgq] {
    font-weight: 500;
    color: #495057;
    margin: 0;
}

.stream-status[b-m4rtbg2lgq] {
    margin-top: 20px;
}

.alert[b-m4rtbg2lgq] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.alert-info[b-m4rtbg2lgq] {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-success[b-m4rtbg2lgq] {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning[b-m4rtbg2lgq] {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-danger[b-m4rtbg2lgq] {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.status-indicators[b-m4rtbg2lgq] {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.status-item[b-m4rtbg2lgq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.status-label[b-m4rtbg2lgq] {
    font-weight: 600;
    color: #6c757d;
    font-size: 12px;
}

.status-value[b-m4rtbg2lgq] {
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value.active[b-m4rtbg2lgq] {
    background: #d4edda;
    color: #155724;
}

.status-value.inactive[b-m4rtbg2lgq] {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-voice-stream-component[b-m4rtbg2lgq] {
        padding: 10px;
        margin: 10px;
    }

    .chat-messages[b-m4rtbg2lgq] {
        max-height: 300px;
        padding: 15px;
    }

    .message-content[b-m4rtbg2lgq] {
        max-width: 85%;
    }

    .input-group[b-m4rtbg2lgq] {
        flex-direction: column;
    }

    .input-group-append[b-m4rtbg2lgq] {
        justify-content: center;
    }

    .btn[b-m4rtbg2lgq] {
        min-width: 80px;
        padding: 10px 16px;
    }

    .status-indicators[b-m4rtbg2lgq] {
        flex-direction: column;
        gap: 10px;
    }

    .status-item[b-m4rtbg2lgq] {
        justify-content: space-between;
    }
}

/* Loading Animation */
.spinner-border[b-m4rtbg2lgq] {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* Smooth transitions */
*[b-m4rtbg2lgq] {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.btn:focus[b-m4rtbg2lgq],
textarea:focus[b-m4rtbg2lgq],
select:focus[b-m4rtbg2lgq] {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .chat-voice-stream-component[b-m4rtbg2lgq] {
        background: #2d3748;
        color: #e2e8f0;
    }

    .chat-messages[b-m4rtbg2lgq] {
        background: #4a5568;
        border-color: #718096;
    }

    .assistant-message .message-content[b-m4rtbg2lgq] {
        background: #718096;
        color: #e2e8f0;
    }

    .voice-controls[b-m4rtbg2lgq] {
        background: #4a5568;
        border-color: #718096;
    }

    .voice-controls label[b-m4rtbg2lgq] {
        color: #e2e8f0;
    }

    .voice-controls select[b-m4rtbg2lgq],
    .voice-controls input[type="range"][b-m4rtbg2lgq] {
        background: #2d3748;
        border-color: #718096;
        color: #e2e8f0;
    }

    .form-check-label[b-m4rtbg2lgq] {
        color: #e2e8f0;
    }

    .status-item[b-m4rtbg2lgq] {
        background: #4a5568;
        border-color: #718096;
    }
}
/* _content/MerlinChatInterface/Components/Pages/Chat/ChatVoiceStreamDemo.razor.rz.scp.css */
.chat-voice-demo-page[b-z8mt0q4tbj] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.demo-header[b-z8mt0q4tbj] {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.demo-header h1[b-z8mt0q4tbj] {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.demo-description[b-z8mt0q4tbj] {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.demo-content[b-z8mt0q4tbj] {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.demo-section[b-z8mt0q4tbj] {
    margin-bottom: 60px;
}

.demo-section:last-child[b-z8mt0q4tbj] {
    margin-bottom: 0;
}

.demo-section h2[b-z8mt0q4tbj] {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.demo-section h2[b-z8mt0q4tbj]::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.feature-grid[b-z8mt0q4tbj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-card[b-z8mt0q4tbj] {
    background: #f8f9fa;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card[b-z8mt0q4tbj]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-card:hover[b-z8mt0q4tbj] {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.feature-icon[b-z8mt0q4tbj] {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3[b-z8mt0q4tbj] {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.feature-card p[b-z8mt0q4tbj] {
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.demo-instructions[b-z8mt0q4tbj] {
    background: #e8f4fd;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #007bff;
    margin-bottom: 32px;
}

.demo-instructions p[b-z8mt0q4tbj] {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 16px;
    font-weight: 500;
}

.demo-instructions ul[b-z8mt0q4tbj] {
    margin: 0;
    padding-left: 20px;
}

.demo-instructions li[b-z8mt0q4tbj] {
    color: #495057;
    margin-bottom: 8px;
    line-height: 1.5;
}

.tech-details[b-z8mt0q4tbj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.tech-card[b-z8mt0q4tbj] {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.tech-card h3[b-z8mt0q4tbj] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.tech-card ul[b-z8mt0q4tbj] {
    margin: 0;
    padding-left: 20px;
}

.tech-card li[b-z8mt0q4tbj] {
    color: #495057;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1rem;
}

.api-endpoints[b-z8mt0q4tbj] {
    margin-top: 32px;
}

.endpoint-card[b-z8mt0q4tbj] {
    background: #2d3748;
    color: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #4a5568;
}

.endpoint-card h3[b-z8mt0q4tbj] {
    font-size: 1.3rem;
    font-weight: 600;
    color: #63b3ed;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.endpoint-card p[b-z8mt0q4tbj] {
    color: #a0aec0;
    margin-bottom: 20px;
    font-size: 1rem;
}

.endpoint-details[b-z8mt0q4tbj] {
    background: #1a202c;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #4a5568;
}

.endpoint-details strong[b-z8mt0q4tbj] {
    color: #68d391;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.endpoint-details pre[b-z8mt0q4tbj] {
    margin: 0;
    background: transparent;
    color: #e2e8f0;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow-x: auto;
}

.endpoint-details code[b-z8mt0q4tbj] {
    background: transparent;
    color: #e2e8f0;
    padding: 0;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-voice-demo-page[b-z8mt0q4tbj] {
        padding: 10px;
    }

    .demo-header h1[b-z8mt0q4tbj] {
        font-size: 2rem;
    }

    .demo-description[b-z8mt0q4tbj] {
        font-size: 1rem;
    }

    .demo-content[b-z8mt0q4tbj] {
        padding: 20px;
    }

    .demo-section h2[b-z8mt0q4tbj] {
        font-size: 1.8rem;
    }

    .feature-grid[b-z8mt0q4tbj] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card[b-z8mt0q4tbj] {
        padding: 24px 16px;
    }

    .tech-details[b-z8mt0q4tbj] {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-card[b-z8mt0q4tbj] {
        padding: 24px;
    }

    .endpoint-card[b-z8mt0q4tbj] {
        padding: 20px;
    }

    .endpoint-details[b-z8mt0q4tbj] {
        padding: 16px;
    }

    .endpoint-details pre[b-z8mt0q4tbj] {
        font-size: 0.75rem;
    }
}

/* Animation for feature cards */
.feature-card[b-z8mt0q4tbj] {
    animation: fadeInUp-b-z8mt0q4tbj 0.6s ease-out;
}

.feature-card:nth-child(1)[b-z8mt0q4tbj] { animation-delay: 0.1s; }
.feature-card:nth-child(2)[b-z8mt0q4tbj] { animation-delay: 0.2s; }
.feature-card:nth-child(3)[b-z8mt0q4tbj] { animation-delay: 0.3s; }
.feature-card:nth-child(4)[b-z8mt0q4tbj] { animation-delay: 0.4s; }

@keyframes fadeInUp-b-z8mt0q4tbj {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.loading[b-z8mt0q4tbj] {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
.feature-card:focus[b-z8mt0q4tbj],
.tech-card:focus[b-z8mt0q4tbj],
.endpoint-card:focus[b-z8mt0q4tbj] {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .chat-voice-demo-page[b-z8mt0q4tbj] {
        background: white;
        color: black;
    }

    .demo-content[b-z8mt0q4tbj] {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .feature-card[b-z8mt0q4tbj],
    .tech-card[b-z8mt0q4tbj],
    .endpoint-card[b-z8mt0q4tbj] {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}
