@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Layout/LoginDisplay.razor.rz.scp.css */
.login-display[b-1k2xadan17] {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.user-name[b-1k2xadan17] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    white-space: nowrap;
}

.user-icon[b-1k2xadan17] {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.logout-button[b-1k2xadan17] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

.logout-button:hover[b-1k2xadan17] {
    opacity: 0.85;
}

.logout-icon[b-1k2xadan17] {
    width: 20px;
    height: 20px;
}

.logout-text[b-1k2xadan17] {
    white-space: nowrap;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-k0oyp2fhqi] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* main should be able to fill remaining space */
.main-content[b-k0oyp2fhqi] {
    flex: 1;
    min-width: 0;
    min-height: 100vh;
    background-color: #F7F8FC;
    scrollbar-gutter: stable;
}

/* Sidebar shown only when authorized (markup controls visibility) */
.sidebar[b-k0oyp2fhqi] {
}

/* --- Topbar --- */
.app-topbar[b-k0oyp2fhqi] {
    height: 3.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    /*border-bottom: 1px solid rgba(0,0,0,0.08);*/
    background-color: #F7F8FC;
}

/* Right group is ALWAYS pushed to the right */
.app-topbar-right[b-k0oyp2fhqi] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

/* Keep app badge tight */
.app-badge[b-k0oyp2fhqi] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.app-icon[b-k0oyp2fhqi] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.app-name[b-k0oyp2fhqi] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
}

/* Prevent LoginDisplay wrapping */
.app-topbar[b-k0oyp2fhqi]  a,
.app-topbar[b-k0oyp2fhqi]  button {
    white-space: nowrap;
}

/* ---- Mobile tweaks ---- */
@media (max-width: 640.98px) {
    .app-topbar[b-k0oyp2fhqi] {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .app-name[b-k0oyp2fhqi] {
        max-width: 45vw;
    }
}

/* ---- Desktop layout ---- */
@media (min-width: 641px) {
    .page[b-k0oyp2fhqi] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

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

    .main-content[b-k0oyp2fhqi] {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-gutter: stable;
    }

    .app-topbar[b-k0oyp2fhqi] {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    /* Keep your desktop padding behavior but apply it to app-topbar (not top-row) */
    .app-topbar[b-k0oyp2fhqi],
    article[b-k0oyp2fhqi] {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Top logo */
.nav-top-logo-link[b-fgyr6x1vef] {
    display: block;
    width: 100%;
    max-width: 220px; /* adjust to taste */
}

.nav-top-logo[b-fgyr6x1vef] {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-link[b-fgyr6x1vef] {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.nav-icon[b-fgyr6x1vef] {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
    margin-right: 14px;
}

.navbar-toggler[b-fgyr6x1vef] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.bi[b-fgyr6x1vef] {
    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-fgyr6x1vef] {
    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-fgyr6x1vef] {
    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-fgyr6x1vef] {
    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-fgyr6x1vef] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

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

.nav-item[b-fgyr6x1vef]  a.active {
    /*background-color: rgba(0,0,0,0.37);*/
    text-decoration: underline;
    color: black;
}

.nav-item[b-fgyr6x1vef]  a:hover {
    background-color: rgba(0,0,0,0.1);
    color: black;
}

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

    .collapse[b-fgyr6x1vef] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-fgyr6x1vef] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 5.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.login[b-pgs1ym2aja] {
    min-height: 100vh;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem;
}

.login-logo[b-pgs1ym2aja] {
    width: min(420px, 90vw);
    height: auto;
    margin: 0 auto;
}

.login-text[b-pgs1ym2aja] {
    margin: 0;
    opacity: 0.8;
}
