/* /Components/BusyOverlay.razor.rz.scp.css */
.busy-overlay[b-90mkv9hkt4] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.busy-card[b-90mkv9hkt4] {
    width: min(420px, calc(100vw - 32px));
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    text-align: center;
}

.busy-spinner[b-90mkv9hkt4] {
    width: 44px;
    height: 44px;
    margin: 2px auto 14px auto;
    border-radius: 999px;
    border: 5px solid rgba(0,0,0,.10);
    border-top-color: rgba(0,0,0,.70);
    animation: busySpin-b-90mkv9hkt4 .9s linear infinite;
}

@keyframes busySpin-b-90mkv9hkt4 {
    to {
        transform: rotate(360deg);
    }
}

.busy-title[b-90mkv9hkt4] {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.busy-sub[b-90mkv9hkt4] {
    font-size: 13px;
    opacity: .70;
    margin-top: 10px;
}

.busy-dots[b-90mkv9hkt4] {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 6px 0 2px 0;
}

    .busy-dots span[b-90mkv9hkt4] {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: rgba(0,0,0,.65);
        opacity: .25;
        animation: busyPulse-b-90mkv9hkt4 1s ease-in-out infinite;
    }

        .busy-dots span:nth-child(2)[b-90mkv9hkt4] {
            animation-delay: .15s;
        }

        .busy-dots span:nth-child(3)[b-90mkv9hkt4] {
            animation-delay: .30s;
        }

@keyframes busyPulse-b-90mkv9hkt4 {
    0%, 100% {
        transform: translateY(0);
        opacity: .25;
    }

    50% {
        transform: translateY(-3px);
        opacity: 1;
    }
}
/* /Components/CapitoliVisualizer.razor.rz.scp.css */
:root[b-ngx9dgh8ts] {
    --font-family: 'Inter', sans-serif;
}

.budget-container[b-ngx9dgh8ts] {
    font-family: var(--font-family);
    color: #ffffff;
    border: 1px solid #0064ab;
    border-radius: 8px;
    overflow: hidden;
    background-color: #092651;
}

.nome-evento[b-ngx9dgh8ts] {
    color: white;
    margin: 0 0 .25rem 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    min-width: 0;
}

.info-box[b-ngx9dgh8ts] {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}


.add-chapter-btn[b-ngx9dgh8ts] {
    text-align: right;
    display: flex;
    flex-direction: row;
}

    .add-chapter-btn button[b-ngx9dgh8ts] {
        font-size: 0.9rem;
        border-radius: 6px;
    }

.chapter-header[b-ngx9dgh8ts], .subchapter-header[b-ngx9dgh8ts] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    /*cursor: pointer;*/
    transition: background-color 0.2s ease-in-out;
    user-select: none;
}

.chapter-header[b-ngx9dgh8ts] {
    background-color: #0064ab;
    border-bottom: 1px solid #0064ab;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #092651;
}

    .chapter-header:hover .chevron[b-ngx9dgh8ts] {
        color: #092651;
    }

.chapter:last-child .chapter-header:not(.open)[b-ngx9dgh8ts] {
    border-bottom: none;
}

.chapter-header.open[b-ngx9dgh8ts] {
    border-bottom: 1px solid #0064ab;
}

.subchapter-header[b-ngx9dgh8ts] {
    font-weight: 500;
    font-size: 0.95rem;
    color: #e0f2fe;
    border-radius: 4px;
}

.chapter-header:hover[b-ngx9dgh8ts] {
    background-color: #1cbcf1;
}

.subchapter-header:hover[b-ngx9dgh8ts] {
    background-color: rgba(0, 100, 171, 0.2);
}

