/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-vo2ir9wgx2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-vo2ir9wgx2] {
    flex: 1;
}

/* Nebo design system: sidebar slate piatta (via dal gradiente viola/navy
   del template). Vedi wwwroot/app.css per i token (--ink). */
.sidebar[b-vo2ir9wgx2] {
    background-color: var(--ink, #16232e);
}

.top-row[b-vo2ir9wgx2] {
    background-color: var(--surface, #fff);
    border-bottom: 1px solid var(--line, #d6d5d5);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-vo2ir9wgx2]  a, .top-row[b-vo2ir9wgx2]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-vo2ir9wgx2]  a:hover, .top-row[b-vo2ir9wgx2]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-vo2ir9wgx2]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-vo2ir9wgx2] {
        justify-content: space-between;
    }

    .top-row[b-vo2ir9wgx2]  a, .top-row[b-vo2ir9wgx2]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-vo2ir9wgx2] {
        flex-direction: row;
    }

    .sidebar[b-vo2ir9wgx2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-vo2ir9wgx2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-vo2ir9wgx2]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vo2ir9wgx2], article[b-vo2ir9wgx2] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* T-022/T-047 (FND-030): logo dell'organizzazione nell'intestazione, vedi MainLayout.razor per il
   perché di un <img> SSR invece di un componente interattivo. */
.org-header-logo[b-vo2ir9wgx2] {
    height: 2rem;
    max-width: 12rem;
    object-fit: contain;
}

.org-header-logo-fallback[b-vo2ir9wgx2] {
    font-weight: 600;
    color: var(--ink, #333);
}

#blazor-error-ui[b-vo2ir9wgx2] {
    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-vo2ir9wgx2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mim9uojce6] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    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, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-mim9uojce6] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-mim9uojce6] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.15);
}

.navbar-brand[b-mim9uojce6] {
    font-size: 1.1rem;
}

.bi[b-mim9uojce6] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-mim9uojce6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-mim9uojce6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-mim9uojce6] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-mim9uojce6] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-mim9uojce6] {
        padding-bottom: 1rem;
    }

    .nav-item[b-mim9uojce6]  .nav-link {
        color: #c7d2d8;
        background: none;
        border: none;
        border-radius: var(--radius-sm, 7px);
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-mim9uojce6]  a.active {
    background-color: var(--brand, #0e6e6e);
    color: white;
    font-weight: 600;
}

.nav-item[b-mim9uojce6]  .nav-link:hover {
    background-color: rgba(255,255,255,0.08);
    color: white;
}

.nav-scrollable[b-mim9uojce6] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-mim9uojce6] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mim9uojce6] {
        display: none;
    }

    .nav-scrollable[b-mim9uojce6] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-90u92jtrww],
.components-reconnect-repeated-attempt-visible[b-90u92jtrww],
.components-reconnect-failed-visible[b-90u92jtrww],
.components-pause-visible[b-90u92jtrww],
.components-resume-failed-visible[b-90u92jtrww],
.components-rejoining-animation[b-90u92jtrww] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-retrying[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-failed[b-90u92jtrww],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-90u92jtrww] {
    display: block;
}


#components-reconnect-modal[b-90u92jtrww] {
    font-family: var(--sans);
    color: var(--text);
    background-color: var(--surface);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-90u92jtrww 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-90u92jtrww 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-90u92jtrww 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-90u92jtrww]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-90u92jtrww 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-90u92jtrww {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-90u92jtrww {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-90u92jtrww {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-90u92jtrww] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-90u92jtrww] {
    margin: 0;
    text-align: center;
}

/* Stati di fallimento (ADR/coding-standards: feedback utente chiaro) — stesso token semantico
   --danger già usato per gli alert di errore nel resto dell'app (.alert-danger/.badge.bg-danger),
   applicato qui al testo perché questi paragrafi non sono badge/alert Bootstrap. Il testo "in pausa"
   (sessione sospesa dal server, non un errore) resta invece nel colore neutro di default. */
#components-reconnect-modal .components-reconnect-failed-visible[b-90u92jtrww],
#components-reconnect-modal .components-resume-failed-visible[b-90u92jtrww] {
    color: var(--danger);
    font-weight: 600;
}

