@import '_content/ZXingBlazor/ZXingBlazor.bundle.scp.css';
@import '_content/Octo.Web.Core/Octo.Web.Core.bundle.scp.css';

/* _content/Octo.Web.Server/Components/AiChatFab.razor.rz.scp.css */
.ai-fab[b-fejs3cgv4y] {
    position: fixed;
    bottom: 110px;
    right: 11px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    /* Octo blue → AI purple: fuses the Octo brand with the AI identity */
    background: linear-gradient(135deg, #4040FF 0%, #6366f1 55%, #8b5cf6 100%);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10005;
    box-shadow: 0 8px 24px -4px rgba(64, 64, 255, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
    animation: ai-fab-float-b-fejs3cgv4y 3.5s ease-in-out infinite;
}

.ai-fab:hover[b-fejs3cgv4y] {
    transform: scale(1.08);
    box-shadow: 0 12px 30px -4px rgba(139, 92, 246, .75);
}

.ai-fab.open[b-fejs3cgv4y] {
    background: linear-gradient(135deg, #4b5563, #6b7280);
    animation: none;
}

.ai-fab i[b-fejs3cgv4y] {
    position: relative;
    z-index: 2;
}

/* White Octo logo on the gradient (brightness/invert turns the blue mark white) */
.ai-fab-logo[b-fejs3cgv4y] {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* Small AI sparkle accent, top-right */
.ai-fab-spark[b-fejs3cgv4y] {
    position: absolute;
    top: 7px;
    right: 8px;
    z-index: 3;
    font-size: 11px;
    color: #fde047;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    animation: ai-fab-twinkle-b-fejs3cgv4y 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ai-fab-twinkle-b-fejs3cgv4y {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.8); }
}

/* Pulsing ring */
.ai-fab-pulse[b-fejs3cgv4y] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, .5);
    z-index: 1;
    animation: ai-fab-pulse-b-fejs3cgv4y 2s ease-out infinite;
}

@keyframes ai-fab-pulse-b-fejs3cgv4y {
    0% {
        transform: scale(1);
        opacity: .7;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@keyframes ai-fab-float-b-fejs3cgv4y {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-fab[b-fejs3cgv4y],
    .ai-fab-spark[b-fejs3cgv4y] {
        animation: none;
    }
    .ai-fab-pulse[b-fejs3cgv4y] {
        animation: none;
        opacity: 0;
    }
}
/* _content/Octo.Web.Server/Components/AiChatPanel.razor.rz.scp.css */
.ai-panel[b-30nv6ugdw5] {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 760px;
    max-width: 96vw;
    background: #ffffff;
    box-shadow: -8px 0 40px -10px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    z-index: 10010;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(0.22, 1, 0.36, 1);
    color: #1f2430;
    font-size: 14px;
}

.ai-panel.open[b-30nv6ugdw5] {
    transform: translateX(0);
}

/* Left-edge resize handle */
.ai-resize-handle[b-30nv6ugdw5] {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    cursor: ew-resize;
    z-index: 20;
    background: transparent;
    transition: background .15s;
}

.ai-resize-handle:hover[b-30nv6ugdw5],
.ai-resize-handle.dragging[b-30nv6ugdw5] {
    background: rgba(74, 144, 255, .4);
}

[b-30nv6ugdw5] [data-bs-theme="dark"] .ai-panel,
.ai-panel[b-30nv6ugdw5] {
}

/* Header */
.ai-panel-header[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #2F6BED, #4A90FF);
    color: #fff;
    flex-shrink: 0;
}

.ai-panel-title[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: .3px;
}

.ai-panel-header-actions[b-30nv6ugdw5] {
    display: flex;
    gap: 4px;
}

.ai-icon-btn[b-30nv6ugdw5] {
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
}

.ai-icon-btn:hover[b-30nv6ugdw5] {
    background: rgba(255, 255, 255, .3);
}

/* Body */
.ai-panel-body[b-30nv6ugdw5] {
    flex: 1;
    display: flex;
    min-height: 0;
}

/* History */
.ai-history[b-30nv6ugdw5] {
    width: 190px;
    flex-shrink: 0;
    border-right: 1px solid #ececf1;
    background: #f7f7fa;
    overflow-y: auto;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-new-chat-btn[b-30nv6ugdw5] {
    width: 100%;
    border: 1px solid #e0e0ea;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    color: #1E3FD9;
    font-weight: 500;
    margin-bottom: 6px;
    transition: background .15s;
}

.ai-new-chat-btn:hover[b-30nv6ugdw5] {
    background: #eef4ff;
}

.ai-history-empty[b-30nv6ugdw5] {
    color: #98a0ab;
    font-size: 12px;
    text-align: center;
    padding: 20px 6px;
}

.ai-history-item[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #3b4250;
    transition: background .12s;
    gap: 6px;
}

.ai-history-item:hover[b-30nv6ugdw5] {
    background: #ececf5;
}

.ai-history-item.active[b-30nv6ugdw5] {
    background: #dbe7ff;
    color: #1E3FD9;
    font-weight: 500;
}

.ai-history-title[b-30nv6ugdw5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.ai-history-actions[b-30nv6ugdw5] {
    display: none;
    gap: 8px;
    flex-shrink: 0;
}

.ai-history-item:hover .ai-history-actions[b-30nv6ugdw5] {
    display: flex;
}

.ai-history-actions i[b-30nv6ugdw5] {
    color: #98a0ab;
    font-size: 12px;
}

.ai-history-actions i:hover[b-30nv6ugdw5] {
    color: #1E3FD9;
}

.ai-rename-input[b-30nv6ugdw5] {
    width: 100%;
    border: 1px solid #4A90FF;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 13px;
}

/* Thread */
.ai-thread-wrap[b-30nv6ugdw5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ai-thread[b-30nv6ugdw5] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-empty[b-30nv6ugdw5] {
    margin: auto;
    text-align: center;
    color: #98a0ab;
    padding: 30px 20px;
}

.ai-empty p[b-30nv6ugdw5] {
    font-size: 16px;
    font-weight: 600;
    color: #5b626f;
}

/* RnAi message layout: user → right-aligned light bubble, assistant → plain left text */
.ai-msg[b-30nv6ugdw5] {
    display: flex;
}

.ai-msg.user[b-30nv6ugdw5] {
    justify-content: flex-end;
}

.ai-msg.assistant[b-30nv6ugdw5] {
    justify-content: flex-start;
}

.ai-msg-content[b-30nv6ugdw5] {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.ai-msg.user .ai-msg-content[b-30nv6ugdw5] {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px 16px 4px 16px;
    background: #eef4ff;
    color: #1f2430;
    border: 1px solid #dbe7ff;
}

.ai-msg.assistant .ai-msg-content[b-30nv6ugdw5] {
    max-width: 100%;
    width: 100%;
    color: #1f2430;
}

/* Assistant action row (copy etc.) */
.ai-msg-actions[b-30nv6ugdw5] {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.ai-msg-action[b-30nv6ugdw5] {
    background: transparent;
    border: none;
    color: #98a0ab;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.ai-msg-action:hover[b-30nv6ugdw5] {
    background: #eef4ff;
    color: #2F6BED;
}

/* "Thinking" typing indicator */
.ai-typing[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A90FF;
    font-size: 13px;
    font-weight: 500;
}

.ai-typing-text[b-30nv6ugdw5] {
    background: linear-gradient(90deg, #4A90FF, #9DC2FF, #4A90FF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ai-typing-shimmer-b-30nv6ugdw5 1.6s linear infinite;
}

@keyframes ai-typing-shimmer-b-30nv6ugdw5 {
    to { background-position: 200% center; }
}

/* Persistent "answering…" indicator shown under streaming content until generation finishes */
.ai-generating[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #4A90FF;
    font-size: 12px;
    font-weight: 500;
}

.ai-generating-text[b-30nv6ugdw5] {
    background: linear-gradient(90deg, #4A90FF, #9DC2FF, #4A90FF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ai-typing-shimmer-b-30nv6ugdw5 1.6s linear infinite;
}

.ai-typing-dots[b-30nv6ugdw5] {
    display: inline-flex;
    gap: 3px;
}

.ai-typing-dots span[b-30nv6ugdw5] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4A90FF;
    display: inline-block;
    animation: ai-typing-bounce-b-30nv6ugdw5 1.2s ease-in-out infinite;
}

.ai-typing-dots span:nth-child(2)[b-30nv6ugdw5] { animation-delay: .2s; }
.ai-typing-dots span:nth-child(3)[b-30nv6ugdw5] { animation-delay: .4s; }

@keyframes ai-typing-bounce-b-30nv6ugdw5 {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.ai-msg-attachments[b-30nv6ugdw5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.ai-attach-chip[b-30nv6ugdw5] {
    font-size: 12px;
    background: rgba(0, 0, 0, .08);
    padding: 3px 8px;
    border-radius: 10px;
}

.ai-msg.user .ai-attach-chip[b-30nv6ugdw5] {
    background: rgba(47, 107, 237, .12);
    color: #1E3FD9;
}

/* Composer */
.ai-composer[b-30nv6ugdw5] {
    flex-shrink: 0;
    border-top: 1px solid #ececf1;
    padding: 10px 14px 12px;
    background: #fafafd;
}

.ai-quota-banner[b-30nv6ugdw5] {
    background: #fdecec;
    color: #c0392b;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    margin-bottom: 8px;
}

.ai-pending-attachments[b-30nv6ugdw5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ai-pending-item[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eef4ff;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 12px;
    max-width: 180px;
}

.ai-pending-thumb[b-30nv6ugdw5] {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
}

.ai-pending-fileicon[b-30nv6ugdw5] {
    color: #4A90FF;
}

.ai-pending-name[b-30nv6ugdw5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-pending-remove[b-30nv6ugdw5] {
    cursor: pointer;
    color: #98a0ab;
}

.ai-pending-remove:hover[b-30nv6ugdw5] {
    color: #c0392b;
}

.ai-composer-input[b-30nv6ugdw5] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e0ea;
    border-radius: 14px;
    padding: 6px 8px;
}

.ai-attach-btn[b-30nv6ugdw5] {
    cursor: pointer;
    color: #4A90FF;
    padding: 6px;
    margin-bottom: 2px;
}

.ai-attach-btn.disabled[b-30nv6ugdw5] {
    opacity: .45;
    cursor: not-allowed;
    color: #98a0ab;
}

.ai-file-input[b-30nv6ugdw5] {
    display: none;
}

.ai-mic-btn[b-30nv6ugdw5] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4A90FF;
    padding: 6px;
    margin-bottom: 2px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}

.ai-mic-btn:hover[b-30nv6ugdw5] {
    background: #eef4ff;
}

.ai-mic-btn:disabled[b-30nv6ugdw5] {
    opacity: .45;
    cursor: not-allowed;
}

.ai-mic-btn.listening[b-30nv6ugdw5] {
    color: #fff;
    background: #ef4444;
    animation: ai-mic-pulse-b-30nv6ugdw5 1.3s ease-out infinite;
}

@keyframes ai-mic-pulse-b-30nv6ugdw5 {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); }
    100% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* InputFile renders its own <input type="file"> as a child component,
   which does NOT receive the scoped attribute — hide it via ::deep. */
.ai-attach-btn[b-30nv6ugdw5]  input[type="file"] {
    display: none;
}

.ai-textarea[b-30nv6ugdw5] {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    min-height: 38px;
    max-height: 140px;
    font-size: 14px;
    padding: 8px 4px;
    background: transparent;
    color: #1f2430;
    font-family: inherit;
}

.ai-send-btn[b-30nv6ugdw5] {
    background: linear-gradient(135deg, #2F6BED, #4A90FF);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity .15s;
}

.ai-send-btn:disabled[b-30nv6ugdw5] {
    opacity: .45;
    cursor: not-allowed;
}

.ai-stop-btn[b-30nv6ugdw5] {
    background: #ef4444;
}

.ai-composer-footer[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: #98a0ab;
}

.ai-hint kbd[b-30nv6ugdw5] {
    background: #ececf1;
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 10px;
    color: #5b626f;
}

.ai-token-info[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-token-bar[b-30nv6ugdw5] {
    width: 60px;
    height: 6px;
    background: #ececf1;
    border-radius: 3px;
    overflow: hidden;
}

.ai-token-fill[b-30nv6ugdw5] {
    display: block;
    height: 100%;
    background: #4A90FF;
    transition: width .3s;
}

.ai-token-fill.low[b-30nv6ugdw5] {
    background: #f39c12;
}

/* Report artifact card (preview / download) */
.ai-artifact[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #d8d8e6;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 107, 237, .08), rgba(74, 144, 255, .08));
    cursor: pointer;
    transition: box-shadow .15s, transform .1s;
}

.ai-artifact:hover[b-30nv6ugdw5] {
    box-shadow: 0 4px 14px -4px rgba(47, 107, 237, .4);
    transform: translateY(-1px);
}

.ai-artifact-open[b-30nv6ugdw5] {
    color: #4A90FF;
    flex-shrink: 0;
}

.ai-artifact-info[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ai-artifact-icon[b-30nv6ugdw5] {
    font-size: 20px;
    color: #4A90FF;
    flex-shrink: 0;
}

.ai-artifact-title[b-30nv6ugdw5] {
    font-weight: 600;
    color: #1f2430;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-artifact-sub[b-30nv6ugdw5] {
    font-size: 11px;
    color: #98a0ab;
}

.ai-artifact-actions[b-30nv6ugdw5] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.ai-artifact-btn[b-30nv6ugdw5] {
    border: 1px solid #d8d8e6;
    background: #fff;
    color: #1E3FD9;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}

.ai-artifact-btn:hover[b-30nv6ugdw5] {
    background: #eef4ff;
}

/* Report preview popup (centered modal over the whole app) */
.ai-preview-backdrop[b-30nv6ugdw5] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    z-index: 10020;
}

.ai-preview-modal[b-30nv6ugdw5] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92vw;
    max-width: 1100px;
    height: 90vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    z-index: 10021;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55);
}

.ai-preview-modal-header[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #2F6BED, #4A90FF);
    color: #fff;
    flex-shrink: 0;
}

.ai-preview-actions[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-preview-btn[b-30nv6ugdw5] {
    border: none;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.ai-preview-btn:hover[b-30nv6ugdw5] {
    background: rgba(255, 255, 255, .32);
}

.ai-preview-btn.ghost[b-30nv6ugdw5] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .5);
    font-weight: 500;
}

.ai-preview-frame[b-30nv6ugdw5] {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
}

.ai-preview-title[b-30nv6ugdw5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

/* Admin rules / skills overlay */
.ai-rules-overlay[b-30nv6ugdw5] {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 30;
    display: flex;
    flex-direction: column;
}

.ai-rules-header[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #2F6BED, #4A90FF);
    color: #fff;
    font-weight: 600;
    flex-shrink: 0;
}

.ai-rules-body[b-30nv6ugdw5] {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
}

.ai-rule-item[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #ececf1;
    border-radius: 10px;
    margin-bottom: 8px;
}

.ai-rule-info[b-30nv6ugdw5] {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.ai-rule-title[b-30nv6ugdw5] {
    font-weight: 600;
    color: #1f2430;
}

.ai-rule-meta[b-30nv6ugdw5] {
    font-size: 11px;
    color: #98a0ab;
}

.ai-rule-del[b-30nv6ugdw5] {
    color: #98a0ab;
    cursor: pointer;
    flex-shrink: 0;
}

.ai-rule-del:hover[b-30nv6ugdw5] {
    color: #c0392b;
}

.ai-rule-form[b-30nv6ugdw5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-rule-form label[b-30nv6ugdw5] {
    font-size: 12px;
    font-weight: 600;
    color: #5b626f;
    margin-top: 8px;
}

.ai-rule-input[b-30nv6ugdw5],
.ai-rule-textarea[b-30nv6ugdw5] {
    border: 1px solid #e0e0ea;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
}

.ai-rule-num[b-30nv6ugdw5] {
    width: 120px;
}

.ai-rule-textarea[b-30nv6ugdw5] {
    min-height: 160px;
    resize: vertical;
}

.ai-rule-check[b-30nv6ugdw5] {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
    margin-top: 10px !important;
}

.ai-rule-actions[b-30nv6ugdw5] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.ai-rule-save[b-30nv6ugdw5] {
    width: auto;
    padding: 0 18px;
    border-radius: 10px;
    height: 38px;
}

/* Markdown (injected HTML needs ::deep) */
.markdown-content[b-30nv6ugdw5] {
    line-height: 1.6;
}

.markdown-content[b-30nv6ugdw5]  h1,
.markdown-content[b-30nv6ugdw5]  h2,
.markdown-content[b-30nv6ugdw5]  h3 {
    margin: .8em 0 .4em;
    font-weight: 600;
}

.markdown-content[b-30nv6ugdw5]  h1 { font-size: 1.3em; }
.markdown-content[b-30nv6ugdw5]  h2 { font-size: 1.18em; }
.markdown-content[b-30nv6ugdw5]  h3 { font-size: 1.08em; }

.markdown-content[b-30nv6ugdw5]  p {
    margin: .5em 0;
}

.markdown-content[b-30nv6ugdw5]  ul,
.markdown-content[b-30nv6ugdw5]  ol {
    margin: .5em 0;
    padding-left: 1.4em;
}

.markdown-content[b-30nv6ugdw5]  code {
    background: rgba(47, 107, 237, .12);
    padding: .15em .4em;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: .88em;
    color: #1E3FD9;
}

.markdown-content[b-30nv6ugdw5]  pre {
    background: #1e1e2e;
    color: #e5e7eb;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    margin: .8em 0;
    border-left: 3px solid #4A90FF;
}

.markdown-content[b-30nv6ugdw5]  pre code {
    background: none;
    padding: 0;
    color: #e5e7eb;
}

.markdown-content[b-30nv6ugdw5]  blockquote {
    border-left: 3px solid #4A90FF;
    margin: .8em 0;
    padding: .4em 0 .4em 1em;
    background: rgba(74, 144, 255, .08);
    border-radius: 0 6px 6px 0;
}

.markdown-content[b-30nv6ugdw5]  table {
    border-collapse: collapse;
    width: 100%;
    margin: .8em 0;
}

.markdown-content[b-30nv6ugdw5]  th,
.markdown-content[b-30nv6ugdw5]  td {
    border: 1px solid #e0e0ea;
    padding: .4em .6em;
    text-align: left;
}

.markdown-content[b-30nv6ugdw5]  th {
    background: rgba(74, 144, 255, .12);
    font-weight: 600;
}

.markdown-content[b-30nv6ugdw5]  a {
    color: #1E3FD9;
    text-decoration: none;
}

.markdown-content[b-30nv6ugdw5]  a:hover {
    text-decoration: underline;
}

/* Header title (active conversation) */
.ai-panel-title-text[b-30nv6ugdw5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 320px;
}

/* Header overflow menu */
.ai-header-menu-wrap[b-30nv6ugdw5] {
    position: relative;
}

.ai-header-menu[b-30nv6ugdw5] {
    position: absolute;
    top: 38px;
    right: 0;
    background: #fff;
    border: 1px solid #e6e6ef;
    border-radius: 12px;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .28);
    padding: 6px;
    min-width: 220px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-header-menu-item[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
    color: #3b4250;
    cursor: pointer;
    transition: background .12s;
}

.ai-header-menu-item:hover[b-30nv6ugdw5] {
    background: #eef4ff;
    color: #1E3FD9;
}

.ai-header-menu-item i[b-30nv6ugdw5] {
    width: 16px;
    color: #4A90FF;
}

/* History section headers (Pinned / Recent) */
.ai-history-section[b-30nv6ugdw5] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #98a0ab;
    padding: 10px 8px 4px;
}

.ai-history-section i[b-30nv6ugdw5] {
    font-size: 10px;
}

.ai-history-actions .fa-thumbtack.pinned[b-30nv6ugdw5] {
    color: #2F6BED;
}

/* Code block header (language label + copy) — injected by enhanceCodeBlocks JS */
.markdown-content[b-30nv6ugdw5]  .ai-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2a2a3c;
    color: #c9c9d6;
    padding: 6px 12px;
    border-radius: 8px 8px 0 0;
    font-size: 12px;
    margin: .8em 0 0;
}

.markdown-content[b-30nv6ugdw5]  .ai-code-header + pre {
    margin-top: 0;
    border-radius: 0 0 8px 8px;
    border-left: none;
}

.markdown-content[b-30nv6ugdw5]  .ai-code-lang {
    font-weight: 600;
    letter-spacing: .3px;
}

.markdown-content[b-30nv6ugdw5]  .ai-code-lang i {
    margin-right: 6px;
    color: #4A90FF;
}

.markdown-content[b-30nv6ugdw5]  .ai-code-copy {
    background: transparent;
    border: none;
    color: #c9c9d6;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.markdown-content[b-30nv6ugdw5]  .ai-code-copy:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

/* Composer disclaimer (RnAi) */
.ai-disclaimer[b-30nv6ugdw5] {
    text-align: center;
    font-size: 11px;
    color: #a6adba;
    margin-top: 8px;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .ai-history[b-30nv6ugdw5] {
        width: 140px;
    }

    .ai-panel-title-text[b-30nv6ugdw5] {
        max-width: 150px;
    }
}
/* _content/Octo.Web.Server/Components/Layout/Drawer.razor.rz.scp.css */
[b-6tru6lyd3d] .navigation-drawer {
    --dxbl-drawer-panel-footer-justify-content: center;
    height: 100vh;
    max-height: 100%;
}

[b-6tru6lyd3d] .panel-open:not(.mobile) .menu-button {
    display: none;
}

@media (max-width: 768px) {
    [b-6tru6lyd3d] .panel-open:not(.mobile) .menu-button {
        display: inline-flex;
    }

    .mobile-drawer-closed .shading-copy[b-6tru6lyd3d] {
        display: none;
        visibility: hidden;
    }

    [b-6tru6lyd3d] .shading-copy {
        background-color: var(--dxbl-drawer-content-shading-bg);
        height: 100%;
        position: absolute;
        transition: opacity ease var(--dxbl-drawer-animation-duration);
        visibility: visible;
        width: 100%;
        z-index: 99;
        opacity: var(--dxbl-drawer-content-shading-opacity);
    }

    [b-6tru6lyd3d] .panel-open .shading-copy {
        opacity: 0;
        visibility: unset;
        height: unset;
    }
}
/* _content/Octo.Web.Server/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-agg85ey3d8] {
    height: 100%;
    font-family: 'Inter';
}

[b-agg85ey3d8] .icon {
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-position: center center;
    -webkit-mask-mask-position: center center;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-color: var(--dxbl-btn-color);
}

[b-agg85ey3d8] #menu-top {
    display: block;
}

    [b-agg85ey3d8] #menu-top.hidden {
        display: none;
    }

[b-agg85ey3d8] .icon-back {
    -webkit-mask-image: url("images/back.svg");
    mask-image: url("images/back.svg");
}

[b-agg85ey3d8] .icon-menu {
    -webkit-mask-image: url("images/menu.svg");
    mask-image: url("images/menu.svg");
}

[b-agg85ey3d8] .icon-log-in {
    -webkit-mask-image: url("images/account/log-in.svg");
    mask-image: url("images/account/log-in.svg");
}


[b-agg85ey3d8] .icon-log-out {
    -webkit-mask-image: url("images/account/log-out.svg");
    mask-image: url("images/account/log-out.svg");
}

[b-agg85ey3d8] .icon-user {
    -webkit-mask-image: url("images/account/user.svg");
    mask-image: url("images/account/user.svg");
}

[b-agg85ey3d8] .content {
    overflow: auto;
    display: flex;
    flex-direction: column;
}

[b-agg85ey3d8] .menu-button:hover .icon {
    background-color: var(--dxbl-btn-hover-color);
}

.nav-buttons-container[b-agg85ey3d8] {
    display: flex;
    gap: 10px;
    padding: 2rem 0rem;
}

    .nav-buttons-container[b-agg85ey3d8]  .menubutton-float-end {
        margin-left: auto;
    }

    .nav-buttons-container[b-agg85ey3d8]  .dxbl-btn-icon-only {
        --dxbl-btn-padding-x: 0.75rem;
        --dxbl-btn-padding-y: 0.25rem;
    }

@media (max-width: 768px) {
    [b-agg85ey3d8] .layout-sidebar {
        grid-area: header / header / header / header !important;
    }
}

@media (max-width: 768px) {
    [b-agg85ey3d8] #menu-top {
        display: none;
    }
}
/* _content/Octo.Web.Server/Components/Layout/NavMenu.razor.rz.scp.css */
#sidebar[b-1orjikqto6] {
    width: 15rem;
    max-width: 15rem;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.16);
    transition: width 0.2s ease;
    height: 100%;
    background: linear-gradient(180deg, var(--bs-renium-primary) 0%, var(--bs-renium-dark) 70%);
    display: block;
    color: var(--bs-renium-branding);
}

    #sidebar.auto-expanded[b-1orjikqto6] {
        width: 50px;
    }

    #sidebar .menu-closeonclick-placeholder[b-1orjikqto6] {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
    }


[b-1orjikqto6] .sidebar-tree {
    padding: 0.5rem;
}

[b-1orjikqto6] .sidebar-header {
    padding: 2rem 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bs-white);
    text-align: center;
}

.logo[b-1orjikqto6] {
    display: flex;
    justify-content: center;
}

.menu-button-container[b-1orjikqto6] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-button[b-1orjikqto6] {
    padding: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("images/menu.svg");
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .menu-button:hover[b-1orjikqto6] {
        background-color: rgba(255, 255, 255, 0.1);
    }

.menu[b-1orjikqto6] {
    background-color: transparent;
}

    .menu .dxbl-menu-item-list[b-1orjikqto6] {
        gap: 0.5rem;
    }

.icon[b-1orjikqto6] {
    width: 1.2rem;
    height: 1.2rem;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 0.5rem;
}

.footer[b-1orjikqto6] {
    text-align: center;
    padding: 1rem;
    color: var(--bs-renium-branding);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-button[b-1orjikqto6] {
    color: var(--bs-renium-branding);
    text-decoration: none;
    font-size: 0.85rem;
}

    .footer-button:hover .demos-icon[b-1orjikqto6],
    .footer-button:hover .docs-icon[b-1orjikqto6] {
        background-color: rgba(255, 255, 255, 0.2);
    }

#sidebar.auto-expanded .layout-item[b-1orjikqto6],
#sidebar.auto-expanded .footer[b-1orjikqto6] {
    display: block;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    #sidebar[b-1orjikqto6] {
        min-width: 100%;
        max-width: 100%;
        position: fixed;
        z-index: 3;
    }

        #sidebar .menu-closeonclick-placeholder[b-1orjikqto6] {
            display: block;
        }

        #sidebar.auto-expanded[b-1orjikqto6] {
            display: block;
        }

    .menu-button[b-1orjikqto6] {
        background-image: url("images/close.svg");
        width: 2rem;
        height: 2rem;
    }

    [b-1orjikqto6] .sidebar-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu-button-container[b-1orjikqto6] {
        display: flex;
        justify-content: center;
    }

    .layout-item[b-1orjikqto6] {
        display: none;
    }

    .footer[b-1orjikqto6] {
        display: none;
    }
}

.form-control-dx[b-1orjikqto6] {
    width: 100% !important;
}

/* Object Selection Popup */
.object-selection-popup[b-1orjikqto6] {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
}

.object-item[b-1orjikqto6] {
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.object-item:hover[b-1orjikqto6] {
    background-color: #f8f9fa;
    border-color: #007bff;
    transform: translateX(2px);
}

.object-name[b-1orjikqto6] {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.object-id[b-1orjikqto6] {
    font-size: 12px;
    color: #6c757d;
}

.no-results[b-1orjikqto6] {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.search-box input[b-1orjikqto6] {
    font-size: 14px;
}

.input-group-text[b-1orjikqto6] {
    background-color: #f8f9fa;
    border-color: #ced4da;
}
/* _content/Octo.Web.Server/Components/Pages/Index.razor.rz.scp.css */
[b-jpus63cdot] .welcome-gridlayout {
    margin: auto;
    width: auto;
    height: auto;
}

    [b-jpus63cdot] .welcome-gridlayout .dxbl-gridlayout-root {
        align-content: center;
        justify-content: center;
    }

[b-jpus63cdot] .title {
    text-align: center;
}

[b-jpus63cdot] .dxbl-drawer.dxbl-sm {
    background-color: var(--octo-surface-header);
}

[b-jpus63cdot] .dxbl-tabs > .dxbl-tabs-tablist.dxbl-tabs-tablist-scrollable > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul {
    background-color: var(--octo-surface-header);
}
[b-jpus63cdot] .dxbl-splitter > .dxbl-splitter-pane > .dxbl-splitter-pane-content {
    background-color: var(--octo-surface-header);
}
    :: deep .welcome-cards[b-jpus63cdot] {
    display: grid;
    grid-template-columns: repeat(2, 190px); /* Her satırda 2 kart göster */
    gap: 1rem; /* Kartlar arasındaki boşluk */
    justify-content: center;
}

[b-jpus63cdot] .welcome-card {
    width: 190px; /* Kart genişliği sabit 190px */
    height: 156px; /* Kart yüksekliği sabit 156px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    border-radius: 1rem;
    color: var(--bs-link-color-rgb);
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
}



    [b-jpus63cdot] .welcome-card:hover {
        box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    [b-jpus63cdot] .welcome-card .welcome-card-img {
        width: auto;
        height: 4.5rem; /* Resim yüksekliği */
        object-fit: contain;
        max-width: 100%;
    }

    [b-jpus63cdot] .welcome-card .welcome-card-text {
        font-size: 1.25rem; /* Yazı boyutu */
        font-weight: 600;
        text-align: center;
        text-decoration: unset;
    }

[b-jpus63cdot] .icon-fill {
    fill: var(--bs-renium-primary);
}

[b-jpus63cdot] .welcome-card .welcome-card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bs-body-color);
    opacity: 0.05;
    border-radius: 1rem;
    z-index: -2;
}

/* Mobil ekranlar ve küçük ekranlar için de aynı düzeni koru */
@media (max-width: 480px) {
    [b-jpus63cdot] .welcome-cards {
        grid-template-columns: repeat(2, 190px); /* Mobilde de yan yana en fazla 2 kart */
        justify-content: center;
    }
}

.skeleton-container[b-jpus63cdot] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Take up full screen height */
}


.skeleton-card[b-jpus63cdot] {
    width: 200px;
    height: 150px;
    background: linear-gradient(90deg, var(--octo-skeleton-from) 25%, var(--octo-skeleton-mid) 50%, var(--octo-skeleton-from) 75%);
    background-size: 400% 100%;
    border-radius: 8px;
    animation: loading-b-jpus63cdot 1.5s ease-in-out infinite;
}

/* Loading animation */
@keyframes loading-b-jpus63cdot {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.page[b-jpus63cdot] {
    height: 100%;
    /*font-family: var(--bs-font-sans-serif);*/
    font-family: 'Inter';
}

[b-jpus63cdot] .icon {
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-position: center center;
    -webkit-mask-mask-position: center center;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-color: var(--bs-renium-branding);
}

[b-jpus63cdot] #menu-top {
    display: block;
}

    [b-jpus63cdot] #menu-top.hidden {
        display: none;
    }

[b-jpus63cdot] .icon-back {
    -webkit-mask-image: url("images/back.svg");
    mask-image: url("images/back.svg");
}

[b-jpus63cdot] .icon-menu {
    -webkit-mask-image: url("images/menu.svg");
    mask-image: url("images/menu.svg");
    color: var(--bs-renium-branding);
}

[b-jpus63cdot] .icon-log-in {
    -webkit-mask-image: url("images/account/log-in.svg");
    mask-image: url("images/account/log-in.svg");
}

[b-jpus63cdot] .dxbl-btn-split > .dxbl-btn-tool.dxbl-btn-text-secondary:where(:not(.dxbl-btn-standalone)) > svg.dxbl-image, .dxbl-btn-tool.dxbl-btn-text-secondary:where(:not(.dxbl-btn-standalone)) > svg.dxbl-image[b-jpus63cdot] {
    color: var(--bs-renium-branding);
}

:: deep .icon-log-out[b-jpus63cdot] {
    -webkit-mask-image: url("images/account/log-out.svg");
    mask-image: url("images/account/log-out.svg");
}

[b-jpus63cdot] .icon-user {
    -webkit-mask-image: url("images/account/user.svg");
    mask-image: url("images/account/user.svg");
}

[b-jpus63cdot] .content {
    background-image: url('images/reniumpattern.jpg');
    background-color: var(--octo-content-bg-color);
    background-blend-mode: var(--octo-content-blend-mode);
    background-size: contain;
    background-repeat: repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

[b-jpus63cdot] .menu-button {
    color: var(--bs-renium-branding);
    font-size: 15px;
}

    :: deep .menu-button:hover .icon[b-jpus63cdot] {
        background-color: var(--dxbl-btn-hover-color);
    }

.nav-buttons-container[b-jpus63cdot] {
    display: flex;
    gap: 10px;
    padding: 2rem 0rem;
    background-color: var(--octo-surface-header);
    color: var(--bs-renium-branding);
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

    .nav-buttons-container[b-jpus63cdot]  .menubutton-float-end {
        margin-left: auto;
    }

    .nav-buttons-container[b-jpus63cdot]  .dxbl-btn-icon-only {
        --dxbl-btn-padding-x: 0.75rem;
        --dxbl-btn-padding-y: 0.25rem;
    }

@media (max-width: 768px) {
    [b-jpus63cdot] .layout-sidebar {
        grid-area: header / header / header / header !important;
    }
}

@media (max-width: 768px) {
    [b-jpus63cdot] #menu-top {
        display: none;
    }
}

/* Durum Çubuğu Ana Stil */

/* DevExpress Toolbar Stili */
[b-jpus63cdot] .status-bar-toolbar {
    background-color: var(--bs-renium-dark); /* Arka plan rengini ayarlayın */
    padding: 5px;
}

/* Toolbar itemleri arasında boşluk bırakmak için */
[b-jpus63cdot] .status-bar-item {
    background-color: var(--bs-renium-dark); /* Arka plan rengini ayarlayın */
    color: var(--bs-renium-branding);
    font-size: 14px;
    border: none;
}

.header-gradient[b-jpus63cdot] {
    height: 4px; /* İnce bir çizgi için yükseklik */
    background: linear-gradient(90deg, #9f65e2, #f49fa7); /* Renk geçişi */
    width: 100%; /* Tam genişlik */
}

.header-gradient-footer[b-jpus63cdot] {
    height: 2px; /* İnce bir çizgi için yükseklik */
    background: linear-gradient(90deg, #9f65e2, #f49fa7); /* Renk geçişi */
    width: 100%; /* Tam genişlik */
}

[b-jpus63cdot] .dxbl-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active, .dxbl-tabs > .dxbl-tabs-tablist > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active[b-jpus63cdot] {
    color: var(--bs-renium-branding);
}
.chat-launcher-footer[b-jpus63cdot] {
    z-index: 1050;
    background-color: var(--octo-chat-footer-bg);
    border-top: 1px solid var(--octo-chat-footer-border);
    padding-bottom: 8px;
}