.btn[b-ngx9dgh8ts] {
    border-radius: 8px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-edit[b-ngx9dgh8ts] {
    color: #ffffff;
}

.btn-delete[b-ngx9dgh8ts] {
    color: #dc2626;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
}

    .btn-delete i[b-ngx9dgh8ts] {
        font-size: 1rem;
    }

    .btn-delete:hover:not(:disabled)[b-ngx9dgh8ts] {
        transform: translateY(-2px);
    }

    .btn-delete:disabled[b-ngx9dgh8ts] {
        opacity: 0.5;
        cursor: not-allowed;
        box-shadow: none;
    }

.header-title[b-ngx9dgh8ts] {
    margin-left: 8px;
}

.chevron[b-ngx9dgh8ts] {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #1cbcf1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .chevron:hover[b-ngx9dgh8ts] {
        transform: scale(1.5);
        color: #ffffff;
        text-shadow: 0 0 6px #1cbcf1;
    }

.open > .chevron[b-ngx9dgh8ts] {
    transform: rotate(90deg);
}

.collapsible-content[b-ngx9dgh8ts] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

    .collapsible-content.open[b-ngx9dgh8ts] {
        grid-template-rows: 1fr;
    }

.sub-items[b-ngx9dgh8ts], .items-grid[b-ngx9dgh8ts] {
    overflow: hidden;
}

.sub-items[b-ngx9dgh8ts] {
    padding: 8px 0 8px 24px;
    background-color: transparent;
}

.grid-header[b-ngx9dgh8ts], .grid-row[b-ngx9dgh8ts] {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 8px;
    font-size: 0.9rem;
}

.grid-header[b-ngx9dgh8ts] {
    font-weight: 600;
    color: #e0f2fe;
    border-bottom: 2px solid #0064ab;
    margin-bottom: 4px;
}

.grid-row[b-ngx9dgh8ts] {
    border-bottom: 1px solid #0064ab;
}

    .grid-row:last-child[b-ngx9dgh8ts] {
        border-bottom: none;
    }

    .grid-row:nth-child(even)[b-ngx9dgh8ts] {
        background-color: rgba(0, 100, 171, 0.2);
    }

.actions[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    gap: 6px;
    white-space: nowrap;
    border-top: none;
    margin-top:0;
    padding-top: 0;
}
    .actions .btn[b-ngx9dgh8ts] {
        margin: 0;
    }

.align-right[b-ngx9dgh8ts] {
    text-align: right;
}


.chapter-left[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.chapter-right[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.budget-pill.ok[b-ngx9dgh8ts] {
    border-color: #34d399;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

.budget-pill.warning[b-ngx9dgh8ts] {
    border-color: #ffc658;
    color: #ffc658;
    background: rgba(255, 198, 88, 0.12);
}

.budget-pill.danger[b-ngx9dgh8ts] {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.12);
}

@media (max-width: 640px) {
    .chapter-right[b-ngx9dgh8ts] {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
}

.budget-pill[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    border: 1px solid #1cbcf1;
    background: rgba(28, 188, 241, .10);
    color: #e6f7ff;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0,0,0,.18);
    transition: background-color .15s ease, border-color .15s ease, transform .06s ease;
}

    /*    .budget-pill.clickable {
        cursor: pointer;
    }*/

    .budget-pill.clickable:hover[b-ngx9dgh8ts] {
        transform: translateY(-1px);
        border-color: #6dd9ff;
        background: rgba(28, 188, 241, .16);
    }

    .budget-pill .icon-btn[b-ngx9dgh8ts] {
        margin-left: .15rem;
    }

.budget-edit[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(9, 38, 81, .6);
    padding: .25rem .35rem;
    border-radius: 999px;
    border: 1px dashed #1cbcf1;
    box-shadow: 0 1px 2px rgba(0,0,0,.18) inset;
}

input.budget-input[b-ngx9dgh8ts] {
    width: 160px;
    padding: .4rem .65rem;
    border-radius: 999px;
    border: 1px solid #0b4d8c;
    background: #0b2a59;
    color: #ffffff;
    font-weight: 600;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

    input.budget-input:focus[b-ngx9dgh8ts] {
        border-color: #1cbcf1;
        box-shadow: 0 0 0 3px rgba(28,188,241,.25);
        background: #0d346e;
    }

    input.budget-input[b-ngx9dgh8ts]::-webkit-outer-spin-button,
    input.budget-input[b-ngx9dgh8ts]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input.budget-input[type=number][b-ngx9dgh8ts] {
        -moz-appearance: textfield;
    }

.icon-btn[b-ngx9dgh8ts] {
    border: none;
    background: transparent;
    padding: .2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    border-radius: 8px;
    transition: transform .06s ease, background-color .12s ease, opacity .12s ease;
}

    .icon-btn:hover[b-ngx9dgh8ts] {
        transform: translateY(-1px);
        background-color: rgba(255,255,255,.06);
    }

    .icon-btn:active[b-ngx9dgh8ts] {
        transform: translateY(0);
    }

    .icon-btn.edit[b-ngx9dgh8ts] {
        color: #6dd9ff;
        opacity: .9;
    }

    .icon-btn.ok[b-ngx9dgh8ts] {
        color: #34d399;
    }

    .icon-btn.cancel[b-ngx9dgh8ts] {
        color: #ff6b6b;
    }

    .icon-btn.loading[b-ngx9dgh8ts] {
        pointer-events: none;
        opacity: .6;
    }

.budget-pill.ok[b-ngx9dgh8ts] {
    border-color: #34d399;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

.budget-pill.warning[b-ngx9dgh8ts] {
    border-color: #ffc658;
    color: #ffc658;
    background: rgba(255, 198, 88, 0.12);
}

.budget-pill.danger[b-ngx9dgh8ts] {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.12);
}

.chapter-right[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.budget-chip[b-ngx9dgh8ts] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #1cbcf1;
    background: rgba(28, 188, 241, .10);
    color: #e6f7ff;
    font-weight: 600;
    line-height: 1;
    min-width: 90px;
}

    .budget-chip.ok[b-ngx9dgh8ts] {
        border-color: #34d399;
        color: #34d399;
        background: rgba(52, 211, 153, 0.12);
    }

    .budget-chip.warning[b-ngx9dgh8ts] {
        border-color: #ffc658;
        color: #ffc658;
        background: rgba(255, 198, 88, 0.12);
    }

    .budget-chip.danger[b-ngx9dgh8ts] {
        border-color: #ff6b6b;
        color: #ff6b6b;
        background: rgba(255, 107, 107, 0.12);
    }

.dialog-auto .rz-dialog[b-ngx9dgh8ts] {
    width: auto !important;
    height: auto !important;
    max-width: 90vw; /* evita modale troppo larga */

    max-height: 90vh; /* evita overflow verticale */

    min-width: 100px;
    min-height: 200px;
    display: inline-block; /* permette auto-size */
}



.dialog-auto .rz-dialog-content[b-ngx9dgh8ts] {
    width: auto !important;
    height: auto !important;
    padding: 20px !important;
}



.dialog-auto .rz-dialog-wrapper[b-ngx9dgh8ts] {
    align-items: flex-start !important; /* permette il resize naturale */

    padding-top: 40px;
}


@media (max-width: 720px) {
    .info-box[b-ngx9dgh8ts] {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        align-items: center;
    }

    .add-chapter-btn[b-ngx9dgh8ts] {
        text-align: center;
    }

        .add-chapter-btn .btn[b-ngx9dgh8ts] {
            margin: 5px
        }

    .chapter-header[b-ngx9dgh8ts] {
        padding: 10px 12px;
        gap: 8px;
    }

    .chapter-left .header-title[b-ngx9dgh8ts] {
        font-size: 1rem;
    }

    .chapter-right[b-ngx9dgh8ts] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .budget-pill[b-ngx9dgh8ts],
    .budget-pill.ok[b-ngx9dgh8ts],
    .budget-pill.warning[b-ngx9dgh8ts],
    .budget-pill.danger[b-ngx9dgh8ts] {
        justify-content: space-between;
        width: 100%;
        padding: 8px 10px;
        border-radius: 10px;
    }

    .btn.btn-primary[b-ngx9dgh8ts] {
        width: 100%;
    }

    .items-grid[b-ngx9dgh8ts] {
        overflow: visible;
    }

    .grid-header[b-ngx9dgh8ts] {
        display: none;
    }

    .items-grid > div:last-child > div:nth-child(1)[b-ngx9dgh8ts]::before {
        content: none;
    }

    .items-grid > div:last-child > div:nth-child(2)[b-ngx9dgh8ts]::before {
        content: none;
    }

    .items-grid > div:last-child > div:nth-child(3)[b-ngx9dgh8ts]::before {
        content: none;
    }

    .items-grid > div:last-child > div:nth-child(4)[b-ngx9dgh8ts]::before {
        content: none;
    }

    .items-grid > div:last-child > div:nth-child(5)[b-ngx9dgh8ts]::before {
        content: none;
    }

    .items-grid > div:last-child > div:nth-child(6)[b-ngx9dgh8ts]::before {
        content: "Totale importo:";
    }

    .items-grid > div:last-child > div:nth-child(7)[b-ngx9dgh8ts]::before {
        content: "Totale divisione:";
    }

    .items-grid > div:last-child > div:nth-child(8)[b-ngx9dgh8ts]::before {
        content: "Totale mutualità:";
    }

    .items-grid > div:last-child > div:nth-child(9)[b-ngx9dgh8ts]::before {
        content: none;
    }

    .grid-row[b-ngx9dgh8ts] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px 12px;
        padding: 12px;
        margin: 10px 0;
        border: 1px solid #0a3a6a;
        border-radius: 12px;
        background: rgba(0, 100, 171, 0.12);
    }

        .grid-row > div[b-ngx9dgh8ts] {
            display: grid;
            grid-template-columns: 130px 1fr;
            align-items: center;
            gap: 8px;
        }

            .grid-row > div.align-right[b-ngx9dgh8ts] {
                text-align: left;
            }

            .grid-row > div:nth-child(1)[b-ngx9dgh8ts]::before {
                content: "Azioni";
            }

            .grid-row > div:nth-child(2)[b-ngx9dgh8ts]::before {
                content: "Nome";
            }

            .grid-row > div:nth-child(3)[b-ngx9dgh8ts]::before {
                content: "Codice";
            }

            .grid-row > div:nth-child(4)[b-ngx9dgh8ts]::before {
                content: "Descrizione";
            }

            .grid-row > div:nth-child(5)[b-ngx9dgh8ts]::before {
                content: "Budget";
            }

            .grid-row > div:nth-child(6)[b-ngx9dgh8ts]::before {
                content: "Importo";
            }

            .grid-row > div:nth-child(7)[b-ngx9dgh8ts]::before {
                content: "Divisione";
            }

            .grid-row > div:nth-child(8)[b-ngx9dgh8ts]::before {
                content: "Mutualità";
            }

            .grid-row > div:nth-child(9)[b-ngx9dgh8ts]::before {
                content: "Note";
            }

            .grid-row > div[b-ngx9dgh8ts]::before {
                color: #9cc7ff;
                font-weight: 600;
                font-size: .9rem;
            }

            .grid-row > div:nth-child(1)[b-ngx9dgh8ts] {
                grid-column: 1 / -1;
                grid-template-columns: 1fr auto;
            }

                .grid-row > div:nth-child(1)[b-ngx9dgh8ts]::before {
                    content: "Azioni";
                }

                .grid-row > div:nth-child(1) button[b-ngx9dgh8ts] {
                    justify-self: end;
                }

    .budget-chip[b-ngx9dgh8ts] {
        justify-content: flex-start;
        width: fit-content;
        min-width: 0;
        padding: 6px 10px;
        border-radius: 10px;
    }

    .mobile-closed[b-ngx9dgh8ts] {
        display: none;
    }

    .grid-row > div.actions[b-ngx9dgh8ts] {
        display: flex;
        align-items: center;
        gap: 6px;
        grid-template-columns: unset;
    }

        .grid-row > div.actions .btn-edit[b-ngx9dgh8ts] {
            margin-left: auto;
        }

        .grid-row > div.actions button[b-ngx9dgh8ts] {
            justify-self: unset;
        }
}
/* /Components/ConsuntivoMacroareeServizi.razor.rz.scp.css */
:root[b-sjvrvo81hu] {
    --font-family: 'Inter', sans-serif;
}

*[b-sjvrvo81hu],
*[b-sjvrvo81hu]::before,
*[b-sjvrvo81hu]::after {
    box-sizing: border-box;
}

.budget-container[b-sjvrvo81hu] {
    font-family: var(--font-family);
    color: #ffffff;
    border: 1px solid #0064ab;
    border-radius: 8px;
    overflow: hidden;
    background-color: #092651;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.nome-evento[b-sjvrvo81hu] {
    color: white;
    margin: 0 0 .25rem 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    min-width: 0;
}

.info-box[b-sjvrvo81hu] {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.add-chapter-btn[b-sjvrvo81hu] {
    text-align: right;
    display: flex;
    flex-direction: row;
}

    .add-chapter-btn button[b-sjvrvo81hu] {
        font-size: 0.9rem;
        border-radius: 6px;
    }

.chapter-header[b-sjvrvo81hu],
.subchapter-header[b-sjvrvo81hu] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    user-select: none;
}

.chapter-header[b-sjvrvo81hu] {
    background-color: #0064ab;
    font-weight: 600;
    justify-content: space-between;
    border-bottom: 1px solid #092651;
}

.chapter:last-child .chapter-header:not(.open)[b-sjvrvo81hu] {
    border-bottom: none;
}

.chapter-header.open[b-sjvrvo81hu] {
    border-bottom: 1px solid #0064ab;
}

.subchapter-header[b-sjvrvo81hu] {
    font-weight: 500;
    font-size: 0.95rem;
    color: #e0f2fe;
    border-radius: 4px;
}

.chapter-header:hover[b-sjvrvo81hu] {
    background-color: #1cbcf1;
}

.subchapter-header:hover[b-sjvrvo81hu] {
    background-color: rgba(0, 100, 171, 0.2);
}

.btn[b-sjvrvo81hu] {
    border-radius: 8px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-edit[b-sjvrvo81hu] {
    color: #ffffff;
}

.header-title[b-sjvrvo81hu] {
    margin-left: 8px;
}

.chapter-left[b-sjvrvo81hu] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chapter-right[b-sjvrvo81hu] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.chevron[b-sjvrvo81hu] {
    transition: transform 0.2s ease, color 0.2s ease;
    color: #1cbcf1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .chevron:hover[b-sjvrvo81hu] {
        transform: scale(1.5);
        color: #ffffff;
        text-shadow: 0 0 6px #1cbcf1;
    }

.open > .chevron[b-sjvrvo81hu] {
    transform: rotate(90deg);
}

.collapsible-content[b-sjvrvo81hu] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

    .collapsible-content.open[b-sjvrvo81hu] {
        grid-template-rows: 1fr;
    }

.sub-items[b-sjvrvo81hu],
.items-grid[b-sjvrvo81hu] {
    overflow: hidden;
}

.sub-items[b-sjvrvo81hu] {
    padding: 8px 0 8px 24px;
    background-color: transparent;
}

.items-grid[b-sjvrvo81hu] {
    width: 100%;
}


.grid-header[b-sjvrvo81hu],
.grid-row[b-sjvrvo81hu] {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .75fr) minmax(0, .75fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    font-size: 0.9rem;
    align-items: center;
    justify-items: stretch;
}

 
    .grid-header > div[b-sjvrvo81hu],
    .grid-row > div[b-sjvrvo81hu] {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
    }


.grid-header[b-sjvrvo81hu] {
    font-weight: 600;
    color: #e0f2fe;
    border-bottom: 2px solid #0064ab;
    margin-bottom: 4px;
}


.grid-row[b-sjvrvo81hu] {
    border-bottom: 1px solid #0064ab;
    min-height: 64px;
}

    .grid-row:last-child[b-sjvrvo81hu] {
        border-bottom: none;
    }

    .grid-row:nth-child(even)[b-sjvrvo81hu] {
        background-color: rgba(0, 100, 171, 0.2);
    }


.align-right[b-sjvrvo81hu] {
    text-align: center;
}


.grid-row > div:nth-child(1)[b-sjvrvo81hu],
.grid-row > div:nth-child(2)[b-sjvrvo81hu],
.grid-row > div:nth-child(9)[b-sjvrvo81hu] {
    width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}


.grid-row > div:nth-child(9)[b-sjvrvo81hu] {
    padding: 0 6px;
}


.grid-row > div:nth-child(10)[b-sjvrvo81hu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.budget-pill[b-sjvrvo81hu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    border: 1px solid #1cbcf1;
    background: rgba(28, 188, 241, .10);
    color: #e6f7ff;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0,0,0,.18);
    transition: background-color .15s ease, border-color .15s ease, transform .06s ease;
}

    .budget-pill.ok[b-sjvrvo81hu] {
        border-color: #34d399;
        color: #34d399;
        background: rgba(52, 211, 153, 0.12);
    }

    .budget-pill.warning[b-sjvrvo81hu] {
        border-color: #ffc658;
        color: #ffc658;
        background: rgba(255, 198, 88, 0.12);
    }

    .budget-pill.danger[b-sjvrvo81hu] {
        border-color: #ff6b6b;
        color: #ff6b6b;
        background: rgba(255, 107, 107, 0.12);
    }

/* Input e bottoni icona, lasciati se ti servono altrove */
.budget-edit[b-sjvrvo81hu] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(9, 38, 81, .6);
    padding: .25rem .35rem;
    border-radius: 999px;
    border: 1px dashed #1cbcf1;
    box-shadow: 0 1px 2px rgba(0,0,0,.18) inset;
}

input.budget-input[b-sjvrvo81hu] {
    width: 160px;
    padding: .4rem .65rem;
    border-radius: 999px;
    border: 1px solid #0b4d8c;
    background: #0b2a59;
    color: #ffffff;
    font-weight: 600;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

    input.budget-input:focus[b-sjvrvo81hu] {
        border-color: #1cbcf1;
        box-shadow: 0 0 0 3px rgba(28,188,241,.25);
        background: #0d346e;
    }

    input.budget-input[b-sjvrvo81hu]::-webkit-outer-spin-button,
    input.budget-input[b-sjvrvo81hu]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input.budget-input[type=number][b-sjvrvo81hu] {
        -moz-appearance: textfield;
    }

.icon-btn[b-sjvrvo81hu] {
    border: none;
    background: transparent;
    padding: .2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    border-radius: 8px;
    transition: transform .06s ease, background-color .12s ease, opacity .12s ease;
}

    .icon-btn:hover[b-sjvrvo81hu] {
        transform: translateY(-1px);
        background-color: rgba(255,255,255,.06);
    }

    .icon-btn:active[b-sjvrvo81hu] {
        transform: translateY(0);
    }

    .icon-btn.edit[b-sjvrvo81hu] {
        color: #6dd9ff;
        opacity: .9;
    }

    .icon-btn.ok[b-sjvrvo81hu] {
        color: #34d399;
    }

    .icon-btn.cancel[b-sjvrvo81hu] {
        color: #ff6b6b;
    }

    .icon-btn.loading[b-sjvrvo81hu] {
        pointer-events: none;
        opacity: .6;
    }

/* CHIP */
.budget-chip[b-sjvrvo81hu] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #1cbcf1;
    background: rgba(28, 188, 241, .10);
    color: #e6f7ff;
    font-weight: 600;
    line-height: 1;
    min-width: 90px;
}

    .budget-chip.ok[b-sjvrvo81hu] {
        border-color: #34d399;
        color: #34d399;
        background: rgba(52, 211, 153, 0.12);
    }

    .budget-chip.warning[b-sjvrvo81hu] {
        border-color: #ffc658;
        color: #ffc658;
        background: rgba(255, 198, 88, 0.12);
    }

    .budget-chip.danger[b-sjvrvo81hu] {
        border-color: #ff6b6b;
        color: #ff6b6b;
        background: rgba(255, 107, 107, 0.12);
    }

/* responsive */
@media (max-width: 640px) {
    .chapter-right[b-sjvrvo81hu] {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
}

@media (max-width: 720px) {
    .info-box[b-sjvrvo81hu] {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        align-items: center;
    }

    .add-chapter-btn[b-sjvrvo81hu] {
        text-align: center;
    }

        .add-chapter-btn .btn[b-sjvrvo81hu] {
            margin: 5px;
        }

    .chapter-header[b-sjvrvo81hu] {
        padding: 10px 12px;
        gap: 8px;
    }

    .chapter-left .header-title[b-sjvrvo81hu] {
        font-size: 1rem;
    }

    .chapter-right[b-sjvrvo81hu] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .budget-pill[b-sjvrvo81hu],
    .budget-pill.ok[b-sjvrvo81hu],
    .budget-pill.warning[b-sjvrvo81hu],
    .budget-pill.danger[b-sjvrvo81hu] {
        justify-content: space-between;
        width: 100%;
        padding: 8px 10px;
        border-radius: 10px;
    }

    .btn.btn-primary[b-sjvrvo81hu] {
        width: 100%;
    }

    .items-grid[b-sjvrvo81hu] {
        overflow: visible;
    }

    .grid-header[b-sjvrvo81hu] {
        display: none;
    }

    .grid-row[b-sjvrvo81hu] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px 12px;
        padding: 12px;
        margin: 10px 0;
        border: 1px solid #0a3a6a;
        border-radius: 12px;
        background: rgba(0, 100, 171, 0.12);
        text-align: left;
        min-height: 0;
    }

        .grid-row > div[b-sjvrvo81hu] {
            display: grid;
            grid-template-columns: 130px 1fr;
            align-items: center;
            gap: 8px;
        }

            .grid-row > div.align-right[b-sjvrvo81hu] {
                text-align: left;
                justify-self: stretch;
                width: 100%;
            }

            .grid-row > div[b-sjvrvo81hu]::before {
                color: #9cc7ff;
                font-weight: 600;
                font-size: .9rem;
            }

            .grid-row > div:nth-child(1)[b-sjvrvo81hu]::before {
                content: "Fornitore";
            }

            .grid-row > div:nth-child(2)[b-sjvrvo81hu]::before {
                content: "Fattura";
            }

            .grid-row > div:nth-child(3)[b-sjvrvo81hu]::before {
                content: "Imponibile";
            }

            .grid-row > div:nth-child(4)[b-sjvrvo81hu]::before {
                content: "IVA 10%";
            }

            .grid-row > div:nth-child(5)[b-sjvrvo81hu]::before {
                content: "IVA 22%";
            }

            .grid-row > div:nth-child(6)[b-sjvrvo81hu]::before {
                content: "Importo esente";
            }

            .grid-row > div:nth-child(7)[b-sjvrvo81hu]::before {
                content: "Divisione";
            }

            .grid-row > div:nth-child(8)[b-sjvrvo81hu]::before {
                content: "Mutualità";
            }

            .grid-row > div:nth-child(9)[b-sjvrvo81hu]::before {
                content: "Note";
            }

            .grid-row > div:nth-child(10)[b-sjvrvo81hu]::before {
                content: "Stato";
            }

    .budget-chip[b-sjvrvo81hu] {
        justify-content: flex-start;
        width: fit-content;
        min-width: 0;
        padding: 6px 10px;
        border-radius: 10px;
    }

    .mobile-closed[b-sjvrvo81hu] {
        display: none;
    }
}
/* /Components/Dashboard.razor.rz.scp.css */
.dashboard-container[b-wq9ewipsy1] {
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nome-evento[b-wq9ewipsy1] {
    color: white;
    margin: 0 0 .25rem 0;
    line-height: 1.25;
    /* ✅ va a capo anche su stringhe senza spazi */
    overflow-wrap: anywhere; /* moderno, preferibile */
    word-break: break-word; /* fallback per vecchi browser */
    /* opzionale: spezza con trattini dove possibile (imp. lang="it" su <html>) */
    hyphens: auto;
    min-width: 0;
}

.info-box[b-wq9ewipsy1] {
    padding: 20px;
    border-radius: 8px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .info-box h3[b-wq9ewipsy1] {
        margin-bottom: 15px;
    }

.info-grid[b-wq9ewipsy1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
    margin-bottom: 15px;
}

.event-divider[b-wq9ewipsy1] {
    border: 0;
    height: 1px;
    background-color: rgba(255,255,255,0.4);
    margin: 10px 0 20px 0;
}

.iban-row[b-wq9ewipsy1] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.iban-value[b-wq9ewipsy1] {
    font-weight: bold;
}

.tab-content[b-wq9ewipsy1] {
    margin-top: 12px;
}

.btn-iban[b-wq9ewipsy1] {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    background-color: #1cbcf1;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .btn-iban:hover[b-wq9ewipsy1] {
        background-color: #148ba8;
        transform: scale(1.03);
    }


.tabs-container[b-wq9ewipsy1] {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab[b-wq9ewipsy1] {
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color .2s, color .2s;
    margin-right: 6px;
    width: 100%;
    color: #ffffff;
}

    .tab:hover[b-wq9ewipsy1] {
        background-color: #1cbcf1;
        color: #fff;
    }

    .tab.active[b-wq9ewipsy1] {
        background-color: #1cbcf1;
        color: #ffffff;
        box-shadow: inset 0 -3px 0 #ffffff66;
    }

.info-grid[b-wq9ewipsy1] {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}

.toolbar-buttons[b-wq9ewipsy1] {
    display: flex;
    gap: 8px;
    justify-content: end;
}

.delete-btn[b-wq9ewipsy1] {
    background-color: #dc2626;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(28,188,241,0.15);
}

    .delete-btn i[b-wq9ewipsy1] {
        font-size: 1rem;
    }

    .delete-btn:hover:not(:disabled)[b-wq9ewipsy1] {
        background-color: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(220, 38, 38, 0.35);
    }

    .delete-btn:disabled[b-wq9ewipsy1] {
        opacity: 0.5;
        cursor: not-allowed;
        box-shadow: none;
    }

@media (max-width: 640px) {
    .toolbar[b-wq9ewipsy1] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .toolbar-buttons[b-wq9ewipsy1] {
        justify-content: flex-end;
        display: flex;
        width: 100%;
    }

    .delete-btn[b-wq9ewipsy1] {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 1rem;
        border-radius: 10px;
    }
}



@media (max-width: 720px) {
    .dashboard-container[b-wq9ewipsy1] {
        padding: 12px;
    }

    .info-box[b-wq9ewipsy1] {
        padding: 14px;
        border-radius: 10px;
    }

    .info-grid[b-wq9ewipsy1] {
        grid-template-columns: 1fr; /* una colonna */
        gap: 8px 0;
        margin-bottom: 10px;
    }

    .iban-row[b-wq9ewipsy1] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .iban-value[b-wq9ewipsy1] {
        word-break: break-all; /* IBAN lungo va a capo */
        font-size: .95rem;
        padding: 8px 10px;
        border: 1px dashed rgba(255,255,255,.25);
        border-radius: 8px;
    }

    .btn-iban[b-wq9ewipsy1] {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border-radius: 10px;
    }

    /* Tabs: NO overflow, vanno a capo pulite */
    .tabs-container[b-wq9ewipsy1] {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 14px;
    }

    .tab[b-wq9ewipsy1] {
        flex: 1 1 calc(50% - 8px);
        margin-right: 0;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: .95rem;
    }

        .tab:first-child[b-wq9ewipsy1] {
            flex: 1 1 100%;
        }

    .btn-chiudi-evento[b-wq9ewipsy1] {
        border-radius: 999px;
        padding: 10px 16px;
        font-weight: 700;
        box-shadow: 0 10px 25px rgba(0,0,0,.20);
    }

    .evento-badge[b-wq9ewipsy1] {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 8px 12px;
        font-weight: 700;
        letter-spacing: .2px;
        border: 1px solid rgba(255,255,255,.18);
        backdrop-filter: blur(6px);
    }

    .evento-badge-chiuso[b-wq9ewipsy1] {
        color: #e8e8e8;
        background: rgba(255,255,255,.10);
    }


    /* XS: sotto 420px una per riga */
    @media (max-width: 420px) {
        .tab[b-wq9ewipsy1] {
            flex: 1 1 100%;
        }
    }

    .tab-content[b-wq9ewipsy1] {
        margin-top: 8px;
    }
}
/* /Components/DetailsSottocapitoloModal.razor.rz.scp.css */
.sheet[b-22zbsizoby] {
    --bg: #092651;
    --bg-soft: #0d2f5a;
    --ink: #fff;
    --ink-sub: #cfe9ff;
    --line: #1b3f75;
    --brand: #1cbcf1;
    --brand-ink: #092651;
    --ok: #29c48a;
    --warn: #f6a132;
    --danger: #ff5d5d;
    color: var(--ink);
    background: transparent;
    border-radius: 14px;
}

.toolbar[b-22zbsizoby] {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1rem;
    background: linear-gradient(180deg, rgba(9,38,81,.96), rgba(9,38,81,.86));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    margin-bottom: 1rem;
}

.toolbar-left[b-22zbsizoby] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    align-items: center
}

.crumb[b-22zbsizoby] {
    color: var(--ink-sub);
    font-weight: 600;
    letter-spacing: .2px
}

.pills[b-22zbsizoby] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.pill[b-22zbsizoby] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06)
}

.pill-info[b-22zbsizoby] {
    border-color: rgba(28,188,241,.35);
    color: #bfefff;
    background: rgba(28,188,241,.10)
}

.pill-ok[b-22zbsizoby] {
    border-color: rgba(41,196,138,.35);
    color: #c8ffe8;
    background: rgba(41,196,138,.10)
}

.pill-warn[b-22zbsizoby] {
    border-color: rgba(246,161,50,.35);
    color: #ffe7c4;
    background: rgba(246,161,50,.10)
}

.toolbar-actions[b-22zbsizoby] {
    display: flex;
    gap: .5rem
}

.btn[b-22zbsizoby] {
    border-radius: 10px;
    padding: .6rem 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: .15s ease;
    font-family: inherit;
}

    .btn.primary[b-22zbsizoby] {
        background: var(--brand);
        color: var(--brand-ink);
        border-color: transparent
    }

        .btn.primary:hover[b-22zbsizoby] {
            filter: brightness(.95)
        }

    .btn.ghost[b-22zbsizoby] {
        background: transparent;
        color: #e0f2fe;
        border-color: rgba(255,255,255,.35)
    }

        .btn.ghost:hover[b-22zbsizoby] {
            background: rgba(255,255,255,.08)
        }

    .btn.outline[b-22zbsizoby] {
        background: transparent;
        color: var(--brand);
        border-color: var(--brand)
    }

        .btn.outline:hover[b-22zbsizoby] {
            background: rgba(28,188,241,.12)
        }

.card[b-22zbsizoby] {
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.card-header[b-22zbsizoby] {
    padding: 6px 4px 12px 4px;
    border-bottom: 1px dashed rgba(255,255,255,.12);
    margin-bottom: 10px
}

    .card-header h3[b-22zbsizoby], .card-header h4[b-22zbsizoby] {
        margin: 0;
        font-weight: 800;
        letter-spacing: .2px;
        color: #e7f5ff
    }

    .card-header .sub[b-22zbsizoby] {
        margin-top: 4px;
        color: #bcdfff;
        font-size: .9rem
    }

/* ===== Grid blocchi (2 colonne responsive) ===== */
.cards-2[b-22zbsizoby] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ===== Form grid ===== */
.form-grid[b-22zbsizoby] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
    .form-grid > .form-row-inline[b-22zbsizoby] {
        grid-column: 1 / -1;
    }

.form-field[b-22zbsizoby] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 0;
    color: var(--ink)
}

    .form-field.span-2[b-22zbsizoby] {
        grid-column: 1 / -1
    }

.form-row-inline[b-22zbsizoby] {
    display: flex;
    gap: 1rem;
    width: 100%;
}

    .form-row-inline .form-field[b-22zbsizoby] {
        flex: 1 1 0;
    }

label[b-22zbsizoby] {
    color: #9ad6ff;
    font-weight: 700;
    letter-spacing: .2px
}

/* ===== Inputs ===== */
.input[b-22zbsizoby] {
    display: block;
    width: 100%;
    padding: .7rem .8rem;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--ink);
    border: 1px solid #0064ab;
    outline: none;
    transition: border-color .2s, box-shadow .2s, transform .02s;
}

    .input:focus[b-22zbsizoby] {
        border-color: var(--brand);
        box-shadow: 0 0 0 2px rgba(28,188,241,.35);
    }

textarea.input[b-22zbsizoby] {
    min-height: 84px;
    resize: vertical
}

.input[type="date"][b-22zbsizoby], .input[type="number"][b-22zbsizoby] {
    width: 100%;
    min-width: 0
}

.file-inline[b-22zbsizoby] {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap
}

.picker[b-22zbsizoby] {
    display: flex;
    flex-direction: column;
    gap: .35rem
}

    .picker input[type=file][b-22zbsizoby] {
        color: #e0f2fe;
        background: rgba(255,255,255,.06);
        border: 1px solid #0064ab;
        border-radius: 10px;
        padding: .55rem .6rem;
    }

.hint[b-22zbsizoby] {
    color: rgba(255,255,255,.65);
    font-size: .82rem
}

/* ===== Misc ===== */
a[b-22zbsizoby] {
    color: #bfefff
}

@media (max-width: 720px) {
    .sheet[b-22zbsizoby] {
        /*margin-bottom: 180px;*/
    }

    .toolbar[b-22zbsizoby] {
        position: static; /* <-- niente sticky nel dialog su mobile */
    }

    .toolbar-left[b-22zbsizoby] {
        width: 100%;
    }

    .pills[b-22zbsizoby] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem .75rem;
        width: 100%;
    }

    .pill[b-22zbsizoby] {
        min-width: 0;
        box-sizing: border-box;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }

    .cards-2[b-22zbsizoby] {
        grid-template-columns: 1fr !important;
    }

    .rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert)[b-22zbsizoby] {
        inset-block-start: initial !important;
    }
}

@media (max-width: 380px) {
    .pill[b-22zbsizoby] {
        font-size: .78rem;
        padding: .28rem .5rem;
    }
}
/* /Components/NewEventModal.razor.rz.scp.css */
.two-tabs[b-1osw2c6vtb] {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

.tab-nav[b-1osw2c6vtb] {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.tab[b-1osw2c6vtb] {
    position: relative;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    padding: 10px 18px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    color: #475569;
    font-weight: 500;
    margin-right: 4px;
    top: 2px; /* effetto di "stacco" */
    transition: background .15s ease, color .15s ease;
}

    .tab:hover[b-1osw2c6vtb] {
        background: #e2e8f0;
    }

    .tab.active[b-1osw2c6vtb] {
        background: #1cbcf1;
        color: #0f172a;
        font-weight: 600;
        z-index: 2;
        box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
    }

.tab-panel[b-1osw2c6vtb] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 12px;
    border-radius: 0 10px 10px 10px;
    margin-top: -1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.label[b-1osw2c6vtb] {
    color: #092651 !important; /* blu scuro */
    font-weight: 600; /* opzionale, per renderla più evidente */
    margin-bottom: 4px; /* piccolo spazio sotto la label */
    display: block;
}
/* /Components/TabDettagli.razor.rz.scp.css */
.full-width-sum[b-wshqz0pi2f] {
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    background-color: ghostwhite;
    color: #092651;
    border: 1px solid #092651;
}

    .full-width-sum.overbudget[b-wshqz0pi2f] {
        background-color: rgba(255, 80, 80, 0.15);
        border: 2px solid #ff6b6b;
        color: #ff6b6b;
        box-shadow: 0 0 10px rgba(255, 80, 80, 0.3);
    }

    .full-width-sum.approved[b-wshqz0pi2f] {
        background-color: rgba(34, 197, 94, 0.15);
        border: 2px solid #22c55e;
        color: #1b5e20;
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    }

.bottom-row[b-wshqz0pi2f] {
    display: flex;
    gap: 20px;
}

.half-width[b-wshqz0pi2f] {
    flex: 1;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: ghostwhite;
    color: #092651;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.coloroverbudget[b-wshqz0pi2f] {
    color:#ff0000!important;
}
/* /Layout/Login.razor.rz.scp.css */
/* variabili base se servono */
:root[b-tu2iqm0jjr] {
    --blue-50: #eef2ff;
    --blue-100: #dbeafe;
    --blue-600: #2563eb;
    --card-border: rgba(255,255,255,.25);
    --shadow: 0 22px 50px rgba(0,0,0,.28);
}

@keyframes lift-b-tu2iqm0jjr {
    from {
        transform: translateY(8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* sfondo e centratura */
.login-shell[b-tu2iqm0jjr] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(900px 500px at 85% 10%, rgba(37,99,235,.15), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(29,78,216,.15), transparent 60%), linear-gradient(180deg, var(--blue-100), var(--blue-50));
    overflow-x: hidden; /* blocca lo scroll orizzontale pagina */
    box-sizing: border-box;
}

/* wrapper larghezza card e ancoraggio logo */
.login-stage[b-tu2iqm0jjr] {
    position: relative;
    --card-w: min(92vw, 560px);
    width: var(--card-w);
    margin-inline: auto; /* centratura robusta */
}

/* LOGO circolare, centrato dietro e con tetto alla viewport */
.logo-bg[b-tu2iqm0jjr] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* limite elastico: cresce con la card ma non supera la viewport */
    width: clamp(220px, calc(var(--card-w) * 1.10), 96vw);
    height: clamp(220px, calc(var(--card-w) * 1.10), 96vw);
    max-width: 96vw;
    max-height: 96vh;
    aspect-ratio: 1 / 1;
    /*border-radius: 50%;*/
    object-fit: cover;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* card */
.login-card[b-tu2iqm0jjr] {
    position: relative;
    z-index: 1;
    width: var(--card-w);
    max-width: 100%; /* non supera la stage */
    padding: clamp(28px,4vh,44px);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0);
    backdrop-filter: blur(7px) saturate(110%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    background-clip: padding-box;
    animation: lift-b-tu2iqm0jjr .32s ease-out both;
}

    /* riflesso delicato sopra */
    .login-card[b-tu2iqm0jjr]::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 20px;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.04));
        opacity: .55;
        mix-blend-mode: screen;
    }

    /* input di Radzen */
    .login-card[b-tu2iqm0jjr]  input.input {
        width: 100%;
        border-radius: 12px;
        padding: 8px;
        border: 0.2px groove #2563eb;
        box-sizing: border-box;
        box-shadow: rgba(40, 90, 208, 0.7) 10px 10px 10px;
        transition: ease-in-out .6s;
    }

        .login-card[b-tu2iqm0jjr]  input.input:hover {
            box-shadow: rgba(5 79 255 / 70%) 0 12px 24px;
        }

        .login-card[b-tu2iqm0jjr]  input.input:focus {
            outline: 0;
            border-color: var(--blue-600);
            transform: translateY(-2px) scale(1.01);
            box-shadow: 0 3px 0 rgba(15,23,42,.05), 0 18px 36px rgba(37,99,235,.7);
        }

/* titoli */
.title[b-tu2iqm0jjr] {
    margin: 0 0 6px;
    text-align: center;
    font-size: clamp(26px,3.8vw,34px);
    font-weight: 800;
    color: darkblue;
}

.subtitle[b-tu2iqm0jjr] {
    margin: 0 0 24px;
    text-align: center;
    color: rgba(255, 255, 255, .90);
}

/* form layout */
.field[b-tu2iqm0jjr] {
    margin-bottom: 16px !important;
}

.label[b-tu2iqm0jjr] {
    font-weight: 700;
    color: white;
}

.btn-primary[b-tu2iqm0jjr] {
    width: 100%;
    border-radius: 24px;
    padding: 0.7rem;
    border: none;
    cursor: pointer;
}

/* validazione */
.validation-message[b-tu2iqm0jjr] {
    color: #b91c1c;
    font-size: 12px;
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */

/* 1) Telefoni piccoli */
@media (max-width: 480px) {
    .login-stage[b-tu2iqm0jjr] {
        --card-w: min(94vw, 480px);
    }

    .login-card[b-tu2iqm0jjr] {
        padding: clamp(20px, 4vh, 32px);
    }

    .logo-bg[b-tu2iqm0jjr] {
        width: clamp(200px, calc(var(--card-w) * 1.05), 94vw);
        height: clamp(200px, calc(var(--card-w) * 1.05), 94vw);
        opacity: 0.14;
    }

    .title[b-tu2iqm0jjr] {
        font-size: clamp(22px, 6vw, 28px);
    }

    .subtitle[b-tu2iqm0jjr] {
        margin-bottom: 20px;
    }
}

/* 2) Telefoni molto stretti */
@media (max-width: 360px) {
    .login-stage[b-tu2iqm0jjr] {
        --card-w: 92vw;
    }

    .login-card[b-tu2iqm0jjr] {
        padding: 18px;
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
    }

    .logo-bg[b-tu2iqm0jjr] {
        width: clamp(180px, calc(var(--card-w) * 1.02), 92vw);
        height: clamp(180px, calc(var(--card-w) * 1.02), 92vw);
        opacity: 0.13;
    }

    .login-card[b-tu2iqm0jjr]  input.input {
        padding: 8px 10px;
    }

    .btn-primary[b-tu2iqm0jjr] {
        padding: 0.6rem;
    }
}

/* 3) Phablet fino a tablet in verticale */
@media (min-width: 481px) and (max-width: 768px) {
    .login-stage[b-tu2iqm0jjr] {
        --card-w: min(88vw, 560px);
    }

    .logo-bg[b-tu2iqm0jjr] {
        width: clamp(240px, calc(var(--card-w) * 1.10), 96vw);
        height: clamp(240px, calc(var(--card-w) * 1.10), 96vw);
    }
}

/* 4) Tablet orizzontale e piccoli laptop */
@media (min-width: 769px) and (max-width: 1024px) {
    .login-stage[b-tu2iqm0jjr] {
        --card-w: min(86vw, 560px);
    }

    .logo-bg[b-tu2iqm0jjr] {
        width: clamp(260px, calc(var(--card-w) * 1.12), 96vw);
        height: clamp(260px, calc(var(--card-w) * 1.12), 96vw);
    }
}

/* 5) Landscape con altezza ridotta */
@media (orientation: landscape) and (max-height: 480px) {
    .logo-bg[b-tu2iqm0jjr] {
        width: clamp(200px, calc(var(--card-w) * 1.00), 94vw);
        height: clamp(200px, calc(var(--card-w) * 1.00), 94vw);
        opacity: 0.10;
    }
}

/* 6) Accessibilita */
@media (prefers-reduced-motion: reduce) {
    .login-card[b-tu2iqm0jjr] {
        animation: none;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-xnaj6lu8ar] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xnaj6lu8ar] {
    flex: 1;
}

.sidebar[b-xnaj6lu8ar] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xnaj6lu8ar] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xnaj6lu8ar]  a, .top-row[b-xnaj6lu8ar]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-xnaj6lu8ar]  a:hover, .top-row[b-xnaj6lu8ar]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-xnaj6lu8ar]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-xnaj6lu8ar] {
        justify-content: space-between;
    }

    .top-row[b-xnaj6lu8ar]  a, .top-row[b-xnaj6lu8ar]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xnaj6lu8ar] {
        flex-direction: row;
    }

    .sidebar[b-xnaj6lu8ar] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xnaj6lu8ar] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xnaj6lu8ar]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xnaj6lu8ar], article[b-xnaj6lu8ar] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
