/* /Components/KpiCard.razor.rz.scp.css */
.kpi[b-o2gfuzifsi] {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--blue-600);
    border-radius: var(--radius);
    padding: 12px 14px;
}

.kpi-label[b-o2gfuzifsi] {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-600);
    letter-spacing: .4px;
}

.kpi-value[b-o2gfuzifsi] {
    font-size: 26px;
    font-weight: 600;
    margin: 4px 0;
}

.kpi-trend[b-o2gfuzifsi] {
    font-size: 12px;
    color: var(--gray-600);
}
/* /Components/LineChart.razor.rz.scp.css */
.chart[b-bhdq06vo3b] {
    width: 100%;
    display: block;
}

.line[b-bhdq06vo3b] {
    fill: none;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}

.area[b-bhdq06vo3b] {
    opacity: .12;
    stroke: none;
}

.grid-line[b-bhdq06vo3b] {
    stroke: var(--gray-200);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 4 4;
}
/* /Components/Modal.razor.rz.scp.css */
.modal-backdrop[b-nkq5p0swa7] {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 58, .55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10vh 12px 12px;
    overflow-y: auto;
    z-index: 2000;
}

.modal-box[b-nkq5p0swa7] {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 460px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

header[b-nkq5p0swa7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
}

h3[b-nkq5p0swa7] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.modal-x[b-nkq5p0swa7] {
    background: none;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-600);
}

.modal-body[b-nkq5p0swa7] {
    padding: 16px;
}

footer[b-nkq5p0swa7] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}
/* /Components/Panel.razor.rz.scp.css */
.panel[b-5mu8cwpc4r] {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

    .panel header[b-5mu8cwpc4r] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 14px;
        border-bottom: 1px solid var(--gray-200);
    }

    .panel h3[b-5mu8cwpc4r] {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
    }

.panel-body[b-5mu8cwpc4r] {
    padding: 10px 14px;
}
/* /Components/ToastHost.razor.rz.scp.css */
.toast-stack[b-sahd9k9xhj] {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3000;
}

.toast[b-sahd9k9xhj] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--green-600);
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    font-size: 13px;
}

    .toast span[b-sahd9k9xhj] {
        flex: 1;
    }

    .toast i[b-sahd9k9xhj] {
        font-size: 16px;
        color: var(--green-600);
    }

    .toast.warn[b-sahd9k9xhj] {
        border-left-color: var(--orange-500);
    }

        .toast.warn i[b-sahd9k9xhj] {
            color: var(--orange-500);
        }

    .toast.crit[b-sahd9k9xhj] {
        border-left-color: var(--red-600);
    }

        .toast.crit i[b-sahd9k9xhj] {
            color: var(--red-600);
        }

.toast-x[b-sahd9k9xhj] {
    background: none;
    border: 0;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-600);
}

