@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';

/* _content/NaturelightWeb/Components/Layout/MainLayout.razor.rz.scp.css */
/* Struttura base */
.page[b-24jhokl7d4] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    color: #111;
    min-height: 100vh;
}

main[b-24jhokl7d4] {
    flex: 1;
}

/* Sidebar chiara e moderna */
.sidebar[b-24jhokl7d4] {
    background-color: #fff;
    border-right: 1px solid #e6e6e6;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

/* Top bar */
.top-row[b-24jhokl7d4] {
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .top-row a[b-24jhokl7d4] {
        margin-left: 1.5rem;
        color: #111;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .top-row a:hover[b-24jhokl7d4] {
            color: #000;
        }

/* Contenuto principale */
.content[b-24jhokl7d4] {
    padding: 1.5rem;
}

/* Errore Blazor */
#blazor-error-ui[b-24jhokl7d4] {
    background: #fff4f4;
    color: #000;
    bottom: 0;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 1px solid #f5bebe;
}

    #blazor-error-ui .dismiss[b-24jhokl7d4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        font-weight: bold;
    }

/* Desktop layout */
@media (min-width: 641px) {
    .page[b-24jhokl7d4] {
        flex-direction: row;
    }

    .sidebar[b-24jhokl7d4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-24jhokl7d4] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .content[b-24jhokl7d4] {
        max-width: 1400px;
        margin: 0 auto;
    }
}
