/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-n6qvog3qje] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: #f4f6f9;
}

/* ── Top bar ── */
.topbar[b-n6qvog3qje] {
    display: flex;
    align-items: center;
    height: 64px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #ebedf0;
    z-index: 10;
}

.topbar-brand[b-n6qvog3qje] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 1.25rem;
}

.brand-logo[b-n6qvog3qje] {
    height: 42px;
    width: auto;
}

.topbar-actions[b-n6qvog3qje] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1.5rem;
}

.topbar-avatar[b-n6qvog3qje] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    background-color: #f3f4f6;
    transition: background-color 0.15s;
}

    .topbar-avatar:hover[b-n6qvog3qje] {
        background-color: #e5e7eb;
    }

    .topbar-avatar svg[b-n6qvog3qje] {
        width: 22px;
        height: 22px;
    }

/* ── Body: sidebar + content ── */
.app-body[b-n6qvog3qje] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.sidebar[b-n6qvog3qje] {
    width: 248px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-right: 1px solid #ebedf0;
    overflow-y: auto;
}

.app-content[b-n6qvog3qje] {
    flex: 1;
    overflow-y: auto;
}

#blazor-error-ui[b-n6qvog3qje] {
    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-n6qvog3qje] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 768px) {
    .sidebar[b-n6qvog3qje] { display: none; }
    .topbar-brand[b-n6qvog3qje] { width: auto; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.snav[b-1wv1uiawg6] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 0.75rem;
}

.snav-list[b-1wv1uiawg6] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.snav-list li[b-1wv1uiawg6] {
    margin-bottom: 4px;
}

/* NavLink renders its own <a>, which doesn't carry this component's scope
   attribute — pierce CSS isolation with ::deep so the styles actually apply. */
.snav[b-1wv1uiawg6]  .snav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    color: #111827; /* noir sur blanc si pas sélectionné */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    /* grisé au survol */
    .snav[b-1wv1uiawg6]  .snav-link:hover {
        background-color: #e5e7eb;
        color: #111827;
    }

    /* blanc sur noir si sélectionné */
    .snav[b-1wv1uiawg6]  .snav-link.active {
        background-color: #111827;
        color: #ffffff;
    }

.snav[b-1wv1uiawg6]  .snav-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.snav[b-1wv1uiawg6]  .snav-label {
    flex: 1;
    white-space: nowrap;
}
