@import '_content/RS1MP.Aplicacion/RS1MP.Aplicacion.tclcqqaxoj.bundle.scp.css';
@import '_content/RS1MP.Web.UI/RS1MP.Web.UI.yi5vywtfq2.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-yuqmutzqch] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-yuqmutzqch] {
    flex: 1;
}

.sidebar[b-yuqmutzqch] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-yuqmutzqch] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-yuqmutzqch]  a, .top-row[b-yuqmutzqch]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-yuqmutzqch]  a:hover, .top-row[b-yuqmutzqch]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-yuqmutzqch]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-yuqmutzqch] {
        justify-content: space-between;
    }

    .top-row[b-yuqmutzqch]  a, .top-row[b-yuqmutzqch]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-yuqmutzqch] {
        flex-direction: row;
    }

    .sidebar[b-yuqmutzqch] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-yuqmutzqch] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-yuqmutzqch]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-yuqmutzqch], article[b-yuqmutzqch] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-yuqmutzqch] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-yuqmutzqch] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-sx02omyvt3] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-sx02omyvt3] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-sx02omyvt3] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-sx02omyvt3] {
    font-size: 1.1rem;
}

.bi[b-sx02omyvt3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-sx02omyvt3] {
    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");
}

.bi-plus-square-fill-nav-menu[b-sx02omyvt3] {
    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-nested-nav-menu[b-sx02omyvt3] {
    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-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-sx02omyvt3] {
    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-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-sx02omyvt3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-sx02omyvt3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-sx02omyvt3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-sx02omyvt3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-sx02omyvt3] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-sx02omyvt3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-sx02omyvt3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-sx02omyvt3]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-sx02omyvt3]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-sx02omyvt3]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-sx02omyvt3] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-sx02omyvt3] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-sx02omyvt3] {
        display: none;
    }

    .nav-scrollable[b-sx02omyvt3] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* ============================================================
   DASHBOARD EJECUTIVO — Estilos scoped
   Usa tokens del design system (--ds-*) definidos en design-system.css
   ============================================================ */

/* ── Loading ─────────────────────────────────────────────── */
.dash-loading[b-9709pcns39] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
    gap: 1rem;
}

.dash-spinner[b-9709pcns39] {
    width: 3rem;
    height: 3rem;
    color: var(--ds-purple);
}

.dash-loading-text[b-9709pcns39] {
    color: var(--ds-body);
    font-size: 0.95rem;
    margin: 0;
}

/* ── Cabecera ─────────────────────────────────────────────── */
.dash-header[b-9709pcns39] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--ds-border);
}

.dash-header-left[b-9709pcns39] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dash-header-right[b-9709pcns39] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.dash-period-badge[b-9709pcns39] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: var(--ds-purple-subtle);
    border: 1px solid var(--ds-border-purple);
    color: var(--ds-purple);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

.dash-title[b-9709pcns39] {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--ds-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

.dash-updated-label[b-9709pcns39] {
    font-size: 0.72rem;
    color: var(--ds-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dash-updated-value[b-9709pcns39] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ds-label);
    font-variant-numeric: tabular-nums;
}

/* ── KPI Cards Globales ───────────────────────────────────── */
.dash-kpi-global[b-9709pcns39] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    padding: 1rem 1.25rem;
    box-shadow: var(--ds-shadow-1);
    transition: box-shadow 150ms ease, transform 150ms ease;
    height: 100%;
}

.dash-kpi-global:hover[b-9709pcns39] {
    box-shadow: var(--ds-shadow-2);
    transform: translateY(-1px);
}

.dash-kpi-global-icon[b-9709pcns39] {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--ds-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dash-kpi-global-body[b-9709pcns39] {
    min-width: 0;
}

.dash-kpi-global-label[b-9709pcns39] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ds-body);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-kpi-global-value[b-9709pcns39] {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-kpi-global-sub[b-9709pcns39] {
    font-size: 0.72rem;
    color: var(--ds-body);
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Secciones ────────────────────────────────────────────── */
.dash-section[b-9709pcns39] {
    background: #ffffff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-xl);
    overflow: hidden;
    box-shadow: var(--ds-shadow-1);
    /* --sc y --sc-bg son inyectados por cada sección como style inline */
}

/* Línea de color en el top de cada sección */
.dash-section[b-9709pcns39]::before {
    content: '';
    display: block;
    height: 3px;
    background: var(--sc, var(--ds-purple));
}

/* ── Header de sección ────────────────────────────────────── */
.dash-section-header[b-9709pcns39] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem 0.75rem;
    background: var(--sc-bg, rgba(83,58,253,0.04));
    border-bottom: 1px solid var(--ds-border);
}

.dash-section-icon[b-9709pcns39] {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--ds-radius-md);
    background: var(--sc, var(--ds-purple));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.dash-section-title[b-9709pcns39] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ds-heading);
    margin: 0;
    letter-spacing: -0.01em;
}

