@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /SET/Layouts/MainLayoutServer.razor.rz.scp.css */
#layout-container[b-oq3f2cbkeu] {
    display: flex;
    flex-direction: row;

    width: 100%;
    height: var(--app-height);

    overflow-x: hidden;
    overflow-y: auto;

    column-gap: 0;
    

    transition: all 0.1s linear;
}

.page[b-oq3f2cbkeu] {
    position: relative;
    display: flex;
    flex-direction: row;
    
    width: 100%;
    height: var(--app-height);
}

main[b-oq3f2cbkeu] {
    height: var(--app-height);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.body[b-oq3f2cbkeu] {
    flex: 1;
}


/* Telefono e tablet: la barra del menu sta sopra la pagina (NavMenuMobile) */
@media (max-width: 1000px) {
    #layout-container[b-oq3f2cbkeu] {
        flex-direction: column;
    }

    .page[b-oq3f2cbkeu] {
        flex-direction: column;
    }

    main[b-oq3f2cbkeu] {
        height: 100%;
        width: 100%;
        flex: 1;
    }
}
/* /SET/Pages/Account/LoginServer.razor.rz.scp.css */
/* Tema guidato dalla property Home:Theme, come la home a tile: dark (default,
   stesso gradiente di Index.razor.css) o light (schema colori dell'app). Da
   login a home non si deve vedere differenza di sfondo.
   Stessi stili del componente Login, che resta per l'uscita dall'app. */

.login-page[b-o7sywtp9xh] {
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    /* --app-height, dove c'e', esclude barra di stato e barre del browser mobile */
    height: var(--app-height, 100vh);
    padding: var(--sp-4);
    box-sizing: border-box;
    background: linear-gradient(145deg, #0a1a3a 0%, #0d2d6e 40%, #1a4fa8 75%, #1e63c8 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #0a1a3a;
}

#login-form[b-o7sywtp9xh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(330px, 100%);
    box-sizing: border-box;
    height: auto;
    min-height: 300px;
    justify-content: center;
    border-radius: 12px;
    padding: 28px 26px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

#login-form form[b-o7sywtp9xh] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-logo[b-o7sywtp9xh] {
    width: 72%;
    margin-bottom: 8px;
}

.input-container[b-o7sywtp9xh] {
    width: 100%;
    margin-top: 14px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: transparent;
    overflow: visible;
}

.input-block[b-o7sywtp9xh] {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
}

.input-block input[b-o7sywtp9xh] {
    flex: 1;
    height: 42px;
    border: none;
    padding-left: 12px;
    font-size: .95rem;
    color: #14233a;
    background-color: #eef3f8;
}

.input-block input[b-o7sywtp9xh]::placeholder {
    color: #5a6b7a;
}

[b-o7sywtp9xh] .input-icon {
    width: 42px;
    height: 42px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dbe6f1;
    border: none;
}

[b-o7sywtp9xh] .login-button {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #15509c;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    transition: background .15s ease;
}

[b-o7sywtp9xh] .login-button:hover:not(:disabled) {
    background: #1b62bd;
}

[b-o7sywtp9xh] .login-button:disabled {
    opacity: .6;
    cursor: default;
}

[b-o7sywtp9xh] .login-button b {
    letter-spacing: 1.5px;
    color: whitesmoke;
}

.validation[b-o7sywtp9xh] {
    color: #ffb3b3;
    margin: 0;
}

.login-error[b-o7sywtp9xh] {
    margin-top: 10px;
    color: #ffb3b3;
    font-weight: 600;
    font-size: .85rem;
    text-align: center;
}

.login-register[b-o7sywtp9xh] {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: .85rem;
}

.login-register-link[b-o7sywtp9xh] {
    color: #9ecbff;
}

