/* _content/FIT/Pages/Clientes/VerBajas.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════
   VerBajas – Page-scoped styles
   ═══════════════════════════════════════════════════ */

/* ── Page header ── */
.bajas-page-header[b-jo6lvgxwkf] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* ── Section card ── */
[b-jo6lvgxwkf] .bajas-section {
    border-radius: 8px !important;
    border: 1px solid var(--mud-palette-lines-default);
}

/* ── Section header row (title + export button) ── */
.bajas-section-header[b-jo6lvgxwkf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

/* ── Filter bar ── */
.bajas-filter-bar[b-jo6lvgxwkf] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.bajas-filter-bar > *[b-jo6lvgxwkf] {
    flex: 0 0 auto;
}

.bajas-filter-field[b-jo6lvgxwkf] {
    min-width: 140px;
    max-width: 180px;
}

.bajas-filter-field-wide[b-jo6lvgxwkf] {
    min-width: 170px;
    max-width: 220px;
}

/* ── Date-range chip (pill) ── */
.bajas-date-chip[b-jo6lvgxwkf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    cursor: pointer;
}

.bajas-date-chip-divider[b-jo6lvgxwkf] {
    border-left: 1px solid var(--mud-palette-primary);
    height: 60%;
    margin: 0 6px;
}

/* ── Divider between summary and detail ── */
.bajas-divider[b-jo6lvgxwkf] {
    margin: 20px 0;
}

/* ══════════════════════════════════════════
   Summary daily grid
   ══════════════════════════════════════════ */

/* Horizontal scroll */
[b-jo6lvgxwkf] .bajas-daily-grid .mud-table-container {
    overflow-x: auto;
}

/* Header row colour */
[b-jo6lvgxwkf] .bajas-daily-grid .mud-table-head th {
    background: var(--mud-palette-primary);
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 8px;
    white-space: nowrap;
}

/* Body cells */
[b-jo6lvgxwkf] .bajas-daily-grid .mud-table-body td {
    font-size: 0.8rem;
    padding: 4px 8px;
}

/* Footer row */
[b-jo6lvgxwkf] .bajas-daily-grid .mud-table-foot td {
    background: var(--mud-palette-background-grey);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 8px;
}

/* Group header row */
[b-jo6lvgxwkf] .bajas-daily-grid .mud-table-body .mud-table-row-group-header th {
    background: var(--mud-palette-background-grey);
    font-size: 0.8rem;
    padding: 4px 8px;
}

/* ── Sticky vendedor column (header) ── */
[b-jo6lvgxwkf] .bajas-sticky-header {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 180px;
    background: var(--mud-palette-primary) !important;
    color: #fff !important;
}

/* ── Sticky vendedor column (body rows) ── */
[b-jo6lvgxwkf] .bajas-sticky-cell {
    position: sticky;
    left: 0;
    background: var(--mud-palette-surface);
    z-index: 1;
    min-width: 180px;
    font-weight: 500;
}

/* ── Sticky vendedor column (footer) ── */
[b-jo6lvgxwkf] .bajas-sticky-footer {
    position: sticky;
    left: 0;
    background: var(--mud-palette-background-grey);
    z-index: 2;
    font-weight: 700;
    min-width: 180px;
}

/* Day column headers */
[b-jo6lvgxwkf] .bajas-day-header {
    min-width: 38px;
    text-align: center;
}

/* Total column header */
[b-jo6lvgxwkf] .bajas-total-header {
    min-width: 55px;
    text-align: center;
    font-weight: 700;
}

/* Centered cell */
[b-jo6lvgxwkf] .bajas-center {
    text-align: center;
}

/* Centered + bold (totals) */
[b-jo6lvgxwkf] .bajas-center-bold {
    text-align: center;
    font-weight: 700;
}

/* ══════════════════════════════════════════
   Detail table
   ══════════════════════════════════════════ */

[b-jo6lvgxwkf] .bajas-detail-grid .mud-table-container {
    overflow-x: auto;
}

[b-jo6lvgxwkf] .bajas-detail-grid .mud-table-head th {
    background: var(--mud-palette-background-grey);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 10px;
}

[b-jo6lvgxwkf] .bajas-detail-grid .mud-table-body td {
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 6px 10px;
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

@media (max-width: 960px) {
    .bajas-filter-bar[b-jo6lvgxwkf] {
        gap: 8px;
    }
    .bajas-filter-field[b-jo6lvgxwkf],
    .bajas-filter-field-wide[b-jo6lvgxwkf] {
        min-width: 120px;
        max-width: 100%;
        flex: 1 1 calc(50% - 8px);
    }
}
/* _content/FIT/Pages/ProyeccionVentas/VentasProyeccionTable.razor.rz.scp.css */
/* ── Daily grid: horizontal scroll ── */
[b-567ky0q191] .pv-daily-grid .mud-table-container {
    overflow-x: auto;
}

/* ── Sticky vendedor column (header) ── */
[b-567ky0q191] .pv-sticky-header {
    position: sticky;
    left: 0;
    background: var(--mud-palette-surface);
    z-index: 3;
    min-width: 200px;
}

/* ── Sticky vendedor column (body rows) ── */
[b-567ky0q191] .pv-sticky-cell {
    position: sticky;
    left: 0;
    background: var(--mud-palette-surface);
    z-index: 1;
}

/* ── Sticky vendedor column (footer) ── */
[b-567ky0q191] .pv-sticky-footer {
    position: sticky;
    left: 0;
    background: var(--mud-palette-surface);
    z-index: 2;
    font-weight: 700;
}

/* ── Day column headers ── */
[b-567ky0q191] .pv-day-header {
    min-width: 45px;
    text-align: center;
}

/* ── Total column header ── */
[b-567ky0q191] .pv-total-header {
    min-width: 60px;
    text-align: center;
    font-weight: 700;
}

/* ── Generic centered cell ── */
[b-567ky0q191] .pv-center {
    text-align: center;
}

/* ── Centered + bold (totals / footer) ── */
[b-567ky0q191] .pv-center-bold {
    text-align: center;
    font-weight: 700;
}

/* ── Proyecciones: vendedor column ── */
[b-567ky0q191] .pv-vendedor-col {
    min-width: 200px;
}

/* ── Proyecciones: metric column headers ── */
[b-567ky0q191] .pv-metric-col {
    min-width: 100px;
    text-align: center;
}

/* ── Filter controls container ── */
.pv-filters[b-567ky0q191] {
    max-width: 480px;
}
/* _content/FIT/Shared/MainLayout.razor.rz.scp.css */
.page[b-rvu4d7uy28] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-rvu4d7uy28] {
    flex: 1;
}

.sidebar[b-rvu4d7uy28] {
    background-image: linear-gradient(180deg, #56baed 0%, #56baed 70%);
    background-color: #56baed;
}

.top-row[b-rvu4d7uy28] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.button-open[b-rvu4d7uy28] {
    margin-right: 200px;
}

.button-closed[b-rvu4d7uy28] {
    margin-right: 0;
}

    .top-row[b-rvu4d7uy28]  a, .top-row .btn-link[b-rvu4d7uy28] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-rvu4d7uy28] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-rvu4d7uy28] {
        display: none;
    }

    .top-row.auth[b-rvu4d7uy28] {
        justify-content: space-between;
    }

    .top-row a[b-rvu4d7uy28], .top-row .btn-link[b-rvu4d7uy28] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-rvu4d7uy28] {
        flex-direction: row;
    }

    .sidebar[b-rvu4d7uy28] {
        width: 85px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rvu4d7uy28] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-rvu4d7uy28], article[b-rvu4d7uy28] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/FIT/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-4uv65t5jrn] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-4uv65t5jrn] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-4uv65t5jrn] {
    font-size: 1.1rem;
}

.oi[b-4uv65t5jrn] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-4uv65t5jrn] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4uv65t5jrn] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4uv65t5jrn] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4uv65t5jrn]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-4uv65t5jrn]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-4uv65t5jrn]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4uv65t5jrn] {
        display: none;
    }

    .collapse[b-4uv65t5jrn] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-4uv65t5jrn] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
