/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-4hqrsi2e4e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-4hqrsi2e4e] {
    flex: 1;
}

/* Ink to manila: papers being sorted into folders. Every admin in the fleet has a gradient of its own. */
.sidebar[b-4hqrsi2e4e] {
    background-image: linear-gradient(180deg, #24170c 0%, #5e3a14 45%, #9a6618 100%);
}

.top-row[b-4hqrsi2e4e] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-4hqrsi2e4e]  a, .top-row[b-4hqrsi2e4e]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-4hqrsi2e4e]  a:hover, .top-row[b-4hqrsi2e4e]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-4hqrsi2e4e]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-4hqrsi2e4e] {
        justify-content: space-between;
    }

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

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

    .sidebar[b-4hqrsi2e4e] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.15s ease;
    }

    /* Narrowed to icons: the menu's names become tooltips. */
    .page.nav-narrow .sidebar[b-4hqrsi2e4e] {
        width: 4.5rem;
    }

    .nav-narrow[b-4hqrsi2e4e]  .nav-text {
        display: none;
    }

    /* A group's heading becomes a thin divider, so the groups still show. */
    .nav-narrow[b-4hqrsi2e4e]  .nav-group {
        font-size: 0;
        height: 1px;
        padding: 0;
        margin: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-narrow[b-4hqrsi2e4e]  .nav-item {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

        .nav-narrow[b-4hqrsi2e4e]  .nav-item a {
            justify-content: center;
            padding: 0;
        }

    .nav-narrow[b-4hqrsi2e4e]  .nav-scrollable {
        padding-top: 0.75rem;
    }

    .nav-narrow[b-4hqrsi2e4e]  .top-row {
        padding-left: 0 !important;
    }

        .nav-narrow[b-4hqrsi2e4e]  .top-row .container-fluid {
            justify-content: center;
            padding: 0;
        }

    .nav-narrow[b-4hqrsi2e4e]  .navbar-brand {
        margin-right: 0;
    }

    .nav-narrow[b-4hqrsi2e4e]  .nav-narrow-toggle {
        justify-content: center;
        padding: 0;
    }

    .top-row[b-4hqrsi2e4e] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-4hqrsi2e4e]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-4hqrsi2e4e], article[b-4hqrsi2e4e] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-eh8zko7zpo] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.navbar-brand[b-eh8zko7zpo] {
    font-size: 0.95rem;
    min-width: 0;
}

    .navbar-brand .bi[b-eh8zko7zpo] {
        font-size: 1.35rem;
    }

    .navbar-brand .nav-text[b-eh8zko7zpo] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.nav-group[b-eh8zko7zpo] {
    padding: 1rem 1.75rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

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

    .nav-item[b-eh8zko7zpo]  a {
        color: #e4dccf;
        border-radius: 6px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        white-space: nowrap;
    }

    .nav-item[b-eh8zko7zpo]  .bi {
        font-size: 1.15rem;
        width: 1.25rem;
        text-align: center;
        flex: 0 0 auto;
    }

    .nav-item[b-eh8zko7zpo]  a.active {
        background-color: rgba(255, 255, 255, 0.25);
        color: white;
        box-shadow: inset 3px 0 0 #f0c069;
    }

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

.nav-narrow-toggle[b-eh8zko7zpo] {
    display: none;
}

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

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

    .nav-scrollable[b-eh8zko7zpo] {
        /* Room for the toggle at the bottom */
        height: calc(100vh - 3.5rem - 3rem);
        overflow-y: auto;
    }

    .nav-narrow-toggle[b-eh8zko7zpo] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        height: 3rem;
        padding: 0 1.75rem;
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(0, 0, 0, 0.15);
        color: #e4dccf;
        font-size: 0.85rem;
        white-space: nowrap;
    }

        .nav-narrow-toggle:hover[b-eh8zko7zpo] {
            background: rgba(0, 0, 0, 0.3);
            color: white;
        }
}
