@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';

/* _content/KingStableNetApp2026/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-hebi460sp3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-hebi460sp3] {
    flex: 1;
}

.sidebar_org[b-hebi460sp3] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.sidebar[b-hebi460sp3] {
        background-image: linear-gradient(180deg, rgb(136, 84, 140) 0%, #30003c 70%);
}

.top-row[b-hebi460sp3] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-hebi460sp3]  a, .top-row[b-hebi460sp3]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-hebi460sp3]  a:hover, .top-row[b-hebi460sp3]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-hebi460sp3]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 991.98px) {
    /*max-width: 640.98px */
    .top-row[b-hebi460sp3] {
        justify-content: space-between;
    }

    .top-row[b-hebi460sp3]  a, .top-row[b-hebi460sp3]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    /*min-width: 641px */
    .page[b-hebi460sp3] {
        flex-direction: row;
    }

    .sidebar[b-hebi460sp3] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-hebi460sp3] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-hebi460sp3]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-hebi460sp3], article[b-hebi460sp3] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-hebi460sp3] {
    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-hebi460sp3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/KingStableNetApp2026/Components/Layout/NavMenu.razor.rz.scp.css */

-------------------------------------------------------------------------- */
/* Top bar uses a subtle purple gradient */
.top-row[b-294y8bhsmw] {
    height: 3.5rem;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.85), rgba(109, 40, 217, 0.85));
    border-bottom: 1px solid rgba(91, 33, 182, 0.35);
}

/* Brand stays readable on purple */
.navbar-brand[b-294y8bhsmw] {
    font-size: 1.1rem;
    color: #fff;
}



/* Hamburger toggler picks up purple + better hover/active states */
.navbar-toggler[b-294y8bhsmw] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(91, 33, 182, 0.45); /* 700 */
    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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(124, 58, 237, 0.25); /* 500 */
    border-radius: .5rem;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .navbar-toggler:hover[b-294y8bhsmw] {
        background-color: rgba(124, 58, 237, 0.4);
        border-color: rgba(91, 33, 182, 0.6);
        box-shadow: 0 0 0 .2rem rgba(124, 58, 237, 0.25);
    }

    .navbar-toggler:checked[b-294y8bhsmw] {
        background-color: var(--c-purple-600);
        border-color: var(--c-purple-700);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
    }

/* Icon base uses currentColor so icons follow link color */
.bi[b-294y8bhsmw] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    color: var(--c-purple-500);
}

/* Make the data-URI svgs inherit currentColor instead of white */
.bi-house-door-fill-nav-menu[b-294y8bhsmw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' 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-294y8bhsmw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' 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-294y8bhsmw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' 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 list spacing */
.nav-item[b-294y8bhsmw] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-294y8bhsmw] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-294y8bhsmw] {
        padding-bottom: 1rem;
    }

    /* Links: default, hover, active styled with your purples */
    .nav-item[b-294y8bhsmw]  .nav-link {
        color: #EDE9FE; /* readable on purple background */
        background: none;
        border: none;
        border-radius: 8px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        gap: .35rem;
        transition: background-color .12s ease, color .12s ease, box-shadow .12s ease;
    }

        .nav-item[b-294y8bhsmw]  .nav-link:hover {
            background-color: rgba(124, 58, 237, 0.15); /* 500 */
            color: #fff;
        }

            .nav-item[b-294y8bhsmw]  .nav-link:hover .bi {
                color: var(--c-purple-600);
            }

    .nav-item[b-294y8bhsmw]  a.active {
        background-color: var(--c-purple-600);
        color: #fff;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
    }

        .nav-item[b-294y8bhsmw]  a.active .bi {
            color: #fff;
        }

    /* Focus ring for keyboard users */
    .nav-item[b-294y8bhsmw]  .nav-link:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--c-purple-500) 55%, white);
        outline-offset: 2px;
    }

/* Mobile expand behavior unchanged */
.nav-scrollable[b-294y8bhsmw] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-294y8bhsmw] {
    display: block;
}

/* Sidebar background (wide screens) gets a faint purple tint */
@media (min-width: 992px) {
    /*min-width: 641px */
    .navbar-toggler[b-294y8bhsmw] {
        display: none;
    }

    .nav-scrollable[b-294y8bhsmw] {
        display: block; /* never collapse on wide screens */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        background: linear-gradient(180deg, rgba(109, 40, 217, 0.08), rgba(124, 58, 237, 0.06));
        padding: .25rem .5rem;
    }
}
