@import '_content/APS.Blazor.Components/APS.Blazor.Components.ur4mipwvyd.bundle.scp.css';
@import '_content/WMBlazorOverlayScrollbars/WMBlazorOverlayScrollbars.bundle.scp.css';

/* /Components/Account/Pages/Login.razor.rz.scp.css */
[b-94g01iqqif] .block-content {
    max-width: 20rem;
}

.login-buttons[b-94g01iqqif] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: red;
    margin: 0px 12px 0px 12px;
}
/* /Components/Account/Shared/ManageLayout.razor.rz.scp.css */
[b-pfpvy4j1id] .tab-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
}

[b-pfpvy4j1id] .icon-profile {
    -webkit-mask-image: url("images/account/manage-profile.svg");
    mask-image: url("images/account/manage-profile.svg");
}

[b-pfpvy4j1id] .icon-email {
    -webkit-mask-image: url("images/account/manage-email.svg");
    mask-image: url("images/account/manage-email.svg");
}

[b-pfpvy4j1id] .icon-two-factor {
    -webkit-mask-image: url("images/account/manage-two-factor.svg");
    mask-image: url("images/account/manage-two-factor.svg");
}

[b-pfpvy4j1id] .icon-password {
    -webkit-mask-image: url("images/account/manage-password.svg");
    mask-image: url("images/account/manage-password.svg");
}

[b-pfpvy4j1id] .icon-personal {
    -webkit-mask-image: url("images/account/manage-personal.svg");
    mask-image: url("images/account/manage-personal.svg");
}

[b-pfpvy4j1id] .icon-external {
    -webkit-mask-image: url("images/account/user.svg");
    mask-image: url("images/account/user.svg");
}
/* /Components/Account/Shared/ShowRecoveryCodes.razor.rz.scp.css */
.codes[b-686gu3f3bl] {
    margin: 0.625rem 0px 0.625rem 0px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-oyv8y8gghi] {
    --bs-primary: #ff0000 !important;
}

.page[b-oyv8y8gghi] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-oyv8y8gghi] {
    flex: 1;
}


.top-row[b-oyv8y8gghi] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-oyv8y8gghi]  a, .top-row .btn-link[b-oyv8y8gghi] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-oyv8y8gghi] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-oyv8y8gghi] {
        display: none;
    }

    .top-row.auth[b-oyv8y8gghi] {
        justify-content: space-between;
    }

    .top-row a[b-oyv8y8gghi], .top-row .btn-link[b-oyv8y8gghi] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    /*.page {
        flex-direction: row;
    }*/

    .sidebar[b-oyv8y8gghi] {
       /* width: 250px;
        height: 100vh;*/
        position: sticky;
        top: 0;
    }

    .top-row[b-oyv8y8gghi] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-oyv8y8gghi], article[b-oyv8y8gghi] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Components/Pages/Index.razor.rz.scp.css */
[b-z085vod2y6] .welcome-gridlayout {
    margin: auto;
    width: auto;
    height: auto;
}

[b-z085vod2y6] .welcome-gridlayout .dxbl-gridlayout-root {
    align-content: center;
    justify-content: center;
}

[b-z085vod2y6] .welcome-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
/* /Components/Pages/Private/DashboardHome/DashboardHome.razor.rz.scp.css */
/* ── KPI Cards ─────────────────────────────────────────────────── */
.kpi-card[b-ynvn975f3j] {
    height: 100%;
    border-radius: 0.5rem;
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    position: relative;
}

.kpi-card[b-ynvn975f3j]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0.5rem 0 0 0.5rem;
}