@media (max-width: 575px) {
    .toast-stack[b-sahd9k9xhj] {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .toast[b-sahd9k9xhj] {
        min-width: 0;
        max-width: none;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.shell[b-9u59lfs4nf] {
    min-height: 100vh;
}

.content[b-9u59lfs4nf] {
    margin-top: var(--topbar-h);
    margin-left: var(--sidebar-w);
    padding: 16px;
    background: var(--gray-50);
    min-height: calc(100vh - var(--topbar-h));
    transition: margin-left .2s ease;
}

.shell.collapsed .content[b-9u59lfs4nf] {
    margin-left: var(--sidebar-w-collapsed);
}

.backdrop[b-9u59lfs4nf] {
    display: none;
}

@media (max-width: 991px) {
    .content[b-9u59lfs4nf],
    .shell.collapsed .content[b-9u59lfs4nf] {
        margin-left: 0;
        padding: 12px;
    }

    .shell.drawer-open .backdrop[b-9u59lfs4nf] {
        display: block;
        position: fixed;
        inset: var(--topbar-h) 0 0 0;
        background: rgba(0, 0, 0, .45);
        z-index: 1040;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-xdwxs46vdt] {
    position: fixed;
    top: var(--topbar-h);
    bottom: 0;
    left: 0;
    width: var(--sidebar-w);
    background: #fff;
    border-right: 1px solid var(--gray-200);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    z-index: 1045;
    transition: width .2s ease, transform .2s ease;
}

    .sidebar.collapsed[b-xdwxs46vdt] {
        width: var(--sidebar-w-collapsed);
    }

    /* Filas del menú (aplica a <a> de NavLink y a <button>) */
    .sidebar[b-xdwxs46vdt]  .nav-row {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 9px 16px;
        color: var(--gray-900);
        text-decoration: none;
        background: none;
        border: 0;
        border-left: 3px solid transparent;
        text-align: left;
        cursor: pointer;
        font-family: inherit;
        font-size: 13px;
        box-sizing: border-box;
        white-space: nowrap;
    }

        .sidebar[b-xdwxs46vdt]  .nav-row:hover {
            background: var(--gray-50);
            color: var(--gray-900);
            text-decoration: none;
        }

        .sidebar[b-xdwxs46vdt]  .nav-row i:first-child {
            width: 18px;
            text-align: center;
            color: var(--gray-600);
            flex-shrink: 0;
        }

    .sidebar[b-xdwxs46vdt]  .chevron {
        margin-left: auto;
        font-size: 11px;
    }

    /* Subitems */
    .sidebar[b-xdwxs46vdt]  .nav-row.child {
        padding-left: 44px;
        font-size: 12.5px;
        color: var(--gray-600);
    }

    /* Elemento activo estilo Fiori */
    .sidebar[b-xdwxs46vdt]  a.nav-row.active {
        background: var(--blue-100);
        color: var(--blue-600);
        border-left-color: var(--blue-600);
        font-weight: 600;
    }

        .sidebar[b-xdwxs46vdt]  a.nav-row.active i:first-child {
            color: var(--blue-600);
        }

    /* Colapsado: solo iconos (escritorio) */
    .sidebar.collapsed[b-xdwxs46vdt]  .label,
    .sidebar.collapsed[b-xdwxs46vdt]  .chevron {
        display: none;
    }

    .sidebar.collapsed[b-xdwxs46vdt]  .nav-row {
        justify-content: center;
        padding: 10px 0;
    }

/* Móvil / tablet: drawer */
@media (max-width: 991px) {
    .sidebar[b-xdwxs46vdt],
    .sidebar.collapsed[b-xdwxs46vdt] {
        width: var(--sidebar-w);
        transform: translateX(-100%);
        box-shadow: 2px 0 8px rgba(0, 0, 0, .2);
    }

        .sidebar.open[b-xdwxs46vdt] {
            transform: translateX(0);
        }

        .sidebar.collapsed[b-xdwxs46vdt]  .label {
            display: inline;
        }

        .sidebar.collapsed[b-xdwxs46vdt]  .chevron {
            display: inline-block;
        }

        .sidebar.collapsed[b-xdwxs46vdt]  .nav-row {
            justify-content: flex-start;
            padding: 9px 16px;
        }
}
/* /Layout/Topbar.razor.rz.scp.css */
.topbar[b-6e5m91oidd] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    background: var(--navy-900);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    padding-top: env(safe-area-inset-top, 0);
    z-index: 1050;
}

.brand[b-6e5m91oidd] {
    font-weight: 600;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
    white-space: nowrap;
}

.spacer[b-6e5m91oidd] {
    flex: 1;
}

.icon-btn[b-6e5m91oidd] {
    background: none;
    border: 0;
    color: #fff;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--radius);
    line-height: 1;
}

    .icon-btn:hover[b-6e5m91oidd] {
        background: var(--navy-800);
    }

.dot[b-6e5m91oidd] {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: var(--orange-500);
    border-radius: 50%;
}

.search[b-6e5m91oidd] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-800);
    padding: 0 10px;
    border-radius: var(--radius);
    height: 30px;
    margin-left: 16px;
}

    .search input[b-6e5m91oidd] {
        background: none;
        border: 0;
        outline: 0;
        color: #fff;
        width: 280px;
        font-family: inherit;
        font-size: 13px;
    }

        .search input[b-6e5m91oidd]::placeholder {
            color: #9fb3cc;
        }

.menu-btn[b-6e5m91oidd] {
    display: none;
}

@media (max-width: 991px) {
    .menu-btn[b-6e5m91oidd] {
        display: inline-block;
    }

    .collapse-btn[b-6e5m91oidd] {
        display: none;
    }

    .search[b-6e5m91oidd] {
        display: none;
    }
}