/* Variante light: sfondo e card sullo schema colori dell'app */
.login-page.light[b-o7sywtp9xh] {
    background: var(--neutral-layer-1, #fff);
    background-color: #fff;
}

.login-page.light #login-form[b-o7sywtp9xh] {
    background: #fff;
    border: 1px solid lightgray;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.login-page.light .login-error[b-o7sywtp9xh],
.login-page.light .validation[b-o7sywtp9xh] {
    color: #b00020;
}

/* Dopo l'invio (classe login-busy messa da js/functions.js): attesa al posto della scritta e
   nessun secondo invio */
.login-busy .login-button[b-o7sywtp9xh] {
    pointer-events: none;
    opacity: .6;
}

.login-busy .login-button b[b-o7sywtp9xh] {
    display: none;
}

.login-busy .login-spinner[b-o7sywtp9xh] {
    display: inline-block;
}

.login-spinner[b-o7sywtp9xh] {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(245, 245, 245, .35);
    border-top-color: whitesmoke;
    border-radius: 50%;
    animation: login-spin-b-o7sywtp9xh .8s linear infinite;
    vertical-align: middle;
}

@keyframes login-spin-b-o7sywtp9xh {
    to {
        transform: rotate(360deg);
    }
}

.login-page.light .login-register-link[b-o7sywtp9xh] {
    color: #15509c;
}
/* /SET/Pages/BasePages/ExampleServerPage.razor.rz.scp.css */
/* /SET/Pages/BasePages/Index.razor.rz.scp.css */
/* Tema dark (default): gradiente blu con testi chiari. Il tema light eredita
   lo schema colori dell'app e ridefinisce i token, tile compresi (le custom
   property attraversano il confine del css scoped). */
.home-portal[b-apto8kpm3j] {
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 64px;
}

.home-portal.dark[b-apto8kpm3j] {
    background: linear-gradient(145deg, #0a1a3a 0%, #0d2d6e 40%, #1a4fa8 75%, #1e63c8 100%);
    color: #fff;

    --portal-muted: rgba(255, 255, 255, .55);
    --portal-text: rgba(255, 255, 255, .72);
    --portal-divider: rgba(255, 255, 255, .25);
}

.home-portal.light[b-apto8kpm3j] {
    background: var(--neutral-layer-1, #fff);
    color: var(--neutral-foreground-rest, #1a1a1a);

    --portal-muted: gray;
    --portal-text: var(--neutral-foreground-rest, #444);
    --portal-divider: lightgray;

    --tile-fg: var(--neutral-foreground-rest, #1a1a1a);
    --tile-bg: var(--background, #fff);
    --tile-border: lightgray;
    --tile-accent: var(--accent-fill-rest, #1e63c8);
    --tile-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    --tile-shadow-hover: 0 8px 20px rgba(0, 0, 0, .15);
    --tile-icon-bg: rgba(30, 99, 200, .08);
    --tile-badge-bg: rgba(0, 0, 0, .05);
    --tile-bg-disabled: #f4f4f4;
    --tile-border-disabled: #ddd;
    --tile-icon-bg-disabled: #e6e6e6;
}

.portal-actions[b-apto8kpm3j] {
    position: absolute;
    top: 16px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

[b-apto8kpm3j] .portal-flag {
    width: 30px;
    min-width: 30px;
    height: 23px;
    cursor: pointer;
}

.portal-header[b-apto8kpm3j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.portal-logo[b-apto8kpm3j] {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .25));
}

.portal-subtitle[b-apto8kpm3j] {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--portal-muted);
}

.portal-divider[b-apto8kpm3j] {
    width: 48px;
    height: 2px;
    background: var(--portal-divider);
    border-radius: 2px;
    margin: 4px 0 20px;
}

.portal-description[b-apto8kpm3j] {
    max-width: 520px;
    text-align: center;
    font-size: 15px;
    line-height: 1.65;
    color: var(--portal-text);
    margin-bottom: 48px;
}

/* Scelta del modulo: riquadro ben distinto dalla descrizione della home, perche' l'utente
   capisca di essere in una pagina intermedia e non sulla home */
.portal-chooser[b-apto8kpm3j] {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    color: var(--portal-text);
    border: 1px solid var(--portal-divider);
    border-left: 4px solid currentColor;
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 40px;
}

.portal-chooser strong[b-apto8kpm3j] {
    font-size: 17px;
    color: inherit;
}

.portal-chooser a[b-apto8kpm3j] {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Griglia e non flex: con grid-auto-rows 1fr tutte le righe hanno l'altezza del tile piu' alto,
   anche quelle con tile senza descrizione o con un nome su una riga sola */
.portal-tiles[b-apto8kpm3j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    grid-auto-rows: 1fr;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 960px;
}

.portal-empty[b-apto8kpm3j] {
    font-size: 15px;
    color: var(--portal-text);
}

/* la versione in fondo alla pagina, piccola, nel colore dei testi del tema: quello attenuato, in fondo al gradiente
   dove il blu e' piu' chiaro, scendeva sotto il contrasto 3:1 */
.portal-version[b-apto8kpm3j] {
    margin: auto 0 0;
    padding-top: 32px;
    font-size: 11px;
    color: var(--portal-text);
}

@media (max-width: 641px) {
    /* Telefono: home simile alla schermata Home di iPhone. Intestazione compatta e icone dei
       moduli in griglia (ModuleTile.razor.css); lingua e uscita restano in alto a destra.
       Il margine alto lascia spazio a lingua e uscita sopra il logo. */
    .home-portal[b-apto8kpm3j] {
        padding: 52px 14px calc(32px + var(--safe-bottom));
    }

    .portal-actions[b-apto8kpm3j] {
        top: 10px;
        right: 12px;
    }

    .home-portal.light[b-apto8kpm3j] {
        --tile-text-shadow: none;
    }

    .portal-header[b-apto8kpm3j] {
        gap: 8px;
        margin-bottom: 8px;
    }

    .portal-logo[b-apto8kpm3j] {
        height: 38px;
    }

    .portal-subtitle[b-apto8kpm3j] {
        font-size: 11px;
    }

    .portal-divider[b-apto8kpm3j] {
        margin: 2px 0 12px;
    }

    .portal-description[b-apto8kpm3j] {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 28px;
    }

    .portal-chooser[b-apto8kpm3j] {
        font-size: 14px;
        padding: 12px 16px;
        margin-bottom: 24px;
    }

    .portal-tiles[b-apto8kpm3j] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 22px;
        align-items: start;
    }
}
/* /SET/Pages/Guida/GuidaPubblica.razor.rz.scp.css */
/* Stesso impianto della home a tile (Index.razor.css, dove gli stili hanno ambito di pagina e quindi si replicano qui):
   gradiente blu nel tema dark (default), fondo dell'app nel light. Il testo sta in una scheda chiara, cosi' la
   leggibilita' dei contenuti non dipende dal tema. */
.guida-pubblica[b-ebmrbzyg6t] {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 64px;
}

.guida-pubblica.dark[b-ebmrbzyg6t] {
    background: linear-gradient(145deg, #0a1a3a 0%, #0d2d6e 40%, #1a4fa8 75%, #1e63c8 100%);
    background-color: #0a1a3a;
    color: #fff;

    --guida-muted: rgba(255, 255, 255, .55);
    --guida-divisore: rgba(255, 255, 255, .25);
}

.guida-pubblica.light[b-ebmrbzyg6t] {
    background: var(--neutral-layer-1, #fff);
    color: var(--neutral-foreground-rest, #1a1a1a);

    --guida-muted: gray;
    --guida-divisore: lightgray;
}

/* Testata come la home (logo, sottotitolo, filetto), con sotto il titolo della sezione e il link di accesso.
   Il margine in fondo e' il respiro fra la testata e il riquadro delle istruzioni, come fra testata e tessere della home. */
.guida-pubblica__testata[b-ebmrbzyg6t] {
    width: 100%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.guida-pubblica__logo[b-ebmrbzyg6t] {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .25));
}

.guida-pubblica__sottotitolo[b-ebmrbzyg6t] {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--guida-muted);
}

.guida-pubblica__divisore[b-ebmrbzyg6t] {
    width: 48px;
    height: 2px;
    background: var(--guida-divisore);
    border-radius: 2px;
    margin: 4px 0 8px;
}

.guida-pubblica__titolo[b-ebmrbzyg6t] {
    margin: 0;
    font-size: var(--fs-h1, 1.75rem);
    font-weight: var(--fw-semibold, 600);
    color: inherit;
}

.guida-pubblica__accedi[b-ebmrbzyg6t] {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    min-height: 40px;
    margin-top: 4px;
    padding: 0 var(--sp-3);
    border: 1px solid currentColor;
    border-radius: var(--ds-radius, 8px);
    color: inherit;
    text-decoration: none;
    font-weight: var(--fw-semibold, 600);
}

.guida-pubblica__accedi:hover[b-ebmrbzyg6t],
.guida-pubblica__accedi:focus-visible[b-ebmrbzyg6t] {
    text-decoration: underline;
}

/* Scelta della lingua: link accostati, quello in uso in grassetto e senza sottolineatura */
.guida-pubblica__lingue[b-ebmrbzyg6t] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-1) var(--sp-3);
}

.guida-pubblica__lingua[b-ebmrbzyg6t] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 var(--sp-1);
    color: inherit;
    text-decoration: underline;
}

.guida-pubblica__lingua--attiva[b-ebmrbzyg6t] {
    font-weight: var(--fw-semibold, 600);
    text-decoration: none;
}

.guida-pubblica__lingua:hover[b-ebmrbzyg6t],
.guida-pubblica__lingua:focus-visible[b-ebmrbzyg6t] {
    text-decoration: underline;
}

.guida-pubblica__scheda[b-ebmrbzyg6t] {
    width: 100%;
    max-width: 920px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-5);
    background: var(--ds-surface, #fff);
    color: var(--ds-text, #1f2a37);
    border: 1px solid var(--ds-border, #dde3ea);
    border-radius: var(--ds-radius, 8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    line-height: 1.55;
}

.guida-pubblica__barra[b-ebmrbzyg6t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2) var(--sp-4);
}

.guida-pubblica__barra a[b-ebmrbzyg6t],
.guida-pubblica__indice a[b-ebmrbzyg6t] {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    min-height: 32px;
    color: var(--ds-primary, #00529c);
}

.guida-pubblica__indice[b-ebmrbzyg6t] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.guida-pubblica__indice li + li[b-ebmrbzyg6t] {
    border-top: 1px solid var(--ds-border, #dde3ea);
}

.guida-pubblica__indice li[b-ebmrbzyg6t] {
    padding: var(--sp-1) 0;
}

.guida-pubblica__avviso[b-ebmrbzyg6t] {
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--ds-radius, 8px);
    background: var(--ds-info-soft, #dbeafe);
    color: #1e40af;
}

.guida-pubblica__avviso--errore[b-ebmrbzyg6t] {
    background: var(--ds-danger-soft, #fbe3e3);
    color: var(--ds-danger, #d23a3a);
}

.guida-pubblica__vuoto[b-ebmrbzyg6t] {
    margin: 0;
    padding: var(--sp-4) 0;
    text-align: center;
    color: var(--ds-text-muted, #5a6b7a);
}

@media (max-width: 1000px) {
    .guida-pubblica[b-ebmrbzyg6t] {
        padding: 40px 20px 56px;
    }

    .guida-pubblica__scheda[b-ebmrbzyg6t] {
        padding: var(--sp-4);
    }
}

@media (max-width: 641px) {
    .guida-pubblica[b-ebmrbzyg6t] {
        padding: 32px 14px calc(32px + var(--safe-bottom, 0px));
    }

    .guida-pubblica__testata[b-ebmrbzyg6t] {
        gap: 8px;
        margin-bottom: 24px;
    }

    .guida-pubblica__scheda[b-ebmrbzyg6t] {
        padding: var(--sp-3);
    }

    .guida-pubblica__logo[b-ebmrbzyg6t] {
        height: 38px;
    }

    .guida-pubblica__sottotitolo[b-ebmrbzyg6t] {
        font-size: 11px;
    }

    .guida-pubblica__divisore[b-ebmrbzyg6t] {
        margin: 2px 0 4px;
    }

    .guida-pubblica__titolo[b-ebmrbzyg6t] {
        font-size: var(--fs-h2, 1.4rem);
    }
}
