@import '_content/BlazorColorPicker/BlazorColorPicker.bundle.scp.css';
@import '_content/WMBlazorOverlayScrollbars/WMBlazorOverlayScrollbars.bundle.scp.css';

/* _content/Caefe.Portal.Web/Components/Contexts/Vendas/Produtos/Adesao/Dialogs/DialogCriarEditarAdesao.razor.rz.scp.css */
/* ============================================================
   DialogCriarEditarAdesao - Wizard SPA (6 etapas)
   Estilos isolados via Blazor CSS isolation.
   Cores: usam variaveis do tema Xintra (suporta light/dark).
   ============================================================ */

/* ============================
   MODAL CONTAINER
   ============================ */
.modal-content[b-6b9fp5zvi8] {
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    font-size: 0.875rem;
}

.modal-header[b-6b9fp5zvi8] {
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.18), rgba(var(--primary-rgb),0.05));
    border-bottom: 1px solid var(--default-border);
    padding: 0.75rem 1rem;
}

.modal-title[b-6b9fp5zvi8] {
    font-size: 0.95rem;
}

.modal-body[b-6b9fp5zvi8] {
    padding: 0 !important;
}

/* ============================
   STEPPER (indicador de etapas)
   ============================ */
.stepper[b-6b9fp5zvi8] {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 1.25rem 0.75rem;
    background: var(--default-background);
    border-bottom: 1px solid var(--default-border);
    overflow-x: auto;
}

.stepper-item[b-6b9fp5zvi8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    position: relative;
    cursor: pointer;
}

.stepper-item:not(:last-child)[b-6b9fp5zvi8]::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--default-border);
    margin: 0 0.5rem;
    transition: background 0.4s;
}

.stepper-item.completed:not(:last-child)[b-6b9fp5zvi8]::after {
    background: linear-gradient(90deg, rgb(var(--success-rgb)), rgb(var(--primary-rgb)));
}

.step-circle[b-6b9fp5zvi8] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--default-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.stepper-item.active .step-circle[b-6b9fp5zvi8] {
    background: rgb(var(--primary-rgb));
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb),0.25);
    border-color: rgba(var(--primary-rgb),0.5);
}

.stepper-item.completed .step-circle[b-6b9fp5zvi8] {
    background: rgb(var(--success-rgb));
    color: #fff;
}

.step-label[b-6b9fp5zvi8] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.step-label .step-title[b-6b9fp5zvi8] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--default-text-color);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-label .step-sub[b-6b9fp5zvi8] {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.stepper-item.active .step-title[b-6b9fp5zvi8] { color: var(--default-text-color); font-weight: 700; }
.stepper-item.completed .step-title[b-6b9fp5zvi8] { color: rgb(var(--success-rgb)); }

/* ============================
   BARRA DE TITULO DA ETAPA
   ============================ */
.step-title-bar[b-6b9fp5zvi8] {
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.10), rgba(var(--primary-rgb),0.02));
    border-bottom: 1px solid var(--default-border);
    padding: 0.65rem 1.25rem;
    width: 100%;
}