:root[b-oz5wvem0p3] {
    --blu-scuro-dc5: #092651;
    --blu-chiaro-dc5: #1cbcf1;
    --testo-colore: rgba(255, 255, 255, 0.8);
    --testo-colore-hover: white;
}

.page[b-oz5wvem0p3] {
    background-color: #092651;
}

.top-row[b-oz5wvem0p3] {
    background-color: var(--blu-scuro-dc5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand[b-oz5wvem0p3] {
    font-size: 1.2rem;
    color: white;
}

.navbar-toggler[b-oz5wvem0p3] {
    border-color: rgba(255, 255, 255, 0.1);
}

.first-group[b-oz5wvem0p3] {
    line-height: 3rem;
}

.nav-item[b-oz5wvem0p3] {
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-oz5wvem0p3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-oz5wvem0p3] {
        padding-bottom: 2rem;
    }

    .nav-item[b-oz5wvem0p3]  a {
        color: rgba(255, 255, 255, 0.9);
        border-radius: 6px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease-in-out;
        border-left: 4px solid transparent;
    }

        .nav-item[b-oz5wvem0p3]  a:hover {
            color: #1cbcf1;
        }

        .nav-item[b-oz5wvem0p3]  a.active {
            background-color: rgba(28, 188, 241, 0.25);
            color: white;
            font-weight: 500;
            border-left: 4px solid #1cbcf1;
        }

.bi[b-oz5wvem0p3] {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    background-size: cover;
    transition: background-image 0.2s ease-in-out;
}

.bi-house-door-fill-nav-menu[b-oz5wvem0p3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231cbcf1' 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-plus-square-fill-nav-menu[b-oz5wvem0p3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231cbcf1' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-columns-gap-nav-menu[b-oz5wvem0p3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231cbcf1' viewBox='0 0 16 16'%3E%3Cpath d='M6 1v3H1V1h5zM1 0a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1zm14 12v3h-5v-3h5zm-5-1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-5zM6 8v7H1V8h5zM1 7a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H1zm14-6v7h-5V1h5zM10 0a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1h-5z'/%3E%3C/svg%3E");
}

.bi-box-arrow-right[b-oz5wvem0p3] {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    background-size: cover;
    color: rgb(28, 188, 241);
}

.nav-item[b-oz5wvem0p3]  a.active .bi {
    background-image: var(--active-icon);
}

.nav-item[b-oz5wvem0p3]  a.active .bi-house-door-fill-nav-menu {
    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");
}

.nav-item[b-oz5wvem0p3]  a.active .bi-plus-square-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-ul-nav-menu[b-oz5wvem0p3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231cbcf1' class='bi bi-list-ul' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5m0-4A.5.5 0 0 1 5.5 7h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5m0-4A.5.5 0 0 1 5.5 3h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5M3 12.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M3 8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0'/%3E%3C/svg%3E");
}

.nav-item[b-oz5wvem0p3]  a.active .bi-list-ul-nav-menu {
    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-ul' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5m0-4A.5.5 0 0 1 5.5 7h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5m0-4A.5.5 0 0 1 5.5 3h8a.5.5 0 0 1 0 1h-8a.5.5 0 0 1-.5-.5M3 12.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M3 8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0M3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0'/%3E%3C/svg%3E");
}

.nav-item[b-oz5wvem0p3]  a.active .bi-columns-gap-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6 1v3H1V1h5zM1 0a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1H1zm14 12v3h-5v-3h5zm-5-1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-5zM6 8v7H1V8h5zM1 7a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H1zm14-6v7h-5V1h5zM10 0a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1h-5z'/%3E%3C/svg%3E");
}

.nav-item[b-oz5wvem0p3]  a.active .bi-box-arrow-right {
    background-image: none;
}

@media (min-width: 641px) {

    .navbar-toggler[b-oz5wvem0p3] {
        display: none;
    }

    .collapse[b-oz5wvem0p3] {
        display: block;
    }

    .nav-scrollable[b-oz5wvem0p3] {
        height: calc(100vh - 3.5rem);
    }
}
/* /Pages/DashboardWrapper.razor.rz.scp.css */
.two-tabs[b-65ov9gi3gd] {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

.tab-nav[b-65ov9gi3gd] {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.tab[b-65ov9gi3gd] {
    position: relative;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    padding: 10px 18px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    color: #475569;
    font-weight: 500;
    margin-right: 4px;
    top: 2px;
    transition: background .15s ease, color .15s ease;
}

    .tab:hover[b-65ov9gi3gd] {
        background: #e2e8f0;
    }

    .tab.active[b-65ov9gi3gd] {
        background: #1cbcf1;
        color: #0f172a;
        font-weight: 600;
        z-index: 2;
        box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
    }

.tab-panel[b-65ov9gi3gd] {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 16px;
    border-radius: 0 10px 10px 10px;
    padding: 16px;
    margin-top: -1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* /Pages/Eventi.razor.rz.scp.css */
.page[b-lua4tnvun4] {
    color: #e0e0e0;
    background-color: #0064ab;
    min-height: 100svh;
    overflow: auto;
}

.header-container[b-lua4tnvun4] {
    background-color: #092651;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.page-title[b-lua4tnvun4] {
    color: white;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 1.8rem;
}

.title-row[b-lua4tnvun4]{
    display:flex;
    justify-content: space-between;
}

.nuovo-evento-btn[b-lua4tnvun4] {
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    background-color: #1cbcf1;
    color: white;
    box-shadow: 0 6px 12px rgba(28,188,241,0.15);
}

.divider[b-lua4tnvun4] {
    border: 0;
    height: 1px;
    background-color: rgba(255,255,255,0.4);
    margin: 10px 0 20px 0;
}

.toolbar[b-lua4tnvun4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.search-wrap[b-lua4tnvun4] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.03));
    padding: 8px;
    border-radius: 999px;
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
}

.search-icon[b-lua4tnvun4] {
    font-size: 1rem;
    color: var(--muted);
    padding-left: 8px;
    padding-right: 4px;
}

.search-input[b-lua4tnvun4] {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    padding: 8px 6px;
    font-size: 0.95rem;
    outline: none;
    min-width: 120px;
}

    .search-input[b-lua4tnvun4]::placeholder {
        color: rgba(255,255,255,0.4);
    }

.search-clear[b-lua4tnvun4] {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.12s, color 0.12s;
}

    .search-clear:hover[b-lua4tnvun4] {
        background: rgba(255,255,255,0.02);
        color: var(--text);
    }

.search-wrap:focus-within[b-lua4tnvun4] {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(28,188,241,0.08);
}

.page-size-wrap[b-lua4tnvun4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    font-size: 0.95rem;
    color: #e6f7ff;
}

    .page-size-wrap span[b-lua4tnvun4] {
        font-weight: 600;
    }

.page-size-select[b-lua4tnvun4] {
    background-color: #222a39;
    color: #e6f7ff;
    border: 1px solid #1cbcf1;
    border-radius: 8px;
    padding: 4px 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
}

    .page-size-select:hover[b-lua4tnvun4] {
        background-color: #1a2333;
        border-color: #00e5ff;
    }

    .page-size-select:focus[b-lua4tnvun4] {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.3);
    }


/*.csv-btn {
    border-radius: 6px;
    font-weight: 600;
    background-color: #1cbcf1;
    color: white;
    box-shadow: 0 6px 12px rgba(28,188,241,0.15);
}

    .csv-btn:not(:disabled):hover,
    .csv-btn:not([disabled]):hover {
        background-color: #148ba8;
        transform: scale(1.03);
    }

    .csv-btn:focus {
        outline: 3px solid rgba(28,188,241,0.18);
        outline-offset: 2px;
    }

    .csv-btn:disabled,
    .csv-btn[disabled] {
        background-color: #7fbfc7; 
        color: rgba(255,255,255,0.9); 
        opacity: 0.65; 
        transform: none;
        box-shadow: none;
    }

.btn-danger {
    background: #e53935;
    border-radius: 6px;
    font-weight: 600;
    color: white;
    box-shadow: 0 6px 12px rgba(28,188,241,0.15);
}*/

.btn-edit[b-lua4tnvun4] {
    color: #092651;
}

.custom-checkbox[b-lua4tnvun4] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #092651;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-top: 7px;
}

    .custom-checkbox:checked[b-lua4tnvun4] {
        background-color: #092651;
        border-color: #092651;
    }

        .custom-checkbox:checked[b-lua4tnvun4]::after {
            content: "✔";
            color: white;
            font-size: 14px;
            position: absolute;
            top: 0;
            left: 3px;
        }

.loading-text[b-lua4tnvun4] {
    color: #1cbcf1;
    text-align: center;
    font-size: 1.1rem;
}
/* /Pages/FornitoreFormDialog.razor.rz.scp.css */

.fornitori-form .form-label[b-olo58mcrh7] {
    font-weight: 600;
    margin-bottom: .25rem;
}

.fornitori-form .rz-textbox[b-olo58mcrh7],
.fornitori-form .rz-inputtext[b-olo58mcrh7] {
}


/* /Pages/Fornitori.razor.rz.scp.css */
/* ====== TOOLBAR ====== */
 .toolbar[b-afcm5j87cz] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap; /* può andare a capo quando serve */
}

