@import '_content/PSC.Blazor.Components.MarkdownEditor/PSC.Blazor.Components.MarkdownEditor.bundle.scp.css';

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

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


#components-reconnect-modal[b-g48ay516ty] {
    background-color: var(--reconnect-bg);
    color: var(--reconnect-color);
    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-g48ay516ty 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-g48ay516ty] {
    border: 0;
    background-color: var(--reconnect-btn-bg);
    color: var(--reconnect-btn-color);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-g48ay516ty] {
        background-color: var(--reconnect-btn-hover);
    }

    #components-reconnect-modal button:active[b-g48ay516ty] {
        background-color: var(--reconnect-btn-bg);
    }

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

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

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

@keyframes components-rejoining-animation-b-g48ay516ty {
    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/Knowledge/Details.razor.rz.scp.css */
/* Celá stránka jako flex column - zaujme zbývající výšku po AppBaru */
.kd-page[b-uo2gyfwffz] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--mud-appbar-height, 64px) - 2rem);
}

/* Header (breadcrumb + název + tlačítka) */
.kd-header[b-uo2gyfwffz] {
    flex-shrink: 0;
}

/* Plná tlačítka - normálně viditelná, v focus mode skrytá */
[b-uo2gyfwffz] .kd-btn-full {
    display: inline-flex;
}

/* Ikonková tlačítka - normálně skrytá, v focus mode viditelná */
[b-uo2gyfwffz] .kd-btn-icon-only {
    display: none;
}

/* Focus mode: minimalizace headeru */
.kd-read-mode .kd-breadcrumbs[b-uo2gyfwffz] {
    display: none;
}

/* Titulek - zvýrazněný, větší než default h4 */
[b-uo2gyfwffz] .kd-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* ReferenceId chip na řádku se statusy - trochu výraznější */
[b-uo2gyfwffz] .kd-ref-chip {
    font-weight: 600;
    font-size: 0.8rem;
    border-width: 2px !important;
    opacity: 0.9;
}

/* Focus mode: zmenšit titulek */
.kd-read-mode[b-uo2gyfwffz]  .kd-title {
    font-size: 1rem !important;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}

.kd-read-mode[b-uo2gyfwffz]  .kd-btn-full {
    display: none;
}

.kd-read-mode[b-uo2gyfwffz]  .kd-btn-icon-only {
    display: inline-flex;
}

/* Toggle button - ve flow headeru */
[b-uo2gyfwffz] .kd-sidebar-toggle {
    flex-shrink: 0;
}

/* Wrapper pro grid + absolutně pozicovaný toggle button */
.kd-grid-wrap[b-uo2gyfwffz] {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
}

/* Grid zabere celý wrap */
[b-uo2gyfwffz] .kd-grid {
    height: 100%;
    overflow: hidden;
    align-content: flex-start;
    margin-top: 0 !important;
}

/* Oprava mezery v MudGrid spacing */
[b-uo2gyfwffz] .mud-grid-spacing-xs-6 > .mud-grid-item {
    padding-top: 0 !important;
}

/* Levý sloupec scrolluje */
[b-uo2gyfwffz] .kd-content-col {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 1rem;
    transition: max-width 0.3s ease, flex 0.3s ease;
}

/* Pravý sloupec (sidebar) scrolluje */
[b-uo2gyfwffz] .kd-sidebar-col {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
    transition: max-width 0.3s ease, flex 0.3s ease, padding 0.3s ease, min-width 0.3s ease;
}

/* Toggle button - ve flow headeru */
[b-uo2gyfwffz] .kd-sidebar-toggle {
    flex-shrink: 0;
}

