/* /Components/Conversational/AgentActivationBubble.razor.rz.scp.css */
.agent-activation-bubble[b-1sqwlagvnn] {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.activation-header[b-1sqwlagvnn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.activation-actions[b-1sqwlagvnn] {
    display: flex;
    gap: 4px;
}

.activation-content[b-1sqwlagvnn] {
    margin-bottom: 8px;
}

.section-title[b-1sqwlagvnn] {
    font-weight: 600;
    margin-bottom: 4px;
    color: #495057;
}

.tool-calls-section[b-1sqwlagvnn],
.tool-results-section[b-1sqwlagvnn],
.text-messages-section[b-1sqwlagvnn] {
    margin-bottom: 8px;
}

.tool-call-item[b-1sqwlagvnn] {
    margin: 4px 0;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    overflow: hidden;
}

.tool-call-header[b-1sqwlagvnn] {
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    transition: background-color 0.2s ease;
}

.tool-call-header:hover[b-1sqwlagvnn] {
    background-color: #f8f9fa;
}

.tool-call-details[b-1sqwlagvnn] {
    padding: 8px;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.tool-call-arguments[b-1sqwlagvnn],
.tool-result-details[b-1sqwlagvnn] {
    margin-bottom: 12px;
}

.tool-call-arguments:last-child[b-1sqwlagvnn],
.tool-result-details:last-child[b-1sqwlagvnn] {
    margin-bottom: 0;
}

.detail-title[b-1sqwlagvnn] {
    font-weight: 600;
    margin-bottom: 4px;
    color: #495057;
}

/* JSON content styling now handled by JsonTreeViewer component */

.tool-result-pending[b-1sqwlagvnn] {
    margin-top: 8px;
    padding: 8px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.pending-text[b-1sqwlagvnn] {
    color: #856404;
    font-style: italic;
}

.plugin-name[b-1sqwlagvnn] {
    margin-top: 2px;
    color: #6c757d;
    font-style: italic;
}

.no-content[b-1sqwlagvnn] {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 12px;
}

.activation-footer[b-1sqwlagvnn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #6c757d;
}

.activation-time[b-1sqwlagvnn] {
    color: #6c757d;
}

.debug-info-section[b-1sqwlagvnn] {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.debug-row[b-1sqwlagvnn] {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 8px;
}

.debug-row .label[b-1sqwlagvnn] {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
}

.debug-row .value[b-1sqwlagvnn] {
    color: #6c757d;
    font-family: 'Courier New', monospace;
    flex-grow: 1;
}

/* JSON styling now handled by JsonTreeViewer component */

/* Responsive adjustments */
@media (max-width: 768px) {
    .agent-activation-bubble[b-1sqwlagvnn] {
        max-width: 95%;
        margin: 4px 0;
        padding: 8px;
    }
    
    .activation-header[b-1sqwlagvnn] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .activation-footer[b-1sqwlagvnn] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
/* /Components/Conversational/JsonTreeViewer.razor.rz.scp.css */
.json-tree-viewer[b-te2jxqaddo] {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.json-empty[b-te2jxqaddo] {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.json-object[b-te2jxqaddo],
.json-array[b-te2jxqaddo] {
    margin: 2px 0;
}

.json-object-header[b-te2jxqaddo],
.json-array-header[b-te2jxqaddo] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 2px 0;
    transition: background-color 0.2s ease;
}

.json-object-header:hover[b-te2jxqaddo],
.json-array-header:hover[b-te2jxqaddo] {
    background-color: #dee2e6;
}

.json-toggle[b-te2jxqaddo] {
    font-size: 0.7rem;
    color: #6c757d;
    width: 12px;
    text-align: center;
    user-select: none;
}

.json-brace[b-te2jxqaddo],
.json-bracket[b-te2jxqaddo] {
    color: #007bff;
    font-weight: bold;
}

.json-count[b-te2jxqaddo] {
    color: #6c757d;
    font-style: italic;
    font-size: 0.7rem;
}

.json-object-content[b-te2jxqaddo],
.json-array-content[b-te2jxqaddo] {
    margin-left: 16px;
    border-left: 2px solid #e9ecef;
    padding-left: 8px;
}

.json-property[b-te2jxqaddo],
.json-array-item[b-te2jxqaddo] {
    margin: 2px 0;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: wrap;
}

.json-property-name[b-te2jxqaddo] {
    color: #e83e8c;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.json-property-name:hover[b-te2jxqaddo] {
    color: #d63384;
    text-decoration: underline;
}

.json-array-index[b-te2jxqaddo] {
    color: #fd7e14;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.json-array-index:hover[b-te2jxqaddo] {
    color: #e55a00;
    text-decoration: underline;
}

.json-colon[b-te2jxqaddo] {
    color: #333;
    font-weight: bold;
}

.json-value[b-te2jxqaddo] {
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 2px 4px;
    border-radius: 3px;
    display: inline-block;
}

.json-value:hover[b-te2jxqaddo] {
    background-color: #fff3cd;
}

.json-string[b-te2jxqaddo] {
    color: #28a745;
}

.json-number[b-te2jxqaddo] {
    color: #007bff;
}

.json-boolean[b-te2jxqaddo] {
    color: #dc3545;
}

.json-null[b-te2jxqaddo] {
    color: #6c757d;
    font-style: italic;
}

.json-empty-object[b-te2jxqaddo],
.json-empty-array[b-te2jxqaddo] {
    color: #6c757d;
    font-style: italic;
}

.json-brace-closing[b-te2jxqaddo],
.json-bracket-closing[b-te2jxqaddo] {
    margin-top: 4px;
}

.json-truncated[b-te2jxqaddo] {
    color: #6c757d;
    font-style: italic;
    padding: 8px;
    background-color: #fff3cd;
    border-radius: 4px;
    border: 1px solid #ffeaa7;
}

.json-error[b-te2jxqaddo] {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .json-tree-viewer[b-te2jxqaddo] {
        font-size: 0.7rem;
        padding: 8px;
        max-height: 300px;
    }
    
    .json-object-content[b-te2jxqaddo],
    .json-array-content[b-te2jxqaddo] {
        margin-left: 12px;
        padding-left: 6px;
    }
    
    .json-property[b-te2jxqaddo],
    .json-array-item[b-te2jxqaddo] {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .json-property-name[b-te2jxqaddo],
    .json-array-index[b-te2jxqaddo] {
        margin-bottom: 2px;
    }
}
/* /Components/Conversational/MessageBubble.razor.rz.scp.css */
/* Reply Reference Styles */
.reply-reference[b-40aj52fbzg] {
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 3px solid #007bff;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.reply-indicator[b-40aj52fbzg] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.reply-icon[b-40aj52fbzg] {
    color: #007bff;
    font-size: 16px;
}

.reply-text[b-40aj52fbzg] {
    color: #6c757d;
    font-weight: 500;
}

.reply-to-message[b-40aj52fbzg] {
    margin-left: 20px;
}

.reply-message-text[b-40aj52fbzg] {
    color: #495057;
    font-style: italic;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.reply-message-preview[b-40aj52fbzg] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.quick-reply-content[b-40aj52fbzg] {
    font-weight: 500;
    padding: 8px 12px;
    background-color: #e3f2fd;
    border-radius: 18px;
    border: 1px solid #bbdefb;
    display: inline-block;
    color: #1976d2;
}

/* Dark theme adjustments */
.dark .reply-reference[b-40aj52fbzg] {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #4dabf7;
}

.dark .reply-text[b-40aj52fbzg] {
    color: #adb5bd;
}

.dark .reply-message-text[b-40aj52fbzg] {
    color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reply-message-text[b-40aj52fbzg] {
        max-width: 150px;
    }
    
    .reply-reference[b-40aj52fbzg] {
        padding: 6px;
        margin-bottom: 6px;
    }
}

/* Message bubble specific adjustments */
.message-bubble .reply-reference[b-40aj52fbzg] {
    margin: 4px 0;
    border-radius: 6px;
}

/* Outbound message reply styling */
.message-outer-wrapper.outbound .reply-reference[b-40aj52fbzg] {
    border-left-color: #28a745;
}

.message-outer-wrapper.outbound .reply-icon[b-40aj52fbzg] {
    color: #28a745;
}

/* Inbound message reply styling */
.message-outer-wrapper.inbound .reply-reference[b-40aj52fbzg] {
    border-left-color: #007bff;
}

.message-outer-wrapper.inbound .reply-icon[b-40aj52fbzg] {
    color: #007bff;
}

/* Audio Transcription Styles */
.audio-transcription[b-40aj52fbzg] {
    margin-top: 8px;
    padding: 10px 12px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    border-left: 3px solid #1976d2;
}

.transcription-header[b-40aj52fbzg] {
    display: flex;
    align-items: center;
    color: #1976d2;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.transcription-label[b-40aj52fbzg] {
    opacity: 0.9;
}

.transcription-text[b-40aj52fbzg] {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.audio-transcription-only[b-40aj52fbzg] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Dark theme adjustments for transcription */
.dark .audio-transcription[b-40aj52fbzg] {
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: #4dabf7;
}

.dark .transcription-header[b-40aj52fbzg] {
    color: #4dabf7;
}

.dark .transcription-text[b-40aj52fbzg] {
    color: #e9ecef;
}

.dark .audio-transcription-only[b-40aj52fbzg] {
    color: #adb5bd;
}

/* Outbound message transcription styling */
.message-outer-wrapper.outbound .audio-transcription[b-40aj52fbzg] {
    border-left-color: #28a745;
}

.message-outer-wrapper.outbound .transcription-header[b-40aj52fbzg] {
    color: #28a745;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-w4ktnpz9dw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-w4ktnpz9dw] {
    flex: 1;
}

.sidebar[b-w4ktnpz9dw] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-w4ktnpz9dw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-w4ktnpz9dw]  a, .top-row[b-w4ktnpz9dw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-w4ktnpz9dw]  a:hover, .top-row[b-w4ktnpz9dw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-w4ktnpz9dw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-w4ktnpz9dw] {
        justify-content: space-between;
    }

    .top-row[b-w4ktnpz9dw]  a, .top-row[b-w4ktnpz9dw]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-w4ktnpz9dw] {
        flex-direction: row;
    }

    .sidebar[b-w4ktnpz9dw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-w4ktnpz9dw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-w4ktnpz9dw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-w4ktnpz9dw], article[b-w4ktnpz9dw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6eyibuyrac] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-6eyibuyrac] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-6eyibuyrac] {
    font-size: 1.1rem;
}

.bi[b-6eyibuyrac] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-6eyibuyrac] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-6eyibuyrac] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-6eyibuyrac] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-6eyibuyrac] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-6eyibuyrac] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-6eyibuyrac] {
        padding-bottom: 1rem;
    }

    .nav-item[b-6eyibuyrac]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-6eyibuyrac]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-6eyibuyrac]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6eyibuyrac] {
        display: none;
    }

    .collapse[b-6eyibuyrac] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-6eyibuyrac] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