/* pill di ricerca: flex + ancoraggio relativo */
 .search-wrap[b-afcm5j87cz] {
    position: relative; /* per ancorare "Mostra" dentro */
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9999px;
    min-width: 0; /* l'input può restringersi in flex */
}

/* l'input riempie, ma lascia spazio a destra per "Mostra" */
 .search-input[b-afcm5j87cz] {
    width: 100%;
    min-width: 0;
    padding-right: clamp(110px, 14vw, 180px); /* spazio fluido small→large */
}

/* blocco "Mostra: [select]" incollato a destra DENTRO la pill */
 .page-size-wrap[b-afcm5j87cz] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

     .page-size-wrap select[b-afcm5j87cz] {
        min-width: 5ch;
        max-width: 7ch;
    }

/* i bottoni restano a destra anche quando la toolbar va a capo */
 .toolbar-buttons[b-afcm5j87cz] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.delete-btn[b-afcm5j87cz] {
    background-color: #dc2626;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(28,188,241,0.15);
}

    .delete-btn i[b-afcm5j87cz] {
        font-size: 1rem;
    }

    .delete-btn:hover:not(:disabled)[b-afcm5j87cz] {
        background-color: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(220, 38, 38, 0.35);
    }

    .delete-btn:disabled[b-afcm5j87cz] {
        opacity: 0.5;
        cursor: not-allowed;
        box-shadow: none;
    }

