@import '_content/Beckerbillett.Components/Beckerbillett.Components.shapbd7xyb.bundle.scp.css';

/* /Features/ChatAssistant/Components/AssistantReasoningItem.razor.rz.scp.css */
.assistant-search[b-nml12f87ki] {
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem;
}

.assistant-search-icon[b-nml12f87ki] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
}

    .assistant-search-icon svg[b-nml12f87ki] {
        width: 1rem;
        height: 1rem;
    }

.assistant-search-content[b-nml12f87ki] {
    align-content: center;
}

.assistant-search-phrase[b-nml12f87ki] {
    font-weight: 600;
}

.assistant-search-tool[b-nml12f87ki] {
    font-weight: 300;
    font-style: italic;
}
/* /Features/ChatAssistant/Components/AssistantResponseItem.razor.rz.scp.css */
.assistant-message[b-d1hjdpor1q] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem;
}

.assistant-message-header[b-d1hjdpor1q] {
    font-weight: 600;
}

.assistant-message-text[b-d1hjdpor1q] {
    grid-column-start: 2;
}

.assistant-message-icon[b-d1hjdpor1q] {
    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-d1hjdpor1q] {
        width: 1rem;
        height: 1rem;
    }

.citations-container[b-d1hjdpor1q] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Default styling for markdown-formatted assistant messages */
[b-d1hjdpor1q] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-d1hjdpor1q] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-d1hjdpor1q] li {
    margin: 0.5rem 0;
}

[b-d1hjdpor1q] strong {
    font-weight: 600;
}

[b-d1hjdpor1q] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-d1hjdpor1q] p + p {
    margin-top: 1rem;
}

[b-d1hjdpor1q] table {
    margin: 1rem 0;
}

[b-d1hjdpor1q] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-d1hjdpor1q] th, [b-d1hjdpor1q] td {
    padding: 0.1rem 0.5rem;
}

[b-d1hjdpor1q] th, [b-d1hjdpor1q] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

[b-d1hjdpor1q] pre > code {
    background-color: white;
    display: block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}
