/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Il layout è gestito da MudBlazor + IcmTheme; qui restano solo gli override
   necessari. */

/* Piè di pagina con la versione dell'applicazione (vedi AppInfo.cs).
   Allineato a destra e discreto, come in ICMVerbali. */
.app-footer[b-2tgfw8yfgn] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-top: 1px solid var(--mud-palette-lines-default, #e6e9ee);
}

.app-version[b-2tgfw8yfgn] {
    font-size: 0.72rem;
    color: var(--mud-palette-text-secondary, #8a94a0);
    text-decoration: none;
}

.app-version:hover[b-2tgfw8yfgn] {
    color: var(--mud-palette-text-primary, #5a6472);
    text-decoration: underline;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
    Layout del menu laterale: la navigazione occupa lo spazio disponibile e
    scorre, mentre il blocco "Powered by Vis Logica" resta ancorato in fondo
    al drawer. Replica il pattern di ICMVerbali, adattato al MudDrawer chiaro
    di questo progetto (logo Vis Logica a colori, non bianco).
*/
.icm-nav-shell[b-abmhj5qou2] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

/* La MudNavMenu prende tutta l'altezza residua e scorre da sola. */
.icm-nav-scrollable[b-abmhj5qou2] {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

/* Blocco firma in fondo: margin-top:auto lo spinge in basso anche quando la
   navigazione è corta. Colori presi dalle CSS-var di MudBlazor così da
   adattarsi automaticamente al tema chiaro/scuro (il divisore e il testo
   secondario cambiano da soli). */
.powered-by[b-abmhj5qou2] {
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--mud-palette-divider);
    text-align: center;
}

    .powered-by a[b-abmhj5qou2] {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        text-decoration: none;
        opacity: 0.7;
        transition: opacity 0.15s ease;
    }

    .powered-by a:hover[b-abmhj5qou2] {
        opacity: 1;
    }

.powered-by-label[b-abmhj5qou2] {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.powered-by-logo[b-abmhj5qou2] {
    height: 22px;
    width: auto;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-hxr53u3h8e],
.components-reconnect-repeated-attempt-visible[b-hxr53u3h8e],
.components-reconnect-failed-visible[b-hxr53u3h8e],
.components-pause-visible[b-hxr53u3h8e],
.components-resume-failed-visible[b-hxr53u3h8e],
.components-rejoining-animation[b-hxr53u3h8e] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-retrying[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-failed[b-hxr53u3h8e],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-hxr53u3h8e] {
    display: block;
}


#components-reconnect-modal[b-hxr53u3h8e] {
    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-hxr53u3h8e 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-hxr53u3h8e 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-hxr53u3h8e 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-hxr53u3h8e]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-hxr53u3h8e 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-hxr53u3h8e {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-hxr53u3h8e {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-hxr53u3h8e {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-hxr53u3h8e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-hxr53u3h8e] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-hxr53u3h8e] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-hxr53u3h8e] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-hxr53u3h8e] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-hxr53u3h8e] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-hxr53u3h8e] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-hxr53u3h8e 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-hxr53u3h8e] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-hxr53u3h8e {
    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;
    }
}