@media (max-width: 640px) {
    .toolbar[b-afcm5j87cz] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .toolbar-buttons[b-afcm5j87cz] {
        justify-content: flex-end;
        display: flex;
        width: 100%;
    }

    .delete-btn[b-afcm5j87cz] {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 1rem;
        border-radius: 10px;
    }
}

@media (max-width:576px) {
     .toolbar-buttons[b-afcm5j87cz] {
        width: 100%;
        justify-content: flex-end;
    }
}

/* opzionale: su telefoni piccolissimi togli la label "Mostra" */
@media (max-width:420px) {
     .page-size-wrap span[b-afcm5j87cz] {
        display: none;
    }

     .page-size-wrap select[b-afcm5j87cz] {
        max-width: 64px;
    }
}

/* ====== GRIGLIA RADZEN: niente overflow orizzontale ====== */
 [b-afcm5j87cz] .rz-grid-table {
    width: 100%;
    table-layout: fixed; /* distribuzione prevedibile */
}

     [b-afcm5j87cz] .rz-grid-table th,
     [b-afcm5j87cz] .rz-grid-table td {
        white-space: normal;
        overflow-wrap: anywhere; /* spezza email e parole lunghe */
        word-break: break-word;
    }

@media (max-width:576px) {
     [b-afcm5j87cz] .rz-grid-table th,
     [b-afcm5j87cz] .rz-grid-table td {
        padding: 6px 8px;
    }
}