/* /Features/ChatAssistant/Components/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-ccdnhvirqj] {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* /Features/ChatAssistant/Components/ChatHistory.razor.rz.scp.css */
.chat-history-panel[b-cn93lvbz3f] {
    padding: 1.5rem 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
/* /Features/ChatAssistant/Components/ChatHistoryNode.razor.rz.scp.css */
.chat-log-row[b-n6h8ro1oqg] {
    padding: 0.5em 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-log-row.selected[b-n6h8ro1oqg] {
        color: #999
    }

    .chat-log-row .name[b-n6h8ro1oqg] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chat-log-row .delete-icon[b-n6h8ro1oqg] {
        width: 1.5rem;
        height: 1.5rem;
        fill: #999;
        visibility: hidden;
    }

    .chat-log-row:hover .delete-icon[b-n6h8ro1oqg] {
        visibility: visible;
    }

@media (hover: hover) and (pointer: fine) {
    .chat-log-row .delete-icon[b-n6h8ro1oqg] {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease;
    }

    .chat-log-row:hover .delete-icon[b-n6h8ro1oqg] {
        opacity: 1;
        visibility: visible;
    }
}

@media (hover: none) and (pointer: coarse) {
    .chat-log-row .delete-icon[b-n6h8ro1oqg] {
        opacity: 1;
        visibility: visible;
    }
}
/* /Features/ChatAssistant/Components/ChatInput.razor.rz.scp.css */
.input-box[b-mnmzzguzmj] {
    display: flex;
    background: white;
    border: 1px solid var(--color-default-border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    align-items: baseline;
}

    .input-box:focus-within[b-mnmzzguzmj] {
        outline: 1px solid var(--color-secondary-border);
    }

textarea[b-mnmzzguzmj] {
    resize: none;
    border: none;
    outline: none;
    flex-grow: 1;
    line-height: 1.5;
}

.input-box .send-button[b-mnmzzguzmj] {
    border: 0;
    background-color: transparent;
    color: #aaa;
    align-items: center;
    justify-content: center;
}

    .input-box .send-button:hover[b-mnmzzguzmj],
    .input-box .send-button.active[b-mnmzzguzmj] {
        cursor: pointer;
        color: var(--color-primary-background);
    }

.tools[b-mnmzzguzmj] {
    display: flex;
    align-items: center;
}

.attach[b-mnmzzguzmj] {
    background-color: white;
    border-style: dashed;
    color: #888;
    border-color: #888;
    padding: 3px 8px;
}

    .attach:hover[b-mnmzzguzmj] {
        background-color: #f0f0f0;
        color: black;
    }
/* /Features/ChatAssistant/Components/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-tsjy8wpeuf] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.no-messages[b-tsjy8wpeuf] {
    padding: 1.5rem;
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    place-items: center;
}

.message-list[b-tsjy8wpeuf] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.no-messages[b-tsjy8wpeuf] {
    text-align: center;
    color: #999;
    align-content: center;
}

    .no-messages *[b-tsjy8wpeuf] {
        font-size: 1.5rem;
    }

chat-messages[b-tsjy8wpeuf] >  div:last-of-type {
    margin-bottom: 1rem;
}
/* /Features/ChatAssistant/Components/ChatSidePanelToggle.razor.rz.scp.css */
.toggle svg[b-nsoy0kell2] {
    width: 2rem;
    height: 2rem;
    fill: #999;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

@media (max-width: 768px) {
    .toggle svg[b-nsoy0kell2] {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
    }
}
/* /Features/ChatAssistant/Components/CitationItem.razor.rz.scp.css */
.citation[b-qr5avbrcas] {
    display: inline-flex;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid var(--color-default-border);
    gap: 0.5rem;
    border-radius: 0.25rem;
    line-height: 1.25rem;
    background-color: #ffffff;
    text-decoration: none;
    color: var(--color-default-text);
}

    .citation[href]:hover[b-qr5avbrcas] {
        outline: 1px solid var(--color-primary-border);
    }

    .citation svg[b-qr5avbrcas] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .citation:active[b-qr5avbrcas] {
        background-color: rgba(0,0,0,0.05);
    }

.citation-content[b-qr5avbrcas] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-qr5avbrcas] {
    font-weight: 600;
}

.citation-quote[b-qr5avbrcas] {
    font-size: 0.75rem;
    color: var(--color-silent-text);
}
/* /Features/ChatAssistant/Components/SendMessageIcon.razor.rz.scp.css */
.tool-icon[b-5vmaw5qjj6] {
    width: 1.25rem;
    height: 1.25rem;
}
/* /Features/ChatAssistant/Components/UserMessageItem.razor.rz.scp.css */
.user-message[b-ft4t6gxwej] {
    background: rgb(182 215 232);
    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;
}
/* /Features/ChatAssistant/Pages/ChatAssistantPage.razor.rz.scp.css */
.chat-container[b-0eyyt85ofe] {
    display: flex;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

    .chat-container .chat-side-panel[b-0eyyt85ofe] {
        display: flex;
        flex-direction: column;
        flex: 0 1 25%;
        max-width: 25vw;
        padding: 1.5rem;
        background-color: #e1e1e3;
        border-right: 1px solid #e1e1e3;
    }

        .chat-container .chat-side-panel.closed[b-0eyyt85ofe] {
            display: none;
        }

        .chat-container .chat-side-panel .controls[b-0eyyt85ofe] {
            display: flex;
            justify-content: space-between;
            flex: 0 0 auto;
        }

    .chat-container .chat-conversation-area[b-0eyyt85ofe] {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

        .chat-container .chat-conversation-area .chat-top-bar[b-0eyyt85ofe] {
            padding: 0.5rem;
        }

            .chat-container .chat-conversation-area .chat-top-bar:focus[b-0eyyt85ofe] {
                outline: none;
            }

    .chat-container .chat-input-area[b-0eyyt85ofe] {
        position: sticky;
        bottom: 0;
        padding: 1.5rem;
        border-top-width: 1px;
        background-color: var(--color-background-app);
        border-color: #E5E7EB;
    }

@media (min-width: 769px) {
    .chat-container .chat-side-panel[b-0eyyt85ofe] {
        display: flex;
        position: static;
        max-width: 25vw;
    }
}

@media (max-width: 768px) {

    .chat-container .chat-side-panel[b-0eyyt85ofe] {
        display: none;
    }


        .chat-container .chat-side-panel.opened[b-0eyyt85ofe] {
            display: flex;
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 85vw;
            max-width: none;
            z-index: 1;
            box-shadow: 2px 0 8px rgba(0,0,0,0.25);
        }

    .chat-container .chat-conversation-area[b-0eyyt85ofe] {
        margin-top: 1.5rem;
    }
}
