@import '_content/Modulo_WebBlazor.Vendas/Modulo_WebBlazor.Vendas.bfk6qow1uw.bundle.scp.css';
@import '_content/Plataforma.BibAutomacao_Web/Plataforma.BibAutomacao_Web.mg8pfu4piq.bundle.scp.css';
@import '_content/Plataforma.BibDFe_Web/Plataforma.BibDFe_Web.ro90cp4f67.bundle.scp.css';
@import '_content/Plataforma.BibPublico_Web/Plataforma.BibPublico_Web.v5gf1aeh75.bundle.scp.css';
@import '_content/Plataforma.BibSistemaBancario_Web/Plataforma.BibSistemaBancario_Web.82s0d1j6uo.bundle.scp.css';

/* /Layout/FrmPrincipal.razor.rz.scp.css */
.erp-shell[b-4x2hd3lqqc] {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.erp-frame[b-4x2hd3lqqc] {
    display: flex;
    height: 100%;
    width: 100%;
}

/* ---- Icon rail ---- */
.erp-rail[b-4x2hd3lqqc] {
    width: 72px;
    flex: 0 0 auto;
    background: var(--rail-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 6px;
}

.erp-rail-logo[b-4x2hd3lqqc] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex: 0 0 auto;
}

.erp-rail-scroll[b-4x2hd3lqqc] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    width: 100%;
    padding: 0 14px;
}

.erp-rail-footer[b-4x2hd3lqqc] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgb(255 255 255 / 8%);
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
}

.erp-rail[b-4x2hd3lqqc]  .rail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--rail-text);
    cursor: pointer;
    transition: background .15s, color .15s;
}

.erp-rail[b-4x2hd3lqqc]  .rail-btn:hover {
    background: rgb(255 255 255 / 6%);
    color: var(--rail-text-active);
}

.erp-rail[b-4x2hd3lqqc]  .rail-btn.active {
    background: var(--accent);
    color: var(--accent-ink);
}

/* ---- Secondary context panel ---- */
.erp-subnav[b-4x2hd3lqqc] {
    width: 224px;
    flex: 0 0 auto;
    background: var(--bg-subtle);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 20px 12px;
}

.erp-subnav-title[b-4x2hd3lqqc] {
    padding: 0 8px 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.erp-subnav-list[b-4x2hd3lqqc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.erp-subnav[b-4x2hd3lqqc]  .subnav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.erp-subnav[b-4x2hd3lqqc]  .subnav-item:hover {
    background: var(--surface-2);
    color: var(--text);
}

.erp-subnav[b-4x2hd3lqqc]  .subnav-item.active {
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 600;
}

.erp-subnav-favoritos[b-4x2hd3lqqc] {
    margin-top: auto;
    padding: 14px 8px 4px;
    border-top: 1px solid var(--border);
}

.erp-subnav-favoritos-titulo[b-4x2hd3lqqc] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ---- Main column ---- */
.erp-main[b-4x2hd3lqqc] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.erp-topbar[b-4x2hd3lqqc] {
    height: 64px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.erp-search[b-4x2hd3lqqc] {
    position: relative;
    width: 340px;
    max-width: 100%;
}

.erp-search svg[b-4x2hd3lqqc] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.erp-search input[b-4x2hd3lqqc] {
    width: 100%;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-subtle);
    padding: 0 12px 0 36px;
    font-size: 13.5px;
    color: var(--text);
    font-family: inherit;
    outline: none;
}

.erp-search-kbd[b-4x2hd3lqqc] {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-faint);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1px 5px;
}

.erp-topbar-spacer[b-4x2hd3lqqc] {
    flex: 1;
}

.erp-filial[b-4x2hd3lqqc] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 8px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
}

.erp-topbar[b-4x2hd3lqqc]  .icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    flex: 0 0 auto;
}

.erp-topbar[b-4x2hd3lqqc]  .icon-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.erp-bell[b-4x2hd3lqqc] {
    position: relative;
}

.erp-bell-dot[b-4x2hd3lqqc] {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 100px;
    background: var(--danger);
    border: 1.5px solid var(--surface);
}

.erp-divider[b-4x2hd3lqqc] {
    width: 1px;
    height: 26px;
    background: var(--border);
}

.erp-user[b-4x2hd3lqqc] {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.erp-avatar[b-4x2hd3lqqc] {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: var(--accent);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    flex: 0 0 auto;
}

.erp-rail-footer .erp-avatar[b-4x2hd3lqqc] {
    width: 34px;
    height: 34px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12.5px;
    cursor: pointer;
}

.erp-user-info[b-4x2hd3lqqc] {
    line-height: 1.2;
}

.erp-user-nome[b-4x2hd3lqqc] {
    font-size: 13px;
    font-weight: 600;
}

.erp-user-cargo[b-4x2hd3lqqc] {
    font-size: 11.5px;
    color: var(--text-faint);
}

.erp-content[b-4x2hd3lqqc] {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 40px;
}

.scroll[b-4x2hd3lqqc]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scroll[b-4x2hd3lqqc]::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 8px;
}