/* Collapsed sidebar */
.kd-sidebar-collapsed[b-uo2gyfwffz]  .kd-sidebar-col {
    max-width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Content zabere plnou šířku při sbalení */
.kd-sidebar-collapsed[b-uo2gyfwffz]  .kd-content-col {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Sidebar obsah - fade při sbalení */
[b-uo2gyfwffz] .kd-sidebar-content {
    transition: opacity 0.2s ease;
}

.kd-sidebar-collapsed[b-uo2gyfwffz]  .kd-sidebar-content {
    opacity: 0;
    pointer-events: none;
}

/* Fragment highlight animation */
@keyframes kd-fragment-flash-b-uo2gyfwffz {
    0% { background-color: var(--mud-palette-warning-lighten); }
    100% { background-color: transparent; }
}

[b-uo2gyfwffz] .kd-fragment-target {
    animation: kd-fragment-flash-b-uo2gyfwffz 2s ease-out;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
}

/* Heading link icon - visible on hover */
[b-uo2gyfwffz] .heading-link {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.15s ease;
    color: var(--mud-palette-text-secondary);
    vertical-align: middle;
    cursor: pointer;
    text-decoration: none;
}

[b-uo2gyfwffz] .heading-link:hover {
    color: var(--mud-palette-primary);
}

[b-uo2gyfwffz] h1:hover .heading-link,
[b-uo2gyfwffz] h2:hover .heading-link,
[b-uo2gyfwffz] h3:hover .heading-link,
[b-uo2gyfwffz] h4:hover .heading-link,
[b-uo2gyfwffz] h5:hover .heading-link,
[b-uo2gyfwffz] h6:hover .heading-link {
    opacity: 1;
}

/* Na mobilu/tabletu vypneme fixní výšku a přepneme na vertikální layout */
@media (max-width: 960px) {
    .kd-page[b-uo2gyfwffz] {
        height: auto;
    }

    .kd-grid-wrap[b-uo2gyfwffz] {
        flex: unset;
        min-height: unset;
        overflow: visible;
    }

    [b-uo2gyfwffz] .kd-content-col,
    [b-uo2gyfwffz] .kd-sidebar-col {
        height: auto;
        overflow-y: visible;
    }

    [b-uo2gyfwffz] .kd-sidebar-toggle {
        position: static;
        display: none;
    }

    /* Collapsed sidebar na mobilu - zrušit skrytí, zobrazit pod obsahem */
    .kd-sidebar-collapsed[b-uo2gyfwffz]  .kd-sidebar-col {
        max-width: 100% !important;
        min-width: unset !important;
        flex: 0 0 100% !important;
        overflow: visible !important;
        padding: 12px !important;
    }

    .kd-sidebar-collapsed[b-uo2gyfwffz]  .kd-sidebar-content {
        opacity: 1;
        pointer-events: auto;
    }

    /* Tlačítka: plná → ikony na úzkém viewportu */
    [b-uo2gyfwffz] .kd-btn-full {
        display: none;
    }

    [b-uo2gyfwffz] .kd-btn-icon-only {
        display: inline-flex;
    }
}

/* Status chip v relacích - kompaktní */
[b-uo2gyfwffz] .kd-status-chip {
    font-size: 0.65rem;
    height: 20px;
    padding: 0 6px;
    opacity: 0.85;
}
/* /Components/Pages/MyNotes/MyNotes.razor.rz.scp.css */
/* Wiki page layout — reuses kd-* pattern from KU Details */

.kd-page[b-bruxjo0k8a] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--mud-appbar-height, 64px) - 12rem);
}

.kd-header[b-bruxjo0k8a] {
    flex-shrink: 0;
}

[b-bruxjo0k8a] .kd-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.kd-grid-wrap[b-bruxjo0k8a] {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
}

[b-bruxjo0k8a] .kd-grid {
    height: 100%;
    overflow: hidden;
    align-content: flex-start;
    margin-top: 0 !important;
}

[b-bruxjo0k8a] .mud-grid-spacing-xs-6 > .mud-grid-item {
    padding-top: 0 !important;
}

[b-bruxjo0k8a] .kd-content-col {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 1rem;
    transition: max-width 0.3s ease, flex 0.3s ease;
}

[b-bruxjo0k8a] .kd-sidebar-col {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
    transition: max-width 0.3s ease, flex 0.3s ease, padding 0.3s ease, min-width 0.3s ease;
}

[b-bruxjo0k8a] .kd-sidebar-toggle {
    flex-shrink: 0;
}