.dash-section-subtitle[b-9709pcns39] {
    font-size: 0.78rem;
    color: var(--ds-body);
    margin: 0.1rem 0 0;
}

/* ── Columna de KPI métricas ──────────────────────────────── */
.dash-kpis-col[b-9709pcns39] {
    padding: 1rem 1.25rem;
    border-right: 1px solid var(--ds-border);
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    justify-content: center;
}

.dash-kpi-metric[b-9709pcns39] {
    display: flex;
    flex-direction: column;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--ds-border);
}

.dash-kpi-metric:last-child[b-9709pcns39] {
    border-bottom: none;
}

.dash-kpi-metric-label[b-9709pcns39] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ds-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.dash-kpi-metric-value[b-9709pcns39] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ds-heading);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

/* Colores semánticos para valores */
.val-success[b-9709pcns39] { color: var(--ds-success-text) !important; }
.val-danger[b-9709pcns39]  { color: #dc2626 !important; }
.val-warning[b-9709pcns39] { color: var(--ds-lemon) !important; }

/* ── Columna del gráfico ─────────────────────────────────── */
.dash-chart-col[b-9709pcns39] {
    padding: 0.75rem 1rem 0.75rem 0.75rem;
}

.dash-chart-label[b-9709pcns39] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ds-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .dash-kpis-col[b-9709pcns39] {
        border-right: none;
        border-bottom: 1px solid var(--ds-border);
    }

    .dash-kpi-global-value[b-9709pcns39] {
        font-size: 1.15rem;
    }

    .dash-chart-col[b-9709pcns39] {
        padding: 0.75rem 1rem;
    }

    .dash-title[b-9709pcns39] {
        font-size: 1.35rem;
    }
}

@media (max-width: 575px) {
    .dash-header[b-9709pcns39] {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-header-right[b-9709pcns39] {
        align-items: flex-start;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ============================================================
   Home.razor.css — Scoped styles para la página de inicio
   RS1MP ERP · Design System Stripe-Inspired
   ============================================================ */

/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */

@keyframes bounce-b-7x5j44djuu {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    50%       { transform: translateY(8px); opacity: 0.90; }
}

.home-btn-primary:hover[b-7x5j44djuu] {
    background: var(--ds-purple-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(83, 58, 253, 0.50) !important;
}

.home-btn-primary:active[b-7x5j44djuu] {
    transform: translateY(0);
}

.home-btn-outline:hover[b-7x5j44djuu] {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.80) !important;
}

/* ----------------------------------------------------------
   SHOWCASE SECTION
   ---------------------------------------------------------- */

.home-showcase__item:hover .home-showcase__img[b-7x5j44djuu] {
    transform: scale(1.06);
}

/* ----------------------------------------------------------
   MÓDULOS GRID
   ---------------------------------------------------------- */

.home-module-card:hover[b-7x5j44djuu] {
    background: rgba(83, 58, 253, 0.12) !important;
    border-color: rgba(83, 58, 253, 0.40) !important;
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-3);
}

.home-module-card:hover i[b-7x5j44djuu] {
    color: #ffffff !important;
}

/* ----------------------------------------------------------
   STATS SECTION
   ---------------------------------------------------------- */

@media (min-width: 768px) {
    .home-stat:not(:last-child)[b-7x5j44djuu] {
        border-right: 1px solid var(--ds-border);
    }
}

/* ----------------------------------------------------------
   UTILIDADES ADICIONALES
   ---------------------------------------------------------- */

@media (min-width: 992px) {
    .py-lg-6[b-7x5j44djuu] {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* ----------------------------------------------------------
   RESPONSIVE — Showcase heights
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {
    .home-showcase__item[b-7x5j44djuu] {
        height: 220px !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .home-showcase__item[b-7x5j44djuu] {
        height: 280px !important;
    }
}