.step-title-bar .step-title-text[b-6b9fp5zvi8] {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.step-title-bar .step-title-sub[b-6b9fp5zvi8] {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Caixa de busca embutida no title-bar (etapa 1).
   Forca altura fixa para evitar stretch do flex parent. */
.step-title-bar .search-titular[b-6b9fp5zvi8] {
    align-self: center;
}

.step-title-bar .search-titular .input-group[b-6b9fp5zvi8] {
    height: 32px;
}

.step-title-bar .search-titular .input-group > .form-control[b-6b9fp5zvi8],
.step-title-bar .search-titular .input-group > .input-group-text[b-6b9fp5zvi8],
.step-title-bar .search-titular .input-group > .btn[b-6b9fp5zvi8] {
    height: 32px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
}

.step-title-bar .search-titular .input-group > .btn[b-6b9fp5zvi8] {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    white-space: nowrap;
}

/* ============================
   STEP CONTENT (area dinamica)
   ============================ */
.step-content-wrapper[b-6b9fp5zvi8] {
    position: relative;
    min-height: 420px;
    max-height: 60vh;
    padding: 1rem 1.25rem;
    background-color: var(--default-background);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--default-border) var(--default-background);
}

.step-content-wrapper[b-6b9fp5zvi8]::-webkit-scrollbar { width: 8px; }
.step-content-wrapper[b-6b9fp5zvi8]::-webkit-scrollbar-track { background: var(--default-background); }
.step-content-wrapper[b-6b9fp5zvi8]::-webkit-scrollbar-thumb { background: var(--default-border); border-radius: 4px; }
.step-content-wrapper[b-6b9fp5zvi8]::-webkit-scrollbar-thumb:hover { background: rgb(var(--primary-rgb)); }

/* ============================
   CARDS GENERICOS
   ============================ */
.custom-card[b-6b9fp5zvi8] {
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    border-radius: 10px;
}

.custom-card > .card-header[b-6b9fp5zvi8] {
    background-color: rgba(var(--primary-rgb),0.03);
    border-bottom: 1px solid var(--default-border);
    padding: 0.5rem 0.875rem;
}

.custom-card > .card-header .card-title[b-6b9fp5zvi8] {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ============================
   CARDS DE SELECAO (produto, variacao, pessoa, titular)
   ============================ */
.selectable-card[b-6b9fp5zvi8] {
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.selectable-card:hover[b-6b9fp5zvi8] {
    border-color: rgb(var(--primary-rgb));
    transform: translateY(-2px);
}

.selectable-card.selected[b-6b9fp5zvi8] {
    border-color: rgb(var(--success-rgb));
    background-color: rgba(var(--success-rgb),0.10);
}

.selectable-card.selected-info[b-6b9fp5zvi8] {
    border-color: rgb(var(--info-rgb));
    background-color: rgba(var(--info-rgb), 0.18);
}

.selectable-card .selection-indicator[b-6b9fp5zvi8] {
    position: absolute;
    top: 6px;
    right: 6px;
}

.scroll-v[b-6b9fp5zvi8] {
    /* Espaco para o translateY(-2px) do hover dos cards. */
    padding-top: 4px;
}

/* Cards de produto */
.product-card[b-6b9fp5zvi8] {
    min-height: 54px;
    height: 100%;
    position: relative;
    padding: 0.4rem 0.6rem;
    align-items: center !important;
}

.product-card .prod-name[b-6b9fp5zvi8] {
    font-size: 0.78rem;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card .prod-icon[b-6b9fp5zvi8] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(var(--info-rgb), 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cards de titular (lista vertical) */
.titular-card[b-6b9fp5zvi8] {
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
    padding: 0.6rem 0.85rem;
}

.titular-card:hover[b-6b9fp5zvi8] { border-color: rgb(var(--primary-rgb)); }

.titular-card.selected[b-6b9fp5zvi8] {
    border-color: rgb(var(--primary-rgb));
    background-color: rgba(var(--primary-rgb), 0.15);
}

.titular-card.inadimplente[b-6b9fp5zvi8] {
    border-color: rgba(var(--danger-rgb), 0.45);
    background-color: rgba(var(--danger-rgb), 0.07);
}

.titular-card.inadimplente:hover[b-6b9fp5zvi8] {
    border-color: rgb(var(--danger-rgb));
    background-color: rgba(var(--danger-rgb), 0.10);
}

.titular-card.bloqueada-todos[b-6b9fp5zvi8] {
    border-color: rgba(var(--danger-rgb), 0.55);
    background-color: rgba(var(--danger-rgb), 0.10);
}

.titular-card.bloqueada-todos:hover[b-6b9fp5zvi8] {
    border-color: rgba(var(--danger-rgb), 0.55);
    background-color: rgba(var(--danger-rgb), 0.10);
}

.titular-avatar[b-6b9fp5zvi8] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.15);
    color: rgb(var(--primary-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Cards de beneficiarios (etapa 4) - layout compacto estilo template */
.beneficiario-card[b-6b9fp5zvi8] {
    position: relative;
    width: 165px;
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.5rem 0.4rem 0.4rem;
    display: flex;
    flex-direction: column;
}

.beneficiario-card:hover[b-6b9fp5zvi8] {
    border-color: rgb(var(--primary-rgb));
}

.beneficiario-card.selected[b-6b9fp5zvi8] {
    border-color: rgb(var(--success-rgb));
    background-color: rgba(var(--success-rgb), 0.06);
}

.beneficiario-card.ja-contratado[b-6b9fp5zvi8] {
    border-color: rgba(var(--warning-rgb), 0.5);
    background-color: rgba(var(--warning-rgb), 0.05);
    cursor: not-allowed;
    opacity: 0.7;
}

.beneficiario-card.ja-contratado:hover[b-6b9fp5zvi8] {
    border-color: rgba(var(--warning-rgb), 0.5);
}

.beneficiario-check[b-6b9fp5zvi8] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
}

/* Wrapper do avatar (relativo) para posicionar a estrela */
.beneficiario-avatar-wrapper[b-6b9fp5zvi8] {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0.25rem auto 0.4rem;
}

.beneficiario-avatar[b-6b9fp5zvi8] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.15);
    color: rgb(var(--primary-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    overflow: hidden;
}

.beneficiario-avatar img[b-6b9fp5zvi8] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Estrela do titular: sobreposta no canto inferior-direito do avatar */
.beneficiario-star[b-6b9fp5zvi8] {
    position: absolute;
    right: -4px;
    bottom: -2px;
    color: #f5b849;
    font-size: 1.1rem;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.beneficiario-nome[b-6b9fp5zvi8] {
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.15;
    color: var(--default-text-color);
    word-break: break-word;
    text-align: center;
    padding: 0 0.25rem;
}

.beneficiario-info[b-6b9fp5zvi8] {
    margin-top: auto;
}

.beneficiario-info .info-row[b-6b9fp5zvi8] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.beneficiario-info .info-row i[b-6b9fp5zvi8] {
    color: var(--text-muted);
    font-size: 0.78rem;
    flex-shrink: 0;
}

/* Cards de pessoa (legacy - manter para compat) */
.person-card[b-6b9fp5zvi8] {
    width: 165px;
    min-height: 200px;
    position: relative;
}

.person-card .name[b-6b9fp5zvi8] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
    word-break: break-word;
    width: 100%;
}

.person-card .person-header[b-6b9fp5zvi8] {
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.person-card .person-header .name[b-6b9fp5zvi8] {
    min-height: 1.95em;
}

/* Cards de variacao */
.variation-card[b-6b9fp5zvi8] {
    background-color: var(--custom-white);
    border: 1px solid var(--default-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.variation-card:hover[b-6b9fp5zvi8] { border-color: rgb(var(--warning-rgb)); }

.variation-card.selected[b-6b9fp5zvi8] {
    border-color: rgb(var(--warning-rgb));
    background-color: rgba(var(--warning-rgb), 0.15);
}

/* ============================
   FORM CONTROLS COMPACTOS
   ============================ */
.form-control[b-6b9fp5zvi8],
.form-select[b-6b9fp5zvi8] {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.form-control-sm[b-6b9fp5zvi8],
.form-select-sm[b-6b9fp5zvi8],
.input-group-sm > .form-control[b-6b9fp5zvi8],
.input-group-sm > .form-select[b-6b9fp5zvi8],
.input-group-sm > .input-group-text[b-6b9fp5zvi8] {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.form-label[b-6b9fp5zvi8] {
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
}

.config-label[b-6b9fp5zvi8] {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.15rem;
    line-height: 1.1;
}

/* Inputs compactos da etapa 5 (alinhados com tamanho do grid de valores) */
.step-pane-cobranca .form-control[b-6b9fp5zvi8],
.step-pane-cobranca .form-select[b-6b9fp5zvi8] {
    font-size: 0.72rem;
}

/* ============================
   GRID DE VALORES POR BENEFICIARIO (etapa 5)
   ============================ */
.valores-scroll[b-6b9fp5zvi8] {
    max-height: 232px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--default-border) var(--default-background);
}

.valores-scroll[b-6b9fp5zvi8]::-webkit-scrollbar { width: 8px; }
.valores-scroll[b-6b9fp5zvi8]::-webkit-scrollbar-track { background: var(--default-background); }
.valores-scroll[b-6b9fp5zvi8]::-webkit-scrollbar-thumb { background: var(--default-border); border-radius: 4px; }

.tb-valores[b-6b9fp5zvi8] {
    background: transparent;
    font-size: 0.72rem;
}

.tb-valores thead th[b-6b9fp5zvi8] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.5rem;
    background: transparent;
    border-bottom: 1px solid var(--default-border);
    position: sticky;
    top: 0;
    z-index: 1;
}

.tb-valores tbody td[b-6b9fp5zvi8] {
    padding: 0.35rem 0.5rem;
    vertical-align: middle;
}

/* ============================
   FOOTER (navegacao)
   ============================ */
.wizard-footer[b-6b9fp5zvi8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--default-background);
    border-top: 1px solid var(--default-border);
}

.wizard-footer .step-progress-text[b-6b9fp5zvi8] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.wizard-footer .btn[b-6b9fp5zvi8] {
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
}

/* ============================
   ETAPA 6 - RESUMO
   ============================ */
.resumo-header[b-6b9fp5zvi8] {
    background: rgba(var(--primary-rgb),0.04);
    border: 1px solid var(--default-border);
    border-radius: 6px;
}

.benef-row[b-6b9fp5zvi8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0.5rem;
    background: rgba(var(--primary-rgb),0.04);
    border: 1px solid var(--default-border);
    border-radius: 6px;
    font-size: 0.74rem;
    line-height: 1.2;
}

.benef-row .avatar-mini[b-6b9fp5zvi8] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(var(--primary-rgb)), rgb(var(--purple-rgb)));
    color: #fff;
    font-size: 0.58rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.benef-row .avatar-mini.is-titular[b-6b9fp5zvi8] {
    background: linear-gradient(135deg, rgb(var(--warning-rgb)), rgb(var(--danger-rgb)));
}

.benef-row .b-nome[b-6b9fp5zvi8] {
    font-weight: 600;
    color: var(--default-text-color);
    min-width: 0;
    flex-shrink: 1;
}

.benef-row .b-meta[b-6b9fp5zvi8] {
    color: var(--text-muted);
    font-size: 0.68rem;
}

.benef-row .b-valor[b-6b9fp5zvi8] {
    font-weight: 600;
    color: rgb(var(--success-rgb));
    font-size: 0.78rem;
    margin-left: auto;
    white-space: nowrap;
}

/* Resumo de cobranca (etapa 6) - labels sobre valores */
.cobranca-resumo .cr-lbl[b-6b9fp5zvi8] {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}

.cobranca-resumo .cr-val[b-6b9fp5zvi8] {
    display: block;
    font-size: 0.78rem;
    color: var(--default-text-color);
    font-weight: 600;
    line-height: 1.2;
}

/* Totais */
.summary-row[b-6b9fp5zvi8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0;
    border-bottom: 1px dashed var(--default-border);
    min-height: 0;
}

.summary-row:last-child[b-6b9fp5zvi8] { border-bottom: 0; }
.summary-row .lbl[b-6b9fp5zvi8] { color: var(--text-muted); font-size: 0.72rem; }
.summary-row .val[b-6b9fp5zvi8] { font-weight: 600; color: var(--default-text-color); font-size: 0.78rem; }

/* Input "desconto" estilizado como label, mas editavel */
.desconto-edit[b-6b9fp5zvi8] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(var(--primary-rgb),0.08);
    border: 1px dashed rgba(var(--primary-rgb),0.3);
    transition: background 0.15s ease, border-color 0.15s ease;
    cursor: text;
}

.desconto-edit:hover[b-6b9fp5zvi8] {
    background: rgba(var(--primary-rgb),0.14);
    border-color: rgba(var(--primary-rgb),0.5);
}

.desconto-edit:focus-within[b-6b9fp5zvi8] {
    background: rgba(var(--primary-rgb),0.18);
    border-style: solid;
    border-color: rgb(var(--primary-rgb));
    outline: none;
}

.inp-flat[b-6b9fp5zvi8] {
    background: transparent;
    border: none;
    outline: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    padding: 0;
    margin: 0;
    width: 60px;
    -moz-appearance: textfield;
}

.inp-flat[b-6b9fp5zvi8]::-webkit-outer-spin-button,
.inp-flat[b-6b9fp5zvi8]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================
   ALERTAS / BADGES COMPACTOS
   ============================ */
.alert[b-6b9fp5zvi8] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

.badge[b-6b9fp5zvi8] {
    font-weight: 500;
}
/* _content/Caefe.Portal.Web/Components/Contexts/Vendas/Produtos/Cadastro/Dialogs/DialogCriarEditarProduto/DialogCriarEditarProduto.razor.rz.scp.css */
/* ====================================================
   PRD Wizard — estilos do dialog de cadastro de produto
   Usa tokens Xintra (--primary-rgb, --default-border, etc.)
   ==================================================== */
.prd-wizard[b-1pjkfueoef] {
    border-radius: 12px;
    overflow: hidden;
}

.prd-wizard-header[b-1pjkfueoef] {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18), rgba(var(--primary-rgb), 0.05));
    padding: 0.75rem 1rem;
}

/* ============= STEPPER ============= */
[b-1pjkfueoef] .prd-stepper {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem 0.75rem;
    background: var(--default-background, rgba(0, 0, 0, 0.02));
    border-bottom: 1px solid var(--default-border, rgba(0, 0, 0, 0.1));
    overflow-x: auto;
}

[b-1pjkfueoef] .prd-step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    position: relative;
    cursor: pointer;
}

[b-1pjkfueoef] .prd-step-item:not(:last-child)::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--default-border, rgba(0, 0, 0, 0.1));
    margin: 0 0.5rem;
    transition: background 0.4s;
}

