/* _content/KP.KI/Components/Pages/Chat/Chat.razor.rz.scp.css */
.chat-container[b-th6vvvk9r3] {
 position: sticky;
 bottom: 0;
 padding-left: 1.5rem;
 padding-right: 1.5rem;
 padding-top: 0.75rem;
 padding-bottom: 1.5rem;
 border-top-width: 1px;
 background-color: #F3F4F6;
 border-color: #E5E7EB;
}

.new-chat-icon[b-th6vvvk9r3] {
 width: 1.25rem;
 height: 1.25rem;
 color: rgb(55, 65, 81);
}

/* _content/KP.KI/Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
.citation[b-pw2dhab3at] {
 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 #12B4FF;
 gap: 0.5rem;
 border-radius: 0.25rem;
 font-size: 0.875rem;
 line-height: 1.25rem;
 background-color: #ffffff;
}

 .citation[href]:hover[b-pw2dhab3at] {
  outline: 1px solid #12B4FF;
 }

    .citation svg[b-pw2dhab3at] {
        width: 1.5rem;
        height: 1.5rem;
    }

 .citation:active[b-pw2dhab3at] {
  background-color: #12B4FF;
 }

 a:hover[b-pw2dhab3at] {
   text-decoration: none; /* optional: entfernt Unterstreichung */
  }

.citation-content[b-pw2dhab3at] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-pw2dhab3at] {
    font-weight: 600;
}
/* _content/KP.KI/Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-hbxy2vdlu8] {
    top: 0; 
    padding: 1.5rem; 
}

.chat-header-controls[b-hbxy2vdlu8] {
    margin-bottom: 1.5rem; 
}

h1[b-hbxy2vdlu8] {
    overflow: hidden;
    text-overflow: ellipsis;
}



@media (min-width: 768px) {
    .chat-header-container[b-hbxy2vdlu8] {
        position: sticky;
    }
}
/* _content/KP.KI/Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-s8wwrazfyb] {
 display: flex;
 flex-direction: column;
 background: white;
 border: 1px solid rgb(229, 231, 235);
 border-radius: 8px;
 padding: 0.5rem 0.75rem;
 margin-top: 0.75rem;
}

 .input-box:focus-within[b-s8wwrazfyb] {
  outline: 2px solid rgb(18, 180, 255);
 }

textarea[b-s8wwrazfyb] {
 resize: none;
 border: none;
 outline: none;
 flex-grow: 1;
}

 textarea:placeholder-shown + .tools[b-s8wwrazfyb] {
  --send-button-color: #aaa;
 }

.tools[b-s8wwrazfyb] {
 display: flex;
 margin-top: 1rem;
 align-items: center;
}

.tool-icon[b-s8wwrazfyb] {
 width: 1.25rem;
 height: 1.25rem;
}

.send-button[b-s8wwrazfyb] {
 color: var(--send-button-color);
 margin-left: auto;
}

 .send-button:hover[b-s8wwrazfyb] {
  color: black;
 }

.attach[b-s8wwrazfyb] {
 background-color: white;
 border-style: dashed;
 color: #888;
 border-color: #888;
 padding: 3px 8px;
}

 .attach:hover[b-s8wwrazfyb] {
  background-color: #f0f0f0;
  color: black;
 }
/* _content/KP.KI/Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-fx5bkr5rf1] {
    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; 
}

.assistant-message[b-fx5bkr5rf1], .assistant-search[b-fx5bkr5rf1] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem; 
}

.assistant-message-header[b-fx5bkr5rf1] {
    font-weight: 600;
}

.assistant-message-text[b-fx5bkr5rf1] {
    grid-column-start: 2;
}

.assistant-message-icon[b-fx5bkr5rf1] {
 display: flex;
 justify-content: center;
 align-items: center;
 border-radius: 9999px;
 width: 1.5rem;
 height: 1.5rem;
 color: #ffffff;
 background: #CBAACB;
}

    .assistant-message-icon svg[b-fx5bkr5rf1] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search[b-fx5bkr5rf1] {
    font-size: 0.875rem;
    line-height: 1.25rem; 
}

.assistant-search-icon[b-fx5bkr5rf1] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 1.5rem; 
    height: 1.5rem; 
}

    .assistant-search-icon svg[b-fx5bkr5rf1] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search-content[b-fx5bkr5rf1] {
    align-content: center;
}

.assistant-search-phrase[b-fx5bkr5rf1] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-fx5bkr5rf1] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

[b-fx5bkr5rf1] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
}

[b-fx5bkr5rf1] li {
    margin: 0.5rem 0;
}

[b-fx5bkr5rf1] strong {
    font-weight: 600;
}

[b-fx5bkr5rf1] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-fx5bkr5rf1] p + p {
    margin-top: 1rem;
}

[b-fx5bkr5rf1] table {
    margin: 1rem 0;
}

[b-fx5bkr5rf1] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-fx5bkr5rf1] th, [b-fx5bkr5rf1] td {
    padding: 0.1rem 0.5rem;
}

[b-fx5bkr5rf1] th, [b-fx5bkr5rf1] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}
/* _content/KP.KI/Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-m9pmixaser] {
    margin: 2rem 1.5rem;
    flex-grow: 1;
}

.message-list[b-m9pmixaser] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.no-messages[b-m9pmixaser] {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    margin-top: 0px;
}

chat-messages[b-m9pmixaser] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}
/* _content/KP.KI/Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-85gppciyh2] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
/* _content/KP.KI/Components/Pages/Chat/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-97mx94phif] {
    color: #666;
    animation: fade-in-b-97mx94phif 1s;
}

@keyframes fade-in-b-97mx94phif {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-97mx94phif],
    .lds-ellipsis div[b-97mx94phif] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-97mx94phif] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-97mx94phif] {
        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-97mx94phif] {
            left: 8px;
            animation: lds-ellipsis1-b-97mx94phif 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-97mx94phif] {
            left: 8px;
            animation: lds-ellipsis2-b-97mx94phif 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-97mx94phif] {
            left: 32px;
            animation: lds-ellipsis2-b-97mx94phif 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-97mx94phif] {
            left: 56px;
            animation: lds-ellipsis3-b-97mx94phif 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-97mx94phif {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-97mx94phif {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-97mx94phif {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
