




#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/*Layout de impressao*/
@media print {
    body {
        margin: 0;
        font-family: monospace;
        font-size: 11px;
    }

        /* esconde tudo na p�gina */
        body * {
            visibility: hidden;
        }

    /* mostra s� o cupom */
    #cupom-pedido,
    #cupom-pedido * {
        visibility: visible;
    }

    #cupom-pedido {
        display: block !important; /* for�a mostrar s� na impress�o */
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        padding: 2mm;
        box-sizing: border-box;
    }

    @page {
        size: 80mm auto;
        margin: 0;
    }
}

/* auxiliares usadas no cupom (caso ainda n�o tenha)*/
.center {
    text-align: center;
}

.linha {
    display: flex;
    justify-content: space-between;
}

    .linha span {
        word-break: break-all;
    }

.traco {
    border-top: 1px dashed #000;
    margin: 4px 0;
} 

/* CSS cards da home */
/* Card roxo -> rosa */
.card-grad-total-produtos {
    background: linear-gradient(135deg, #5b3cc4 0%, #ff4b91 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Card rosa -> laranja */
.card-grad-categorias {
    background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Card azul claro -> azul */
.card-grad-ativos {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Card amarelo -> laranja (estoque baixo) */
.card-grad-estoque-baixo {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Efeito hover opcional */
.card-grad-total-produtos,
.card-grad-categorias,
.card-grad-ativos,
.card-grad-estoque-baixo {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .card-grad-total-produtos:hover,
    .card-grad-categorias:hover,
    .card-grad-ativos:hover,
    .card-grad-estoque-baixo:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.2);
    }

/* Reduz padding horizontal das células do MudDataGrid */
.mud-table-cell {
    padding-left: 8px !important;
    padding-right: 4px;
}

/* Linhas zebradas no MudDataGrid */
.grid-striped .mud-table-body .mud-table-row:nth-child(even) td {
    background-color: #f0f4f8 !important;
}

/* Cabeçalho do MudDataGrid com fundo cinza claro e letras azuis */
.grid-header-primary .mud-table-head .mud-table-cell {
    background-color: #e8edf2 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

.grid-header-primary .mud-table-head .mud-table-cell .mud-button-root,
.grid-header-primary .mud-table-head .mud-table-cell .mud-icon-root {
    color: #000000 !important;
}

/*Linhas vermelhas cancelado*/
.row-cancelada td {
    color: rgb(231, 38, 38) !important;
    /* font-weight: 600 !important;*/
}

/*Linhas vermelhas estoque negativo*/
.row-estoque-negativo td {
    color: rgb(231, 38, 38) !important;
}

/* Faz a tabela ocupar 100% e elimina o "buraco branco" */
.pdv-itens-table .mud-table-root {
    width: 100% !important;
}

/* Scroll do container + evita "pulo" quando aparece scrollbar */
.pdv-itens-table .mud-table-container {
    overflow-y: auto;
    scrollbar-gutter: stable;
}


/* KPIS do home */
.kpi-card {
    border: 1px solid rgba(0,0,0,.08);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 14px 14px;
    background: #fff;
    min-height: 92px;
}

.kpi-icon {
    background: rgba(0,0,0,.04);
    color: #6b7280;
}

.kpi-value {
    font-weight: 700;
    letter-spacing: -0.3px;
}

.kpi-delta {
    font-weight: 600;
}

.kpi-delta-icon {
    color: var(--accent);
}
/* fim KPIS do home */

/* ── Dashboard KPI header ── */
.dashboard-kpi-header {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 6px;
}

.dashboard-kpi-header-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
}

.dashboard-kpi-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: .82rem;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 6px;
    transition: color .15s ease;
}

.dashboard-kpi-toggle:hover {
    color: #374151;
}

.dashboard-kpi-eye-icon {
    font-size: 18px !important;
}
/* ── fim Dashboard KPI header ── */

/* ── Sales KPI Card (Vendas do mês) ── */
.sales-kpi-card {
    position: relative;
    min-height: 92px;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.07);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .sales-kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(16, 24, 40, 0.11);
    }

    .sales-kpi-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: #22a447;
    }

.sales-kpi-left {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    min-width: 0;
}

.sales-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f7ee;
    color: #22a447;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sales-kpi-icon .mud-icon-root {
        font-size: 22px;
    }

.sales-kpi-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #22a447;
    margin-bottom: 3px;
    white-space: nowrap;
}

