/* /Components/Dialogs/MarkdownEditDialog.razor.rz.scp.css */
/* Scoped CSS for MarkdownEditDialog */

/* Flex column layout for toolbar + editor */
.md-edit-panel[b-98cqtf0eag] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Formatting toolbar */
.md-toolbar[b-98cqtf0eag] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px 8px;
    background: var(--mud-palette-surface);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

.md-toolbar-separator[b-98cqtf0eag] {
    width: 1px;
    height: 20px;
    background: var(--mud-palette-lines-default);
    margin: 0 4px;
}

/* Editor container fills remaining space via flex */
[b-98cqtf0eag] .md-editor-container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Preview panel */
.markdown-preview-panel[b-98cqtf0eag] {
    padding: 12px;
    height: 100%;
    overflow-y: auto;
}

/* Flex-fill through the entire MudTextField wrapper chain */
[b-98cqtf0eag] .markdown-editor-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

[b-98cqtf0eag] .markdown-editor-field .mud-input-control-input-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

[b-98cqtf0eag] .markdown-editor-field .mud-input {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

[b-98cqtf0eag] .markdown-editor-field textarea {
    flex: 1 !important;
    overflow-y: auto !important;
    resize: none !important;
}
/* /Components/Layout/ButtonContainer.razor.rz.scp.css */
.chip-container[b-fxof1r1h60] {
    display: inline-flex;
    align-items: center;
    padding: 2px 4px;
    border-radius: 8px;
    gap: 4px;
    height: 32px;
}

/* /Components/Layout/SplitContainer.razor.rz.scp.css */
.split-container[b-td4q9k6qul] {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    background-color: var(--mud-palette-background);
}

    .split-container.horizontal[b-td4q9k6qul] {
        flex-direction: row;
    }

    .split-container.vertical[b-td4q9k6qul] {
        flex-direction: column;
    }

.split-panel[b-td4q9k6qul] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.panel-content[b-td4q9k6qul] {
    flex: 1;
    overflow: auto;
    padding: 8px;
    width: 100%;
    height: 100%;
}

.splitter[b-td4q9k6qul] {
    background-color: var(--mud-palette-divider);
    position: relative;
    user-select: none;
    touch-action: none;
    flex-shrink: 0;
    z-index: 10;
    transition: background-color 0.2s, opacity 0.2s;
}

    .splitter:hover[b-td4q9k6qul] {
        background-color: var(--mud-palette-primary);
        opacity: 0.7;
    }

.horizontal-splitter[b-td4q9k6qul] {
    width: 8px;
    cursor: col-resize;
    height: 100%;
}

.vertical-splitter[b-td4q9k6qul] {
    height: 8px;
    cursor: row-resize;
    width: 100%;
}

.splitter-handle[b-td4q9k6qul] {
    position: absolute;
    background-color: var(--mud-palette-text-secondary);
    opacity: 0.3;
    border-radius: 2px;
    transition: opacity 0.2s;
}

.splitter:hover .splitter-handle[b-td4q9k6qul] {
    opacity: 0.6;
}

.horizontal-splitter .splitter-handle[b-td4q9k6qul] {
    width: 2px;
    height: 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.vertical-splitter .splitter-handle[b-td4q9k6qul] {
    width: 30px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Custom scrollbar styling */
.panel-content[b-td4q9k6qul]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.panel-content[b-td4q9k6qul]::-webkit-scrollbar-track {
    background: var(--mud-palette-background-grey);
}

.panel-content[b-td4q9k6qul]::-webkit-scrollbar-thumb {
    background: var(--mud-palette-divider);
    border-radius: 4px;
}

    .panel-content[b-td4q9k6qul]::-webkit-scrollbar-thumb:hover {
        background: var(--mud-palette-text-disabled);
    }

/* Firefox scrollbar styling */
.panel-content[b-td4q9k6qul] {
    scrollbar-width: thin;
    scrollbar-color: var(--mud-palette-divider) var(--mud-palette-background-grey);
}
/* /Components/Widget/MarkdownRenderer.razor.rz.scp.css */
/* Scoped CSS for MarkdownRenderer */
.markdown-rendered[b-oicrk12c4n] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--mud-palette-text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Headings */
.markdown-rendered[b-oicrk12c4n]  h1 {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0.67em 0 0.4em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.markdown-rendered[b-oicrk12c4n]  h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0.83em 0 0.4em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.markdown-rendered[b-oicrk12c4n]  h3 {
    font-size: 1.25em;
    font-weight: 600;
    margin: 1em 0 0.4em;
}

.markdown-rendered[b-oicrk12c4n]  h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin: 1em 0 0.4em;
}

.markdown-rendered[b-oicrk12c4n]  h5,
.markdown-rendered[b-oicrk12c4n]  h6 {
    font-size: 1em;
    font-weight: 600;
    margin: 1em 0 0.4em;
}

/* Paragraphs */
.markdown-rendered[b-oicrk12c4n]  p {
    margin: 0 0 0.8em;
}

/* Links */
.markdown-rendered[b-oicrk12c4n]  a {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.markdown-rendered[b-oicrk12c4n]  a:hover {
    text-decoration: underline;
}

/* Lists */
.markdown-rendered[b-oicrk12c4n]  ul,
.markdown-rendered[b-oicrk12c4n]  ol {
    margin: 0 0 0.8em;
    padding-left: 2em;
}

.markdown-rendered[b-oicrk12c4n]  li {
    margin: 0.25em 0;
}

.markdown-rendered[b-oicrk12c4n]  li > ul,
.markdown-rendered[b-oicrk12c4n]  li > ol {
    margin-bottom: 0;
}

/* Blockquotes */
.markdown-rendered[b-oicrk12c4n]  blockquote {
    margin: 0 0 0.8em;
    padding: 0.5em 1em;
    border-left: 4px solid var(--mud-palette-primary);
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
}

.markdown-rendered[b-oicrk12c4n]  blockquote > :last-child {
    margin-bottom: 0;
}

/* Code - inline */
.markdown-rendered[b-oicrk12c4n]  code {
    font-family: "Cascadia Code", "Fira Code", "Consolas", "Courier New", monospace;
    font-size: 0.9em;
    padding: 0.15em 0.4em;
    background-color: var(--mud-palette-surface);
    border-radius: 4px;
}

/* Code - blocks */
.markdown-rendered[b-oicrk12c4n]  pre {
    margin: 0 0 0.8em;
    padding: 1em;
    background-color: var(--mud-palette-surface);
    border-radius: 6px;
    overflow-x: auto;
}

.markdown-rendered[b-oicrk12c4n]  pre code {
    padding: 0;
    background-color: transparent;
    font-size: 0.85em;
    line-height: 1.5;
}

/* Tables */
.markdown-rendered[b-oicrk12c4n]  table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 0.8em;
}

.markdown-rendered[b-oicrk12c4n]  th,
.markdown-rendered[b-oicrk12c4n]  td {
    padding: 6px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    text-align: left;
}

.markdown-rendered[b-oicrk12c4n]  th {
    font-weight: 600;
    background-color: var(--mud-palette-surface);
}

.markdown-rendered[b-oicrk12c4n]  tr:nth-child(even) {
    background-color: var(--mud-palette-background-gray);
}

/* Horizontal rule */
.markdown-rendered[b-oicrk12c4n]  hr {
    margin: 1.5em 0;
    border: none;
    border-top: 2px solid var(--mud-palette-lines-default);
}

/* Images */
.markdown-rendered[b-oicrk12c4n]  img {
    max-width: 100%;
    height: auto;
}

/* Task lists */
.markdown-rendered[b-oicrk12c4n]  ul.contains-task-list {
    list-style: none;
    padding-left: 1em;
}

.markdown-rendered[b-oicrk12c4n]  input[type="checkbox"] {
    margin-right: 0.5em;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-r821jtxukm] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-r821jtxukm] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-r821jtxukm] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-r821jtxukm]  a, .top-row[b-r821jtxukm]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-r821jtxukm]  a:hover, .top-row[b-r821jtxukm]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-r821jtxukm]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-r821jtxukm] {
        justify-content: space-between;
    }

    .top-row[b-r821jtxukm]  a, .top-row[b-r821jtxukm]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-r821jtxukm] {
        flex-direction: row;
    }

    .sidebar[b-r821jtxukm] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-r821jtxukm] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-r821jtxukm]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-r821jtxukm], article[b-r821jtxukm] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
