@import '_content/Sanatan.Knowledge/Sanatan.Knowledge.zzj7zmakpo.bundle.scp.css';
@import '_content/Sanatan.Shared/Sanatan.Shared.sevva01tme.bundle.scp.css';

/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.adm-page[b-k9m0zmy7lg] {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.adm-topbar[b-k9m0zmy7lg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.adm-brand[b-k9m0zmy7lg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.adm-topbar-end[b-k9m0zmy7lg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.adm-menu-btn[b-k9m0zmy7lg] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    padding: 0.25rem;
    line-height: 1;
}

/* Sidebar */
.adm-sidebar[b-k9m0zmy7lg] {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100dvh;
    background: #16213e;
    color: #ccc;
    z-index: 1040;
    transition: left 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.adm-sidebar.open[b-k9m0zmy7lg] {
    left: 0;
}

.adm-sidebar-overlay[b-k9m0zmy7lg] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
}

.adm-sidebar-head[b-k9m0zmy7lg] {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.adm-sidebar-nav[b-k9m0zmy7lg] {
    flex: 1;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.adm-sidebar-link[b-k9m0zmy7lg] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    color: #b0b8cc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.adm-sidebar-link:hover[b-k9m0zmy7lg] {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.adm-sidebar-link.active[b-k9m0zmy7lg] {
    color: #fff;
    background: rgba(220, 53, 69, 0.15);
    border-left-color: #dc3545;
}

.adm-sidebar-foot[b-k9m0zmy7lg] {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.adm-main[b-k9m0zmy7lg] {
    flex: 1;
    padding: 1rem;
}

/* Desktop: persistent sidebar */
@media (min-width: 768px) {
    .adm-page[b-k9m0zmy7lg] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .adm-topbar[b-k9m0zmy7lg] {
        width: 100%;
    }

    .adm-sidebar[b-k9m0zmy7lg] {
        position: sticky;
        top: 48px;
        left: 0;
        height: calc(100dvh - 48px);
    }

    .adm-main[b-k9m0zmy7lg] {
        flex: 1;
        min-width: 0;
        padding: 1.5rem 2rem;
        max-width: calc(100% - 260px);
    }
}
