/* /Components/Chat/ChatInput.razor.rz.scp.css */
.chat-input-bar[b-5w5pu78uhx] {
    padding: 8px 16px 10px;
    border-top: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-surface);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-input-pill[b-5w5pu78uhx] {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 999px;
    padding: 4px 8px 4px 16px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.chat-input-pill:focus-within[b-5w5pu78uhx] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 2px rgba(var(--mud-palette-primary-rgb), 0.15);
}

/* Strip MudTextField's own outline since the pill handles it */
.chat-input-pill[b-5w5pu78uhx]  .mud-input-outlined .mud-notched-outline {
    border: none !important;
}

.chat-input-pill[b-5w5pu78uhx]  .mud-input.mud-input-outlined .mud-input-outlined-border {
    border-width: 0 !important;
}

.chat-input-pill[b-5w5pu78uhx]  .mud-input-outlined {
    padding: 0 !important;
}

.chat-send-btn[b-5w5pu78uhx] {
    flex-shrink: 0;
    border-radius: 50% !important;
}

.char-counter[b-5w5pu78uhx] {
    flex-shrink: 0;
    font-size: 11px;
    padding-bottom: 10px;
}
/* /Components/Chat/ChatInterface.razor.rz.scp.css */
.chat-interface[b-9fzph3r0w1] {
    position: fixed;
    top: var(--mud-appbar-height, 48px);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    overflow: hidden;
    background: var(--mud-palette-background);
    z-index: 5;
}

.chat-main[b-9fzph3r0w1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.message-area[b-9fzph3r0w1] {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.discovery-panel[b-9fzph3r0w1] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--mud-palette-background);
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease, visibility 300ms ease;
    overflow-y: auto;
    padding: 24px;
}

.chat-main.is-chat .discovery-panel[b-9fzph3r0w1] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chat-topbar[b-9fzph3r0w1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--mud-palette-divider);
    background: var(--mud-palette-surface);
    height: 52px;
    flex-shrink: 0;
}
/* /Components/Chat/ConversationSidebar.razor.rz.scp.css */
.sidebar-inner[b-bdbdabg971] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid var(--mud-palette-divider);
}

.sidebar-brand[b-bdbdabg971] {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--mud-palette-divider);
    flex-shrink: 0;
}

.sidebar-search[b-bdbdabg971] {
    padding: 8px 12px;
    flex-shrink: 0;
}

.sidebar-list[b-bdbdabg971] {
    flex: 1;
    overflow-y: auto;
}

.sidebar-group-label[b-bdbdabg971] {
    font-size: 11px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary) !important;
    padding: 12px 16px 4px !important;
}

.sidebar-item[b-bdbdabg971] {
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: background 150ms ease;
}

.sidebar-item--active[b-bdbdabg971] {
    border-left-color: var(--mud-palette-primary) !important;
    background: rgba(var(--mud-palette-primary-rgb), 0.08) !important;
}
/* /Components/Chat/EmptyChat.razor.rz.scp.css */
.empty-chat[b-34zn91cv57] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.discovery-heading[b-34zn91cv57] {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 8px;
}

.suggestion-grid[b-34zn91cv57] {
    margin-top: 2rem;
    width: 100%;
}

.suggestion-chip[b-34zn91cv57] {
    display: flex;
    align-items: flex-start;
    gap: 0;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 16px;
    padding: 12px 16px;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
    text-align: left;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.suggestion-chip:hover[b-34zn91cv57] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-action-hover);
}

.suggestion-chip:focus-visible[b-34zn91cv57] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.suggestion-chip-icon[b-34zn91cv57] {
    color: var(--mud-palette-primary);
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 1px;
}
/* /Components/Chat/MarkdownRenderer.razor.rz.scp.css */
.markdown-body[b-3ilx7ye9h4]  a {
    color: var(--mud-palette-primary);
    text-decoration: underline;
    cursor: pointer;
}

.markdown-body[b-3ilx7ye9h4]  a:hover {
    opacity: 0.8;
}
/* /Components/Chat/MessageBubble.razor.rz.scp.css */
.bubble-row[b-kgw21vt2b4] {
    display: flex;
    gap: 10px;
    max-width: 85%;
    margin-bottom: 4px;
}