.sales-kpi-value {
    font-size: 1.32rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.1;
    white-space: nowrap;
}

.sales-kpi-sparkline {
    width: 80px;
    height: 42px;
    flex-shrink: 0;
    opacity: .9;
}

    .sales-kpi-sparkline polyline {
        fill: none;
        stroke: #22a447;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (max-width: 768px) {
    .sales-kpi-sparkline { width: 60px; }
    .sales-kpi-value     { font-size: 1.15rem; }
}
/* ── fim Sales KPI Card ── */

/* ── Receivable KPI Card (Contas a receber hoje) ── */
.receivable-kpi-card {
    position: relative;
    min-height: 92px;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.07);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .receivable-kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(16, 24, 40, 0.11);
    }

    .receivable-kpi-card::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 3px;
        background: #286bb1;
    }

.receivable-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eaf2fb;
    color: #286bb1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .receivable-kpi-icon .mud-icon-root {
        font-size: 22px;
    }

.receivable-kpi-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #286bb1;
    margin-bottom: 3px;
    white-space: nowrap;
}

.receivable-kpi-value {
    font-size: 1.32rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.1;
    white-space: nowrap;
}

.receivable-kpi-sparkline {
    width: 80px;
    height: 42px;
    flex-shrink: 0;
    opacity: .9;
}

    .receivable-kpi-sparkline polyline {
        fill: none;
        stroke: #286bb1;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (max-width: 768px) {
    .receivable-kpi-sparkline { width: 60px; }
    .receivable-kpi-value     { font-size: 1.15rem; }
}
/* ── fim Receivable KPI Card ── */

/* ── Payable KPI Card (Contas a pagar hoje) ── */
.payable-kpi-card {
    position: relative;
    min-height: 92px;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.07);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .payable-kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(16, 24, 40, 0.11);
    }

    .payable-kpi-card::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 3px;
        background: #d92d20;
    }

.payable-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fdecec;
    color: #d92d20;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .payable-kpi-icon .mud-icon-root {
        font-size: 22px;
    }

.payable-kpi-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #d92d20;
    margin-bottom: 3px;
    white-space: nowrap;
}

.payable-kpi-value {
    font-size: 1.32rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.1;
    white-space: nowrap;
}

.payable-kpi-sparkline {
    width: 80px;
    height: 42px;
    flex-shrink: 0;
    opacity: .9;
}

    .payable-kpi-sparkline polyline {
        fill: none;
        stroke: #d92d20;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (max-width: 768px) {
    .payable-kpi-sparkline { width: 60px; }
    .payable-kpi-value     { font-size: 1.15rem; }
}
/* ── fim Payable KPI Card ── */

/* ── Stock KPI Card (Produtos abaixo do mínimo) ── */
.stock-kpi-card {
    position: relative;
    min-height: 92px;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.07);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .stock-kpi-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(16, 24, 40, 0.11);
    }

    .stock-kpi-card::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 3px;
        background: #f79009;
    }

.stock-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff4e5;
    color: #f79009;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .stock-kpi-icon .mud-icon-root {
        font-size: 22px;
    }

.stock-kpi-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #f79009;
    margin-bottom: 3px;
    white-space: nowrap;
}

.stock-kpi-value {
    font-size: 1.32rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.1;
    white-space: nowrap;
}

.stock-kpi-sparkline {
    width: 80px;
    height: 42px;
    flex-shrink: 0;
    opacity: .9;
}

    .stock-kpi-sparkline polyline {
        fill: none;
        stroke: #f79009;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (max-width: 768px) {
    .stock-kpi-sparkline { width: 60px; }
    .stock-kpi-value     { font-size: 1.15rem; }
}
/* ── fim Stock KPI Card ── */

/* ── Marketplace Operations Card ── */
.marketplace-operations-card {
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.marketplace-operations-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.marketplace-operations-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
}

.marketplace-operations-subtitle {
    margin-top: 4px;
    font-size: .9rem;
    font-weight: 500;
    color: #667085;
}

.marketplace-operations-header-icon {
    color: #286bb1;
    font-size: 28px !important;
    opacity: .9;
}