[b-1pjkfueoef] .prd-step-item.completed:not(:last-child)::after {
    background: linear-gradient(90deg, rgb(var(--success-rgb)), rgb(var(--primary-rgb)));
}

[b-1pjkfueoef] .prd-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--default-border, rgba(0, 0, 0, 0.12));
    color: var(--text-muted, #888);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s;
    border: 2px solid transparent;
}

[b-1pjkfueoef] .prd-step-item.active .prd-step-circle {
    background: rgb(var(--primary-rgb));
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.25);
    border-color: rgba(var(--primary-rgb), 0.5);
}

[b-1pjkfueoef] .prd-step-item.completed .prd-step-circle {
    background: rgb(var(--success-rgb));
    color: #fff;
}

[b-1pjkfueoef] .prd-step-label {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

[b-1pjkfueoef] .prd-step-title {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-1pjkfueoef] .prd-step-sub {
    font-size: 0.68rem;
    color: var(--text-muted, #888);
    white-space: nowrap;
}

[b-1pjkfueoef] .prd-step-item.active .prd-step-title { font-weight: 700; }
[b-1pjkfueoef] .prd-step-item.completed .prd-step-title { color: rgb(var(--success-rgb)); }

/* ============= TITLE BAR ============= */
[b-1pjkfueoef] .prd-step-title-bar {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.10), rgba(var(--primary-rgb), 0.02));
    border-bottom: 1px solid var(--default-border, rgba(0, 0, 0, 0.1));
    padding: 0.65rem 1.25rem;
}

