/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ygw5kcl8kt],
.components-reconnect-repeated-attempt-visible[b-ygw5kcl8kt],
.components-reconnect-failed-visible[b-ygw5kcl8kt],
.components-pause-visible[b-ygw5kcl8kt],
.components-resume-failed-visible[b-ygw5kcl8kt],
.components-rejoining-animation[b-ygw5kcl8kt] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-retrying[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-failed[b-ygw5kcl8kt],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ygw5kcl8kt] {
    display: block;
}


#components-reconnect-modal[b-ygw5kcl8kt] {
    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-ygw5kcl8kt 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ygw5kcl8kt 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ygw5kcl8kt 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ygw5kcl8kt]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ygw5kcl8kt 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ygw5kcl8kt {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ygw5kcl8kt {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ygw5kcl8kt {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ygw5kcl8kt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ygw5kcl8kt] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ygw5kcl8kt] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ygw5kcl8kt] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ygw5kcl8kt] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ygw5kcl8kt] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ygw5kcl8kt] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ygw5kcl8kt 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ygw5kcl8kt] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ygw5kcl8kt {
    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/TabellaLavoro/TabellaLavoro.razor.rz.scp.css */
.tl[b-3wr37zhjem] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.tl-filtri[b-3wr37zhjem] {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    align-items: flex-end;
    padding: 1rem 1.25rem 1.15rem;
    border-radius: 1rem;
    background: var(--ps-white);
    box-shadow: 0 20px 27px rgba(0, 0, 0, .05);
}

.tl-filtro[b-3wr37zhjem] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 12rem;
    flex: 1 1 12rem;
}

.tl-filtro-date[b-3wr37zhjem] {
    flex: 2 1 20rem;
}

.tl-filtro fieldset[b-3wr37zhjem] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
    border: 0;
    padding: 0;
    margin: 0;
}

.tl-filtro legend[b-3wr37zhjem] {
    padding: 0;
    margin-bottom: .25rem;
}

.tl-data[b-3wr37zhjem] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 1 1 11rem;
    min-width: 0;
}

.tl-data input[b-3wr37zhjem] {
    flex: 1;
    min-width: 0;
}

.tl-filtro label[b-3wr37zhjem],
.tl-filtro legend[b-3wr37zhjem] {
    font-size: .875rem;
    color: var(--ps-muted);
}

.tl-azzera[b-3wr37zhjem] {
    align-self: flex-end;
}

.tl-avviso[b-3wr37zhjem] {
    margin: 0;
    color: var(--ps-errore);
}

.tl-cornice[b-3wr37zhjem] {
    position: relative;
}

.tl-scroll[b-3wr37zhjem] {
    position: relative;
    overflow-x: auto;
    border-radius: 1rem;
    background: var(--ps-white);
    box-shadow: 0 20px 27px rgba(0, 0, 0, .05);
}

table[b-3wr37zhjem] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .95rem;
}

th[b-3wr37zhjem],
td[b-3wr37zhjem] {
    padding: .8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--ps-bordo);
    white-space: nowrap;
    vertical-align: middle;
}

thead th[b-3wr37zhjem] {
    position: sticky;
    top: 0;
    background: var(--ps-white);
    font-weight: 400;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #67748e;
    z-index: 1;
}

tbody tr:hover td:not(.tl-azioni)[b-3wr37zhjem] {
    background: var(--ps-riga-hover);
}

.tl-th[b-3wr37zhjem] {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.tl-maniglia[b-3wr37zhjem] {
    cursor: grab;
    touch-action: none;
    user-select: none;
    color: var(--ps-muted);
    padding: .25rem .2rem;
    border-radius: 4px;
    line-height: 1;
}

.tl-maniglia:active[b-3wr37zhjem] {
    cursor: grabbing;
}

.tl-ordina[b-3wr37zhjem] {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--ps-font-heading);
    font-weight: 700;
}

.tl-ordina:focus-visible[b-3wr37zhjem] {
    outline: 3px solid var(--ps-ink);
    outline-offset: 2px;
    border-radius: 4px;
}

.tl-verso[b-3wr37zhjem] {
    font-size: .75rem;
    color: var(--ps-muted);
}

th[aria-sort="ascending"] .tl-verso[b-3wr37zhjem],
th[aria-sort="descending"] .tl-verso[b-3wr37zhjem] {
    color: var(--ps-ink);
}

/* Colonna delle azioni: fissata a destra, sfondo proprio, bordo e ombra che la staccano dalle righe. */
.tl-azioni[b-3wr37zhjem] {
    position: sticky;
    right: 0;
    background: var(--ps-azioni) !important;
    border-left: 1px solid #f1df9c;
    box-shadow: -8px 0 12px -8px rgba(0, 0, 0, .15);
    z-index: 2;
}

thead .tl-azioni[b-3wr37zhjem] {
    z-index: 3;
}

td.tl-azioni[b-3wr37zhjem] {
    white-space: nowrap;
}

.tl-colonne[b-3wr37zhjem] {
    font-family: var(--ps-font-heading);
    font-weight: 700;
}

.tl-scelta[b-3wr37zhjem] {
    position: absolute;
    right: .5rem;
    top: 3.25rem;
    width: min(20rem, 80vw);
    max-height: 26rem;
    overflow: auto;
    padding: .75rem;
    background: var(--ps-white);
    border: 1px solid var(--ps-bordo);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    white-space: normal;
    z-index: 10;
}

.tl-scelta input[type="search"][b-3wr37zhjem] {
    width: 100%;
}

.tl-conteggio[b-3wr37zhjem] {
    margin: .5rem 0;
    font-size: .875rem;
    color: var(--ps-muted);
}

.tl-scelta ul[b-3wr37zhjem] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl-scelta li[b-3wr37zhjem] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem 0;
}

.tl-scelta label[b-3wr37zhjem] {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex: 1;
}

.tl-scelta-comandi[b-3wr37zhjem] {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .75rem;
}

.tl-vuoto[b-3wr37zhjem] {
    text-align: center;
    color: var(--ps-muted);
    padding: 2rem 1rem;
    white-space: normal;
}

.tl-pagine[b-3wr37zhjem] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}

.tl-pagine span[b-3wr37zhjem] {
    margin-right: auto;
}

/* Indicatori dello spostamento (classi aggiunte dal modulo JS). */
th.tl-in-movimento[b-3wr37zhjem],
li.tl-in-movimento[b-3wr37zhjem] {
    opacity: .5;
}

th.tl-drop-prima[b-3wr37zhjem],
th.tl-drop-dopo[b-3wr37zhjem],
li.tl-drop-prima[b-3wr37zhjem],
li.tl-drop-dopo[b-3wr37zhjem] {
    position: relative;
}

th.tl-drop-prima[b-3wr37zhjem] {
    box-shadow: inset 3px 0 0 var(--ps-ink);
}

th.tl-drop-dopo[b-3wr37zhjem] {
    box-shadow: inset -3px 0 0 var(--ps-ink);
}

li.tl-drop-prima[b-3wr37zhjem] {
    box-shadow: inset 0 3px 0 var(--ps-ink);
}

li.tl-drop-dopo[b-3wr37zhjem] {
    box-shadow: inset 0 -3px 0 var(--ps-ink);
}