/* contenitore pagina: nessun bleed orizzontale */
 {
    max-width: 100%;
}
/* /Pages/PaginaInCostruzione.razor.rz.scp.css */
:root[b-7cwxxalx8h] {
    --lnd-blue-600: #0D66C2; /* riferimento blu LND */
    --lnd-blue-800: #0A3E7A; /* supporto scuro */
    --lnd-blue-300: #5AA7FF; /* luce per contrasti */
    --card-glass: rgba(10, 21, 40, 0.45);
    --stroke: rgba(255, 255, 255, 0.12);
}

.uc-wrap[b-7cwxxalx8h] {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: radial-gradient(1200px 600px at 20% 20%, #0e1a2b 0%, #07111f 60%, #050c17 100%);
}

.uc-bg[b-7cwxxalx8h] {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 80% 20%, color-mix(in srgb, var(--lnd-blue-600), #ffffff 15%) 0%, transparent 70%), radial-gradient(700px 350px at 10% 90%, color-mix(in srgb, var(--lnd-blue-800), #000000 0%) 0%, transparent 65%), linear-gradient(120deg, var(--lnd-blue-800) 0%, var(--lnd-blue-600) 50%, var(--lnd-blue-300) 100%);
    filter: saturate(110%);
    animation: gradientShift-b-7cwxxalx8h 16s ease-in-out infinite alternate;
    opacity: 0.9;
}

.uc-noise[b-7cwxxalx8h] {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/>\
<feColorMatrix type='saturate' values='0'/>\
<feComponentTransfer><feFuncA type='table' tableValues='0 0.035'/></feComponentTransfer></filter>\
<rect width='100%' height='100%' filter='url(%23n)'/>\
</svg>");
    background-size: 180px;
    mix-blend-mode: overlay;
    opacity: .35;
}

.uc-card[b-7cwxxalx8h] {
    position: relative;
    width: min(900px, 92vw);
    padding: clamp(24px, 5vw, 44px);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)), var(--card-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--stroke);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
    overflow: hidden;
}