.bubble-row--user[b-kgw21vt2b4] {
    align-self: flex-end;
    flex-direction: row-reverse;
    max-width: 70%;
}

.bubble-row--ai[b-kgw21vt2b4] {
    align-self: flex-start;
}

.ai-avatar[b-kgw21vt2b4] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
}

.bubble--user[b-kgw21vt2b4] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 20px;
    padding: 10px 16px;
    word-break: break-word;
    line-height: 1.6;
}

.bubble--ai[b-kgw21vt2b4] {
    background: transparent;
    padding: 2px 0;
    word-break: break-word;
    line-height: 1.7;
    flex: 1;
    min-width: 0;
}

.bubble-wrapper[b-kgw21vt2b4] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.bubble-footer[b-kgw21vt2b4] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.bubble-footer--user[b-kgw21vt2b4] {
    justify-content: flex-end;
}

.bubble-time[b-kgw21vt2b4] {
    font-size: 11px;
    opacity: 0.45;
}

.bubble-actions[b-kgw21vt2b4] {
    opacity: 0;
    transition: opacity 150ms ease;
}

.bubble-row:hover .bubble-actions[b-kgw21vt2b4] {
    opacity: 1;
}
/* /Components/Chat/MessageList.razor.rz.scp.css */
.message-list-container[b-xg19ljydnx] {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.message-list[b-xg19ljydnx] {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Readable column width on large screens */
@media (min-width: 1280px) {
    .message-list[b-xg19ljydnx] {
        padding: 24px calc(50% - 430px);
    }
}

.message-list[b-xg19ljydnx]::-webkit-scrollbar {
    width: 4px;
}

.message-list[b-xg19ljydnx]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-divider);
    border-radius: 4px;
}

.scroll-to-bottom-fab[b-xg19ljydnx] {
    position: absolute;
    bottom: 16px;
    right: 24px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* /Components/Chat/TypingIndicator.razor.rz.scp.css */
.thinking-row[b-qxeqvam0bi] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.thinking-avatar[b-qxeqvam0bi] {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.thinking-dots[b-qxeqvam0bi] {
    display: flex;
    gap: 5px;
    align-items: center;
}

.dot[b-qxeqvam0bi] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mud-palette-text-secondary);
    animation: thinking-b-qxeqvam0bi 1.4s infinite ease-in-out;
}

.dot-1[b-qxeqvam0bi] { animation-delay: 0s; }
.dot-2[b-qxeqvam0bi] { animation-delay: 0.2s; }
.dot-3[b-qxeqvam0bi] { animation-delay: 0.4s; }

@keyframes thinking-b-qxeqvam0bi {
    0%, 60%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.4);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dot[b-qxeqvam0bi] {
        animation: none;
        opacity: 0.6;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-852g2hn1y7] {
    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-852g2hn1y7] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pryedu720l],
.components-reconnect-repeated-attempt-visible[b-pryedu720l],
.components-reconnect-failed-visible[b-pryedu720l],
.components-pause-visible[b-pryedu720l],
.components-resume-failed-visible[b-pryedu720l],
.components-rejoining-animation[b-pryedu720l] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-pryedu720l],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-pryedu720l],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-pryedu720l],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-pryedu720l],
#components-reconnect-modal.components-reconnect-retrying[b-pryedu720l],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-pryedu720l],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-pryedu720l],
#components-reconnect-modal.components-reconnect-failed[b-pryedu720l],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-pryedu720l] {
    display: block;
}


#components-reconnect-modal[b-pryedu720l] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-pryedu720l 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-pryedu720l 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-pryedu720l 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-pryedu720l]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-pryedu720l 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-pryedu720l {
    0% {
        transform: translateY(30px) scale(0.95);
    }

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

@keyframes components-reconnect-modal-fadeInOpacity-b-pryedu720l {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-pryedu720l {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-pryedu720l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-pryedu720l] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-pryedu720l] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-pryedu720l] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-pryedu720l] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-pryedu720l] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-pryedu720l] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-pryedu720l 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-pryedu720l] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-pryedu720l {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
