@import '_content/GlobalEdTech.Sis.Admissions.Components/GlobalEdTech.Sis.Admissions.Components.qztqd41c5w.bundle.scp.css';
@import '_content/GlobalEdTech.Sis.SystemConfiguration.Components/GlobalEdTech.Sis.SystemConfiguration.Components.i4r060ykyh.bundle.scp.css';
@import '_content/GlobalEdTech.Web.Shared/GlobalEdTech.Web.Shared.u601hgbhuh.bundle.scp.css';

/* /Shared/MainLayout.razor.rz.scp.css */
/* Scoped layout for the Admin Server shell — ported from the WASM admin's
   GlobalEdTech.Sis.WebApp.SPA/Shared/MainLayout.razor.css so the page height chain
   matches. app.css sets html,body{height:100%} and relies on this .page -> .main ->
   .content chain to bound the document: the DOCUMENT must not scroll; content scrolls
   inside .content. Without this the body scrolled and its vertical scrollbar sat over
   the fixed bottom-right Recent Students widget. The left nav is position:fixed
   (sf-nav.css), so .page flex-row does not double-offset it. */

.page[b-bciu2nl8ia] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main[b-bciu2nl8ia] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.content[b-bciu2nl8ia] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* Scroll the content region internally so the document itself never scrolls
       (keeps the viewport scrollbar off the fixed bottom-right widget). */
    overflow-y: auto;
}

.top-row[b-bciu2nl8ia] {
    background-color: var(--sf-color-bg, #f8fafc);
    border-bottom: 1px solid var(--sf-color-accent-light, #e2e8f0);
    justify-content: flex-start;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 24px; /* matches page content's standard 24px gap */
    gap: 1rem;
}

    .top-row__right[b-bciu2nl8ia] {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

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

    /* TenantNameDisplay renders an h5 heading (a child component) — drop its default
       block margin so it sits centered in the 3.5rem bar. */
    .top-row[b-bciu2nl8ia]  .h5 {
        margin: 0;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-bciu2nl8ia] {
        display: none;
    }

    .top-row.auth[b-bciu2nl8ia] {
        justify-content: space-between;
    }

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

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

    .main[b-bciu2nl8ia] {
        margin-left: var(--sf-nav-width, 240px);
        width: calc(100vw - var(--sf-nav-width, 240px));
        transition: margin-left 200ms ease, width 200ms ease;
    }

    .top-row[b-bciu2nl8ia] {
        position: sticky;
        top: 0;
        z-index: 40; /* --sf-z-toast level, above nav z-20 */
    }

    @media (prefers-reduced-motion: reduce) {
        .main[b-bciu2nl8ia] {
            transition: none;
        }
    }
}