.kpi-card-blue[b-ynvn975f3j]::before   { background: #1b6ec2; }
.kpi-card-green[b-ynvn975f3j]::before  { background: #198754; }
.kpi-card-orange[b-ynvn975f3j]::before { background: #fd7e14; }
.kpi-card-purple[b-ynvn975f3j]::before { background: #6f42c1; }

.kpi-icon[b-ynvn975f3j] {
    font-size: 3rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.kpi-card-blue   .kpi-icon[b-ynvn975f3j] { color: #1b6ec2; }
.kpi-card-green  .kpi-icon[b-ynvn975f3j] { color: #198754; }
.kpi-card-orange .kpi-icon[b-ynvn975f3j] { color: #fd7e14; }
.kpi-card-purple .kpi-icon[b-ynvn975f3j] { color: #6f42c1; }

.kpi-body[b-ynvn975f3j] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kpi-label[b-ynvn975f3j] {
    font-size: 0.78rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.15rem;
}

.kpi-value[b-ynvn975f3j] {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
    color: #212529;
}

/* ── Mini cards (Nuova istanza / Rendicontazione / Chiusura) ──── */
.mini-cards-row[b-ynvn975f3j] {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex: 1;
    height: 100%;
    padding: 0.4rem 0.6rem;
    align-items: stretch;
}

.mini-card[b-ynvn975f3j] {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    border-radius: 0.45rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid #e9ecef;
    background: #fff;
    min-width: 0;
}

.mini-card-blue[b-ynvn975f3j] { border-left: 4px solid #1b6ec2; }
.mini-card-teal[b-ynvn975f3j] { border-left: 4px solid #20c997; }
.mini-card-red[b-ynvn975f3j]  { border-left: 4px solid #dc3545; }

.mini-card-icon[b-ynvn975f3j] {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.mini-card-blue .mini-card-icon[b-ynvn975f3j] { color: #1b6ec2; }
.mini-card-teal .mini-card-icon[b-ynvn975f3j] { color: #20c997; }
.mini-card-red  .mini-card-icon[b-ynvn975f3j] { color: #dc3545; }

.mini-card-body[b-ynvn975f3j] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 0.2rem;
}

.mini-card-label[b-ynvn975f3j] {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

/* ── Detail chips ────────────────────────────────────────────── */
.detail-section[b-ynvn975f3j] {
    height: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.detail-section-header[b-ynvn975f3j] {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.detail-chips-row[b-ynvn975f3j] {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.4rem 0.75rem;
    gap: 0.35rem;
    justify-content: center;
}

.detail-chip[b-ynvn975f3j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem;
}

.detail-chip-icon[b-ynvn975f3j] {
    font-size: 1.25rem;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.detail-chip-label[b-ynvn975f3j] {
    font-size: 0.72rem;
    color: #6c757d;
    font-weight: 500;
    width: 8rem;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-chip-value[b-ynvn975f3j] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #212529;
    width: 5rem;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

.detail-chip-value-block[b-ynvn975f3j] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 5rem;
    flex-shrink: 0;
}

.detail-chip-sublabel[b-ynvn975f3j] {
    font-size: 0.63rem;
    color: #6c757d;
    white-space: nowrap;
}

.detail-chip-bar-wrap[b-ynvn975f3j] {
    flex: 1;
    min-width: 0;
    background: #f0f0f0;
    border-radius: 99px;
    height: 20px;
    overflow: hidden;
}

.detail-chip-bar[b-ynvn975f3j] {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.detail-chip-pct[b-ynvn975f3j] {
    font-size: 0.68rem;
    color: #6c757d;
    width: 2.5rem;
    text-align: right;
    flex-shrink: 0;
}

.bar-blue[b-ynvn975f3j]  { background: #1b6ec2; }
.bar-teal[b-ynvn975f3j]  { background: #20c997; }
.bar-red[b-ynvn975f3j]   { background: #dc3545; }

.detail-chip-selected[b-ynvn975f3j] {
    background: #f0f6ff;
    outline: 1.5px solid #1b6ec2;
    border-radius: 4px;
}

/* ── Dash section cards (chart, pie) ─────────────────────────────*/
.dash-section-card[b-ynvn975f3j] {
    height: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-section-header[b-ynvn975f3j] {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.dash-section-body[b-ynvn975f3j] {
    flex: 1;
    overflow: auto;
    padding: 0.5rem;
}

/* ── Card body ────────────────────────────────────────────────── */
.dashboard-card-body[b-ynvn975f3j] {
    overflow: hidden;
    padding: 20px 10px !important;
}

/* ── KPI cards: equal height within their Bootstrap row ─────── */
.kpi-card[b-ynvn975f3j] {
    min-height: 80px;
}

/* ── Mobile overrides ─────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .dashboard-card-body[b-ynvn975f3j] {
        padding: 10px 6px !important;
    }

    .kpi-icon[b-ynvn975f3j] {
        font-size: 2rem;
    }

    .kpi-value[b-ynvn975f3j] {
        font-size: 1rem;
    }

    .mini-cards-row[b-ynvn975f3j] {
        flex-direction: column;
    }

    .mini-card-icon[b-ynvn975f3j] {
        font-size: 1.75rem;
    }

    .detail-chip-label[b-ynvn975f3j] {
        width: 5rem;
    }

    .detail-chip-value[b-ynvn975f3j] {
        width: 4.5rem;
        font-size: 0.75rem;
    }

    .detail-chip-value-block[b-ynvn975f3j] {
        width: 4.5rem;
    }

    .dash-section-header[b-ynvn975f3j] {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
}

/* ── Province chips ──────────────────────────────────────────── */
.province-chips-grid[b-ynvn975f3j] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-content: flex-start;
    height: 100%;
}

.province-chip[b-ynvn975f3j] {
    flex: 1;
    min-width: 140px;
    background: #fff;
    border: 1.5px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: box-shadow 0.15s, border-color 0.15s;
    user-select: none;
}

.province-chip:hover[b-ynvn975f3j] {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-color: #adb5bd;
}

.province-chip-active[b-ynvn975f3j] {
    border-color: #1b6ec2;
    box-shadow: 0 0 0 2px rgba(27,110,194,0.18);
    background: #f0f6ff;
}

.province-chip-name[b-ynvn975f3j] {
    font-weight: 600;
    font-size: 0.82rem;
    color: #212529;
}

.province-chip-pct[b-ynvn975f3j] {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1b6ec2;
}

.province-chip-active .province-chip-pct[b-ynvn975f3j] {
    color: #1b6ec2;
}

.province-chip-total[b-ynvn975f3j] {
    font-size: 0.7rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.province-chip-bar-wrap[b-ynvn975f3j] {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.province-chip-bar[b-ynvn975f3j] {
    height: 100%;
    background: #1b6ec2;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.province-chip-active .province-chip-bar[b-ynvn975f3j] {
    background: #0d47a1;
}

.province-chip-sub[b-ynvn975f3j] {
    font-size: 0.7rem;
    color: #6c757d;
}

/* ── Pie chart slots ─────────────────────────────────────────── */

.pie-slot[b-ynvn975f3j] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.pie-slot-title[b-ynvn975f3j] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
    margin-bottom: 0.25rem;
}

/* ── Pivot scrollbar ─────────────────────────────────────────── */
.pivot-scrollbar[b-ynvn975f3j] {
    scrollbar-width: thin;
}
/* /Components/Pages/Private/GestionePratiche/Smistamento.razor.rz.scp.css */
.assignments[b-q1d3djhtk6] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.border-primary[b-q1d3djhtk6] {
    border-color: #e6ebf1 !important;
}
/* /Components/Pages/Private/GestionePratiche/Visualizza.razor.rz.scp.css */
.assignments[b-kcsob0p7hw] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.border-primary[b-kcsob0p7hw] {
    border-color: #e6ebf1 !important;
}
/* /Components/Pages/Private/Home.razor.rz.scp.css */
.my-card[b-5kb3h4lfsw] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.border-primary[b-5kb3h4lfsw] {
    border-color: #e6ebf1 !important;
}
/* /Components/Pages/Public/Dashboard.razor.rz.scp.css */
.dashboard-header[b-2c1olml52j] {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
}

.dashboard-title[b-2c1olml52j] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin: 0;
}

.dashboard-subtitle[b-2c1olml52j] {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

.chart-type-toolbar[b-2c1olml52j] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.chart-type-btn[b-2c1olml52j] {
    border-radius: 20px !important;
    padding: 0.25rem 0.85rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6 !important;
}

.chart-type-btn.active-chart-btn[b-2c1olml52j] {
    background-color: #1b6ec2 !important;
    color: #fff !important;
    border-color: #1861ac !important;
    box-shadow: 0 2px 6px rgba(27, 110, 194, 0.35);
}

.chart-card[b-2c1olml52j] {
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
    border: 1px solid #e9ecef;
}

.chart-card .card-header[b-2c1olml52j] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.chart-card .card-body[b-2c1olml52j] {
    padding: 1rem;
}