/* Collapsed sidebar */
.kd-sidebar-collapsed[b-bruxjo0k8a]  .kd-sidebar-col {
    max-width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.kd-sidebar-collapsed[b-bruxjo0k8a]  .kd-content-col {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

[b-bruxjo0k8a] .kd-sidebar-content {
    transition: opacity 0.2s ease;
}

.kd-sidebar-collapsed[b-bruxjo0k8a]  .kd-sidebar-content {
    opacity: 0;
    pointer-events: none;
}

/* Mobile */
@media (max-width: 960px) {
    .kd-page[b-bruxjo0k8a] {
        height: auto;
    }

    .kd-grid-wrap[b-bruxjo0k8a] {
        flex: unset;
        min-height: unset;
        overflow: visible;
    }

    [b-bruxjo0k8a] .kd-content-col,
    [b-bruxjo0k8a] .kd-sidebar-col {
        height: auto;
        overflow-y: visible;
    }

    [b-bruxjo0k8a] .kd-sidebar-toggle {
        display: none;
    }

    .kd-sidebar-collapsed[b-bruxjo0k8a]  .kd-sidebar-col {
        max-width: 100% !important;
        min-width: unset !important;
        flex: 0 0 100% !important;
        overflow: visible !important;
        padding: 12px !important;
    }

    .kd-sidebar-collapsed[b-bruxjo0k8a]  .kd-sidebar-content {
        opacity: 1;
        pointer-events: auto;
    }
}
/* /Components/Pages/Projects/Cockpit/Docs.razor.rz.scp.css */
/*
 * Wiki page layout — same pattern as KU Details but inside ProjectCockpitLayout
 * which adds ~174px extra (tabs + breadcrumbs + project name).
 * KU Detail uses: calc(100vh - 64px - 2rem) with kdPageTop ~80px
 * Wiki uses: calc(100vh - 270px) with kdPageTop ~254px
 */
.kd-page[b-4lyede0j7n] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 270px);
    overflow: hidden;
}

.kd-header[b-4lyede0j7n] {
    flex-shrink: 0;
}

[b-4lyede0j7n] .kd-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.kd-grid-wrap[b-4lyede0j7n] {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
}

[b-4lyede0j7n] .kd-grid {
    height: 100%;
    overflow: hidden;
    align-content: flex-start;
    margin-top: 0 !important;
}

[b-4lyede0j7n] .mud-grid-spacing-xs-6 > .mud-grid-item {
    padding-top: 0 !important;
}

/* Content column — scrolls internally */
[b-4lyede0j7n] .kd-content-col {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 1rem;
    transition: max-width 0.3s ease, flex 0.3s ease;
}

/* Sidebar column — scrolls internally */
[b-4lyede0j7n] .kd-sidebar-col {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
    transition: max-width 0.3s ease, flex 0.3s ease, padding 0.3s ease, min-width 0.3s ease;
}

[b-4lyede0j7n] .kd-sidebar-toggle {
    flex-shrink: 0;
}

