/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-m0671n2q9m] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-m0671n2q9m] {
    flex: 1;
}

#blazor-error-ui[b-m0671n2q9m] {
    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-m0671n2q9m] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3ean4g8pff],
.components-reconnect-repeated-attempt-visible[b-3ean4g8pff],
.components-reconnect-failed-visible[b-3ean4g8pff],
.components-pause-visible[b-3ean4g8pff],
.components-resume-failed-visible[b-3ean4g8pff],
.components-rejoining-animation[b-3ean4g8pff] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-retrying[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-failed[b-3ean4g8pff],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3ean4g8pff] {
    display: block;
}


#components-reconnect-modal[b-3ean4g8pff] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-3ean4g8pff 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-3ean4g8pff 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3ean4g8pff 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }

}

#components-reconnect-modal[b-3ean4g8pff]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3ean4g8pff 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3ean4g8pff {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3ean4g8pff {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3ean4g8pff {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3ean4g8pff] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3ean4g8pff] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3ean4g8pff] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

#components-reconnect-modal button:hover[b-3ean4g8pff] {
    background-color: #3b6ea2;
}

#components-reconnect-modal button:active[b-3ean4g8pff] {
    background-color: #6b9ed2;
}

.components-rejoining-animation[b-3ean4g8pff] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-3ean4g8pff] {
    position: absolute;
    border: 3px solid #0087ff;
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-3ean4g8pff 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-3ean4g8pff] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-3ean4g8pff {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Owner/ServerPopulationChart.razor.rz.scp.css */
svg[b-iidxqievyv] {
    cursor: crosshair;
}

.hovg[b-iidxqievyv] {
    display: none;
    pointer-events: none;
}

.hband:hover .hovg[b-iidxqievyv] {
    display: block;
}
/* /Components/Pages/Servers/LogsAiChat.razor.rz.scp.css */
.ai-chat-layout[b-rw385p3nhd] {
    display: flex;
    gap: 1rem;
    height: 75vh;
}

.ai-chat-sidebar[b-rw385p3nhd] {
    width: 280px;
    flex-shrink: 0;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-sidebar-header[b-rw385p3nhd] {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #ddd;
    border-bottom: 1px solid #444;
}

.ai-chat-session-list[b-rw385p3nhd] {
    overflow-y: auto;
    flex: 1;
}

.ai-chat-session-item[b-rw385p3nhd] {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #2a2a2a;
    color: #ccc;
}

.ai-chat-session-item:hover[b-rw385p3nhd] {
    background: #2a2a2a;
}

.ai-chat-session-item.active[b-rw385p3nhd] {
    background: rgba(217, 123, 55, 0.15);
    border-left: 3px solid #D97B37;
}

.ai-chat-session-clickable[b-rw385p3nhd] {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 0.6rem 1rem;
    cursor: pointer;
}

.ai-chat-session-actions[b-rw385p3nhd] {
    display: flex;
    gap: 0.15rem;
    padding-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.1s;
}

.ai-chat-session-item:hover .ai-chat-session-actions[b-rw385p3nhd] {
    opacity: 1;
}

.ai-chat-session-action[b-rw385p3nhd] {
    background: transparent;
    border: 0;
    border-radius: 4px;
    padding: 0.25rem 0.4rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.ai-chat-session-action:hover:not(:disabled)[b-rw385p3nhd] {
    background: rgba(255, 255, 255, 0.1);
}

.ai-chat-session-action:disabled[b-rw385p3nhd] {
    opacity: 0.4;
    cursor: default;
}

.ai-chat-session-rename-input[b-rw385p3nhd] {
    flex: 1;
    margin: 0.4rem 1rem;
    background: #2a2a2a;
    border: 1px solid #D97B37;
    border-radius: 4px;
    color: #eee;
    padding: 0.25rem 0.5rem;
    min-width: 0;
}

.ai-chat-session-title[b-rw385p3nhd] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-chat-session-meta[b-rw385p3nhd] {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.15rem;
}

.ai-chat-session-empty[b-rw385p3nhd] {
    color: #888;
    font-size: 0.85rem;
    padding: 1rem;
}

.ai-chat-main[b-rw385p3nhd] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
}

.ai-chat-empty[b-rw385p3nhd] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
    padding: 2rem;
}

.ai-chat-transcript[b-rw385p3nhd] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.ai-chat-message[b-rw385p3nhd] {
    margin-bottom: 1.25rem;
    max-width: 85%;
}

.ai-chat-message.user[b-rw385p3nhd] {
    margin-left: auto;
}

.ai-chat-message-author[b-rw385p3nhd] {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.ai-chat-message.user .ai-chat-message-author[b-rw385p3nhd] {
    color: #7CB9E8;
    text-align: right;
}

.ai-chat-message.assistant .ai-chat-message-author[b-rw385p3nhd] {
    color: #D97B37;
}

.ai-chat-bubble[b-rw385p3nhd] {
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    line-height: 1.55;
    color: #e6e6e6;
}

.ai-chat-message.user .ai-chat-bubble[b-rw385p3nhd] {
    background: #2b3d4f;
    border-top-right-radius: 2px;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-chat-message.assistant .ai-chat-bubble[b-rw385p3nhd] {
    background: #252526;
    border: 1px solid #333;
    border-top-left-radius: 2px;
}

/* Markdig's output is injected via MarkupString, so it never gets a scoped-css data
   attribute at compile time - ::deep is required for these to reach it. */
.ai-chat-bubble[b-rw385p3nhd]  p:last-child {
    margin-bottom: 0;
}

.ai-chat-bubble[b-rw385p3nhd]  p {
    margin-bottom: 0.6rem;
}

.ai-chat-bubble[b-rw385p3nhd]  ul,
.ai-chat-bubble[b-rw385p3nhd]  ol {
    margin-bottom: 0.6rem;
    padding-left: 1.4rem;
}

.ai-chat-bubble[b-rw385p3nhd]  code {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    padding: 0.1rem 0.35rem;
    font-family: Consolas, monospace;
    font-size: 0.9em;
}

.ai-chat-bubble[b-rw385p3nhd]  pre {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem;
    overflow-x: auto;
    margin-bottom: 0.6rem;
}

.ai-chat-bubble[b-rw385p3nhd]  pre code {
    background: none;
    padding: 0;
}

.ai-chat-bubble[b-rw385p3nhd]  table {
    border-collapse: collapse;
    margin-bottom: 0.6rem;
    width: 100%;
}

.ai-chat-bubble[b-rw385p3nhd]  th,
.ai-chat-bubble[b-rw385p3nhd]  td {
    border: 1px solid #444;
    padding: 0.35rem 0.6rem;
    text-align: left;
}

.ai-chat-bubble[b-rw385p3nhd]  blockquote {
    border-left: 3px solid #555;
    margin: 0 0 0.6rem;
    padding-left: 0.75rem;
    color: #aaa;
}

.ai-chat-tool-call[b-rw385p3nhd] {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.4rem;
}

.ai-chat-tool-call summary[b-rw385p3nhd] {
    cursor: pointer;
}

.ai-chat-tool-call pre[b-rw385p3nhd] {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.6rem;
    margin-top: 0.4rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Consolas, monospace;
    font-size: 0.8rem;
}

.ai-chat-tool-status[b-rw385p3nhd],
.ai-chat-thinking[b-rw385p3nhd] {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.ai-chat-thinking[b-rw385p3nhd] {
    font-style: italic;
}

.ai-chat-send-error[b-rw385p3nhd] {
    font-size: 0.85rem;
    color: #e0a03c;
    padding: 0 0.75rem;
}

.ai-chat-input-bar[b-rw385p3nhd] {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #444;
}

.ai-chat-input-bar input[b-rw385p3nhd] {
    flex: 1;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #eee;
    padding: 0.5rem 0.75rem;
}

.ai-chat-input-bar input:focus[b-rw385p3nhd] {
    outline: none;
    border-color: #D97B37;
}

.ai-chat-input-bar input:disabled[b-rw385p3nhd] {
    opacity: 0.6;
}

.ai-chat-input-bar button[b-rw385p3nhd] {
    background: #D97B37;
    border: 0;
    border-radius: 6px;
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
}

.ai-chat-input-bar button:disabled[b-rw385p3nhd] {
    opacity: 0.5;
    cursor: default;
}

.ai-chat-draft-note-btn[b-rw385p3nhd] {
    margin-top: 0.5rem;
}
