/* /Layout/MainLayout.razor.rz.scp.css */
.command-shell[b-hnp8cpx1fh] {
    position: relative;
    min-height: 100vh;
    background: #000;
    color: #f5f5f5;
    overflow-x: hidden;
}

.shell-menu-toggle[b-hnp8cpx1fh] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.topbar-shell[b-hnp8cpx1fh] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: nowrap;
}

.topbar-left-shell[b-hnp8cpx1fh] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    min-width: 0;
    width: 100%;
}

.menu-toggle-shell[b-hnp8cpx1fh] {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.45rem 0.45rem 0.45rem 0;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
}

.menu-toggle-shell span[b-hnp8cpx1fh] {
    display: block;
    width: 100%;
    height: 2px;
    background: #f5f5f5;
}

.brand-shell[b-hnp8cpx1fh] {
    min-width: 0;
}

.brand-link[b-hnp8cpx1fh] {
    display: inline-flex;
    align-items: center;
    color: #f5f5f5;
    text-decoration: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 1rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.brand-link:hover[b-hnp8cpx1fh] {
    color: #f5f5f5;
}

.brand-text[b-hnp8cpx1fh] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-backdrop[b-hnp8cpx1fh] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 109;
}

.shell-sidebar[b-hnp8cpx1fh] {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(20rem, 86vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    padding: 1.1rem 1rem 1rem;
    background: #050505;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.45);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 110;
}

.shell-sidebar-header[b-hnp8cpx1fh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-family: Consolas, "Courier New", monospace;
}

.shell-sidebar-title[b-hnp8cpx1fh] {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-sidebar-close[b-hnp8cpx1fh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
}

.shell-sidebar-nav[b-hnp8cpx1fh] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.shell-nav-item[b-hnp8cpx1fh] {
    display: flex;
}

.shell-nav-item[b-hnp8cpx1fh]  .shell-nav-link,
.shell-auth-link[b-hnp8cpx1fh] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f5f5;
    text-decoration: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95rem;
    line-height: 1;
    background: transparent;
    box-sizing: border-box;
}

.shell-nav-item[b-hnp8cpx1fh]  .shell-nav-link:visited,
.shell-nav-item[b-hnp8cpx1fh]  .shell-nav-link:focus,
.shell-auth-link:visited[b-hnp8cpx1fh],
.shell-auth-link:focus[b-hnp8cpx1fh] {
    color: #f5f5f5;
    text-decoration: none;
}

.shell-nav-item[b-hnp8cpx1fh]  .shell-nav-link.active,
.shell-nav-item[b-hnp8cpx1fh]  .shell-nav-link:hover,
.shell-auth-link:hover[b-hnp8cpx1fh] {
    color: #000;
    background: #f5f5f5;
}

.shell-sidebar-footer[b-hnp8cpx1fh] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shell-user-line[b-hnp8cpx1fh] {
    color: rgba(245, 245, 245, 0.76);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
}

.shell-user-line-muted[b-hnp8cpx1fh],
.shell-auth-link-muted[b-hnp8cpx1fh] {
    opacity: 0.55;
}

.shell-menu-toggle:checked ~ .shell-backdrop[b-hnp8cpx1fh] {
    opacity: 1;
    pointer-events: auto;
}

.shell-menu-toggle:checked ~ .shell-sidebar[b-hnp8cpx1fh] {
    transform: translateX(0);
}

.layout-main-shell[b-hnp8cpx1fh] {
    width: 100%;
    min-height: 100vh;
    padding-top: 73px;
}

.startup-spinner-shell[b-hnp8cpx1fh] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: Consolas, "Courier New", monospace;
    color: rgba(245, 245, 245, 0.82);
    letter-spacing: 0.04em;
}

.startup-spinner[b-hnp8cpx1fh] {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid rgba(245, 245, 245, 0.18);
    border-top-color: #f5f5f5;
    border-radius: 999px;
    animation: startup-spin-b-hnp8cpx1fh 0.8s linear infinite;
}

.startup-label[b-hnp8cpx1fh] {
    font-size: 0.9rem;
    text-transform: lowercase;
}

.auth-screen-shell[b-hnp8cpx1fh] {
    min-height: calc(100vh - 73px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.auth-screen-shell > .startup-spinner-shell[b-hnp8cpx1fh] {
    margin: auto;
}

.auth-terminal-shell[b-hnp8cpx1fh],
.auth-status-line[b-hnp8cpx1fh],
.auth-denied-shell[b-hnp8cpx1fh] {
    font-family: Consolas, "Courier New", monospace;
}

.auth-terminal-shell[b-hnp8cpx1fh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    color: #f5f5f5;
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-align: center;
}

.auth-terminal-cursor[b-hnp8cpx1fh] {
    width: 0.72rem;
    height: 1.15em;
    background: currentColor;
    animation: terminal-cursor-blink-b-hnp8cpx1fh 1s steps(1, end) infinite;
}

.auth-status-line[b-hnp8cpx1fh] {
    color: rgba(245, 245, 245, 0.75);
    font-size: 1rem;
}

.auth-denied-shell[b-hnp8cpx1fh] {
    width: min(100%, 42rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
}

.auth-denied-shell h1[b-hnp8cpx1fh] {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.auth-denied-shell p[b-hnp8cpx1fh] {
    margin: 0 0 0.75rem;
    color: rgba(245, 245, 245, 0.82);
}

.auth-warning-shell[b-hnp8cpx1fh] {
    color: #ffb347;
}

@keyframes startup-spin-b-hnp8cpx1fh {
    to {
        transform: rotate(360deg);
    }
}

@keyframes terminal-cursor-blink-b-hnp8cpx1fh {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

@media (max-width: 640.98px) {
    .topbar-shell[b-hnp8cpx1fh] {
        padding: 0.9rem 1rem;
    }

    .topbar-left-shell[b-hnp8cpx1fh] {
        gap: 0.75rem;
    }

    .menu-toggle-shell[b-hnp8cpx1fh] {
        width: 2.3rem;
        height: 2.3rem;
    }

    .brand-link[b-hnp8cpx1fh] {
        font-size: 0.92rem;
    }

    .shell-sidebar[b-hnp8cpx1fh] {
        width: min(18rem, 90vw);
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .shell-sidebar-footer[b-hnp8cpx1fh] {
        padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
    }

    .layout-main-shell[b-hnp8cpx1fh] {
        padding-top: 69px;
    }

    .auth-screen-shell[b-hnp8cpx1fh] {
        min-height: calc(100vh - 69px);
        padding: 1.5rem 1rem;
    }

    .auth-terminal-shell[b-hnp8cpx1fh] {
        font-size: 0.95rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-nj04crnsoa] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-nj04crnsoa] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-nj04crnsoa] {
    font-size: 1.1rem;
}

.bi[b-nj04crnsoa] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-nj04crnsoa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-nj04crnsoa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-nj04crnsoa] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-nj04crnsoa] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-nj04crnsoa] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-nj04crnsoa] {
        padding-bottom: 1rem;
    }

    .nav-item[b-nj04crnsoa]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-nj04crnsoa]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-nj04crnsoa]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nj04crnsoa] {
        display: none;
    }

    .collapse[b-nj04crnsoa] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-nj04crnsoa] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
