/* _content/SupportAIAgent/Components/Layout/EmptyLayout.razor.rz.scp.css */
#blazor-error-ui[b-34v9arvw7d] {
    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-34v9arvw7d] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/SupportAIAgent/Components/Layout/LoadingSpinner.razor.rz.scp.css */
/* Used under CC0 license */

.lds-ellipsis[b-77x1u0pvb7] {
    color: #666;
    animation: fade-in-b-77x1u0pvb7 1s;
}

@keyframes fade-in-b-77x1u0pvb7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    .lds-ellipsis[b-77x1u0pvb7],
    .lds-ellipsis div[b-77x1u0pvb7] {
        box-sizing: border-box;
    }

.lds-ellipsis[b-77x1u0pvb7] {
    margin: auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div[b-77x1u0pvb7] {
        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-77x1u0pvb7] {
            left: 8px;
            animation: lds-ellipsis1-b-77x1u0pvb7 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2)[b-77x1u0pvb7] {
            left: 8px;
            animation: lds-ellipsis2-b-77x1u0pvb7 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3)[b-77x1u0pvb7] {
            left: 32px;
            animation: lds-ellipsis2-b-77x1u0pvb7 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4)[b-77x1u0pvb7] {
            left: 56px;
            animation: lds-ellipsis3-b-77x1u0pvb7 0.6s infinite;
        }

@keyframes lds-ellipsis1-b-77x1u0pvb7 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3-b-77x1u0pvb7 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2-b-77x1u0pvb7 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}
/* _content/SupportAIAgent/Components/Layout/MainLayout.razor.rz.scp.css */
.topbar[b-vaxuj5uex3] {
    background-color: #1a1a1a;
    min-height: 60px;
    display: flex;
    flex-direction: row; /* changed from column */
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Company name */
.company-name[b-vaxuj5uex3] {
    color: #f1f1f1;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

.company-main[b-vaxuj5uex3] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f1f1;
}

.company-sub[b-vaxuj5uex3] {
    font-size: 0.8rem;
    font-weight: 400;
    color: #e0e0e0;
}

/* Badges */
.badge-container[b-vaxuj5uex3] {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
}

.badge-appbar[b-vaxuj5uex3] {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f1f1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    white-space: normal;
}

/* Divider inside badge */
.vr[b-vaxuj5uex3] {
    border-left: 1.5px solid #888;
    height: 1.5em;
    align-self: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* User info stack */
.user-info-stack[b-vaxuj5uex3] {
    line-height: 1.1;
    white-space: nowrap;
}

.user-name[b-vaxuj5uex3] {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 500;
}

.reseller-name[b-vaxuj5uex3] {
    color: #bdbdbd;
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 400;
    margin-top: 2px;
}

/* Avatar */
.avatar-initials[b-vaxuj5uex3] {
    width: 40px;
    height: 40px;
    background-color: #343a40;
    color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

    .avatar-initials.dropdown-toggle[b-vaxuj5uex3]::after {
        display: none;
    }


@media (min-width: 768px) {
    .topbar[b-vaxuj5uex3] {
        flex-direction: column;
    }
}

.layout-body[b-vaxuj5uex3] {
    padding-top: 70px; /* or however tall your topbar ends up on all devices */
}
/* _content/SupportAIAgent/Components/Layout/SurveyPrompt.razor.rz.scp.css */
.surveyContainer[b-30qb4a7thd] {
    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-30qb4a7thd] {
        text-decoration: underline;
    }

    .surveyContainer .tool-icon[b-30qb4a7thd] {
        margin-top: 0.15rem;
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }
/* _content/SupportAIAgent/Components/Pages/Chat/Chat.razor.rz.scp.css */
.chat-container[b-94mwh03hwv] {
    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;
}

.custom-warning[b-94mwh03hwv] {
    background-color: rgba(255, 193, 7, 0.09); /* transparent yellow */
    border: 1px solid #ffc107;
    color: #856404;
}

.code-block-wrapper[b-94mwh03hwv] {
    margin: 1em 0;
}

    .code-block-wrapper pre[b-94mwh03hwv] {
        padding: 1em;
        background: #f5f5f5;
        border-radius: 6px;
        overflow-x: auto;
    }

.copy-button[b-94mwh03hwv] {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    padding: 2px 6px;
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatCitation.razor.rz.scp.css */
.citation[b-ic0s86ydup] {
    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-ic0s86ydup] {
        outline: 1px solid #865cb1;
    }

    .citation svg[b-ic0s86ydup] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .citation:active[b-ic0s86ydup] {
        background-color: rgba(0,0,0,0.05);
    }

.citation-content[b-ic0s86ydup] {
    display: flex;
    flex-direction: column;
}

.citation-file[b-ic0s86ydup] {
    font-weight: 600;
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatHeader.razor.rz.scp.css */
.chat-header-container[b-lrqelrp7sq] {
    top: 0; 
    padding: 1.5rem; 
}

.chat-header-controls[b-lrqelrp7sq] {
    margin-bottom: 1.5rem; 
}

h1[b-lrqelrp7sq] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-chat-icon[b-lrqelrp7sq] {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(55, 65, 81);
}

@media (min-width: 768px) {
    .chat-header-container[b-lrqelrp7sq] {
        position: sticky;
    }
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatHistory.razor.rz.scp.css */
.chat-wrapper[b-cqb9fcqt1u] {
    display: flex;
    height: calc(100vh - 60px);
    background-color: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
}

/* Sidebar */
.chat-sidebar[b-cqb9fcqt1u] {
    width: 280px;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    padding: 1rem;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.sidebar-header[b-cqb9fcqt1u] {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.chat-convo-list[b-cqb9fcqt1u] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-convo-item[b-cqb9fcqt1u] {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

    .chat-convo-item:hover[b-cqb9fcqt1u] {
        background-color: #f0f0f0;
    }

    .chat-convo-item.selected[b-cqb9fcqt1u] {
        background-color: #e0eaff;
    }

.convo-title[b-cqb9fcqt1u] {
    font-weight: 600;
}

.convo-date[b-cqb9fcqt1u] {
    font-size: 0.8rem;
    color: #888;
}

/* Chat Content */
.chat-content[b-cqb9fcqt1u] {
    flex: 1;
    padding: 2rem;
    background-color: #f1f5f9;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.chat-thread[b-cqb9fcqt1u] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message[b-cqb9fcqt1u] {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

    .chat-message.user[b-cqb9fcqt1u] {
        align-self: flex-end;
        text-align: right;
    }

    .chat-message.assistant[b-cqb9fcqt1u] {
        align-self: flex-start;
    }

.chat-bubble[b-cqb9fcqt1u] {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

.chat-message.user .chat-bubble[b-cqb9fcqt1u] {
    background-color: #dcfce7;
}

.chat-message.assistant .chat-bubble[b-cqb9fcqt1u] {
    background-color: #c3daee;
}

.role[b-cqb9fcqt1u] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.text[b-cqb9fcqt1u] {
    font-size: 1rem;
    white-space: pre-wrap;
}

.empty-state[b-cqb9fcqt1u] {
    color: #999;
    margin-top: 3rem;
    text-align: center;
    font-style: italic;
}

/* Mobile Styles */
.sidebar-toggle[b-cqb9fcqt1u] {
    background-color: grey;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    width: 280px;
    text-align: left;
}

@media (max-width: 768px) {
    .chat-wrapper[b-cqb9fcqt1u] {
        flex-direction: column;
        height: auto;
        position: relative;
    }

    .sidebar-toggle[b-cqb9fcqt1u] {
        display: block;
        position: sticky;
        top: 0;
        z-index: 1100;
    }

    .chat-sidebar[b-cqb9fcqt1u] {
        position: fixed;
        top: 60px;
        left: 0;
        width: 70vw;
        max-width: 240px;
        height: calc(100vh - 60px);
        background-color: white;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    }

        .chat-sidebar.open[b-cqb9fcqt1u] {
            transform: translateX(0);
        }

    .chat-content[b-cqb9fcqt1u] {
        padding: 1rem;
    }

    .chat-message[b-cqb9fcqt1u] {
        max-width: 100%;
    }
}

.delete-btn[b-cqb9fcqt1u], .delete-all-btn[b-cqb9fcqt1u] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.delete-btn[b-cqb9fcqt1u] {
    margin-left: 0.5rem;
    color: red;
}

.sidebar-header[b-cqb9fcqt1u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatInput.razor.rz.scp.css */
.input-box[b-1v79j4qx3b] {
    position: relative;
    display: flex; /* horizontal layout */
    align-items: center; /* vertically center textarea and button */
    background: white;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    padding: 0.25rem 0.75rem;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    min-height: 38px; /* keeps a consistent height */
}

    .input-box:focus-within[b-1v79j4qx3b] {
        outline: 2px solid #4152d5;
    }

textarea[b-1v79j4qx3b] {
    flex-grow: 1; /* fills available width */
    border: none;
    outline: none;
    resize: vertical;
    font-size: 1rem;
    line-height: 1.5;
    font-family: inherit;
    padding: 0.25rem 3rem 0.25rem 0.5rem; /* right padding for button */
    min-height: 30px;
    max-height: 120px;
    overflow-y: auto;
    box-sizing: border-box;
}

.tools[b-1v79j4qx3b] {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    display: flex;
    align-items: center;
}

.send-button[b-1v79j4qx3b] {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    color: var(--send-button-color, #555);
    transition: background-color 0.2s, color 0.2s;
}

    .send-button:hover[b-1v79j4qx3b] {
        background-color: #f2f2f2;
        color: black;
    }

.tool-icon[b-1v79j4qx3b] {
    width: 1rem;
    height: 1rem;
    pointer-events: none;
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatMessageItem.razor.rz.scp.css */
.user-message[b-blikf0evlq] {
    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-blikf0evlq], .assistant-search[b-blikf0evlq] {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.25rem; 
}

.assistant-message-header[b-blikf0evlq] {
    font-weight: 600;
}

.assistant-message-text[b-blikf0evlq] {
    grid-column-start: 2;
}

.assistant-message-text-ar[b-blikf0evlq] {
    grid-column-start: 2;
    direction: rtl;
    text-align: left;
}

.assistant-message-icon[b-blikf0evlq] {
    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-blikf0evlq] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search[b-blikf0evlq] {
    font-size: 0.875rem;
    line-height: 1.25rem; 
}

.assistant-search-icon[b-blikf0evlq] {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 1.5rem; 
    height: 1.5rem; 
}

    .assistant-search-icon svg[b-blikf0evlq] {
        width: 1rem; 
        height: 1rem; 
    }

.assistant-search-content[b-blikf0evlq] {
    align-content: center;
}

.assistant-search-phrase[b-blikf0evlq] {
    font-weight: 600;
}

/* Default styling for markdown-formatted assistant messages */
[b-blikf0evlq] ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    list-style-position: inside !important;
}

[b-blikf0evlq] ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    list-style-position: inside !important;
}

[b-blikf0evlq] li {
    margin: 0.5rem 0;
    list-style-position: inside !important;
}

[b-blikf0evlq] strong {
    font-weight: 600;
}

[b-blikf0evlq] h3 {
    margin: 1rem 0;
    font-weight: 600;
}

[b-blikf0evlq] p + p {
    margin-top: 1rem;
}

[b-blikf0evlq] table {
    margin: 1rem 0;
}

[b-blikf0evlq] th {
    text-align: left;
    border-bottom: 1px solid silver;
}

[b-blikf0evlq] th, [b-blikf0evlq] td {
    padding: 0.1rem 0.5rem;
}

[b-blikf0evlq] th, [b-blikf0evlq] tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

[b-blikf0evlq] pre > code {
    background-color: white;
    display: block;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatMessageList.razor.rz.scp.css */
.message-list-container[b-6hjs5ni8sk] {
    margin: 2rem 1.5rem;
    flex-grow: 1;
}

.message-list[b-6hjs5ni8sk] {
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.no-messages[b-6hjs5ni8sk] {
    text-align: center;
    font-size: 1.25rem;
    color: #999;
    margin-top: calc(40vh - 18rem);
}

chat-messages[b-6hjs5ni8sk] >  div:last-of-type {
    /* Adds some vertical buffer to so that suggestions don't overlap the output when they appear */
    margin-bottom: 2rem;
}
/* _content/SupportAIAgent/Components/Pages/Chat/ChatSuggestions.razor.rz.scp.css */
.suggestions[b-gry5lox0eh] {
    text-align: right;
    white-space: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.75rem;
}
