/* _content/NIShield.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dxnkpsrked] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dxnkpsrked] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-dxnkpsrked] {
    background: linear-gradient(180deg, #0d1526 0%, #0a1020 100%);
    border-right: 1px solid rgba(148, 163, 184, .08);
}

/* ---- Barra superiore: vetro scuro, sticky ---- */
.topbar[b-dxnkpsrked] {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 15, 28, .75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, .1);
}

.topbar-spacer[b-dxnkpsrked] { flex: 1; }

.topbar-actions[b-dxnkpsrked] {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.lang-switch[b-dxnkpsrked] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.lang-switch span[b-dxnkpsrked] { color: #334155; }

.lang-switch a[b-dxnkpsrked] {
    color: #7d8db1;
    text-decoration: none;
    padding: .15rem .3rem;
    border-radius: 6px;
}

.lang-switch a:hover[b-dxnkpsrked] { color: #e2e8f0; background: rgba(148, 163, 184, .12); }

.user-chip[b-dxnkpsrked] {
    display: flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    padding: .3rem .7rem .3rem .35rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .14);
    background: rgba(20, 30, 51, .6);
    transition: border-color .15s, background .15s;
}

.user-chip:hover[b-dxnkpsrked] { border-color: rgba(34, 211, 238, .45); background: rgba(30, 41, 66, .8); }

.user-avatar[b-dxnkpsrked] {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 800;
    color: #04121a;
    background: linear-gradient(135deg, #22d3ee, #6366f1);
}

.user-name[b-dxnkpsrked] {
    color: #cbd5e1;
    font-size: .82rem;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-form[b-dxnkpsrked] { margin: 0; }

.logout-btn[b-dxnkpsrked] {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, .14);
    background: rgba(20, 30, 51, .6);
    color: #94a3b8;
    font-size: .95rem;
    line-height: 1;
    transition: color .15s, border-color .15s, background .15s;
}

.logout-btn:hover[b-dxnkpsrked] { color: #fda4af; border-color: rgba(244, 63, 94, .5); background: rgba(60, 20, 30, .5); }

.content[b-dxnkpsrked] {
    padding-top: 1.4rem;
    padding-bottom: 3rem;
    max-width: 1320px;
}

#blazor-error-ui[b-dxnkpsrked] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #111;
}

#blazor-error-ui .dismiss[b-dxnkpsrked] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 640.98px) {
    .topbar[b-dxnkpsrked] { justify-content: flex-end; }
    .user-name[b-dxnkpsrked] { display: none; }
}

@media (min-width: 641px) {
    .page[b-dxnkpsrked] {
        flex-direction: row;
    }

    .sidebar[b-dxnkpsrked] {
        width: 252px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }
}
/* _content/NIShield.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* ---- Brand ---- */
.brand-row[b-q8fadihuvn] {
    height: 3.6rem;
    display: flex;
    align-items: center;
    padding: 0 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, .08);
}

.brand[b-q8fadihuvn] {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
}

.brand-logo[b-q8fadihuvn] {
    font-size: 1.25rem;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, .45));
}

.brand-text[b-q8fadihuvn] {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .01em;
    background: linear-gradient(90deg, #e2e8f0, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small[b-q8fadihuvn] {
    font-size: .68rem;
    font-weight: 600;
    color: #64748b;
    -webkit-text-fill-color: #64748b;
    margin-left: .15rem;
}

/* ---- Toggler mobile ---- */
.navbar-toggler[b-q8fadihuvn] {
    appearance: none;
    cursor: pointer;
    width: 3.2rem;
    height: 2.4rem;
    position: absolute;
    top: 0.6rem;
    right: 1rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 10px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28226, 232, 240, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.6rem rgba(148, 163, 184, .08);
}

.navbar-toggler:checked[b-q8fadihuvn] {
    background-color: rgba(148, 163, 184, .25);
}

/* ---- Sezioni ---- */
.nav-section[b-q8fadihuvn] {
    margin: 1.1rem 1.35rem .35rem;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #475569;
}

/* ---- Voci ---- */
.nav-item[b-q8fadihuvn] {
    padding: .1rem .75rem;
    font-size: .875rem;
}

.nav-item:first-of-type[b-q8fadihuvn] { padding-top: .85rem; }
.nav-item:last-of-type[b-q8fadihuvn] { padding-bottom: 1.1rem; }

.nav-ico[b-q8fadihuvn] {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    margin-right: .55rem;
    font-size: .95rem;
    filter: saturate(.85);
}

.nav-item[b-q8fadihuvn]  .nav-link {
    color: #8b9ab8;
    background: none;
    border: none;
    border-radius: 10px;
    height: 2.45rem;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 .7rem;
    font-weight: 500;
    position: relative;
    transition: color .12s, background .12s;
}

.nav-item[b-q8fadihuvn]  .nav-link:hover {
    background: rgba(148, 163, 184, .09);
    color: #e2e8f0;
}

.nav-item[b-q8fadihuvn]  a.active {
    background: linear-gradient(90deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .14));
    color: #f1f5f9;
    font-weight: 600;
}

.nav-item[b-q8fadihuvn]  a.active::before {
    content: "";
    position: absolute;
    left: -0.05rem;
    top: 22%;
    bottom: 22%;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #22d3ee, #6366f1);
    box-shadow: 0 0 10px rgba(34, 211, 238, .55);
}

.nav-scrollable[b-q8fadihuvn] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-q8fadihuvn] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-q8fadihuvn] {
        display: none;
    }

    .nav-scrollable[b-q8fadihuvn] {
        display: block;
        height: calc(100vh - 3.6rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #1e293b transparent;
    }
}
