/* _content/Chamkila.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.app[b-s36ybjewci] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-s36ybjewci] {
    width: 256px;
    flex: 0 0 256px;
    background: var(--surface, #fff);
    border-right: 1px solid var(--border, #eceef3);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.main[b-s36ybjewci] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar[b-s36ybjewci] {
    height: 60px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border, #eceef3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.75rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-right[b-s36ybjewci] { margin-left: auto; }
.today[b-s36ybjewci] {
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted, #6b7280);
    background: var(--surface-2, #fbfcfe);
    border: 1px solid var(--border, #eceef3);
    border-radius: 999px;
    padding: .35rem .8rem;
}

.menu-toggle[b-s36ybjewci] { display: none; font-size: 1.4rem; cursor: pointer; color: var(--slate, #475569); }

.content[b-s36ybjewci] {
    padding: 1.75rem;
    flex: 1;
}

/* Mobile: collapsible sidebar via the hidden checkbox in NavMenu. */
@media (max-width: 768px) {
    .sidebar[b-s36ybjewci] {
        position: fixed;
        z-index: 50;
        transform: translateX(-100%);
        transition: transform .2s ease;
        box-shadow: var(--shadow-hover);
    }
    .menu-toggle[b-s36ybjewci] { display: inline-flex; }
}

#blazor-error-ui[b-s36ybjewci] {
    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-s36ybjewci] { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
/* _content/Chamkila.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.nav-toggle[b-mqcl4j5gw7] { display: none; }

.brand[b-mqcl4j5gw7] {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: .25rem;
}
.brand-mark[b-mqcl4j5gw7] {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #4f46e5, #7c5cfc);
    color: #fff; font-weight: 800;
    display: grid; place-items: center;
    box-shadow: 0 4px 10px rgba(79, 70, 229, .35);
}
.brand-name[b-mqcl4j5gw7] { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--text, #14181f); }

.nav-scroll[b-mqcl4j5gw7] { padding: 0 .75rem 1rem; }

.nav-group[b-mqcl4j5gw7] {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 700;
    color: #9aa1ae;
    padding: 1rem .75rem .35rem;
}

.nav-item[b-mqcl4j5gw7] { margin-bottom: 2px; }

.nav-item[b-mqcl4j5gw7]  .nav-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .75rem;
    border-radius: 10px;
    color: #4a5160;
    font-weight: 600;
    font-size: .9rem;
    line-height: 1.2;
}
.nav-item[b-mqcl4j5gw7]  .nav-link .bi { font-size: 1.05rem; color: #9aa1ae; width: 1.2rem; text-align: center; }
.nav-item[b-mqcl4j5gw7]  .nav-link:hover { background: #f4f5f9; color: var(--text, #14181f); }
.nav-item[b-mqcl4j5gw7]  .nav-link:hover .bi { color: #6b7280; }

.nav-item[b-mqcl4j5gw7]  .nav-link.active {
    background: var(--primary-soft, #eef0ff);
    color: var(--primary, #4f46e5);
}
.nav-item[b-mqcl4j5gw7]  .nav-link.active .bi { color: var(--primary, #4f46e5); }

.nav-footer[b-mqcl4j5gw7] {
    margin-top: 1rem;
    padding: .9rem .5rem 0;
    border-top: 1px solid var(--border, #eceef3);
}
.user[b-mqcl4j5gw7] { display: flex; align-items: center; gap: .6rem; padding: .25rem .25rem .6rem; }
.user-avatar[b-mqcl4j5gw7] {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary-soft, #eef0ff); color: var(--primary, #4f46e5);
    display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.user-name[b-mqcl4j5gw7] { font-size: .82rem; color: var(--muted, #6b7280); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signout[b-mqcl4j5gw7] {
    width: 100%; text-align: left;
    background: none; border: none;
    color: #6b7280; font-weight: 600; font-size: .85rem;
    padding: .5rem .75rem; border-radius: 10px;
    display: flex; align-items: center; gap: .6rem; cursor: pointer;
}
.signout:hover[b-mqcl4j5gw7] { background: var(--rose-soft, #fdebef); color: var(--rose, #be123c); }

/* Mobile drawer */
@media (max-width: 768px) {
    .nav-toggle:checked ~ *[b-mqcl4j5gw7] { /* handled by layout transform; placeholder */ }
}