.uc-badge[b-7cwxxalx8h] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--stroke);
    color: #cde3ff;
    margin-bottom: 10px;
}

.uc-title[b-7cwxxalx8h] {
    margin: 6px 0 4px 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #d9ecff 40%, #a9ceff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.uc-subtitle[b-7cwxxalx8h] {
    margin: 0 0 18px 0;
    color: #bbd0ea;
    font-size: clamp(14px, 2.2vw, 16px);
    opacity: .95;
}

.uc-progress[b-7cwxxalx8h] {
    margin: 18px 0 8px 0;
}

.uc-timeline[b-7cwxxalx8h] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0 24px 0;
}

    .uc-timeline .step[b-7cwxxalx8h] {
        position: relative;
        background: rgba(255,255,255,0.06);
        border: 1px solid var(--stroke);
        padding: 12px 14px;
        border-radius: 12px;
        color: #d8e8ff;
        display: grid;
        grid-auto-flow: column;
        align-items: center;
        gap: 10px;
        transition: transform .2s ease, box-shadow .2s ease;
    }

        .uc-timeline .step:hover[b-7cwxxalx8h] {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        }

        .uc-timeline .step .dot[b-7cwxxalx8h] {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: #9ac4ff;
            box-shadow: 0 0 0 4px rgba(154,196,255,0.2), 0 0 12px #9ac4ff;
        }

        .uc-timeline .step.active .dot[b-7cwxxalx8h] {
            background: rgb(206 187 2 / 82%)!important;
        }

        .uc-timeline .step.done .dot[b-7cwxxalx8h] {
            background: #7fe3a2;
            box-shadow: 0 0 0 4px rgba(127,227,162,0.18), 0 0 12px #7fe3a2;
        }