[b-1pjkfueoef] .prd-step-title-text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

[b-1pjkfueoef] .prd-step-title-sub {
    font-size: 0.75rem;
    color: var(--text-muted, #888);
    margin-top: 2px;
}

/* ============= STEP CONTENT ============= */
[b-1pjkfueoef] .prd-step-content {
    padding: 1rem 1.25rem;
    background: var(--default-background, rgba(0, 0, 0, 0.02));
    max-height: 60vh;
    overflow-y: auto;
    min-height: 300px;
}

[b-1pjkfueoef] .prd-alert { margin-bottom: 0.85rem; }

/* ============= AVATAR UPLOAD ============= */
[b-1pjkfueoef] .prd-avatar-upload {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 0.5rem;
    background: rgba(var(--primary-rgb), 0.10);
    color: rgb(var(--primary-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px dashed var(--default-border, rgba(0, 0, 0, 0.1));
    cursor: pointer;
    overflow: hidden;
    transition: all 0.15s;
}

[b-1pjkfueoef] .prd-avatar-upload:hover {
    border-color: rgb(var(--primary-rgb));
    background: rgba(var(--primary-rgb), 0.15);
}

[b-1pjkfueoef] .prd-avatar-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-1pjkfueoef] .prd-avatar-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

[b-1pjkfueoef] .prd-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}

[b-1pjkfueoef] .prd-avatar-upload.has-image:hover .prd-avatar-overlay {
    opacity: 1;
}

/* ============= CONFIG CARD (Etapa 2) ============= */
[b-1pjkfueoef] .prd-config-card {
    max-width: 720px;
    margin: 0 auto;
}

[b-1pjkfueoef] .prd-switch-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--default-border, rgba(0, 0, 0, 0.1));
}

