/* _content/AuthCenter/Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-at4h4dpbiq] {
    display: flex;
    min-height: 100vh;
    background: #f4f6f9;
}

.sidebar[b-at4h4dpbiq] {
    width: 212px;
    flex-shrink: 0;
    background: #232b3a;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: 2px 0 8px rgba(0, 0, 0, .06);
}

.brand[b-at4h4dpbiq] {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 20px 22px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.side-nav[b-at4h4dpbiq] {
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    flex: 1;
    gap: 2px;
}

/* NavLink 是子组件，父级 scoped CSS 须用 ::deep 才能穿透到它渲染的 <a> */
.side-nav[b-at4h4dpbiq]  .side-link {
    display: block;
    color: #aab4c5;
    text-decoration: none;
    padding: 11px 22px;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s;
}

.side-nav[b-at4h4dpbiq]  .side-link:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.side-nav[b-at4h4dpbiq]  .side-link.active {
    background: rgba(74, 144, 226, .18);
    color: #fff;
    border-left-color: #4a90e2;
    font-weight: 500;
}

.side-footer[b-at4h4dpbiq] {
    padding: 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.admin-name[b-at4h4dpbiq] {
    display: block;
    color: #8b97aa;
    font-size: 13px;
    margin-bottom: 9px;
}

.side-footer form[b-at4h4dpbiq] {
    margin: 0;
}

.logout-btn[b-at4h4dpbiq] {
    width: 100%;
    background: rgba(255, 255, 255, .1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s;
}

.logout-btn:hover[b-at4h4dpbiq] {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.app-main[b-at4h4dpbiq] {
    flex: 1;
    min-width: 0;
    padding: 26px 30px;
    overflow-x: auto;
}

#blazor-error-ui[b-at4h4dpbiq] {
    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-at4h4dpbiq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