.uc-actions[b-7cwxxalx8h] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blob[b-7cwxxalx8h] {
    position: absolute;
    width: 280px;
    height: 280px;
    filter: blur(40px);
    opacity: .22;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--lnd-blue-300), transparent 60%);
    animation: floaty-b-7cwxxalx8h 18s ease-in-out infinite;
    pointer-events: none;
}

    .blob.b1[b-7cwxxalx8h] {
        top: -40px;
        right: -60px;
        animation-delay: .2s;
    }

    .blob.b2[b-7cwxxalx8h] {
        bottom: -60px;
        left: -40px;
        animation-delay: 1.6s;
    }

.shine[b-7cwxxalx8h] {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 120deg, rgba(90,167,255,0.35), rgba(13,102,194,0.0) 40%, rgba(90,167,255,0.35) 70%, rgba(13,102,194,0.0));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    padding: 1px;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ring-b-7cwxxalx8h 8s linear infinite;
    pointer-events: none;
    opacity: .6;
}

/* Radzen progress bar ritocco */
.rz-progressbar[b-7cwxxalx8h] {
    --rz-progressbar-height: 12px;
    height: var(--rz-progressbar-height);
    border-radius: 999px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.10);
    border: 1px solid var(--stroke);
}

.rz-progressbar-value[b-7cwxxalx8h] {
    background: linear-gradient(90deg, var(--lnd-blue-800), var(--lnd-blue-600), var(--lnd-blue-300));
    animation: progressGlow-b-7cwxxalx8h 2.2s ease-in-out infinite alternate;
}

/* Animazioni */
@keyframes gradientShift-b-7cwxxalx8h {
    0% {
        background-position: 0% 50%, 0% 50%, 0% 50%;
    }

    100% {
        background-position: 100% 50%, 100% 50%, 100% 50%;
    }
}

@keyframes floaty-b-7cwxxalx8h {
    0%,100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    50% {
        transform: translateY(-18px) translateX(10px) scale(1.04);
    }
}

@keyframes ring-b-7cwxxalx8h {
    to {
        transform: rotate(360deg);
    }
}

@keyframes progressGlow-b-7cwxxalx8h {
    from {
        filter: drop-shadow(0 0 0 rgba(90,167,255,0.0));
    }

    to {
        filter: drop-shadow(0 0 10px rgba(90,167,255,0.45));
    }
}

/* Responsività */
@media (max-width: 720px) {
    .uc-timeline[b-7cwxxalx8h] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Pages/Sign.razor.rz.scp.css */
.sign-container[b-3tv1dlhucz] {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 20px;
}

.sign-subtitle[b-3tv1dlhucz] {
    color: rgba(255,255,255,0.75);
    margin: 4px 0 0 0;
    font-size: 0.95rem;
}

.sign-layout[b-3tv1dlhucz] {
    margin-top: 12px;
}

.sign-layout-vertical[b-3tv1dlhucz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sign-column[b-3tv1dlhucz] {
    flex: 1 1 320px;
    min-width: 0;
}

.sign-card[b-3tv1dlhucz] {
    background-color: #092651;
    border-radius: 30px;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.04);
}

.sign-card-wide[b-3tv1dlhucz] {
    width: 100%;
}

.sign-card-header[b-3tv1dlhucz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

    .sign-card-header h5[b-3tv1dlhucz] {
        color: #ffffff;
        margin: 0;
        font-weight: 600;
    }

.sign-card-subtitle[b-3tv1dlhucz] {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.sign-user-pill[b-3tv1dlhucz] {
    display: inline-block;
    margin-top: 4px;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 999px;
    background: rgba(28,188,241,0.12);
    color: #cdefff;
    border: 1px solid rgba(28,188,241,0.6);
}

.signature-wrapper[b-3tv1dlhucz] {
    max-width: 900px;
    margin: 0 auto;
}

.signature-canvas[b-3tv1dlhucz] {
    display: block;
    width: 100%;
    height: 220px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    touch-action: none;
    cursor: default;
}

.sign-actions[b-3tv1dlhucz] {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.sign-actions-right[b-3tv1dlhucz] {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.sign-btn-primary[b-3tv1dlhucz] {
    background-color: #1cbcf1;
    color: white;
    box-shadow: 0 6px 12px rgba(28,188,241,0.18);
}

    .sign-btn-primary:hover:not(:disabled)[b-3tv1dlhucz] {
        background-color: #148ba8;
        transform: translateY(-1px);
    }

.sign-btn-secondary[b-3tv1dlhucz] {
    background-color: #ffffff;
    color: #092651;
}

    .sign-btn-secondary:hover:not(:disabled)[b-3tv1dlhucz] {
        background-color: #f4f4f4;
    }

.sign-btn-danger-outline[b-3tv1dlhucz] {
    background: transparent;
    border: 1px solid #dc2626;
    color: #fecaca;
    border-radius: 8px;
    padding: 6px 14px;
}

    .sign-btn-danger-outline:hover:not(:disabled)[b-3tv1dlhucz] {
        background: rgba(220,38,38,0.15);
    }

.sign-preview[b-3tv1dlhucz] {
    border-radius: 20px;
    padding: 10px;
    min-height: 180px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}


.sign-img[b-3tv1dlhucz] {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.sign-empty[b-3tv1dlhucz] {
    border-radius: 18px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
}

.sign-empty-warning[b-3tv1dlhucz] {
    background: rgba(248, 148, 6, 0.06);
    border-color: rgba(248, 148, 6, 0.65);
    color: #fed7aa;
}

.sign-empty-title[b-3tv1dlhucz] {
    font-weight: 600;
    margin-bottom: 4px;
}

.sign-empty-text[b-3tv1dlhucz] {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .sign-container[b-3tv1dlhucz] {
        padding: 12px;
    }

    .sign-layout[b-3tv1dlhucz] {
        flex-direction: column;
    }

    .sign-card[b-3tv1dlhucz] {
        border-radius: 24px;
        padding: 14px 14px 16px;
    }

    .sign-canvas[b-3tv1dlhucz] {
        min-height: 180px;
    }
}
