/* /Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-s9yz14aoa1] {
    color: #666;
    animation: fade-in-b-s9yz14aoa1 1s;
}

@keyframes fade-in-b-s9yz14aoa1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-s9yz14aoa1],
    .lds-ellipsis div[b-s9yz14aoa1] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-s9yz14aoa1] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-s9yz14aoa1] {
        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-s9yz14aoa1] {
            left: 8px;
            animation: lds-ellipsis1-b-s9yz14aoa1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-s9yz14aoa1] {
            left: 8px;
            animation: lds-ellipsis2-b-s9yz14aoa1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-s9yz14aoa1] {
            left: 32px;
            animation: lds-ellipsis2-b-s9yz14aoa1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-s9yz14aoa1] {
            left: 56px;
            animation: lds-ellipsis3-b-s9yz14aoa1 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-s9yz14aoa1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-s9yz14aoa1 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-s9yz14aoa1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-sfgyzgfqkq] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-sfgyzgfqkq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/SurveyPrompt.razor.rz.scp.css */
.surveyContainer[b-8k022nsi2k] {
    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-8k022nsi2k] {
        text-decoration: underline;
    }

    .surveyContainer .tool-icon[b-8k022nsi2k] {
        margin-top: 0.15rem;
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }
/* /Components/Pages/Chat/Chat.razor.rz.scp.css */
[b-zbtcd8nr0g] .app-layout {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--bg-primary);
}

[b-zbtcd8nr0g] .sidebar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 90;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

[b-zbtcd8nr0g] .sidebar {
    width: 260px;
    background-color: #0f172a;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    overflow-y: auto;
    position: absolute;
    height: 100vh;
    z-index: 100;
    top: 0;
    left: 0;
    transform: translateX(0);
}

[b-zbtcd8nr0g] .sidebar.closed {
    transform: translateX(-100%);
}

[b-zbtcd8nr0g] .new-chat-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: transparent;
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

[b-zbtcd8nr0g] .new-chat-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

[b-zbtcd8nr0g] .icon {
    width: 1.25rem;
    height: 1.25rem;
}

[b-zbtcd8nr0g] .sidebar-section {
    display: flex;
    flex-direction: column;
}

[b-zbtcd8nr0g] .section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

[b-zbtcd8nr0g] .conversation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

[b-zbtcd8nr0g] .conversation-list li {
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    position: relative;
    padding-right: 0.25rem;
}

[b-zbtcd8nr0g] .conversation-list li:hover {
    background-color: rgba(255,255,255,0.05);
}

[b-zbtcd8nr0g] .conversation-list li.active {
    background-color: rgba(255,255,255,0.1);
}

[b-zbtcd8nr0g] .conv-btn {
    flex-grow: 1;
    background: none;
    border: none;
    color: #e2e8f0;
    text-align: left;
    padding: 0.6rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    font-size: 0.85rem;
}

[b-zbtcd8nr0g] .del-btn {
    background: none;
    border: none;
    color: #ef4444;
    padding: 0.4rem;
    cursor: pointer;
    display: none;
    font-size: 1.1rem;
    line-height: 1;
}

[b-zbtcd8nr0g] .conversation-list li:hover .del-btn {
    display: block;
}

[b-zbtcd8nr0g] .scrollable {
    overflow-y: auto;
    scrollbar-width: thin;
}

[b-zbtcd8nr0g] .main-chat {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    background: var(--bg-primary); 
    overflow: hidden;
}