.scroll[b-4x2hd3lqqc]::-webkit-scrollbar-track {
    background: transparent;
}
/* /Pages/FrmDashboard.razor.rz.scp.css */
.dash-header[b-tsz585ahoh] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.dash-saudacao[b-tsz585ahoh] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.dash-data[b-tsz585ahoh] {
    color: var(--text-muted);
    font-size: 13.5px;
    margin-top: 3px;
}

.btn-primario[b-tsz585ahoh] {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
}

.dash-kpis[b-tsz585ahoh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.kpi-card[b-tsz585ahoh], .widget-card[b-tsz585ahoh] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 18px 20px;
}

.kpi-topo[b-tsz585ahoh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-label[b-tsz585ahoh] {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.pill[b-tsz585ahoh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pill-sucesso[b-tsz585ahoh] { background: var(--success-soft); color: var(--success); }
.pill-alerta[b-tsz585ahoh] { background: var(--warning-soft); color: var(--warning); }
.pill-perigo[b-tsz585ahoh] { background: var(--danger-soft); color: var(--danger); }
.pill-info[b-tsz585ahoh] { background: var(--info-soft); color: var(--info); }

.kpi-valor[b-tsz585ahoh] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 25px;
    margin-top: 8px;
}

.kpi-spark[b-tsz585ahoh] {
    margin-top: 10px;
}

.kpi-nota[b-tsz585ahoh] {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-faint);
}

.dash-widgets[b-tsz585ahoh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.widget-largo[b-tsz585ahoh] {
    grid-column: span 2;
}

.widget-topo[b-tsz585ahoh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.widget-titulo[b-tsz585ahoh] {
    font-weight: 600;
    font-size: 14px;
}

.widget-titulo-espaco[b-tsz585ahoh] {
    margin-bottom: 14px;
}

.widget-sub[b-tsz585ahoh] {
    font-size: 12px;
    color: var(--text-faint);
}

.widget-saldo[b-tsz585ahoh] {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

/* Faturamento mensal */
.barras[b-tsz585ahoh] {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 110px;
}

.barra-col[b-tsz585ahoh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
}

.barra[b-tsz585ahoh] {
    width: 100%;
    background: var(--border-strong);
    border-radius: 5px 5px 0 0;
}

.barra-atual[b-tsz585ahoh] {
    background: var(--accent);
}

.barra-rotulo[b-tsz585ahoh] {
    font-size: 11px;
    color: var(--text-faint);
}

.barra-rotulo-atual[b-tsz585ahoh] {
    color: var(--accent);
    font-weight: 600;
}

/* Alertas de estoque */
.lista-alertas[b-tsz585ahoh] {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.alerta-linha[b-tsz585ahoh] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alerta-bolinha[b-tsz585ahoh] {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    flex: 0 0 auto;
}

.alerta-texto[b-tsz585ahoh] {
    flex: 1;
    min-width: 0;
}

.alerta-nome[b-tsz585ahoh] {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alerta-detalhe[b-tsz585ahoh] {
    font-size: 11.5px;
    color: var(--text-faint);
}

/* Funil CRM */
.funil[b-tsz585ahoh] {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.funil-cabecalho[b-tsz585ahoh] {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.funil-barra-fundo[b-tsz585ahoh] {
    height: 8px;
    border-radius: 4px;
    background: var(--surface-2);
}

.funil-barra[b-tsz585ahoh] {
    height: 8px;
    border-radius: 4px;
    background: var(--accent);
}

/* Fluxo de caixa */
.fluxo[b-tsz585ahoh] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 88px;
}

.fluxo-col[b-tsz585ahoh] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    height: 100%;
}

.fluxo-entrada[b-tsz585ahoh] {
    width: 100%;
    background: var(--success);
    opacity: .85;
    border-radius: 4px 4px 0 0;
}

.fluxo-saida[b-tsz585ahoh] {
    width: 100%;
    background: var(--danger);
    opacity: .75;
    border-radius: 0 0 4px 4px;
}

.fluxo-rotulo[b-tsz585ahoh] {
    font-size: 10.5px;
    color: var(--text-faint);
    margin-top: 4px;
}

/* Agenda */
.agenda-lista[b-tsz585ahoh] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-linha[b-tsz585ahoh] {
    display: flex;
    gap: 10px;
}

.agenda-hora[b-tsz585ahoh] {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    width: 44px;
    flex: 0 0 auto;
}

.agenda-texto[b-tsz585ahoh] {
    font-size: 13px;
}