[b-1pjkfueoef] .prd-switch-row:last-child { border-bottom: none; }
[b-1pjkfueoef] .prd-switch-row:first-child { padding-top: 0.25rem; }

[b-1pjkfueoef] .prd-switch-icon {
    width: 28px;
    height: 28px;
    border-radius: 0.4rem;
    background: rgba(var(--primary-rgb), 0.10);
    color: rgb(var(--primary-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

[b-1pjkfueoef] .prd-switch-info {
    flex: 1;
    min-width: 0;
}

[b-1pjkfueoef] .prd-switch-title {
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

[b-1pjkfueoef] .prd-switch-hint {
    font-size: 0.72rem;
    color: var(--text-muted, #888);
    line-height: 1.3;
}

/* ============= TABELA DE VARIAÇÕES (Etapa 3) ============= */
[b-1pjkfueoef] .prd-variacoes-card {
    max-width: 620px;
    margin: 0 auto;
    overflow: hidden;
}

[b-1pjkfueoef] .prd-variacoes-card.preco-variavel {
    max-width: 460px;
}

[b-1pjkfueoef] .prd-variacoes-card.preco-variavel .prd-col-valor {
    display: none;
}

/* Input de valor dentro de input-group: garantir cantos retos
   no lado conectado ao addon "R$" (Bootstrap normalmente faz isso,
   mas tema Xintra estava aplicando border-radius global). */
[b-1pjkfueoef] .prd-table-variacoes .input-group > .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

[b-1pjkfueoef] .prd-table-variacoes .input-group > .input-group-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

[b-1pjkfueoef] .prd-table-variacoes thead th {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #888);
    padding: 0.5rem 0.75rem;
    background: transparent;
    border-bottom: 1px solid var(--default-border, rgba(0, 0, 0, 0.1));
}

[b-1pjkfueoef] .prd-table-variacoes tbody td {
    padding: 0.4rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--default-border, rgba(0, 0, 0, 0.05));
}

[b-1pjkfueoef] .prd-table-variacoes tbody tr:last-child td { border-bottom: none; }

[b-1pjkfueoef] .prd-table-variacoes tbody tr.row-editing td {
    background: rgba(var(--primary-rgb), 0.06);
}

[b-1pjkfueoef] .prd-table-variacoes tbody tr.row-editing td:first-child {
    box-shadow: inset 3px 0 0 rgb(var(--primary-rgb));
}

/* ============= RESUMO (Etapa 4) ============= */
[b-1pjkfueoef] .prd-resumo-header {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--default-border, rgba(0, 0, 0, 0.1));
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

[b-1pjkfueoef] .prd-resumo-avatar {
    width: 48px;
    height: 48px;
    border-radius: 0.4rem;
    background: rgba(var(--primary-rgb), 0.10);
    color: rgb(var(--primary-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    overflow: hidden;
    flex-shrink: 0;
}

[b-1pjkfueoef] .prd-resumo-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-1pjkfueoef] .prd-resumo-nome {
    font-weight: 700;
    font-size: 0.95rem;
}

[b-1pjkfueoef] .prd-resumo-desc {
    font-size: 0.74rem;
    color: var(--text-muted, #888);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

[b-1pjkfueoef] .prd-resumo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--default-border, rgba(0, 0, 0, 0.08));
    font-size: 0.85rem;
}

[b-1pjkfueoef] .prd-resumo-row:last-child { border-bottom: none; }

/* ============= FOOTER ============= */
[b-1pjkfueoef] .prd-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--default-background, rgba(0, 0, 0, 0.02));
    border-top: 1px solid var(--default-border, rgba(0, 0, 0, 0.1));
}

/* Botoes Anterior / Cancelar: o btn-light padrao do Xintra fica com
   baixo contraste no fundo escuro do footer. Reforca borda e
   background neutro para garantir legibilidade nos dois temas. */
[b-1pjkfueoef] .prd-wizard-footer .btn-light {
    background-color: var(--custom-white, #fff);
    border: 1px solid var(--default-border, rgba(0, 0, 0, 0.15));
    color: var(--default-text-color, #212b37);
}

[b-1pjkfueoef] .prd-wizard-footer .btn-light:hover:not(:disabled) {
    background-color: rgba(var(--primary-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.4);
    color: rgb(var(--primary-rgb));
}

[b-1pjkfueoef] .prd-wizard-footer .btn-light:disabled {
    opacity: 0.55;
}
/* _content/Caefe.Portal.Web/Components/Contexts/Vendas/Produtos/Cadastro/Dialogs/DialogDetalhesProduto/DialogDetalhesProduto.razor.rz.scp.css */
/* ====================================================
   PRD Detalhes — modal de visualizacao do produto
   ==================================================== */
.modal-content.prd-detalhes[b-9uorj2319x] {
    border-radius: 12px;
    overflow: hidden;
}

[b-9uorj2319x] .prd-det-header {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--default-border, rgba(0, 0, 0, 0.1));
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

[b-9uorj2319x] .prd-det-avatar {
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    background: rgba(var(--primary-rgb), 0.10);
    color: rgb(var(--primary-rgb));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    overflow: hidden;
    flex-shrink: 0;
}

[b-9uorj2319x] .prd-det-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-9uorj2319x] .prd-det-nome {
    font-weight: 700;
    font-size: 1rem;
}

[b-9uorj2319x] .prd-det-id {
    margin-top: 2px;
}

/* Descricao completa: respeita quebras de linha do usuario,
   wrap natural em palavras longas, sem truncar. */
[b-9uorj2319x] .prd-det-desc-full {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--default-text-color);
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Linhas de configuracao / variacao — borda inferior tracejada
   apenas no eixo Y, sem cercar o item nos 4 lados. */
[b-9uorj2319x] .prd-det-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border: 0;
    border-bottom: 1px dashed var(--default-border, rgba(0, 0, 0, 0.12));
}

[b-9uorj2319x] .prd-det-row:last-child {
    border-bottom: 0;
}
/* _content/Caefe.Portal.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-xhgtwpnysr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xhgtwpnysr] {
    flex: 1;
}

.sidebar[b-xhgtwpnysr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xhgtwpnysr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xhgtwpnysr]  a, .top-row[b-xhgtwpnysr]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-xhgtwpnysr]  a:hover, .top-row[b-xhgtwpnysr]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-xhgtwpnysr]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-xhgtwpnysr] {
        justify-content: space-between;
    }

    .top-row[b-xhgtwpnysr]  a, .top-row[b-xhgtwpnysr]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xhgtwpnysr] {
        flex-direction: row;
    }

    .sidebar[b-xhgtwpnysr] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xhgtwpnysr] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xhgtwpnysr]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xhgtwpnysr], article[b-xhgtwpnysr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/Caefe.Portal.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-gzy4sthof8] {
    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='https://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-gzy4sthof8] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-gzy4sthof8] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-gzy4sthof8] {
    font-size: 1.1rem;
}

.bi[b-gzy4sthof8] {
    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-gzy4sthof8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://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-gzy4sthof8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://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-gzy4sthof8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://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");
}

.nav-item[b-gzy4sthof8] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-gzy4sthof8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-gzy4sthof8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-gzy4sthof8]  .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-gzy4sthof8]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-gzy4sthof8]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-gzy4sthof8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-gzy4sthof8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-gzy4sthof8] {
        display: none;
    }

    .nav-scrollable[b-gzy4sthof8] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Caefe.Portal.Web/Components/Shared/Dialogs/MessageBox/MessageBox.razor.rz.scp.css */
/* Centraliza o glyph independentemente da métrica da fonte */
.gd-badge[b-hsgyse7ljg] {
  position: relative;
  display: block;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 0;
  box-sizing: border-box;
  /* Evita distorção por containers flex ancestrais */
  flex: 0 0 auto;
}

.gd-badge > i[b-hsgyse7ljg] {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  display: inline-block;
  pointer-events: none;
}
/* _content/Caefe.Portal.Web/Components/Shared/Inputs/UCReferenciaTextBox/UCReferenciaTextBox.razor.rz.scp.css */
.uc-referencia-textbox[b-t2375rwz8q] {
    position: relative;
}

.uc-referencia-textbox input[b-t2375rwz8q] {
    text-align: center;
    max-width: 120px;
}

.uc-referencia-textbox input[b-t2375rwz8q]::placeholder {
    opacity: 0.6;
}