[b-zbtcd8nr0g] .top-bar {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

[b-zbtcd8nr0g] .sidebar-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

[b-zbtcd8nr0g] .sidebar-toggle:hover {
    opacity: 0.8;
}

[b-zbtcd8nr0g] .chat-title {
    font-weight: 600;
    color: #f8fafc;
    font-size: 0.9rem;
}

[b-zbtcd8nr0g] .empty-state {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

[b-zbtcd8nr0g] .empty-state h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

[b-zbtcd8nr0g] .empty-state p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

[b-zbtcd8nr0g] .empty-upload-wrapper {
    width: 100%;
    max-width: 400px;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px dashed var(--glass-border);
}

[b-zbtcd8nr0g] .message-area {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

[b-zbtcd8nr0g] .chat-container {
    padding: 1rem 1.5rem 2rem 1.5rem;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.05); /* Optional subtle border */
}

[b-zbtcd8nr0g] .input-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Proxima Branding */
[b-zbtcd8nr0g] .brand-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[b-zbtcd8nr0g] .mobile-close-btn {
    display: flex;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

[b-zbtcd8nr0g] .mobile-close-btn:hover {
    color: #fff;
}

[b-zbtcd8nr0g] .mobile-close-btn svg {
    width: 20px;
    height: 20px;
}

[b-zbtcd8nr0g] .proxima-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
}

/* Responsive Sidebar Rules */

@media (max-width: 768px) {
    [b-zbtcd8nr0g] .sidebar {
        width: 85vw;
        max-width: 360px;
        transform: translateX(-100%);
    }
    [b-zbtcd8nr0g] .sidebar.toggled {
        transform: translateX(0);
    }
    [b-zbtcd8nr0g] .sidebar-backdrop {
        display: none;
    }
    [b-zbtcd8nr0g] .sidebar-backdrop.toggled {
        display: block;
    }
}

@media (min-width: 769px) {
    [b-zbtcd8nr0g] .sidebar {
        position: relative; /* Push instead of flyout */
        transform: none; 
        width: 260px;
        transition: margin-left 0.3s ease;
        margin-left: 0;
    }
    [b-zbtcd8nr0g] .sidebar.toggled {
        margin-left: -260px;
        transform: none;
    }
    [b-zbtcd8nr0g] .sidebar-backdrop {
        display: none !important;
    }
    [b-zbtcd8nr0g] .mobile-close-btn {
        display: none !important;
    }
}
/* /Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
.citation[b-gbs03dojbm] {
    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;
    gap: 0.5rem;
    border-radius: 0.25rem;
    line-height: 1.25rem;
    background-color: var(--bg-accent);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    font-size: 13px;
}

    .citation[href]:hover[b-gbs03dojbm] {
        outline: 1px solid var(--brand);
    }

    .citation svg[b-gbs03dojbm] {
        width: 1.2rem;
        height: 2.5rem;
    }

    .citation:active[b-gbs03dojbm] {
        background-color: var(--brand, #3b82f6);
    }

.citation-content[b-gbs03dojbm] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-gbs03dojbm] {
    font-weight: 600;
}
/* /Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-e87dp1ozd8] {
    top: 0; 
    padding: 1.5rem; 
}

.chat-header-controls[b-e87dp1ozd8] {
    margin-bottom: 1.5rem; 
}

h1[b-e87dp1ozd8] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-chat-icon[b-e87dp1ozd8] {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(55, 65, 81);
}

@media (min-width: 768px) {
    .chat-header-container[b-e87dp1ozd8] {
        position: sticky;
    }
}
/* /Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-bh56pzsex7] {
    display: flex; 
    flex-direction: row; 
    align-items: center;
    background: var(--bg-accent, #1e293b);
    border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
    border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    width: 100%;
}

.input-box:focus-within[b-bh56pzsex7] {
    outline: none;
    border-color: var(--brand, #3b82f6);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

textarea[b-bh56pzsex7] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
    background: transparent;
    color: var(--text-primary, white);
    height: 24px;
    font-size: 1rem;
    padding: 0;
    margin-right: 1rem;
    line-height: 1.5;
}

.tools[b-bh56pzsex7] {
    display: flex; 
    align-items: center;
}

.send-button[b-bh56pzsex7] {
    color: white;
    background: var(--brand, #3b82f6);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.send-button:hover[b-bh56pzsex7] {
    background: var(--brand-hover, #60a5fa);
    transform: scale(1.05);
}

.attach[b-bh56pzsex7] {
    background-color: white;
    border-style: dashed;
    color: #888;
    border-color: #888;
    padding: 3px 8px;
}

    .attach:hover[b-bh56pzsex7] {
        background-color: #f0f0f0;
        color: black;
    }
/* /Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-xeycxmrjud] {
    background: linear-gradient(135deg, var(--brand, #3b82f6), #8b5cf6);
    align-self: flex-end;
    min-width: 25%;
    max-width: calc(100% - 3rem);
    padding: 0.75rem 1.25rem;
    border-radius: 1rem 1rem 0 1rem; 
    color: white; 
    white-space: pre-wrap; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.assistant-message[b-xeycxmrjud], .assistant-search[b-xeycxmrjud] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem; 
}

.assistant-message-header[b-xeycxmrjud] {
    font-weight: 600;
}

.assistant-message-text[b-xeycxmrjud] {
    grid-column-start: 2;
}

.assistant-message-icon[b-xeycxmrjud] {
    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-xeycxmrjud] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search[b-xeycxmrjud] {
    font-size: 0.875rem;
    line-height: 1.25rem; 
}

.assistant-search-icon[b-xeycxmrjud] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 1.5rem; 
    height: 1.5rem; 
}

    .assistant-search-icon svg[b-xeycxmrjud] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search-content[b-xeycxmrjud] {
    align-content: center;
}

.assistant-search-phrase[b-xeycxmrjud] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-xeycxmrjud] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-xeycxmrjud] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-xeycxmrjud] li {
    margin: 0.5rem 0;
}

[b-xeycxmrjud] strong {
    font-weight: 600;
}

[b-xeycxmrjud] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-xeycxmrjud] p + p {
    margin-top: 1rem;
}

[b-xeycxmrjud] table {
    margin: 1rem 0;
}

[b-xeycxmrjud] th {
    text-align: left;
    border-bottom: 1px solid var(--glass-border, rgba(255,255,255,0.1));
}

[b-xeycxmrjud] th, [b-xeycxmrjud] td {
    padding: 0.5rem 0.75rem;
}

[b-xeycxmrjud] th, [b-xeycxmrjud] tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

[b-xeycxmrjud] pre > code {
    background-color: var(--bg-accent, #1e293b);
    color: var(--text-primary, #f8fafc);
    display: block;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    border: 1px solid var(--glass-border);
    overflow-x: auto;
}
/* /Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-70lzlwsm52] {
    flex-grow: 1;
}

.message-list[b-70lzlwsm52] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.no-messages[b-70lzlwsm52] {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    margin-top: calc(40vh - 18rem);
}

chat-messages[b-70lzlwsm52] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}
/* /Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-qmwc485m91] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    display: flex;
    margin-bottom: 0.75rem;
    overflow-x: scroll;
    scrollbar-width:thin;
}