/* Collapsed sidebar */
.kd-sidebar-collapsed[b-4lyede0j7n]  .kd-sidebar-col {
    max-width: 0 !important;
    min-width: 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.kd-sidebar-collapsed[b-4lyede0j7n]  .kd-content-col {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

[b-4lyede0j7n] .kd-sidebar-content {
    transition: opacity 0.2s ease;
}

.kd-sidebar-collapsed[b-4lyede0j7n]  .kd-sidebar-content {
    opacity: 0;
    pointer-events: none;
}

/* Drag & drop highlight */
[b-4lyede0j7n] .wiki-tree-item {
    transition: background-color 0.15s ease;
}

[b-4lyede0j7n] .wiki-drag-over {
    background-color: var(--mud-palette-primary-lighten);
    border-radius: 4px;
}

/* Mobile */
@media (max-width: 960px) {
    .kd-page[b-4lyede0j7n] {
        height: auto;
    }

    .kd-grid-wrap[b-4lyede0j7n] {
        flex: unset;
        min-height: unset;
        overflow: visible;
    }

    [b-4lyede0j7n] .kd-content-col,
    [b-4lyede0j7n] .kd-sidebar-col {
        height: auto;
        overflow-y: visible;
    }

    [b-4lyede0j7n] .kd-sidebar-toggle {
        display: none;
    }

    .kd-sidebar-collapsed[b-4lyede0j7n]  .kd-sidebar-col {
        max-width: 100% !important;
        min-width: unset !important;
        flex: 0 0 100% !important;
        overflow: visible !important;
        padding: 12px !important;
    }

    .kd-sidebar-collapsed[b-4lyede0j7n]  .kd-sidebar-content {
        opacity: 1;
        pointer-events: auto;
    }
}
/* /Components/Shared/ChatbotSidebar.razor.rz.scp.css */
.chatbot-sidebar[b-dfeoovzbt3] {
    position: fixed;
    top: var(--mud-appbar-height);
    right: 0;
    bottom: 0;
    z-index: 1099;
    display: flex;
    flex-direction: row;
    background: var(--mud-palette-background);
    border-left: 1px solid var(--mud-palette-lines-default);
}

.chatbot-resize-handle[b-dfeoovzbt3] {
    width: 5px;
    cursor: col-resize;
    background: transparent;
    transition: background 0.15s;
    flex-shrink: 0;
}

.chatbot-resize-handle:hover[b-dfeoovzbt3] {
    background: var(--mud-palette-primary);
}

.chatbot-panel[b-dfeoovzbt3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.chatbot-header[b-dfeoovzbt3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

.chatbot-messages[b-dfeoovzbt3] {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chatbot-empty[b-dfeoovzbt3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    opacity: 0.4;
}

.chatbot-msg[b-dfeoovzbt3] {
    padding: 6px 10px;
    border-radius: 6px;
    max-width: 90%;
    font-size: 0.85rem;
    line-height: 1.5;
}

.chatbot-msg-user[b-dfeoovzbt3] {
    align-self: flex-end;
    background: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.chatbot-msg-ai[b-dfeoovzbt3] {
    align-self: flex-start;
    background: var(--mud-palette-background-grey);
    color: var(--mud-palette-text-primary);
    border: 1px solid var(--mud-palette-lines-default);
}

.chatbot-msg-system[b-dfeoovzbt3] {
    align-self: flex-start;
    font-size: 0.72rem;
    color: var(--mud-palette-text-disabled);
    padding: 2px 0;
}

.chatbot-msg-meta[b-dfeoovzbt3] {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-bottom: 2px;
}

.chatbot-msg-meta-user[b-dfeoovzbt3] {
    color: var(--mud-palette-primary);
    opacity: 1;
}

.chatbot-msg-body[b-dfeoovzbt3] {
    word-break: break-word;
}

.chatbot-msg-user .chatbot-msg-body[b-dfeoovzbt3] {
    white-space: pre-wrap;
}

/* ::deep needed because MarkupString content lacks Blazor isolation attributes */
.chatbot-msg-body[b-dfeoovzbt3]  p {
    margin: 0 0 4px 0;
}

.chatbot-msg-body[b-dfeoovzbt3]  p:last-child {
    margin-bottom: 0;
}

.chatbot-msg-body[b-dfeoovzbt3]  ul,
.chatbot-msg-body[b-dfeoovzbt3]  ol {
    padding-left: 18px;
    margin: 2px 0;
}

.chatbot-msg-body[b-dfeoovzbt3]  li {
    margin: 0;
    padding: 0;
}

.chatbot-msg-body[b-dfeoovzbt3]  li + li {
    margin-top: 1px;
}

.chatbot-msg-body[b-dfeoovzbt3]  h1,
.chatbot-msg-body[b-dfeoovzbt3]  h2,
.chatbot-msg-body[b-dfeoovzbt3]  h3,
.chatbot-msg-body[b-dfeoovzbt3]  h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 6px 0 2px 0;
}

.chatbot-msg-body[b-dfeoovzbt3]  strong {
    font-weight: 700;
}

.chatbot-msg-body[b-dfeoovzbt3]  pre {
    background: var(--mud-palette-surface);
    padding: 6px 8px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.78rem;
    margin: 4px 0;
}

.chatbot-msg-body[b-dfeoovzbt3]  code {
    font-size: 0.78rem;
}

.chatbot-input[b-dfeoovzbt3] {
    border-top: 1px solid var(--mud-palette-lines-default);
    padding: 8px;
    flex-shrink: 0;
}

.chatbot-textarea[b-dfeoovzbt3] {
    width: 100%;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.4;
    resize: none;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    outline: none;
}

.chatbot-textarea:focus[b-dfeoovzbt3] {
    border-color: var(--mud-palette-primary);
}

.chatbot-textarea:disabled[b-dfeoovzbt3] {
    opacity: 0.5;
}

.chatbot-input-footer[b-dfeoovzbt3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.chatbot-context[b-dfeoovzbt3] {
    font-size: 0.7rem;
    opacity: 0.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Shared/DetailDrawer.razor.rz.scp.css */
/* DetailDrawer - Responsive styles */

/* Container fills the drawer and uses flexbox for sticky footer */
.drawer-container[b-mb261ho73v] {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: 100%;
    overflow: hidden;
}

/* Prevent MudDivider from growing in flex container */
.drawer-container[b-mb261ho73v]  hr.mud-divider {
    flex-shrink: 0;
    flex-grow: 0;
}

/* Header with title and close button */
.drawer-header[b-mb261ho73v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    flex-shrink: 0;
}

.drawer-title[b-mb261ho73v] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

.drawer-header-actions[b-mb261ho73v] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* Scrollable body - fills remaining space */
.drawer-body[b-mb261ho73v] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
    min-height: 0; /* Required for flex overflow to work */
    /* Ensure content aligns to top */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Sticky footer */
.drawer-footer[b-mb261ho73v] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    flex-shrink: 0;
}

/* Note: Drawer width and responsive behavior is defined in app.css (global) */