/* Layout inline — 4 colunas, separadas por divisores verticais */
.marketplace-operations-inline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.marketplace-operation-compact {
    min-height: 118px;
    padding: 8px 10px 4px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .marketplace-operation-compact:not(:last-child) {
        border-right: 1px solid #e5e7eb;
    }

.marketplace-operation-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--operation-bg);
    color: var(--operation-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

    .marketplace-operation-icon .mud-icon-root {
        font-size: 25px;
    }

.marketplace-operation-label {
    font-size: .72rem;
    font-weight: 600;
    color: #667085;
    line-height: 1.2;
    white-space: nowrap;
}

.marketplace-operation-value {
    margin-top: 6px;
    font-size: 1.34rem;
    font-weight: 800;
    color: var(--operation-color);
    line-height: 1;
}

.marketplace-operation-blue   { --operation-color: #286bb1; --operation-bg: #eaf2fb; }
.marketplace-operation-red    { --operation-color: #d92d20; --operation-bg: #fdecec; }
.marketplace-operation-orange { --operation-color: #f79009; --operation-bg: #fff4e5; }
.marketplace-operation-green  { --operation-color: #22a447; --operation-bg: #e8f7ee; }

@media (max-width: 900px) {
    .marketplace-operations-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
    }

    .marketplace-operation-compact:nth-child(2) { border-right: none; }

    .marketplace-operation-compact:nth-child(1),
    .marketplace-operation-compact:nth-child(2) {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .marketplace-operations-card     { padding: 18px; }
    .marketplace-operations-inline   { grid-template-columns: 1fr; }

    .marketplace-operation-compact {
        border-right: none !important;
        border-bottom: 1px solid #e5e7eb;
        padding: 16px 4px;
    }

    .marketplace-operation-compact:last-child { border-bottom: none; }
}
/* ── fim Marketplace Operations Card ── */

/* ── Sales Chart Card ── */
.sales-chart-card {
    height: 100%;
    min-height: 320px;
    padding: 14px 20px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    display: flex;
    flex-direction: column;
}

.sales-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.sales-chart-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #101828;
}

.sales-chart-filter {
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    color: #667085;
    font-size: .84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
    white-space: nowrap;
}

.sales-chart-filter .mud-icon-root {
    font-size: 20px;
}

.sales-chart-body {
    position: relative;
    flex: 1;
    min-height: 200px;
    padding-left: 42px;
    padding-bottom: 28px;
}

.sales-chart-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sales-chart-grid-line {
    stroke: #d9e2ec;
    stroke-width: 1;
    stroke-dasharray: 6 6;
}

.sales-chart-axis-line {
    stroke: #e5e7eb;
    stroke-width: 1;
}

.sales-chart-area {
    fill: url(#salesAreaGradient);
}

.sales-chart-line {
    fill: none;
    stroke: #286bb1;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sales-chart-point {
    fill: #ffffff;
    stroke: #286bb1;
    stroke-width: 4;
}

.sales-chart-point-last {
    fill: #ffffff;
    stroke: #286bb1;
    stroke-width: 5;
    filter: drop-shadow(0 4px 8px rgba(40, 107, 177, .25));
}

.sales-chart-y-labels {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 34px;
    width: 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #667085;
    font-size: .76rem;
    font-weight: 500;
    text-align: right;
}

.sales-chart-x-labels {
    position: absolute;
    left: 42px;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    color: #667085;
    font-size: .78rem;
    font-weight: 500;
}

.sales-chart-footer {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sales-chart-footer-label {
    font-size: .82rem;
    font-weight: 500;
    color: #667085;
}

.sales-chart-footer-value {
    margin-top: 3px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #286bb1;
}

.sales-chart-growth {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #22a447;
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
}

.sales-chart-growth .mud-icon-root {
    font-size: 18px;
}

.sales-chart-growth span {
    color: #667085;
    font-weight: 500;
    margin-left: 4px;
}

@media (max-width: 900px) {
    .sales-chart-card {
        min-height: 340px;
    }

    .sales-chart-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .sales-chart-card {
        padding: 18px;
    }

    .sales-chart-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sales-chart-body {
        min-height: 180px;
    }

    .sales-chart-growth {
        white-space: normal;
        flex-wrap: wrap;
    }
}
/* ── fim Sales Chart Card ── */

/* ── Quick Shortcuts Card ── */
.quick-shortcuts-card {
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.quick-shortcuts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.quick-shortcuts-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
}

.quick-shortcuts-subtitle {
    margin-top: 4px;
    font-size: .86rem;
    font-weight: 500;
    color: #667085;
}

.quick-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.quick-shortcut-tile {
    position: relative;
    min-height: 82px;
    padding: 8px 6px 10px 6px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-shortcut-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.10);
    border-color: var(--shortcut-color);
}

.quick-shortcut-tile::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--shortcut-color);
}

.quick-shortcut-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--shortcut-bg);
    color: var(--shortcut-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-shortcut-icon .mud-icon-root {
    font-size: 22px;
}

.quick-shortcut-label {
    font-size: .72rem;
    font-weight: 800;
    color: #101828;
    text-align: center;
    line-height: 1.2;
}

.shortcut-blue   { --shortcut-color: #286bb1; --shortcut-bg: #eaf2fb; }
.shortcut-green  { --shortcut-color: #22a447; --shortcut-bg: #e8f7ee; }
.shortcut-orange { --shortcut-color: #c05600; --shortcut-bg: #fff4e5; }
.shortcut-purple { --shortcut-color: #7c3aed; --shortcut-bg: #f3edff; }
.shortcut-pink   { --shortcut-color: #db2777; --shortcut-bg: #fce7f3; }
.shortcut-teal   { --shortcut-color: #0f9f8f; --shortcut-bg: #e6fffb; }

@media (max-width: 1200px) {
    .quick-shortcuts-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .quick-shortcuts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .quick-shortcuts-card {
        padding: 14px;
    }

    .quick-shortcuts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .quick-shortcut-tile {
        min-height: 78px;
        padding: 8px 4px 10px;
    }

    .quick-shortcut-icon {
        width: 34px;
        height: 34px;
    }

    .quick-shortcut-label {
        font-size: .68rem;
    }
}
/* ── fim Quick Shortcuts Card ── */

/* NF-e dialog – stepper com altura fixa */
.nfe-tabs {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nfe-tabs .mud-stepper-content,
.nfe-tabs .mud-stepper-nav-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* MudSelect: força o texto do valor selecionado a herdar font-size do container */
.mud-input .mud-select-input {
    font-size: inherit !important;
}

/* adornment de texto pequeno nos campos de desconto/acréscimo do PDV */
.pdv-adornment-sm .mud-input-adornment p,
.pdv-adornment-sm .mud-input-adornment span {
    font-size: 0.65rem !important;
    line-height: 1 !important;
}

/* botoes do rodape do pdv*/
/* Centraliza e cria gap fixo entre �cone e texto */
.pdv-action-btn .mud-button-label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* troque para flex-start se quiser alinhado � esquerda */
    gap: 6px !important;
    width: 100%;
}

/* Padroniza o espa�o do �cone (resolve �cones "maiores/menores") */
.pdv-action-btn .mud-button-icon-start,
.pdv-action-btn .mud-button-icon-end {
    margin: 0 !important;
    min-width: 10px;
    width: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Opcional: evita varia��o de altura do texto */
.pdv-action-btn {
    line-height: 1 !important;
}

.blur {
    backdrop-filter: blur(10px);
}

.dialog-background-title {
    background: #286bb1;
    color: white;
    margin: 0;
}

.dialog-background .mud-dialog-title.dialog-background-title {
    padding: 6px 16px !important; /* aqui voc� controla a altura do header */
    min-height: 0;
}

/* t�tulo menor e branco */
.dialog-background-title .mud-typography {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

/* deixa o X branco */
.dialog-background-title .mud-dialog-close {
    color: white;
}

.dialog-background-surface {
    padding: 8px 12px; /* bem pouco padding geral */
}

/* footer pequeno */
.dialog-actions-small {
    padding: 4px 12px 8px 12px;
    min-height: 0;
}

.painel-resumo {
    text-align: center;
    padding: 6px 0px;
    border-radius: 0;
}

.painel-resumo-azul {
    background-color: #286bb1;
    color: white;
}

.painel-resumo-valor {
    font-size: 18px;
    font-weight: 700;
}

.botao-header-retornar {
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 10px;
}

/* zera o padding padr�o do conte�do do MudDialog */
.dialog-background .mud-dialog-content {
    padding: 0 !important;
}

/* como voc� usa ContentClass, garanta que ele tamb�m n�o adicione padding */
.dialog-background-surface {
    padding: 0 !important;
}

/* remove o "respiro" do dialog */
.dialog-no-pad.mud-dialog {
    padding: 0 !important;
}

/* remove o padding interno do conte�do (as �bordas� laterais) */
.dialog-no-pad .mud-dialog-content {
    padding: 0 !important;
}

/* opcional: mant�m um padding bonitinho s� nos bot�es */
.dialog-no-pad .mud-dialog-actions {
    padding: 12px 16px !important;
}













