/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ziqn9gfnmu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ziqn9gfnmu] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-ziqn9gfnmu] {
    background:
        radial-gradient(520px 240px at 50% -8%, rgba(124, 58, 237, .40), transparent 62%),
        linear-gradient(180deg, #141a44 0%, #0b0f29 60%, #090c22 100%);
}

.top-row[b-ziqn9gfnmu] {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7f1;
    justify-content: flex-end;
    height: 3.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-context[b-ziqn9gfnmu] {
    color: #6b7392;
    margin-right: auto;
    font-size: 0.88rem;
    font-weight: 600;
}

.top-context strong[b-ziqn9gfnmu] {
    color: #1b2440;
    font-weight: 700;
}

.user-pill[b-ziqn9gfnmu] {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 0.75rem;
    border: 1px solid #e5e7f1;
    border-radius: 999px;
    color: #1b2440;
    background: #f7f8fd;
    font-size: 0.85rem;
    font-weight: 600;
}

.top-row[b-ziqn9gfnmu]  a,
.top-row[b-ziqn9gfnmu]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-ziqn9gfnmu]  a:hover,
.top-row[b-ziqn9gfnmu]  .btn-link:hover {
    text-decoration: underline;
}

@media (max-width: 640.98px) {
    .top-row[b-ziqn9gfnmu] {
        justify-content: space-between;
    }

    .top-context[b-ziqn9gfnmu] {
        font-size: 0.78rem;
    }

    .top-row[b-ziqn9gfnmu]  a,
    .top-row[b-ziqn9gfnmu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ziqn9gfnmu] {
        flex-direction: row;
    }

    .sidebar[b-ziqn9gfnmu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ziqn9gfnmu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-ziqn9gfnmu], article[b-ziqn9gfnmu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ziqn9gfnmu] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-ziqn9gfnmu] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-biai1h7fcu] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.6rem rgba(255, 255, 255, 0.08);
}

.navbar-toggler:checked[b-biai1h7fcu] {
    background-color: rgba(255, 255, 255, 0.18);
}

.sidebar-brand[b-biai1h7fcu] {
    min-height: 88px;
    padding: 1.15rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: transparent;
}

.sidebar-brand-inner[b-biai1h7fcu] {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 0.6rem;
}

.brand-lockup[b-biai1h7fcu] {
    display: block;
    width: 100%;
    text-decoration: none;
}

.brand-logo[b-biai1h7fcu] {
    display: block;
    width: 100%;
    max-width: 152px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.brand-subtitle[b-biai1h7fcu] {
    color: rgba(199, 203, 230, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.sidebar-nav[b-biai1h7fcu] {
    padding-top: 0.75rem;
}

.bi[b-biai1h7fcu] {
    display: inline-block;
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.2rem;
    top: -1px;
    background-size: cover;
}

.bi-list-nested-nav-menu[b-biai1h7fcu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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");
}

.bi-person-badge-nav-menu[b-biai1h7fcu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5v11A2.5 2.5 0 0 0 4.5 16h7a2.5 2.5 0 0 0 2.5-2.5v-11A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v11a1.5 1.5 0 0 1-1.5 1.5h-7A1.5 1.5 0 0 1 3 13.5v-11z'/%3E%3C/svg%3E");
}

.nav-item[b-biai1h7fcu] {
    font-size: 0.92rem;
    padding-bottom: 0.35rem;
}

.nav-item:first-of-type[b-biai1h7fcu] {
    padding-top: 0.5rem;
}

.nav-item[b-biai1h7fcu]  .nav-link {
    color: #c2c7e8;
    background: none;
    border: none;
    border-radius: 10px;
    height: 2.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.8rem;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.nav-item[b-biai1h7fcu]  a.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.42), rgba(37, 99, 235, 0.20));
    color: #ffffff;
    box-shadow: inset 3px 0 0 #a78bfa;
}

.nav-item[b-biai1h7fcu]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-scrollable[b-biai1h7fcu] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-biai1h7fcu] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-biai1h7fcu] {
        display: none;
    }

    .nav-scrollable[b-biai1h7fcu] {
        display: block;
        height: calc(100vh - 120px);
        overflow-y: auto;
    }
}
