/* /Components/Layout/Footer.razor.rz.scp.css */
/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.gradient-custom-2[b-k2zqy0po0r] {
	/* fallback for old browsers */
	background: #fccb90;
	/* Chrome 10-25, Safari 5.1-6 */
	background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
	/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

@media (min-width: 768px) {
	.gradient-form[b-k2zqy0po0r] {
		height: 100vh !important;
	}
}

@media (min-width: 769px) {
	.gradient-custom-2[b-k2zqy0po0r] {
		border-top-right-radius: .3rem;
		border-bottom-right-radius: .3rem;
	}
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1bq0hpdu0x] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1bq0hpdu0x] {
    flex: 1;
}

/*.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}*/
/* Sidebar: da gradiente pieno a vetro morbido */
.sidebar[b-1bq0hpdu0x] {
    /*background: linear-gradient(180deg, rgba(15,18,180,.72) 0%, rgba(15,18,28,.46) 100%);*/
    background: linear-gradient(135deg, #0077b6, #0096c7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    color: #d6d5d5
}

.top-row[b-1bq0hpdu0x] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1bq0hpdu0x]  a, .top-row[b-1bq0hpdu0x]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-1bq0hpdu0x]  a:hover, .top-row[b-1bq0hpdu0x]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-1bq0hpdu0x]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-1bq0hpdu0x] {
        justify-content: space-between;
    }

    .top-row[b-1bq0hpdu0x]  a, .top-row[b-1bq0hpdu0x]  .btn-link {
        margin-left: 0;
    }
}

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

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

    .top-row[b-1bq0hpdu0x] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-1bq0hpdu0x]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-1bq0hpdu0x], article[b-1bq0hpdu0x] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-1bq0hpdu0x] {
    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;
}

    #blazor-error-ui .dismiss[b-1bq0hpdu0x] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ===== Tokens ===== */
:root[b-qnf0himz5u] {
    --sidebar-bg: rgba(20, 24, 33, 0.66); /* vetro scuro */
    --sidebar-border: rgba(255,255,255,.08);
    --sidebar-blur: blur(10px);
    --accent: #0ea5e9; /* azzurro pill attiva */
    --text-200: #e5e7eb;
    --text-400: #cbd5e1;
    --text-600: #94a3b8;
    --text-900: #0b1220;
    --radius-xl: 14px;
    --radius-pill: 9999px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,.18);
}

/* Resetta stile base della top row scura che avevi */
.top-row[b-qnf0himz5u] {
    min-height: 3.5rem;
    background: transparent;
}

/* ===== Contenitore principale ===== */
.sidebar-nav[b-qnf0himz5u] {
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header brand */
.nav-header[b-qnf0himz5u] {
    display: flex;
    align-items: center;
/*    gap: 10px;
    padding: 12px 14px;
    margin: 6px 6px 12px 6px;*/
    border-radius: var(--radius-xl);
    background: var(--sidebar-bg);
    -webkit-backdrop-filter: var(--sidebar-blur);
    backdrop-filter: var(--sidebar-blur);
    box-shadow: inset 0 0 0 1px var(--sidebar-border);
}

.brand-dot[b-qnf0himz5u] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}

.brand-text[b-qnf0himz5u] {
    color: var(--text-200);
    font-weight: 700;
    letter-spacing: .4px;
}
.brand-logo[b-qnf0himz5u] {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.brand-text-img[b-qnf0himz5u] {
    height: 64px;
    object-fit: contain;
}
/* Scorrimento elenco */
.nav-scrollable[b-qnf0himz5u] {
    height: calc(100vh - 3.5rem - 60px);
    overflow-y: auto;
    padding-right: 4px;
}

/* Sezioni */
.nav-section[b-qnf0himz5u] {
    margin: 14px 12px 6px;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-200);
}

/* Lista link */
.nav-list[b-qnf0himz5u] {
    list-style: none;
    padding: 0 6px 6px;
    margin: 0;
}

.nav-item[b-qnf0himz5u] {
    margin: 6px 0;
}

    /* Link stile �card� */
    .nav-item[b-qnf0himz5u]  .nav-link {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: var(--radius-xl);
        text-decoration: none;
        color: var(--text-200);
        background: var(--sidebar-bg);
        -webkit-backdrop-filter: var(--sidebar-blur);
        backdrop-filter: var(--sidebar-blur);
        box-shadow: inset 0 0 0 1px var(--sidebar-border);
        transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    }

/* Icone (riusa le tue .bi* data-uri) */
.bi[b-qnf0himz5u] {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 2px;
    opacity: .85;
}

/* Hover/focus */
.nav-item[b-qnf0himz5u]  .nav-link:hover,
.nav-item[b-qnf0himz5u]  .nav-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    color: #fff;
}

/* Pill attiva (effetto �segnalibro� a destra) */
.active-pill[b-qnf0himz5u] {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%) scale(0.6);
    background: transparent;
    transition: transform .2s ease, background .2s ease;
}

/* Stato attivo dalla classe .active che Blazor applica */
.nav-item[b-qnf0himz5u]  a.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(14,165,233,.18), rgba(14,165,233,.08));
    box-shadow: inset 0 0 0 1px rgba(14,165,233,.35), 0 10px 24px rgba(14,165,233,.18);
}

    .nav-item[b-qnf0himz5u]  a.active .active-pill {
        background: var(--accent);
        transform: translateY(-50%) scale(1);
    }

/* Footer utente */
.nav-footer[b-qnf0himz5u] {
    margin: 12px 12px 6px;
    padding: 12px 14px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sidebar-bg);
    -webkit-backdrop-filter: var(--sidebar-blur);
    backdrop-filter: var(--sidebar-blur);
    box-shadow: inset 0 0 0 1px var(--sidebar-border);
    color: var(--text-400);
}

.user-dot[b-qnf0himz5u] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e; /* online */
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

.user-text[b-qnf0himz5u] {
    font-size: .9rem;
}

/* Mobile: riusa il tuo comportamento (hamburger -> .nav-scrollable visibile) */
.navbar-toggler[b-qnf0himz5u] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.25rem;
    position: absolute;
    top: .5rem;
    right: 1rem;
    border: 1px solid rgba(255,255,255,.12);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.7%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255,255,255,.06);
    border-radius: 10px;
}

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

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

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

    .nav-scrollable[b-qnf0himz5u] {
        display: block;
    }
}

/* Accessibilit� focus */
.nav-item[b-qnf0himz5u]  .nav-link:focus-visible {
    outline: 2px solid rgba(14,165,233,.6);
    outline-offset: 2px;
}
