/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== App Root ===== */

.app-root[b-4ys04oii3v] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 0;
}

/* ===== Header ===== */

.main-header[b-4ys04oii3v] {
    height: 68px;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
    position: relative;
}

.header-logo[b-4ys04oii3v] {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-img[b-4ys04oii3v] {
    height: 34px;
    width: auto;
    image-rendering: optimizeQuality;
    -webkit-font-smoothing: antialiased;
    shape-rendering: geometricPrecision;
}

.header-title[b-4ys04oii3v] {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    white-space: nowrap;
}

.header-spacer[b-4ys04oii3v] {
    flex: 1;
}

.header-user[b-4ys04oii3v] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius);
    position: relative;
    user-select: none;
}

.header-user:hover[b-4ys04oii3v] {
    background-color: var(--muted);
}

.header-user-name[b-4ys04oii3v] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.dropdown-overlay[b-4ys04oii3v] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 49;
}

.header-dropdown[b-4ys04oii3v] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.375rem;
    padding: 0.375rem 0;
    background-color: var(--popover);
    color: var(--popover-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 240px;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.header-dropdown-item[b-4ys04oii3v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.header-dropdown-item:hover[b-4ys04oii3v] {
    background-color: var(--muted);
    text-decoration: none;
}

.header-dropdown-separator[b-4ys04oii3v] {
    height: 1px;
    background-color: var(--border);
    margin: 0.25rem 0;
}

.header-dropdown-item-danger[b-4ys04oii3v] {
    color: var(--destructive);
}

.header-dropdown-item-danger:hover[b-4ys04oii3v] {
    background-color: #fee2e2;
    color: var(--destructive);
}

/* ===== Layout with sidebar ===== */

[b-4ys04oii3v] .layout {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

[b-4ys04oii3v] .sidebar {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.14);
}

.sidebar-header[b-4ys04oii3v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--sidebar-border);
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-header-collapsed[b-4ys04oii3v] {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.sidebar-header-collapsed .sidebar-header-label[b-4ys04oii3v] {
    display: none;
}

.sidebar-header-label[b-4ys04oii3v] {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--foreground);
}

.sidebar-toggle-btn[b-4ys04oii3v] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color 0.15s ease;
    flex-shrink: 0;
}

.sidebar-toggle-btn:hover[b-4ys04oii3v] {
    background-color: var(--muted);
    color: var(--foreground);
}

.sidebar-nav[b-4ys04oii3v] {
    flex: 1;
    overflow-y: auto;
}

/* ===== Sidebar App Info ===== */

.sidebar-app-info[b-4ys04oii3v] {
    padding: 1rem 1.5rem;
    background-color: var(--card);
    border-top: 1px solid var(--border);
    font-size: 0.6875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-text[b-4ys04oii3v] {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.1s ease;
}

.sidebar-version[b-4ys04oii3v] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    color: var(--foreground);
}

/* ===== Sidebar Resize Handle ===== */

.sidebar-resize-handle[b-4ys04oii3v] {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    cursor: col-resize;
    z-index: 15;
    transition: background-color 0.15s ease;
}

.sidebar-resize-handle:hover[b-4ys04oii3v] {
    background-color: rgba(12, 93, 166, 0.5);
}

/* ===== Main Content ===== */

.main-content[b-4ys04oii3v] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

[b-4ys04oii3v] .action-bar {
    z-index: 5;
    flex-shrink: 0;
}

.action-bar-spacer[b-4ys04oii3v] {
    flex: 1;
}

[b-4ys04oii3v] .ablage-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    min-height: 2.5rem;
    flex: 0 1 auto;
    overflow: hidden;
}

[b-4ys04oii3v] .ablage-title-name {
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    border: none;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-4ys04oii3v] .ablage-title-pfad {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--muted-foreground);
    line-height: 1;
    height: 0.6875rem;
    min-width: 0;
}

[b-4ys04oii3v] .ablage-title-pfad-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: monospace;
}

[b-4ys04oii3v] .ablage-pfad-copy {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
    height: 0.6875rem;
    min-height: 0;
    overflow: visible;
    line-height: 0;
    transition: color 0.15s ease;
}

[b-4ys04oii3v] .ablage-pfad-copy:hover {
    color: var(--primary);
}

[b-4ys04oii3v] .ablage-pfad-copy svg {
    width: 13px;
    height: 13px;
    overflow: visible;
}

[b-4ys04oii3v] .content-area {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-cyrj34zjyf] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem 0;
    min-height: 100%;
}

/* Icon darf nicht schrumpfen */
[b-cyrj34zjyf] .nav-icon {
    flex-shrink: 0;
}

/* Text wird per overflow hidden abgeschnitten, wenn die Sidebar schrumpft. */
[b-cyrj34zjyf] .nav-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    transition: opacity 0.15s ease;
}

/* Eingeklappt: Text unsichtbar, Icons zentriert */
.nav-collapsed[b-cyrj34zjyf]  .nav-link-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.nav-collapsed[b-cyrj34zjyf]  .nav-link {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
}

/* Trennlinie zwischen den Navigationsgruppen */
.nav-separator[b-cyrj34zjyf] {
    height: 1px;
    background-color: var(--sidebar-border);
    margin: 0.5rem 1rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-axy9n6akm3],
.components-reconnect-repeated-attempt-visible[b-axy9n6akm3],
.components-reconnect-failed-visible[b-axy9n6akm3],
.components-pause-visible[b-axy9n6akm3],
.components-resume-failed-visible[b-axy9n6akm3],
.components-rejoining-animation[b-axy9n6akm3] {
    display: none;
}

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


#components-reconnect-modal[b-axy9n6akm3] {
    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-axy9n6akm3 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-axy9n6akm3 {
    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;
    }
}