#components-reconnect-modal button[b-90u92jtrww] {
    border: 0;
    background-color: var(--brand);
    color: var(--surface);
    font-family: var(--sans);
    font-weight: 600;
    padding: 6px 24px;
    border-radius: var(--radius-sm);
}

    #components-reconnect-modal button:hover[b-90u92jtrww] {
        background-color: var(--brand-strong);
    }

    #components-reconnect-modal button:active[b-90u92jtrww] {
        background-color: var(--brand-strong);
    }

    #components-reconnect-modal button:focus-visible[b-90u92jtrww] {
        outline: none;
        box-shadow: 0 0 0 .2rem var(--brand-tint);
    }

.components-rejoining-animation[b-90u92jtrww] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-90u92jtrww] {
        position: absolute;
        border: 3px solid var(--brand);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-90u92jtrww 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-90u92jtrww] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-90u92jtrww {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/VendorPortalLayout.razor.rz.scp.css */
/* ADR-033 §1 (TKT-130): shell mobile-first del portale fornitore — una sola colonna, larghezza
   massima leggibile su desktop, nessuna sidebar. Riusa solo i token già definiti in wwwroot/app.css
   (--ground/--surface/--line/--brand/--radius/--shadow-sm/--sans): nessun colore nuovo introdotto. */

.vendor-portal-shell[b-ku7duxpqqn] {
    min-height: 100vh;
    background-color: var(--ground, #f4f6f7);
    display: flex;
    flex-direction: column;
}

.vendor-portal-shell__header[b-ku7duxpqqn] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 1rem;
    background-color: var(--surface, #fff);
    border-bottom: 1px solid var(--line, #e0e6e9);
}

.vendor-portal-shell__brand[b-ku7duxpqqn] {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--brand, #0e6e6e);
}

.vendor-portal-shell__demo-badge[b-ku7duxpqqn] {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--warn, #a4620a);
    background-color: var(--warn-tint, #fbefda);
    border-radius: var(--radius-sm, 7px);
    padding: .15rem .45rem;
}

.vendor-portal-shell__content[b-ku7duxpqqn] {
    flex: 1;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
}
/* /Components/Notifications/NotificationBadge.razor.rz.scp.css */
.notification-badge[b-bk6snd8paf] {
    position: relative;
    display: inline-block;
}

.notification-badge-toggle[b-bk6snd8paf] {
    position: relative;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
}

/* Il contatore non-letti deve restare un allarme "pieno" e leggibile, non la pillola a tinta
   tenue che app.css applica a .badge.bg-danger nel resto dell'app (pill di stato ticket/
   conversazioni, pensate per restare discrete in tabella). Qui vale l'opposto: un indicatore
   piccolo sopra l'icona campana deve "bucare" visivamente — stesso principio semantico
   (--danger = urgenza), resa diversa. Specificita' (due classi + selettore .badge.bg-danger di
   app.css) e !important pareggiano quella regola generale senza toccarla. */
.notification-badge-count.badge.bg-danger[b-bk6snd8paf] {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    background-color: var(--danger) !important;
    color: var(--surface) !important;
    border: 2px solid var(--surface);
    box-shadow: var(--shadow-sm);
}

.notification-badge-panel[b-bk6snd8paf] {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1050;
    width: 22rem;
    max-width: 90vw;
    max-height: 24rem;
    overflow-y: auto;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
}

.notification-badge-panel-header[b-bk6snd8paf] {
    padding: 0 0.25rem 0.5rem 0.25rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    margin-bottom: 0.25rem;
}
/* /Components/Organizations/OrganizationLogoUploader.razor.rz.scp.css */
.org-logo-preview[b-n8cwbt1356] {
    display: block;
    height: 4rem;
    max-width: 16rem;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.org-logo-fallback[b-n8cwbt1356] {
    display: inline-block;
    color: var(--muted, #6c757d);
    font-style: italic;
}
/* /Components/Pages/VendorPortal.razor.rz.scp.css */
/* ADR-033 (TKT-130): stile condiviso del portale fornitore. ::deep perché le classi sono emesse dai
   componenti presentazionali figli (Components/VendorPortal/*.razor), non da questo file — stesso
   meccanismo già usato da Components/Layout/MainLayout.razor.css per NavMenu. Solo i token del design
   system esistente (wwwroot/app.css): nessun colore/radius/ombra nuovo introdotto qui. */

[b-mlkhxuf8eb] .vendor-portal-card {
    background-color: var(--surface, #fff);
    border: 1px solid var(--line, #e0e6e9);
    border-radius: var(--radius, 10px);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(16, 35, 46, .08));
    padding: 1rem;
    margin-bottom: 1rem;
}

[b-mlkhxuf8eb] .vendor-portal-card__title {
    font-size: 1.15rem;
    margin-bottom: .15rem;
}

[b-mlkhxuf8eb] .vendor-portal-card__subtitle {
    color: var(--muted, #5c6b74);
    margin-bottom: .5rem;
}

[b-mlkhxuf8eb] .vendor-portal-card__description {
    white-space: pre-wrap;
}

[b-mlkhxuf8eb] .vendor-portal-card__facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .25rem .75rem;
    margin: .75rem 0 0;
}

[b-mlkhxuf8eb] .vendor-portal-card__facts dt {
    color: var(--muted, #5c6b74);
    font-weight: 500;
}

[b-mlkhxuf8eb] .vendor-portal-card__facts dd {
    margin: 0;
}

[b-mlkhxuf8eb] .vendor-portal-status {
    border-radius: var(--radius, 10px);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}

[b-mlkhxuf8eb] .vendor-portal-status__badge {
    display: inline-block;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .02em;
    border-radius: var(--radius-sm, 7px);
    padding: .15rem .55rem;
    margin-bottom: .25rem;
}

[b-mlkhxuf8eb] .vendor-portal-status__message {
    margin: 0;
}

[b-mlkhxuf8eb] .vendor-portal-status--sent {
    background-color: var(--info-tint, #e4f1f0);
}

[b-mlkhxuf8eb] .vendor-portal-status--sent .vendor-portal-status__badge {
    background-color: var(--info, #0e6e6e);
    color: #fff;
}

[b-mlkhxuf8eb] .vendor-portal-status--accepted {
    background-color: var(--info-tint, #e4f1f0);
}

[b-mlkhxuf8eb] .vendor-portal-status--accepted .vendor-portal-status__badge {
    background-color: var(--brand, #0e6e6e);
    color: #fff;
}

[b-mlkhxuf8eb] .vendor-portal-status--completed {
    background-color: var(--ok-tint, #e2f2e9);
}

[b-mlkhxuf8eb] .vendor-portal-status--completed .vendor-portal-status__badge {
    background-color: var(--ok, #177a49);
    color: #fff;
}

[b-mlkhxuf8eb] .vendor-portal-status--declined {
    background-color: var(--danger-tint, #fbe9e7);
}

[b-mlkhxuf8eb] .vendor-portal-status--declined .vendor-portal-status__badge {
    background-color: var(--danger, #c1332b);
    color: #fff;
}

[b-mlkhxuf8eb] .vendor-portal-attachments__item {
    padding: .35rem 0;
    border-bottom: 1px solid var(--line, #e0e6e9);
}

[b-mlkhxuf8eb] .vendor-portal-attachments__item:last-child {
    border-bottom: none;
}

[b-mlkhxuf8eb] .vendor-portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

[b-mlkhxuf8eb] .vendor-portal-actions .btn {
    flex: 1 1 auto;
}

[b-mlkhxuf8eb] .vendor-portal-card--unavailable {
    text-align: center;
}
