/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-3vm4rh7fwd] {
    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-3vm4rh7fwd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-dh85dkecx6],
.components-reconnect-repeated-attempt-visible[b-dh85dkecx6],
.components-reconnect-failed-visible[b-dh85dkecx6],
.components-pause-visible[b-dh85dkecx6],
.components-resume-failed-visible[b-dh85dkecx6],
.components-rejoining-animation[b-dh85dkecx6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-retrying[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-failed[b-dh85dkecx6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-dh85dkecx6] {
    display: block;
}


#components-reconnect-modal[b-dh85dkecx6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-dh85dkecx6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-dh85dkecx6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-dh85dkecx6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-dh85dkecx6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-dh85dkecx6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-dh85dkecx6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-dh85dkecx6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-dh85dkecx6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-dh85dkecx6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-dh85dkecx6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-dh85dkecx6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-dh85dkecx6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-dh85dkecx6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-dh85dkecx6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-dh85dkecx6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-dh85dkecx6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-dh85dkecx6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-dh85dkecx6 {
    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/Pages/Kiosk/Ricevimenti.razor.rz.scp.css */
/* Kiosk ricevimento genitori (F3, PIANO-KIOSK-RICEVIMENTI.md): markup/struttura portati quasi 1:1
   da _work/IncontriDocenti/static/style.css, con due scelte deliberatamente diverse dal legacy:
   1) font di sistema invece di "Noto Sans" da Google Fonts — evita sia una chiamata di rete esterna
      da un dispositivo che deve restare offline-capable, sia l'obbligo di portare la licenza SIL OFL
      1.1 del file .ttf (alternativa esplicita del piano, §6.1);
   2) nessuna animazione @keyframes "a palla che rimbalza" del legacy (era già commentata li').
   Il colore d'accento (blu) resta lo stesso per riconoscibilità visiva col device fisico esistente. */

.kiosk[b-ywc29cm914] {
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #10131a;
    color: #f5f5f5;
    overflow: hidden;
}

/* Banner della modalità test: deliberatamente vistoso. Un kiosk lasciato per sbaglio su un URL di
   prova mostrerebbe ai genitori i docenti del giorno sbagliato, e dal contenuto non si distingue. */
.kiosk-banner-test[b-ywc29cm914] {
    background: #b58900;
    color: #1a1200;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.5em 1em;
}

.kiosk-header[b-ywc29cm914] {
    text-align: center;
    padding: 1.5dvh 0 0.5dvh;
}

.kiosk-data[b-ywc29cm914] {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.85;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4em;
}

/* La capitalizzazione vale SOLO sul giorno ("martedì 4 agosto" -> "Martedì 4 Agosto"): sull'intera
   riga avrebbe reso anche "Ore 09:12 - 2ª Ora", che in italiano non si scrive così. */
.kiosk-data-giorno[b-ywc29cm914] {
    text-transform: capitalize;
}

.kiosk-data-extra[b-ywc29cm914] {
    font-weight: 400;
    white-space: nowrap;
}

.kiosk-titolo[b-ywc29cm914] {
    margin: 0.2em 0 0;
    font-size: 3.5rem;
    font-weight: 800;
}

.kiosk-stato-vuoto[b-ywc29cm914] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 2dvh;
}

.kiosk-corpo[b-ywc29cm914] {
    flex: 1;
    display: flex;
    flex-direction: row;
    padding: 0 2dvh 2dvh;
    gap: 3dvh;
    min-height: 0;
}

.kiosk-elenco[b-ywc29cm914] {
    flex: 0 0 auto;
    width: 320px;
    border: 3px solid #2a40bb;
    border-radius: 12px;
    padding: 1dvh 1.2dvh;
    overflow-y: auto;
}

.kiosk-elenco-titolo[b-ywc29cm914] {
    font-size: 1.4rem;
    margin: 0.6em 0 0.3em;
}

/* "(2ª ora)" su riga propria sotto il titolo: nella colonna stretta il testo andava a capo da solo
   in un punto qualsiasi, staccando la parentesi dalla parola che la precede. */
.kiosk-elenco-ora[b-ywc29cm914] {
    display: block;
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.8;
}

.kiosk-elenco-nome[b-ywc29cm914] {
    font-size: 1.1rem;
    padding: 0.15em 0;
}

.kiosk-carosello[b-ywc29cm914] {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Poche card: stanno tutte in schermo, si centrano e il carosello non gira. */
.kiosk-carosello.centrato[b-ywc29cm914] {
    justify-content: center;
}

.kiosk-carosello-pista[b-ywc29cm914] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
    /* Da ferma NESSUNA transizione: il ritorno a zero dopo lo scorrimento deve essere istantaneo,
       altrimenti si vedrebbe la pista tornare indietro strisciando invece di richiudere il giro. */
    transition: none;
}

.kiosk-carosello-pista.scorre[b-ywc29cm914] {
    /* Deve combaciare con ScorrimentoMs nel code-behind. */
    transition: transform 1s ease-in-out;
}

.kiosk-card[b-ywc29cm914] {
    flex: 0 0 auto;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #2a40bb;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1e28;
}

.kiosk-foto[b-ywc29cm914] {
    width: 80%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    margin-top: 1dvh;
}

.kiosk-nome[b-ywc29cm914] {
    width: 100%;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0.4em 0;
    border-top: 3px solid #2a40bb;
    border-bottom: 3px solid #0723c1;
    margin-top: 1dvh;
}

.kiosk-materie[b-ywc29cm914] {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 0.5em 0.5em 0;
    flex: 1;
}

.kiosk-presenza[b-ywc29cm914] {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0.5em 0;
}

.kiosk-presenza.presente[b-ywc29cm914] {
    background-color: limegreen;
    color: #0a2e0a;
}

.kiosk-presenza.assente[b-ywc29cm914] {
    background-color: tomato;
    color: #3a0a0a;
}
