/* /Components/AjudaBotao.razor.rz.scp.css */
.ajuda-btn[b-woubz1wwvg] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: 700;
    font-size: .85rem;
    line-height: 1;
    border: 1px solid #c9ccd1;
    color: #6c757d;
    background: transparent;
    cursor: pointer;
    vertical-align: middle;
}

.ajuda-btn:hover[b-woubz1wwvg] {
    background: var(--cor-tema, #0d6efd);
    border-color: transparent;
    color: #fff;
}

.ajuda-backdrop[b-woubz1wwvg] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 1045;
}

.ajuda-painel[b-woubz1wwvg] {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(480px, 92vw);
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, .15);
    z-index: 1046;
    display: flex;
    flex-direction: column;
    animation: ajuda-slide-b-woubz1wwvg .18s ease-out;
}

@keyframes ajuda-slide-b-woubz1wwvg {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.ajuda-painel-cabecalho[b-woubz1wwvg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid #e9ecef;
}

.ajuda-painel-corpo[b-woubz1wwvg] {
    padding: 1.1rem;
    overflow-y: auto;
}
/* /Components/ComponenteFormModal.razor.rz.scp.css */
/* ============================================
   COMPONENTE FORM MODAL - Estilo Moderno
   (Herda o padrão visual do ProdutoFormModal)
   ============================================ */

/* === Overlay === */
.modal-overlay[b-qvzk5ax53d] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: overlayIn-b-qvzk5ax53d 0.2s ease-out;
    padding: 1rem;
}

@keyframes overlayIn-b-qvzk5ax53d {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* === Container === */
.modal-container[b-qvzk5ax53d] {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalIn-b-qvzk5ax53d 0.25s ease-out;
    overflow: hidden;
}

@keyframes modalIn-b-qvzk5ax53d {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === Header === */
.modal-hdr[b-qvzk5ax53d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.modal-hdr-left[b-qvzk5ax53d] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.modal-hdr-emoji[b-qvzk5ax53d] {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.modal-hdr-title[b-qvzk5ax53d] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.modal-hdr-subtitle[b-qvzk5ax53d] {
    font-size: 0.78rem;
    color: #8f9bb3;
    display: block;
    margin-top: 0.1rem;
}

.modal-close[b-qvzk5ax53d] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8f9bb3;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 0.375rem;
    transition: all 0.15s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover[b-qvzk5ax53d] {
    background: #f0f2f5;
    color: #1a1a2e;
}

/* === Body === */
.modal-bdy[b-qvzk5ax53d] {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

/* === Form === */
.modal-form[b-qvzk5ax53d] {
    padding: 1.25rem 1.5rem;
}

.mf-group[b-qvzk5ax53d] {
    margin-bottom: 1rem;
}

.mf-label[b-qvzk5ax53d] {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.375rem;
}

.mf-input[b-qvzk5ax53d],
.mf-textarea[b-qvzk5ax53d],
.mf-select[b-qvzk5ax53d] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.mf-input:focus[b-qvzk5ax53d],
.mf-textarea:focus[b-qvzk5ax53d],
.mf-select:focus[b-qvzk5ax53d] {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.mf-input[b-qvzk5ax53d]::placeholder,
.mf-textarea[b-qvzk5ax53d]::placeholder {
    color: #b0bac9;
}

.mf-select:disabled[b-qvzk5ax53d] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.mf-textarea[b-qvzk5ax53d] {
    resize: vertical;
    min-height: 64px;
}

.mf-row-2[b-qvzk5ax53d] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

/* === Alerts === */
.mf-alert[b-qvzk5ax53d] {
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    font-weight: 500;
}

.mf-alert-error[b-qvzk5ax53d] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.mf-alert-success[b-qvzk5ax53d] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* === Footer === */
.modal-ftr[b-qvzk5ax53d] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f2f5;
    background: #fafbfc;
}

.mf-btn-cancel[b-qvzk5ax53d] {
    padding: 0.55rem 1.125rem;
    background: #fff;
    color: #4a5568;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mf-btn-cancel:hover[b-qvzk5ax53d] {
    background: #f5f7fa;
    border-color: #c8cfd8;
}

.mf-btn-cancel:disabled[b-qvzk5ax53d] {
    opacity: 0.5;
    cursor: not-allowed;
}

.mf-btn-save[b-qvzk5ax53d] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.5rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.mf-btn-save:hover[b-qvzk5ax53d] {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.mf-btn-save:disabled[b-qvzk5ax53d] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* === Responsive === */
@media (max-width: 550px) {
    .modal-container[b-qvzk5ax53d] {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0.75rem;
    }
}
/* /Components/ComponentesCategoriaModal.razor.rz.scp.css */
.modal-overlay[b-ky40x7bqn2] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: overlayIn-b-ky40x7bqn2 0.2s ease-out;
    padding: 1rem;
}

@keyframes overlayIn-b-ky40x7bqn2 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-container[b-ky40x7bqn2] {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: modalIn-b-ky40x7bqn2 0.25s ease-out;
    overflow: hidden;
}

@keyframes modalIn-b-ky40x7bqn2 {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-hdr[b-ky40x7bqn2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.modal-hdr-left[b-ky40x7bqn2] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.modal-hdr-emoji[b-ky40x7bqn2] {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.modal-hdr-title[b-ky40x7bqn2] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.modal-hdr-subtitle[b-ky40x7bqn2] {
    font-size: 0.78rem;
    color: #8f9bb3;
    display: block;
    margin-top: 0.1rem;
}

.modal-close[b-ky40x7bqn2] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8f9bb3;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 0.375rem;
    transition: all 0.15s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover[b-ky40x7bqn2] {
    background: #f0f2f5;
    color: #1a1a2e;
}

.modal-bdy[b-ky40x7bqn2] {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-ftr[b-ky40x7bqn2] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f2f5;
    background: #fafbfc;
}

.mf-btn-cancel[b-ky40x7bqn2] {
    padding: 0.55rem 1.125rem;
    background: #fff;
    color: #4a5568;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mf-btn-cancel:hover[b-ky40x7bqn2] {
    background: #f5f7fa;
    border-color: #c8cfd8;
}

/* === Lista de componentes === */
.comp-cat-lista[b-ky40x7bqn2] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comp-cat-item[b-ky40x7bqn2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    background: #f8f9fb;
    border: 1px solid #edf0f4;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.comp-cat-item:hover[b-ky40x7bqn2] {
    background: #f0f2f8;
}

.comp-cat-nome[b-ky40x7bqn2] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a2e;
}

.comp-cat-preco[b-ky40x7bqn2] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7c3aed;
}

.empty-state-inline[b-ky40x7bqn2] {
    text-align: center;
    padding: 1.5rem 0;
    color: #8f9bb3;
    font-size: 0.875rem;
}
/* /Components/GraficoBarras.razor.rz.scp.css */
.gb[b-xzu61afko8] {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.gb-linha[b-xzu61afko8] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.gb-label[b-xzu61afko8] {
    width: 34%;
    min-width: 90px;
    font-size: .85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-track[b-xzu61afko8] {
    flex: 1;
    background: #f0f0f0;
    border-radius: 5px;
    height: 20px;
    overflow: hidden;
}

.gb-bar[b-xzu61afko8] {
    height: 100%;
    border-radius: 5px;
    min-width: 3px;
    transition: width .35s ease;
}

.gb-valor[b-xzu61afko8] {
    width: 96px;
    text-align: right;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}
/* /Components/ProdutoFormModal.razor.rz.scp.css */
/* ============================================
   PRODUTO FORM MODAL - Estilo Moderno
   ============================================ */

/* === Overlay === */
.modal-overlay[b-ihi69weqim] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: overlayIn-b-ihi69weqim 0.2s ease-out;
    padding: 1rem;
}

@keyframes overlayIn-b-ihi69weqim {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === Container === */
.modal-container[b-ihi69weqim] {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalIn-b-ihi69weqim 0.25s ease-out;
    overflow: hidden;
}

.modal-container.modal-lg[b-ihi69weqim] {
    max-width: 600px;
}

@keyframes modalIn-b-ihi69weqim {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* === Header === */
.modal-hdr[b-ihi69weqim] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
}

.modal-hdr-left[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.modal-hdr-emoji[b-ihi69weqim] {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.modal-hdr-title[b-ihi69weqim] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.modal-hdr-subtitle[b-ihi69weqim] {
    font-size: 0.78rem;
    color: #8f9bb3;
    display: block;
    margin-top: 0.1rem;
}

.modal-close[b-ihi69weqim] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #8f9bb3;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 0.375rem;
    transition: all 0.15s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover[b-ihi69weqim] {
    background: #f0f2f5;
    color: #1a1a2e;
}

.modal-hdr-acoes[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-preview-btn[b-ihi69weqim] {
    background: #edf2ff;
    color: #4a90d9;
    border: 1px solid #c7d8f4;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.modal-preview-btn:hover[b-ihi69weqim] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

/* === Pré-visualização (como o cliente vê) === */
.preview-overlay[b-ihi69weqim] {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
    padding: 1rem;
}

.preview-box[b-ihi69weqim] {
    background: #f0f2f5;
    border-radius: 0.875rem;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.preview-hdr[b-ihi69weqim] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #1f2937;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.preview-close[b-ihi69weqim] {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.preview-tela[b-ihi69weqim] {
    padding: 1rem;
}

/* card identico ao item do cardapio do cliente */
.pv-row[b-ihi69weqim] {
    display: flex;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    padding: 0.875rem;
}

.pv-info[b-ihi69weqim] {
    flex: 1;
    min-width: 0;
}

.pv-nome[b-ihi69weqim] {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.25rem;
}

.pv-desc[b-ihi69weqim] {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pv-tag[b-ihi69weqim] {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    color: #166534;
    background: #f0fdf4;
    border-radius: 1rem;
    padding: 0.1rem 0.5rem;
    margin-bottom: 0.5rem;
}

.pv-preco[b-ihi69weqim] {
    display: flex;
    flex-direction: column;
}

.pv-apartir[b-ihi69weqim] {
    font-size: 0.68rem;
    color: #9ca3af;
}

.pv-valor[b-ihi69weqim] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #16a34a;
}

.pv-img[b-ihi69weqim] {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 0.625rem;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    overflow: hidden;
}

.pv-img img[b-ihi69weqim] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-nota[b-ihi69weqim] {
    font-size: 0.72rem;
    color: #8f9bb3;
    text-align: center;
    margin: 0.75rem 0 0;
}

.preview-box.interativa[b-ihi69weqim] {
    max-width: 430px;
}

.preview-hdr-acoes[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.preview-reload[b-ihi69weqim] {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 0.375rem;
}

.preview-reload:hover[b-ihi69weqim] {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.preview-frame-wrap[b-ihi69weqim] {
    background: #fff;
    height: 70vh;
    max-height: 620px;
}

.preview-frame[b-ihi69weqim] {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.preview-box.interativa .preview-nota[b-ihi69weqim] {
    padding: 0 0.75rem 0.6rem;
}

/* === Body === */
.modal-bdy[b-ihi69weqim] {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.modal-loading[b-ihi69weqim] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

/* === Tabs === */
.modal-tabs[b-ihi69weqim] {
    display: flex;
    border-bottom: 1px solid #f0f2f5;
    padding: 0 1.5rem;
    gap: 0;
    background: #fafbfc;
}

.modal-tab[b-ihi69weqim] {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8f9bb3;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.modal-tab:hover[b-ihi69weqim] {
    color: #4a5568;
    background: rgba(74, 144, 217, 0.04);
}

.modal-tab.active[b-ihi69weqim] {
    color: #4a90d9;
    border-bottom-color: #4a90d9;
}

/* === Form === */
.modal-form[b-ihi69weqim] {
    padding: 1.25rem 1.5rem;
}

.mf-group[b-ihi69weqim] {
    margin-bottom: 1rem;
}

.mf-group.compact[b-ihi69weqim] {
    margin-bottom: 0.625rem;
}

.mf-label[b-ihi69weqim] {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.375rem;
}

.mf-input[b-ihi69weqim],
.mf-textarea[b-ihi69weqim],
.mf-select[b-ihi69weqim] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.mf-input:focus[b-ihi69weqim],
.mf-textarea:focus[b-ihi69weqim],
.mf-select:focus[b-ihi69weqim] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.mf-input[b-ihi69weqim]::placeholder,
.mf-textarea[b-ihi69weqim]::placeholder {
    color: #b0bac9;
}

.mf-input.small[b-ihi69weqim] {
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
}

.mf-select.small[b-ihi69weqim] {
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
}

.mf-textarea[b-ihi69weqim] {
    resize: vertical;
    min-height: 72px;
}

.mf-row-2[b-ihi69weqim] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

/* === Checks === */
.mf-checks[b-ihi69weqim] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mf-check-item[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    transition: background 0.15s;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

.mf-check-item:hover[b-ihi69weqim] {
    background: #f5f7fa;
}

.mf-check-item.inline[b-ihi69weqim] {
    padding: 0;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.mf-checkbox[b-ihi69weqim] {
    width: 16px;
    height: 16px;
    accent-color: #4a90d9;
    cursor: pointer;
    flex-shrink: 0;
}

/* === Componentes Lista === */
.mf-comp-lista[b-ihi69weqim] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mf-comp-item[b-ihi69weqim] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    background: #fafbfc;
    border: 1px solid #f0f2f5;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.mf-comp-item:hover[b-ihi69weqim] {
    background: #f5f7fa;
}

.mf-comp-info[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mf-comp-nome[b-ihi69weqim] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
}

.mf-comp-tipo[b-ihi69weqim] {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mf-comp-tipo.obrig[b-ihi69weqim] {
    background: #eef2ff;
    color: #4338ca;
}

.mf-comp-tipo.opc[b-ihi69weqim] {
    background: #f0fdf4;
    color: #166534;
}

.mf-comp-ver[b-ihi69weqim] {
    font-size: 0.7rem;
    color: #4a90d9;
    opacity: 0.7;
    margin-left: 0.25rem;
    transition: opacity 0.15s;
}

.mf-comp-info:hover .mf-comp-ver[b-ihi69weqim] {
    opacity: 1;
}

.mf-comp-remove[b-ihi69weqim] {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0.35rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: all 0.15s;
}

.mf-comp-remove:hover[b-ihi69weqim] {
    background: #fef2f2;
}

.mf-comp-empty[b-ihi69weqim] {
    font-size: 0.825rem;
    color: #8f9bb3;
    text-align: center;
    padding: 1rem;
    margin: 0;
}

.mf-comp-add[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f2f5;
}

.mf-comp-add .mf-select[b-ihi69weqim] {
    flex: 1;
}

.mf-btn-add[b-ihi69weqim] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.mf-btn-add:hover[b-ihi69weqim] {
    background: #16a34a;
    transform: translateY(-1px);
}

/* === Alerts === */
.mf-alert[b-ihi69weqim] {
    margin: 0 1.5rem 0.75rem;
    padding: 0.55rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    font-weight: 500;
}

.mf-alert-error[b-ihi69weqim] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.mf-alert-success[b-ihi69weqim] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* === Footer === */
.modal-ftr[b-ihi69weqim] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f2f5;
    background: #fafbfc;
}

.mf-btn-cancel[b-ihi69weqim] {
    padding: 0.55rem 1.125rem;
    background: #fff;
    color: #4a5568;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mf-btn-cancel:hover[b-ihi69weqim] {
    background: #f5f7fa;
    border-color: #c8cfd8;
}

.mf-btn-cancel:disabled[b-ihi69weqim] {
    opacity: 0.5;
    cursor: not-allowed;
}

.mf-btn-save[b-ihi69weqim] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.5rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.mf-btn-save:hover[b-ihi69weqim] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
    transform: translateY(-1px);
}

.mf-btn-save:disabled[b-ihi69weqim] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* === Responsive === */
@media (max-width: 550px) {
    .modal-container[b-ihi69weqim],
    .modal-container.modal-lg[b-ihi69weqim] {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0.75rem;
    }

    .mf-row-2[b-ihi69weqim] {
        grid-template-columns: 1fr;
    }

    .modal-tabs[b-ihi69weqim] {
        overflow-x: auto;
        padding: 0 1rem;
    }
}

/* === Foto do produto === */
.mf-foto[b-ihi69weqim] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mf-foto-preview[b-ihi69weqim] {
    width: 96px;
    height: 96px;
    min-width: 96px;
    border-radius: 0.6rem;
    background: #f4f5f7;
    border: 1px solid #e4e7ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    overflow: hidden;
}

.mf-foto-preview img[b-ihi69weqim] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mf-foto-acoes[b-ihi69weqim] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.mf-btn-upload[b-ihi69weqim] {
    display: inline-block;
    background: #4a90d9;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s;
}

.mf-btn-upload:hover[b-ihi69weqim] {
    background: #357abd;
}

.mf-btn-upload.disabled[b-ihi69weqim] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mf-btn-upload[b-ihi69weqim]  input[type="file"] {
    display: none;
}

.mf-btn-foto-remover[b-ihi69weqim] {
    border: none;
    background: transparent;
    color: #d9534f;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.mf-foto-dica[b-ihi69weqim] {
    color: #98a2b3;
    font-size: 0.75rem;
}
/* /Components/ProdutoPreview.razor.rz.scp.css */
.pp-overlay[b-hvsniafl4p] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 1rem;
}

.pp-box[b-hvsniafl4p] {
    background: #f0f2f5;
    border-radius: 0.875rem;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: ppIn-b-hvsniafl4p 0.2s ease-out;
}

.pp-box.interativa[b-hvsniafl4p] {
    max-width: 430px;
}

@keyframes ppIn-b-hvsniafl4p {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.pp-hdr[b-hvsniafl4p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #1f2937;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.pp-hdr-acoes[b-hvsniafl4p] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pp-reload[b-hvsniafl4p], .pp-close[b-hvsniafl4p] {
    background: none;
    border: none;
    color: #cbd5e1;
    line-height: 1;
    cursor: pointer;
    border-radius: 0.375rem;
}

.pp-reload[b-hvsniafl4p] {
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
}

.pp-close[b-hvsniafl4p] {
    font-size: 1.4rem;
}

.pp-reload:hover[b-hvsniafl4p], .pp-close:hover[b-hvsniafl4p] {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.pp-frame-wrap[b-hvsniafl4p] {
    background: #fff;
    height: 72vh;
    max-height: 640px;
}

.pp-frame[b-hvsniafl4p] {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.pp-tela[b-hvsniafl4p] {
    padding: 1rem;
}

.pp-row[b-hvsniafl4p] {
    display: flex;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    padding: 0.875rem;
}

.pp-info[b-hvsniafl4p] {
    flex: 1;
    min-width: 0;
}

.pp-nome[b-hvsniafl4p] {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.25rem;
}

.pp-desc[b-hvsniafl4p] {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pp-valor[b-hvsniafl4p] {
    font-size: 1.05rem;
    font-weight: 800;
    color: #16a34a;
}

.pp-img[b-hvsniafl4p] {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 0.625rem;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.pp-nota[b-hvsniafl4p] {
    font-size: 0.72rem;
    color: #8f9bb3;
    text-align: center;
    margin: 0;
    padding: 0.75rem;
}

.pp-box.interativa .pp-nota[b-hvsniafl4p] {
    padding: 0.6rem 0.75rem;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-i37qxa9fy1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-i37qxa9fy1] {
    flex: 1;
}

.sidebar[b-i37qxa9fy1] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-i37qxa9fy1] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-topo-logo[b-i37qxa9fy1] {
    height: 30px;
    width: 30px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

    .top-row[b-i37qxa9fy1]  a, .top-row[b-i37qxa9fy1]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-i37qxa9fy1]  a:hover, .top-row[b-i37qxa9fy1]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-i37qxa9fy1]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-i37qxa9fy1] {
        justify-content: space-between;
    }

    .top-row[b-i37qxa9fy1]  a, .top-row[b-i37qxa9fy1]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-i37qxa9fy1] {
        flex-direction: row;
    }

    .sidebar[b-i37qxa9fy1] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-i37qxa9fy1] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-i37qxa9fy1]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-i37qxa9fy1], article[b-i37qxa9fy1] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xrvglytzt1] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-xrvglytzt1] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-xrvglytzt1] {
    font-size: 1.1rem;
}

.bi[b-xrvglytzt1] {
    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-xrvglytzt1] {
    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-xrvglytzt1] {
    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-xrvglytzt1] {
    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");
}

/* === Link da loja (destaque para o dono compartilhar com clientes) ===
   Card BRANCO solido com texto escuro: legivel em qualquer cor de sidebar
   (a sidebar segue o tema da loja, que pode ser claro ou escuro). */
.loja-link[b-xrvglytzt1] {
    margin: 0.9rem 0.85rem 0.35rem;
    padding: 0.85rem 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.loja-link-top[b-xrvglytzt1] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.loja-link-titulo[b-xrvglytzt1] {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.loja-link-url[b-xrvglytzt1] {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1a2e;
    text-decoration: none;
    word-break: break-all;
    line-height: 1.2;
}

.loja-link-url:hover[b-xrvglytzt1] {
    text-decoration: underline;
}

.loja-link-acoes[b-xrvglytzt1] {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.loja-link-btn[b-xrvglytzt1] {
    flex: 1;
    text-align: center;
    border: none;
    border-radius: 0.5rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.12s, transform 0.1s;
}

.loja-link-btn:hover[b-xrvglytzt1] {
    transform: translateY(-1px);
    filter: brightness(0.96);
}

/* Botao primario em navy escuro: contraste garantido independente do tema. */
.loja-link-btn.copiar[b-xrvglytzt1] {
    background: #1f2937;
    color: #fff;
}

.loja-link-btn.abrir[b-xrvglytzt1] {
    background: #eef1f6;
    color: #1f2937;
    border: 1px solid #dde2ea;
}

.loja-link-hint[b-xrvglytzt1] {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.35;
}

.nav-item[b-xrvglytzt1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-xrvglytzt1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-xrvglytzt1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-xrvglytzt1]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-xrvglytzt1]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-xrvglytzt1]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-xrvglytzt1] {
        display: none;
    }

    .collapse[b-xrvglytzt1] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-xrvglytzt1] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Componentes/ComponenteLista.razor.rz.scp.css */
/* ============================================
   COMPONENTES - Layout Master-Detail Moderno
   ============================================ */

/* === Page Header === */
.page-header[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.page-header-left[b-u2s8nkss9j] {
    display: flex;
    flex-direction: column;
}

.page-title[b-u2s8nkss9j] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.page-subtitle[b-u2s8nkss9j] {
    font-size: 0.85rem;
    color: #8f9bb3;
    margin-top: 0.15rem;
    display: block;
}

.page-header-actions[b-u2s8nkss9j] {
    display: flex;
    gap: 0.5rem;
}

.btn-novo[b-u2s8nkss9j] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.btn-novo:hover[b-u2s8nkss9j] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
    transform: translateY(-1px);
}

.btn-novo-cat[b-u2s8nkss9j] {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-novo-cat:hover[b-u2s8nkss9j] {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.btn-novo-icon[b-u2s8nkss9j] {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

/* === Stat Cards === */
.stat-row[b-u2s8nkss9j] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.stat-card:hover[b-u2s8nkss9j] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-icon[b-u2s8nkss9j] {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.stat-icon-total[b-u2s8nkss9j] { background: #eef2ff; }
.stat-icon-ativo[b-u2s8nkss9j] { background: #ecfdf5; }
.stat-icon-inativo[b-u2s8nkss9j] { background: #fef3f2; }
.stat-icon-cat[b-u2s8nkss9j] { background: #f5f3ff; }

.stat-info[b-u2s8nkss9j] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-u2s8nkss9j] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.stat-label[b-u2s8nkss9j] {
    font-size: 0.75rem;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* === Formulario Inline === */
.form-inline-card[b-u2s8nkss9j] {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    animation: fadeInUp-b-u2s8nkss9j 0.2s ease-out;
}

.form-inline-title[b-u2s8nkss9j] {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4a5568;
    margin: 0 0 0.875rem 0;
}

.form-inline-row[b-u2s8nkss9j] {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-inline-actions[b-u2s8nkss9j] {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.15rem;
}

/* === Form Fields (reuso do padrao ProdutoFormModal) === */
.mf-group[b-u2s8nkss9j] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 140px;
}

.mf-group.small-group[b-u2s8nkss9j] {
    flex: 0 0 120px;
    min-width: 100px;
}

.mf-label[b-u2s8nkss9j] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mf-input[b-u2s8nkss9j],
.mf-select[b-u2s8nkss9j] {
    padding: 0.55rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #fafbfc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mf-input:focus[b-u2s8nkss9j],
.mf-select:focus[b-u2s8nkss9j] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
    background: #fff;
}

.mf-btn-save[b-u2s8nkss9j] {
    padding: 0.55rem 1.1rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.mf-btn-save:hover[b-u2s8nkss9j] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
}

.mf-btn-cancel[b-u2s8nkss9j] {
    padding: 0.55rem 1.1rem;
    background: #f3f4f6;
    color: #4a5568;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.mf-btn-cancel:hover[b-u2s8nkss9j] {
    background: #e9eaec;
}

/* === Master-Detail Layout === */
.master-detail[b-u2s8nkss9j] {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* === Master Panel (Categorias) === */
.master-panel[b-u2s8nkss9j] {
    border-right: 1px solid #e8ecf1;
    overflow-y: auto;
    max-height: 600px;
    background: #fafbfc;
}

.master-panel[b-u2s8nkss9j]::-webkit-scrollbar { width: 4px; }
.master-panel[b-u2s8nkss9j]::-webkit-scrollbar-thumb { background: #c8cfd8; border-radius: 4px; }
.master-panel[b-u2s8nkss9j]::-webkit-scrollbar-thumb:hover { background: #a0a8b4; }

.master-panel-header[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.125rem;
    border-bottom: 1px solid #f0f2f5;
    background: #f5f6f8;
    position: sticky;
    top: 0;
    z-index: 1;
}

.master-panel-title[b-u2s8nkss9j] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.master-panel-count[b-u2s8nkss9j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.4rem;
    background: #e0e5ec;
    color: #4a5568;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 1rem;
}

/* === Categoria Item === */
.cat-item[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.15s ease;
}

.cat-item:hover[b-u2s8nkss9j] {
    background: #f0f4ff;
}

.cat-item.selecionado[b-u2s8nkss9j] {
    background: #edf2ff;
    border-left: 3px solid #7c3aed;
    padding-left: calc(1.125rem - 3px);
}

.cat-item-emoji[b-u2s8nkss9j] {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.cat-item.selecionado .cat-item-emoji[b-u2s8nkss9j] {
    background: #ede9fe;
}

.cat-item-info[b-u2s8nkss9j] {
    flex: 1;
    min-width: 0;
}

.cat-item-nome[b-u2s8nkss9j] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-item-desc[b-u2s8nkss9j] {
    font-size: 0.75rem;
    color: #8f9bb3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}

.cat-item-count[b-u2s8nkss9j] {
    flex-shrink: 0;
}

.count-badge[b-u2s8nkss9j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.4rem;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 1rem;
}

.cat-item.selecionado .count-badge[b-u2s8nkss9j] {
    background: #ddd6fe;
    color: #5b21b6;
}

/* === Detail Panel === */
.detail-panel[b-u2s8nkss9j] {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    max-height: 600px;
    background: #fff;
}

.detail-panel[b-u2s8nkss9j]::-webkit-scrollbar { width: 4px; }
.detail-panel[b-u2s8nkss9j]::-webkit-scrollbar-thumb { background: #c8cfd8; border-radius: 4px; }

/* === Detail Empty State === */
.detail-empty[b-u2s8nkss9j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    text-align: center;
}

.detail-empty-icon[b-u2s8nkss9j] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.detail-empty-text[b-u2s8nkss9j] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.detail-empty-subtext[b-u2s8nkss9j] {
    font-size: 0.825rem;
    color: #8f9bb3;
    margin: 0.35rem 0 0;
}

/* === Detail Header === */
.detail-header[b-u2s8nkss9j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f2f5;
    animation: fadeInUp-b-u2s8nkss9j 0.25s ease-out;
}

.detail-header-left[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-emoji[b-u2s8nkss9j] {
    font-size: 2.25rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 0.875rem;
    flex-shrink: 0;
}

.detail-nome[b-u2s8nkss9j] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.35rem 0;
}

.detail-descricao[b-u2s8nkss9j] {
    display: block;
    font-size: 0.825rem;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.detail-categoria-badge[b-u2s8nkss9j] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #5b21b6;
    background: #ede9fe;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-header-actions[b-u2s8nkss9j] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-action[b-u2s8nkss9j] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-desativar[b-u2s8nkss9j] {
    color: #dc3545;
    background: #fef2f2;
    border-color: #fecaca;
}

.btn-desativar:hover[b-u2s8nkss9j] {
    background: #fee2e2;
    border-color: #dc3545;
}

.btn-sm-action[b-u2s8nkss9j] {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
}

/* === Detail Section === */
.detail-section[b-u2s8nkss9j] {
    margin-bottom: 1.5rem;
    animation: fadeInUp-b-u2s8nkss9j 0.3s ease-out;
}

.detail-section-title[b-u2s8nkss9j] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.875rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f5f6f8;
}

/* === Componentes Grid === */
.componentes-grid[b-u2s8nkss9j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.comp-card[b-u2s8nkss9j] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.875rem 1rem;
    background: #fafbfc;
    border: 1px solid #e8ecf1;
    border-radius: 0.625rem;
    transition: all 0.15s ease;
}

.comp-card:hover[b-u2s8nkss9j] {
    border-color: #ddd6fe;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
    cursor: pointer;
}

.comp-card:hover .comp-card-edit-hint[b-u2s8nkss9j] {
    opacity: 1;
}

.comp-card.inativo[b-u2s8nkss9j] {
    opacity: 0.5;
}

.comp-card-edit-hint[b-u2s8nkss9j] {
    font-size: 0.7rem;
    color: #7c3aed;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.15s ease;
    margin-top: 0.15rem;
}

.comp-card-header[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comp-card-nome[b-u2s8nkss9j] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
}

.comp-card-desc[b-u2s8nkss9j] {
    font-size: 0.78rem;
    color: #8f9bb3;
}

.comp-card-footer[b-u2s8nkss9j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f2f5;
}

.comp-card-preco[b-u2s8nkss9j] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a90d9;
}

.comp-card-cod[b-u2s8nkss9j] {
    font-size: 0.7rem;
    color: #8f9bb3;
    font-weight: 500;
    margin-top: 0.2rem;
}

.comp-inativo-label[b-u2s8nkss9j] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === Status Dot === */
.status-dot[b-u2s8nkss9j] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.ativo[b-u2s8nkss9j] {
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.status-dot.inativo-dot[b-u2s8nkss9j] {
    background-color: #9ca3af;
}

/* === Empty States === */
.empty-state[b-u2s8nkss9j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-icon[b-u2s8nkss9j] {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

.empty-text[b-u2s8nkss9j] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.empty-subtext[b-u2s8nkss9j] {
    font-size: 0.8rem;
    color: #8f9bb3;
    margin: 0.25rem 0 0;
}

.empty-state-inline[b-u2s8nkss9j] {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #8f9bb3;
    background: #fafbfc;
    border: 1px dashed #e0e5ec;
    border-radius: 0.625rem;
}

/* === Animations === */
@keyframes fadeInUp-b-u2s8nkss9j {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive === */
@media (max-width: 900px) {
    .stat-row[b-u2s8nkss9j] {
        grid-template-columns: repeat(2, 1fr);
    }

    .master-detail[b-u2s8nkss9j] {
        grid-template-columns: 1fr;
    }

    .master-panel[b-u2s8nkss9j] {
        border-right: none;
        border-bottom: 1px solid #e8ecf1;
        max-height: 280px;
    }

    .detail-panel[b-u2s8nkss9j] {
        max-height: none;
    }

    .page-header[b-u2s8nkss9j] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .page-header-actions[b-u2s8nkss9j] {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .stat-row[b-u2s8nkss9j] {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .form-inline-row[b-u2s8nkss9j] {
        flex-direction: column;
    }

    .componentes-grid[b-u2s8nkss9j] {
        grid-template-columns: 1fr;
    }

    .detail-header[b-u2s8nkss9j] {
        flex-direction: column;
        gap: 1rem;
    }

    .detail-header-actions[b-u2s8nkss9j] {
        width: 100%;
    }
}
/* /Pages/Configuracoes/Impressao.razor.rz.scp.css */
.imp-grid[b-n82aw9hbjx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    align-items: start;
}

.imp-card[b-n82aw9hbjx] {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 14px;
    padding: 1.25rem 1.4rem 1.35rem;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
}

.imp-card-wide[b-n82aw9hbjx] { grid-column: 1 / -1; }

.imp-card-title[b-n82aw9hbjx] {
    margin: 0 0 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #f1f3f5;
    font-size: 1.02rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.imp-muted[b-n82aw9hbjx] { color: #6b7280; font-size: 0.85rem; }

/* ── Banner de status do agente ── */
.imp-banner[b-n82aw9hbjx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 11px;
    margin-bottom: 1rem;
}

.imp-banner.on[b-n82aw9hbjx] { background: #ecfdf5; border: 1px solid #a7f3d0; }
.imp-banner.off[b-n82aw9hbjx] { background: #fef2f2; border: 1px solid #fecaca; }

.imp-banner-dot[b-n82aw9hbjx] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.imp-banner.on .imp-banner-dot[b-n82aw9hbjx] {
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    animation: imp-pulse-b-n82aw9hbjx 1.8s infinite;
}

.imp-banner.off .imp-banner-dot[b-n82aw9hbjx] { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }

@keyframes imp-pulse-b-n82aw9hbjx {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.imp-banner-info[b-n82aw9hbjx] { display: flex; flex-direction: column; gap: 0.1rem; }
.imp-banner-estado[b-n82aw9hbjx] { font-weight: 700; color: #1f2937; }
.imp-banner.on .imp-banner-estado[b-n82aw9hbjx] { color: #065f46; }
.imp-banner.off .imp-banner-estado[b-n82aw9hbjx] { color: #991b1b; }

/* ── Pareamento ── */
.imp-pareamento[b-n82aw9hbjx] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.imp-codigo[b-n82aw9hbjx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.6rem 1.1rem;
    border: 2px dashed #c7d2fe;
    background: #eef2ff;
    border-radius: 12px;
}

.imp-codigo-label[b-n82aw9hbjx] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
    font-weight: 700;
}

.imp-codigo-valor[b-n82aw9hbjx] {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-family: 'Courier New', monospace;
    color: #4338ca;
    line-height: 1.1;
}

.imp-codigo-hint[b-n82aw9hbjx] { font-size: 0.76rem; color: #6b7280; }

.imp-subtitulo[b-n82aw9hbjx] {
    margin: 1.2rem 0 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #374151;
}

/* ── Tabelas ── */
.imp-tabela[b-n82aw9hbjx] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    overflow: hidden;
}

.imp-tabela thead th[b-n82aw9hbjx] {
    text-align: left;
    padding: 0.6rem 0.7rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    background: #f8fafc;
    border-bottom: 1px solid #eef0f3;
}

.imp-tabela tbody td[b-n82aw9hbjx] {
    padding: 0.65rem 0.7rem;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.imp-tabela tbody tr:last-child td[b-n82aw9hbjx] { border-bottom: none; }
.imp-tabela tbody tr:hover[b-n82aw9hbjx] { background: #fafbfc; }

/* ── Saúde ── */
.imp-saude[b-n82aw9hbjx] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

.imp-saude.ok[b-n82aw9hbjx] { background: #dcfce7; color: #166534; }
.imp-saude.warn[b-n82aw9hbjx] { background: #fef3c7; color: #92400e; }
.imp-saude.off[b-n82aw9hbjx] { background: #fee2e2; color: #991b1b; }
.imp-saude.muted[b-n82aw9hbjx] { background: #eef1f5; color: #475569; }

/* ── Form / config ── */
.imp-check[b-n82aw9hbjx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.4rem 0 0.2rem;
    font-size: 0.92rem;
    color: #374151;
    cursor: pointer;
}

.imp-acoes[b-n82aw9hbjx] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.imp-ok[b-n82aw9hbjx] { color: #16a34a; font-weight: 600; font-size: 0.88rem; }
.imp-vias[b-n82aw9hbjx] { width: 4rem; }

/* ── Setores (chips) ── */
.imp-setor-add[b-n82aw9hbjx] {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    max-width: 440px;
}

.imp-setor-chips[b-n82aw9hbjx] { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.imp-setor-chip[b-n82aw9hbjx] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 0.35rem 0.5rem 0.35rem 0.85rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.imp-setor-x[b-n82aw9hbjx] {
    border: none;
    background: #c7d2fe;
    color: #312e81;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s ease;
}

.imp-setor-x:hover[b-n82aw9hbjx] { background: #a5b4fc; }

@media (max-width: 900px) {
    .imp-grid[b-n82aw9hbjx] { grid-template-columns: 1fr; }
    .imp-setor-add[b-n82aw9hbjx] { max-width: none; }
}
/* /Pages/Configuracoes/ImpressaoHistorico.razor.rz.scp.css */
.hist-tabela[b-0vowhjryv1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 0.6rem;
    overflow: hidden;
}

.hist-tabela th[b-0vowhjryv1],
.hist-tabela td[b-0vowhjryv1] {
    text-align: left;
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid #eef0f3;
}

.hist-tabela th[b-0vowhjryv1] {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    background: #f8fafc;
}

.hist-evento[b-0vowhjryv1] {
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
}

.hist-evento.ok[b-0vowhjryv1] { background: #dcfce7; color: #166534; }
.hist-evento.erro[b-0vowhjryv1] { background: #fee2e2; color: #991b1b; }
.hist-evento.warn[b-0vowhjryv1] { background: #fef3c7; color: #92400e; }
.hist-evento.muted[b-0vowhjryv1] { background: #eef1f5; color: #475569; }
/* /Pages/Configuracoes/Integracoes.razor.rz.scp.css */
/* ============================================
   INTEGRAÇÕES (API OpenDelivery)
   ============================================ */

.intg[b-dbprog9c22] { max-width: 920px; }

/* === Header === */
.intg-head[b-dbprog9c22] { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem; }
.intg-head-spacer[b-dbprog9c22] { flex: 1; }
.intg-head-icon[b-dbprog9c22] {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}
.intg-title[b-dbprog9c22] { font-size: 1.45rem; font-weight: 700; color: #1a1a2e; margin: 0; letter-spacing: -0.01em; }
.intg-sub[b-dbprog9c22] { font-size: 0.84rem; color: #8a93a8; margin: 0.12rem 0 0; }

/* === Buttons === */
.intg-btn[b-dbprog9c22] {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 1rem; border-radius: 0.6rem;
    font-size: 0.84rem; font-weight: 600; cursor: pointer; text-decoration: none;
    border: 1px solid transparent; transition: all 0.15s ease; white-space: nowrap;
}
.intg-btn-primary[b-dbprog9c22] {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
}
.intg-btn-primary:hover:not(:disabled)[b-dbprog9c22] { transform: translateY(-1px); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 45%, transparent); }
.intg-btn-primary:disabled[b-dbprog9c22] { opacity: 0.55; cursor: default; }
.intg-btn-ghost[b-dbprog9c22] { background: #fff; color: #43506b; border-color: #e2e6ef; }
.intg-btn-ghost:hover[b-dbprog9c22] { background: #f6f8fc; border-color: #cdd4e2; }

/* === Card === */
.card[b-dbprog9c22] {
    background: #fff; border: 1px solid #e7eaf1; border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.05);
    margin-bottom: 1.1rem; overflow: hidden;
}
.card-hd[b-dbprog9c22] { padding: 1rem 1.25rem 0.85rem; border-bottom: 1px solid #f0f2f7; display: flex; align-items: baseline; gap: 0.6rem; }
.card-title[b-dbprog9c22] { font-size: 0.98rem; font-weight: 700; color: #1a1a2e; margin: 0; }
.card-desc[b-dbprog9c22] { font-size: 0.78rem; color: #9aa3b8; }
.card-bd[b-dbprog9c22] { padding: 1.25rem; }

/* === Field label / URL chip === */
.field-label[b-dbprog9c22] { display: block; font-size: 0.72rem; font-weight: 700; color: #7a8499; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.45rem; }
.url-chip[b-dbprog9c22] { display: flex; align-items: center; gap: 0.5rem; background: #f5f7fb; border: 1px solid #e7eaf1; border-radius: 0.6rem; padding: 0.5rem 0.55rem 0.5rem 0.8rem; }
.url-chip code[b-dbprog9c22] { flex: 1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.82rem; color: #2b3450; white-space: nowrap; overflow-x: auto; }
.url-chip code[b-dbprog9c22]::-webkit-scrollbar { height: 0; }

.icon-btn[b-dbprog9c22] { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 0.5rem; border: 1px solid #e2e6ef; background: #fff; color: #5a667e; cursor: pointer; transition: all 0.15s; flex-shrink: 0; }
.icon-btn:hover[b-dbprog9c22] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* === Conexão === */
.conn-grid[b-dbprog9c22] { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: end; margin-bottom: 1.1rem; }
.conn-steps[b-dbprog9c22] { display: flex; flex-direction: column; gap: 0.5rem; }
.conn-step[b-dbprog9c22] { display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; color: #5b6a85; }
.conn-step b[b-dbprog9c22] { width: 20px; height: 20px; border-radius: 50%; background: #eef2fb; background: color-mix(in srgb, var(--accent) 13%, #fff); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; }
.conn-actions[b-dbprog9c22] { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* === Quickstart steps === */
.steps[b-dbprog9c22] { display: flex; flex-direction: column; gap: 1.1rem; }
.step[b-dbprog9c22] { display: flex; gap: 0.85rem; }
.step-num[b-dbprog9c22] { width: 26px; height: 26px; border-radius: 50%; background: #eef2fb; background: color-mix(in srgb, var(--accent) 13%, #fff); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }
.step-body[b-dbprog9c22] { flex: 1; min-width: 0; }
.step-title[b-dbprog9c22] { font-size: 0.86rem; font-weight: 600; color: #27304a; margin-bottom: 0.45rem; }
.step-note[b-dbprog9c22] { font-size: 0.72rem; font-weight: 500; color: #9aa3b8; margin-left: 0.4rem; }
.step-hint[b-dbprog9c22] { font-size: 0.76rem; color: #8a93a8; margin-top: 0.45rem; line-height: 1.5; }
.step-hint code[b-dbprog9c22] { background: #eef1f7; padding: 0.05rem 0.32rem; border-radius: 0.3rem; font-size: 0.72rem; color: #475569; }

/* === Code block === */
.code[b-dbprog9c22] { position: relative; }
.code pre[b-dbprog9c22] { margin: 0; background: #1b2030; border-radius: 0.6rem; padding: 0.7rem 0.85rem; overflow-x: auto; }
.code code[b-dbprog9c22] { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.78rem; line-height: 1.55; color: #e6e9f5; white-space: pre; }
.code-copy[b-dbprog9c22] { position: absolute; top: 0.45rem; right: 0.45rem; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 0.45rem; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: #c4cae0; cursor: pointer; transition: all 0.15s; }
.code-copy:hover[b-dbprog9c22] { background: rgba(255,255,255,0.16); color: #fff; }

/* === Nova credencial === */
.new-row[b-dbprog9c22] { display: flex; gap: 0.6rem; }
.inp[b-dbprog9c22] { flex: 1; padding: 0.62rem 0.85rem; border: 1px solid #e2e6ef; border-radius: 0.6rem; font-size: 0.86rem; color: #1a1a2e; background: #fff; outline: none; transition: all 0.15s; }
.inp:focus[b-dbprog9c22] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.inp[b-dbprog9c22]::placeholder { color: #aeb6c6; }

/* === Reveal (secret gerado) === */
.reveal[b-dbprog9c22] { margin-top: 1rem; border: 1px solid #f4d9a8; background: #fffaf0; border-radius: 0.7rem; padding: 1rem; }
.reveal-warn[b-dbprog9c22] { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: #92591b; margin-bottom: 0.85rem; }
.reveal-field[b-dbprog9c22] { margin-bottom: 0.7rem; }
.reveal-field:last-child[b-dbprog9c22] { margin-bottom: 0; }
.reveal-field .url-chip[b-dbprog9c22] { background: #fff; border-color: #f0e2c4; }

/* === Tabela de credenciais === */
.cred-table[b-dbprog9c22] { width: 100%; border-collapse: collapse; }
.cred-table th[b-dbprog9c22] { text-align: left; font-size: 0.7rem; font-weight: 700; color: #9aa3b8; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 0.6rem 0.6rem; border-bottom: 1px solid #eef0f5; }
.cred-table th.right[b-dbprog9c22], .cred-table td.right[b-dbprog9c22] { text-align: right; }
.cred-table td[b-dbprog9c22] { padding: 0.7rem 0.6rem; border-bottom: 1px solid #f2f4f8; font-size: 0.84rem; color: #2b3450; vertical-align: middle; }
.cred-table tr:last-child td[b-dbprog9c22] { border-bottom: none; }
.cred-name[b-dbprog9c22] { font-weight: 600; color: #1a1a2e; }
.id-chip[b-dbprog9c22] { display: inline-flex; align-items: center; gap: 0.4rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.76rem; color: #51607a; background: #f5f7fb; border: 1px solid #eceef4; border-radius: 0.4rem; padding: 0.18rem 0.2rem 0.18rem 0.45rem; }
.id-chip button[b-dbprog9c22] { border: none; background: none; cursor: pointer; color: #9aa3b8; display: inline-flex; padding: 0.1rem; border-radius: 0.25rem; }
.id-chip button:hover[b-dbprog9c22] { color: var(--accent); }

.pill[b-dbprog9c22] { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.74rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 1rem; }
.pill .dot[b-dbprog9c22] { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-on[b-dbprog9c22] { background: #e7f8ee; color: #15803d; }
.pill-off[b-dbprog9c22] { background: #f1f3f7; color: #7a8499; }

.row-actions[b-dbprog9c22] { display: flex; gap: 0.3rem; justify-content: flex-end; flex-wrap: wrap; }
.act[b-dbprog9c22] { font-size: 0.76rem; font-weight: 600; padding: 0.32rem 0.55rem; border-radius: 0.45rem; border: 1px solid #e2e6ef; background: #fff; color: #43506b; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.act:hover[b-dbprog9c22] { background: #f6f8fc; border-color: #cdd4e2; }
.act-danger[b-dbprog9c22] { color: #dc2626; border-color: #f3d3d3; }
.act-danger:hover[b-dbprog9c22] { background: #fdf0f0; border-color: #e9b6b6; }

.empty[b-dbprog9c22] { text-align: center; padding: 1.5rem; color: #9aa3b8; font-size: 0.85rem; }

/* === Toast === */
.toast[b-dbprog9c22] { position: fixed; bottom: 1.2rem; right: 1.2rem; background: #1a1a2e; color: #fff; font-size: 0.82rem; font-weight: 500; padding: 0.55rem 0.95rem; border-radius: 0.55rem; box-shadow: 0 6px 20px rgba(0,0,0,0.22); z-index: 2000; }

@media (max-width: 760px) {
    .conn-grid[b-dbprog9c22] { grid-template-columns: 1fr; align-items: start; }
}
/* /Pages/Configuracoes/LojaConfig.razor.rz.scp.css */
/* ============================================
   LOJA CONFIG - Dados da loja + mapa
   ============================================ */

/* === Page Header === */
.form-page-header[b-wpzqemrddp] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.form-page-title[b-wpzqemrddp] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.form-page-subtitle[b-wpzqemrddp] {
    font-size: 0.825rem;
    color: #8f9bb3;
    display: block;
    margin-top: 0.1rem;
}

/* === Layout === */
.form-layout[b-wpzqemrddp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.form-col-main[b-wpzqemrddp],
.form-col-side[b-wpzqemrddp] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* === Card === */
.form-card[b-wpzqemrddp] {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.form-card-header[b-wpzqemrddp] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f2f5;
    background: #fafbfc;
}

.form-card-title[b-wpzqemrddp] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.form-card-body[b-wpzqemrddp] {
    padding: 1.25rem;
}

/* === Groups === */
.form-group[b-wpzqemrddp] {
    margin-bottom: 1rem;
}

.form-group.compact[b-wpzqemrddp] {
    margin-bottom: 0.25rem;
}

.form-label-custom[b-wpzqemrddp] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.form-label-custom.small[b-wpzqemrddp] {
    font-size: 0.72rem;
}

.form-input[b-wpzqemrddp] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus[b-wpzqemrddp] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.form-input[b-wpzqemrddp]::placeholder {
    color: #b0bac9;
}

.form-input.small[b-wpzqemrddp] {
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
}

.form-row-2col[b-wpzqemrddp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* === Actions === */
.form-actions[b-wpzqemrddp] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 0.25rem;
}

.btn-salvar[b-wpzqemrddp] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.btn-salvar:hover:not(:disabled)[b-wpzqemrddp] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
    transform: translateY(-1px);
}

.btn-salvar:disabled[b-wpzqemrddp] {
    opacity: 0.6;
    cursor: default;
}

.form-msg[b-wpzqemrddp] {
    font-size: 0.825rem;
    font-weight: 600;
}

.form-msg.ok[b-wpzqemrddp] {
    color: #16a34a;
}

.form-msg.erro[b-wpzqemrddp] {
    color: #dc3545;
}

/* === Mapa === */
.mapa-dica[b-wpzqemrddp] {
    font-size: 0.8rem;
    color: #8f9bb3;
    margin: 0 0 0.875rem;
    line-height: 1.4;
}

.mapa-acoes[b-wpzqemrddp] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

.btn-mapa[b-wpzqemrddp] {
    flex: 1;
    min-width: 140px;
    padding: 0.5rem 0.875rem;
    background: #edf2ff;
    color: #4a90d9;
    border: 1px solid #c7d8f4;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-mapa:hover[b-wpzqemrddp] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

.mapa-container[b-wpzqemrddp] {
    width: 100%;
    height: 340px;
    border-radius: 0.625rem;
    border: 1px solid #e0e5ec;
    margin-bottom: 1rem;
    z-index: 0;
}

/* === Status aberta/fechada === */
.status-loja[b-wpzqemrddp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 1.25rem;
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
    border: 1px solid;
}

.status-loja.aberta[b-wpzqemrddp] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.status-loja.fechada[b-wpzqemrddp] {
    background: #fef2f2;
    border-color: #f3d0d4;
}

.status-info[b-wpzqemrddp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot[b-wpzqemrddp] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-loja.aberta .status-dot[b-wpzqemrddp] {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.status-loja.fechada .status-dot[b-wpzqemrddp] {
    background: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.18);
}

.status-txt[b-wpzqemrddp] {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.status-txt strong[b-wpzqemrddp] {
    font-size: 0.95rem;
    color: #1a1a2e;
}

.status-sub[b-wpzqemrddp] {
    font-size: 0.78rem;
    color: #8f9bb3;
}

.status-toggle[b-wpzqemrddp] {
    padding: 0.5rem 1.1rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e5ec;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.15s ease;
}

.status-toggle:hover:not(:disabled)[b-wpzqemrddp] {
    background: #f5f7fa;
    border-color: #c8cfd8;
}

.status-toggle:disabled[b-wpzqemrddp] {
    opacity: 0.6;
    cursor: default;
}

/* === Entrega por distancia / Frete === */
.campo-hint[b-wpzqemrddp] {
    display: block;
    font-size: 0.72rem;
    color: #8f9bb3;
    margin-top: 0.3rem;
}

.faixa-head[b-wpzqemrddp] {
    display: grid;
    grid-template-columns: 1fr 1fr 34px;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.faixa-row[b-wpzqemrddp] {
    display: grid;
    grid-template-columns: 1fr 1fr 34px;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.btn-remove-faixa[b-wpzqemrddp] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #dc3545;
    border: 1px solid #f3d0d4;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-remove-faixa:hover[b-wpzqemrddp] {
    background: #fde0e2;
    border-color: #dc3545;
}

.faixa-vazia[b-wpzqemrddp] {
    font-size: 0.8rem;
    color: #b0bac9;
    font-style: italic;
    margin: 0.25rem 0 0.5rem;
}

.faixa-acoes[b-wpzqemrddp] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-add-faixa[b-wpzqemrddp] {
    flex: 1;
    padding: 0.5rem;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-add-faixa:hover[b-wpzqemrddp] {
    background: #dcfce7;
    border-color: #22c55e;
}

.btn-salvar-tabela[b-wpzqemrddp] {
    flex: 1;
    padding: 0.5rem;
    background: #edf2ff;
    color: #4a90d9;
    border: 1px solid #c7d8f4;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-salvar-tabela:hover:not(:disabled)[b-wpzqemrddp] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

.btn-salvar-tabela:disabled[b-wpzqemrddp] {
    opacity: 0.6;
    cursor: default;
}

.sim-sep[b-wpzqemrddp] {
    border: none;
    border-top: 1px solid #f0f2f5;
    margin: 1.25rem 0 1rem;
}

.frete-result[b-wpzqemrddp] {
    margin-top: 0.75rem;
    padding: 0.7rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.frete-result.ok[b-wpzqemrddp] {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.frete-result.alerta[b-wpzqemrddp] {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.frete-result.erro[b-wpzqemrddp] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #f3d0d4;
}

.frete-faixa[b-wpzqemrddp] {
    color: #8f9bb3;
    font-weight: 400;
}

/* === Aparencia / Tema === */
.tema-swatches[b-wpzqemrddp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tema-swatch[b-wpzqemrddp] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #e0e5ec;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.12s;
}

.tema-swatch:hover[b-wpzqemrddp] {
    transform: scale(1.1);
}

.tema-swatch.ativo[b-wpzqemrddp] {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 2px #fff inset;
}

.cor-personalizada[b-wpzqemrddp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cor-input[b-wpzqemrddp] {
    width: 42px;
    height: 38px;
    padding: 0;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
}

.cor-personalizada .form-input[b-wpzqemrddp] {
    flex: 1;
}

.btn-limpar-cor[b-wpzqemrddp] {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #fef2f2;
    color: #dc3545;
    border: 1px solid #f3d0d4;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.img-uploader[b-wpzqemrddp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.img-preview[b-wpzqemrddp] {
    width: 100%;
    background: #f5f7fa;
    border: 1px dashed #cfd6e0;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bac9;
    font-size: 0.78rem;
    overflow: hidden;
}

.img-preview.logo[b-wpzqemrddp] {
    height: 80px;
}

.img-preview.banner[b-wpzqemrddp] {
    height: 80px;
}

.img-preview img[b-wpzqemrddp] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-acoes[b-wpzqemrddp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-upload[b-wpzqemrddp] {
    padding: 0.4rem 0.875rem;
    background: #edf2ff;
    color: #4a90d9;
    border: 1px solid #c7d8f4;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-upload.disabled[b-wpzqemrddp] {
    opacity: 0.6;
    pointer-events: none;
}

.btn-upload input[type=file][b-wpzqemrddp] {
    display: none;
}

.btn-remover-img[b-wpzqemrddp] {
    padding: 0.4rem 0.7rem;
    background: none;
    color: #dc3545;
    border: 1px solid #f3d0d4;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.banner-galeria[b-wpzqemrddp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.banner-thumb[b-wpzqemrddp] {
    padding: 0;
    border: 2px solid #e0e5ec;
    border-radius: 0.6rem;
    overflow: hidden;
    cursor: pointer;
    background: none;
    height: 64px;
    transition: border-color 0.12s, transform 0.12s;
}

.banner-thumb:hover[b-wpzqemrddp] {
    transform: translateY(-1px);
    border-color: #c8cfd8;
}

.banner-thumb.ativo[b-wpzqemrddp] {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.25);
}

.banner-thumb img[b-wpzqemrddp] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === Responsive === */
@media (max-width: 768px) {
    .form-layout[b-wpzqemrddp] {
        grid-template-columns: 1fr;
    }

    .form-row-2col[b-wpzqemrddp] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Entrar.razor.rz.scp.css */
.login-wrap[b-yu1kdhofbn] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 1rem;
}

.login-card[b-yu1kdhofbn] {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 1.75rem;
}

.login-titulo[b-yu1kdhofbn] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
}

.login-sub[b-yu1kdhofbn] {
    margin: 0.2rem 0 1.25rem;
    font-size: 0.85rem;
    color: #8f9bb3;
}

.login-group[b-yu1kdhofbn] {
    margin-bottom: 1rem;
}

.login-group label[b-yu1kdhofbn] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.login-input[b-yu1kdhofbn] {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-input:focus[b-yu1kdhofbn] {
    border-color: var(--cor-primaria, #4a90d9);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.login-erro[b-yu1kdhofbn] {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #f3d0d4;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    margin-bottom: 0.875rem;
}

.login-info[b-yu1kdhofbn] {
    color: #4a5568;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.login-btn[b-yu1kdhofbn] {
    width: 100%;
    padding: 0.7rem;
    background: var(--cor-primaria, #4a90d9);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s;
}

.login-btn:hover:not(:disabled)[b-yu1kdhofbn] {
    filter: brightness(0.93);
}

.login-btn:disabled[b-yu1kdhofbn] {
    opacity: 0.6;
    cursor: default;
}
/* /Pages/Home.razor.rz.scp.css */
.dash[b-ucf7sz2ux6] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* === Hero === */
.dash-hero[b-ucf7sz2ux6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.dash-hero-txt h2[b-ucf7sz2ux6] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.dash-hero-txt span[b-ucf7sz2ux6] {
    font-size: 0.875rem;
    opacity: 0.9;
}

.dash-hero-acoes[b-ucf7sz2ux6] {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.dash-hero-btn[b-ucf7sz2ux6] {
    padding: 0.55rem 1.1rem;
    border-radius: 0.6rem;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.12s, background 0.15s;
}

.dash-hero-btn:hover[b-ucf7sz2ux6] {
    transform: translateY(-1px);
    background: #fff;
}

.dash-hero-btn.ghost[b-ucf7sz2ux6] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dash-hero-btn.ghost:hover[b-ucf7sz2ux6] {
    background: rgba(255, 255, 255, 0.28);
}

/* === Stat cards === */
.dash-stats[b-ucf7sz2ux6] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card[b-ucf7sz2ux6] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.12s, box-shadow 0.15s;
}

.stat-card:hover[b-ucf7sz2ux6] {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.stat-card.destaque[b-ucf7sz2ux6] {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: #0f172a;
}

.stat-card.destaque .stat-num[b-ucf7sz2ux6],
.stat-card.destaque .stat-lbl[b-ucf7sz2ux6] {
    color: #fff;
}

.stat-ico[b-ucf7sz2ux6] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-ico.amber[b-ucf7sz2ux6] { background: #fef3c7; }
.stat-ico.blue[b-ucf7sz2ux6] { background: #dbeafe; }
.stat-ico.green[b-ucf7sz2ux6] { background: #dcfce7; }
.stat-ico.money[b-ucf7sz2ux6] { background: rgba(255, 255, 255, 0.15); }

.stat-info[b-ucf7sz2ux6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-num[b-ucf7sz2ux6] {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
}

.stat-lbl[b-ucf7sz2ux6] {
    font-size: 0.78rem;
    color: #8f9bb3;
    font-weight: 600;
}

/* === Grid inferior === */
.dash-grid[b-ucf7sz2ux6] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.dash-side[b-ucf7sz2ux6] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dash-card[b-ucf7sz2ux6] {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.dash-card-hdr[b-ucf7sz2ux6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f2f5;
    background: #fafbfc;
}

.dash-card-hdr h5[b-ucf7sz2ux6] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
}

.dash-link[b-ucf7sz2ux6] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cor-primaria, #4a90d9);
    text-decoration: none;
}

.dash-card-body[b-ucf7sz2ux6] {
    padding: 0.5rem 0.5rem;
}

.dash-vazio[b-ucf7sz2ux6] {
    text-align: center;
    color: #b0bac9;
    font-style: italic;
    padding: 1.5rem;
    margin: 0;
}

/* Linha de pedido */
.ped-linha[b-ucf7sz2ux6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background 0.12s;
}

.ped-linha:hover[b-ucf7sz2ux6] {
    background: #f5f7fa;
}

.ped-id[b-ucf7sz2ux6] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8f9bb3;
    width: 38px;
    flex-shrink: 0;
}

.ped-avatar[b-ucf7sz2ux6] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ped-cli[b-ucf7sz2ux6] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ped-nome[b-ucf7sz2ux6] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ped-tipo[b-ucf7sz2ux6] {
    font-size: 0.72rem;
    color: #8f9bb3;
}

.ped-pill[b-ucf7sz2ux6] {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    background: #f0f2f5;
    color: #4a5568;
    flex-shrink: 0;
}

.ped-pill.status-aguardando[b-ucf7sz2ux6] { background: #fef3c7; color: #92400e; }
.ped-pill.status-aceito[b-ucf7sz2ux6] { background: #dbeafe; color: #1e40af; }
.ped-pill.status-preparando[b-ucf7sz2ux6] { background: #e0e7ff; color: #4338ca; }
.ped-pill.status-acaminho[b-ucf7sz2ux6] { background: #e2e8f0; color: #334155; }
.ped-pill.status-pronto[b-ucf7sz2ux6] { background: #dcfce7; color: #166534; }
.ped-pill.status-entregue[b-ucf7sz2ux6] { background: #1f2937; color: #fff; }
.ped-pill.status-recusado[b-ucf7sz2ux6] { background: #fee2e2; color: #b91c1c; }

.ped-valor[b-ucf7sz2ux6] {
    font-size: 0.875rem;
    font-weight: 700;
    color: #16a34a;
    flex-shrink: 0;
}

/* Mini card (produtos ativos) */
.dash-card.mini[b-ucf7sz2ux6] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
}

.mini-ico[b-ucf7sz2ux6] {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mini-num[b-ucf7sz2ux6] {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
}

.mini-lbl[b-ucf7sz2ux6] {
    font-size: 0.78rem;
    color: #8f9bb3;
    font-weight: 600;
}

/* Atalhos */
.dash-atalhos[b-ucf7sz2ux6] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
}

.atalho[b-ucf7sz2ux6] {
    padding: 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #e0e5ec;
    background: #fafbfc;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.12s;
}

.atalho:hover[b-ucf7sz2ux6] {
    background: #f0f2f5;
    border-color: #c8cfd8;
    transform: translateY(-1px);
}

/* Responsivo */
@media (max-width: 992px) {
    .dash-stats[b-ucf7sz2ux6] { grid-template-columns: 1fr 1fr; }
    .dash-grid[b-ucf7sz2ux6] { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .dash-stats[b-ucf7sz2ux6] { grid-template-columns: 1fr; }
}
/* /Pages/Pedidos/PedidoLista.razor.rz.scp.css */
.pedido-lista-scroll[b-z30jb5o5td] {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 4px;
}

/* ===== Card de pedido ===== */
.pedido-card[b-z30jb5o5td] {
    display: flex;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 0.7rem;
    margin-bottom: 0.6rem;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.pedido-card:hover[b-z30jb5o5td] {
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.10);
    transform: translateY(-2px);
    border-color: #dfe3ea;
}

.pedido-card.selecionado[b-z30jb5o5td] {
    border-color: var(--st-cor, #4a90d9);
    box-shadow: 0 0 0 2px var(--st-cor-suave, #e2ecfc), 0 6px 18px rgba(16, 24, 40, 0.10);
}

/* Faixa de cor por status */
.pc-accent[b-z30jb5o5td] {
    width: 6px;
    flex: 0 0 6px;
    background: var(--st-cor, #adb5bd);
}

.pc-body[b-z30jb5o5td] {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.85rem;
}

/* Cabecalho: numero + status */
.pc-head[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Chip de conversa pendente do cliente */
.pc-chat-chip[b-z30jb5o5td] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0 0 0.55rem 38px;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
    animation: pc-pulse-b-z30jb5o5td 1.6s ease-in-out infinite;
}

@keyframes pc-pulse-b-z30jb5o5td {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45); }
    50% { box-shadow: 0 0 0 5px rgba(220, 38, 38, 0); }
}

.pc-num[b-z30jb5o5td] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f2937;
}

.pc-status[b-z30jb5o5td] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    color: var(--st-cor, #495057);
    background: var(--st-cor-suave, #f1f3f5);
    white-space: nowrap;
}

/* Cliente */
.pc-cliente[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.pc-avatar[b-z30jb5o5td] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--st-cor-suave, #eef1f6);
    color: var(--st-cor, #495057);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.pc-nome[b-z30jb5o5td] {
    font-weight: 600;
    color: #344054;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rodape: data, itens, total */
.pc-foot[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.pc-meta[b-z30jb5o5td] {
    font-size: 0.78rem;
    color: #98a2b3;
    white-space: nowrap;
}

.pc-itens[b-z30jb5o5td] {
    font-size: 0.72rem;
    color: #667085;
    background: #f2f4f7;
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    white-space: nowrap;
}

.pc-total[b-z30jb5o5td] {
    margin-left: auto;
    font-weight: 700;
    color: #0f7a3d;
    white-space: nowrap;
}

/* Cores por status (faixa, pill e avatar) */
.status-aguardando[b-z30jb5o5td] { --st-cor: #d97706; --st-cor-suave: #fef3e2; }
.status-aceito[b-z30jb5o5td]     { --st-cor: #0284c7; --st-cor-suave: #e0f2fe; }
.status-preparando[b-z30jb5o5td] { --st-cor: #4f46e5; --st-cor-suave: #e8e7fd; }
.status-acaminho[b-z30jb5o5td]   { --st-cor: #7c3aed; --st-cor-suave: #efe7fe; }
.status-pronto[b-z30jb5o5td]     { --st-cor: #16a34a; --st-cor-suave: #dcfce7; }
.status-entregue[b-z30jb5o5td]   { --st-cor: #475569; --st-cor-suave: #eef1f5; }
.status-recusado[b-z30jb5o5td]   { --st-cor: #dc2626; --st-cor-suave: #fde4e4; }

.pedido-detalhe-painel[b-z30jb5o5td] {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border-left: 1px solid #eceef2;
    padding-left: 1.25rem;
    /* Fallback das variaveis de cor; a classe .status-X em .pd-view (descendente) sobrescreve */
    --st-cor: #6b7280;
    --st-cor-suave: #f1f3f5;
}

/* ===== Painel de detalhe ===== */

/* Cabecalho */
.pd-header[b-z30jb5o5td] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, var(--st-cor) 0%, color-mix(in srgb, var(--st-cor) 78%, #000) 100%);
    color: #fff;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--st-cor) 35%, transparent);
}

.pd-num[b-z30jb5o5td] {
    font-size: 1.25rem;
    font-weight: 700;
}

.pd-data[b-z30jb5o5td] {
    font-size: 0.82rem;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.pd-status-pill[b-z30jb5o5td] {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pd-header-acoes[b-z30jb5o5td] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.pd-btn-imprimir[b-z30jb5o5td] {
    background: rgba(255, 255, 255, 0.95);
    color: var(--st-cor);
    border: none;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.pd-btn-imprimir:hover[b-z30jb5o5td] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.pd-btn-imprimir:active[b-z30jb5o5td] {
    transform: translateY(0);
}

/* Cliente */
.pd-cliente-box[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 0.7rem;
}

.pd-avatar[b-z30jb5o5td] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: var(--st-cor-suave);
    color: var(--st-cor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
}

.pd-cliente-info[b-z30jb5o5td] {
    min-width: 0;
}

.pd-cliente-nome[b-z30jb5o5td] {
    font-weight: 700;
    color: #1f2937;
}

.pd-cliente-tel[b-z30jb5o5td] {
    font-size: 0.85rem;
    color: #4a90d9;
    text-decoration: none;
}

.pd-cliente-tel:hover[b-z30jb5o5td] {
    text-decoration: underline;
}

/* Linhas de informacao (endereco, obs) */
.pd-linha-info[b-z30jb5o5td] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 0.6rem;
    padding: 0.6rem 0.85rem;
    background: #f8f9fb;
    border-radius: 0.6rem;
    font-size: 0.88rem;
    color: #475467;
}

.pd-linha-info span[b-z30jb5o5td] {
    flex: 1;
}

.pd-obs[b-z30jb5o5td] {
    background: #fffbeb;
    color: #92722a;
}

/* Acoes de status */
.pd-acoes[b-z30jb5o5td] {
    margin-top: 1.1rem;
    padding: 0.85rem;
    background: #f8f9fb;
    border-radius: 0.7rem;
}

.pd-acoes-label[b-z30jb5o5td] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.55rem;
}

.pd-acoes-botoes[b-z30jb5o5td] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pd-btn-status[b-z30jb5o5td] {
    border: 0;
    border-radius: 0.55rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    background: var(--st-cor);
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

.pd-btn-status:hover[b-z30jb5o5td] {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.pd-btn-status:active[b-z30jb5o5td] {
    transform: translateY(0);
}

/* Titulo dos itens */
.pd-itens-titulo[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.3rem 0 0.6rem;
    font-weight: 700;
    color: #1f2937;
}

.pd-itens-contagem[b-z30jb5o5td] {
    background: #eef1f6;
    color: #667085;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.05rem 0.55rem;
}

/* Itens */
.pd-itens[b-z30jb5o5td] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pd-item[b-z30jb5o5td] {
    display: flex;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 0.7rem;
}

.pd-item-qtd[b-z30jb5o5td] {
    flex: 0 0 auto;
    height: fit-content;
    background: var(--st-cor-suave);
    color: var(--st-cor);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
}

.pd-item-info[b-z30jb5o5td] {
    flex: 1;
    min-width: 0;
}

.pd-item-nome[b-z30jb5o5td] {
    font-weight: 600;
    color: #344054;
}

.pd-chips[b-z30jb5o5td] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
}

.pd-chip[b-z30jb5o5td] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f2f4f7;
    color: #475467;
    font-size: 0.74rem;
    padding: 0.15rem 0.5rem;
    border-radius: 0.4rem;
}

.pd-chip-frac[b-z30jb5o5td] {
    background: #fff;
    color: #667085;
    border-radius: 0.3rem;
    padding: 0 0.25rem;
    font-weight: 700;
}

.pd-chip-brinde[b-z30jb5o5td] {
    background: #dcfce7;
    color: #16a34a;
    font-weight: 600;
}

.pd-item-obs[b-z30jb5o5td] {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: #98722a;
    background: #fffbeb;
    border-radius: 0.4rem;
    padding: 0.25rem 0.5rem;
}

.pd-item-precos[b-z30jb5o5td] {
    text-align: right;
    white-space: nowrap;
}

.pd-item-total[b-z30jb5o5td] {
    display: block;
    font-weight: 700;
    color: #0f7a3d;
}

.pd-item-unit[b-z30jb5o5td] {
    display: block;
    font-size: 0.72rem;
    color: #98a2b3;
    margin-top: 0.1rem;
}

/* Total */
.pc-tipo-chip[b-z30jb5o5td] {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.12rem 0.55rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.pc-tipo-chip.entrega[b-z30jb5o5td] {
    background: #eef2ff;
    color: #4338ca;
}

.pc-tipo-chip.retirada[b-z30jb5o5td] {
    background: #fef3c7;
    color: #92400e;
}

.pd-tipo-badge[b-z30jb5o5td] {
    flex: 0 0 auto !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.pd-tipo-badge.entrega[b-z30jb5o5td] {
    background: #eef2ff;
    color: #4338ca;
}

.pd-tipo-badge.retirada[b-z30jb5o5td] {
    background: #fef3c7;
    color: #92400e;
}

.pd-dist[b-z30jb5o5td] {
    flex: 0 0 auto !important;
    font-size: 0.78rem;
    color: #8f9bb3;
    align-self: center;
}

.pd-resumo-linha[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.15rem 1.1rem;
    font-size: 0.88rem;
    color: #475467;
}

.pd-resumo-linha:first-of-type[b-z30jb5o5td] {
    margin-top: 0.8rem;
}

.pd-total-bar[b-z30jb5o5td] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0.9rem 1.1rem;
    background: #1f2937;
    color: #fff;
    border-radius: 0.8rem;
    font-weight: 600;
}

.pd-total-valor[b-z30jb5o5td] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4ade80;
}

/* Chat com o cliente */
.pd-chat[b-z30jb5o5td] {
    margin-top: 1.1rem;
    border: 1px solid #eceef2;
    border-radius: 0.8rem;
    overflow: hidden;
}

.pd-chat-titulo[b-z30jb5o5td] {
    padding: 0.6rem 0.85rem;
    background: #f8f9fb;
    border-bottom: 1px solid #eceef2;
    font-weight: 600;
    color: #344054;
    font-size: 0.9rem;
}

.pd-chat-msgs[b-z30jb5o5td] {
    height: 220px;
    overflow-y: auto;
    padding: 0.85rem;
    background: #fbfbfc;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pd-chat-vazio[b-z30jb5o5td] {
    margin: auto;
    text-align: center;
    color: #98a2b3;
    font-size: 0.85rem;
}

.pd-chat-balao[b-z30jb5o5td] {
    max-width: 80%;
    padding: 0.45rem 0.65rem;
    border-radius: 0.8rem;
    font-size: 0.86rem;
    word-wrap: break-word;
}

.pd-chat-balao .pd-chat-texto[b-z30jb5o5td] {
    display: block;
}

.pd-chat-balao .pd-chat-hora[b-z30jb5o5td] {
    display: block;
    text-align: right;
    font-size: 0.62rem;
    opacity: 0.6;
    margin-top: 0.1rem;
}

/* Cliente a esquerda, loja (eu/admin) a direita */
.pd-chat-balao.cliente[b-z30jb5o5td] {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e7e7ea;
    color: #1f2937;
    border-bottom-left-radius: 0.2rem;
}

.pd-chat-balao.loja[b-z30jb5o5td] {
    align-self: flex-end;
    background: #4a90d9;
    color: #fff;
    border-bottom-right-radius: 0.2rem;
}

.pd-chat-input[b-z30jb5o5td] {
    display: flex;
    gap: 0.4rem;
    padding: 0.55rem;
    border-top: 1px solid #eceef2;
    background: #fff;
}

/* ===== Botão Voltar (somente no celular) ===== */
.pd-voltar-mobile[b-z30jb5o5td] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0.55rem 0.95rem;
    background: #f0f2f5;
    border: 1px solid #e0e5ec;
    border-radius: 0.6rem;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.pd-voltar-mobile:active[b-z30jb5o5td] {
    background: #e5e8ed;
}

/* ===== Ajustes para celular ===== */
@media (max-width: 767.98px) {
    /* lista e detalhe rolam com a página (sem scroll aninhado) */
    .pedido-lista-scroll[b-z30jb5o5td] {
        max-height: none;
        overflow: visible;
    }

    .pedido-detalhe-painel[b-z30jb5o5td] {
        max-height: none;
        overflow: visible;
        border-left: 0;
        padding-left: 0;
    }

    /* botões de avançar status ocupam a largura e ficam fáceis de tocar */
    .pd-acoes-botoes[b-z30jb5o5td] {
        flex-direction: column;
    }

    .pd-btn-status[b-z30jb5o5td] {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }

    /* cards da lista um pouco maiores para o toque */
    .pedido-card[b-z30jb5o5td] {
        margin-bottom: 0.7rem;
    }
}
/* /Pages/PlataformaLojas.razor.rz.scp.css */
.pl[b-yf6vqhxv2j] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* === Hero === */
.pl-hero[b-yf6vqhxv2j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.pl-hero-txt h2[b-yf6vqhxv2j] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.pl-hero-txt span[b-yf6vqhxv2j] {
    font-size: 0.875rem;
    opacity: 0.9;
}

.pl-hero-btn[b-yf6vqhxv2j] {
    padding: 0.6rem 1.2rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.12s, background 0.15s;
}

.pl-hero-btn:hover[b-yf6vqhxv2j] {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
}

/* === Stats === */
.pl-stats[b-yf6vqhxv2j] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pl-stat[b-yf6vqhxv2j] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 0.9rem;
    box-shadow: 0 4px 14px rgba(20, 20, 50, 0.05);
}

.pl-stat-num[b-yf6vqhxv2j] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
}

.pl-stat-lbl[b-yf6vqhxv2j] {
    font-size: 0.78rem;
    color: #8f9bb3;
    font-weight: 600;
}

.pl-stat.alerta[b-yf6vqhxv2j] {
    border-color: #fcd9b6;
    background: #fffaf3;
}

.pl-stat.alerta .pl-stat-num[b-yf6vqhxv2j] {
    color: #c2410c;
}

/* === Cards === */
.pl-card[b-yf6vqhxv2j] {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgba(20, 20, 50, 0.05);
    overflow: hidden;
}

.pl-card-hdr[b-yf6vqhxv2j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f3f7;
}

.pl-card-hdr h5[b-yf6vqhxv2j] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pl-count[b-yf6vqhxv2j] {
    background: #f1f3f7;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 1rem;
}

/* === Form === */
.pl-form-body[b-yf6vqhxv2j] {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pl-field[b-yf6vqhxv2j] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pl-field label[b-yf6vqhxv2j] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
}

.pl-opt[b-yf6vqhxv2j] {
    font-weight: 400;
    color: #a0aabd;
}

.pl-input[b-yf6vqhxv2j] {
    padding: 0.6rem 0.75rem;
    border: 1px solid #e2e6ee;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pl-input:focus[b-yf6vqhxv2j] {
    border-color: var(--cor-primaria, #4a90d9);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.pl-input.small[b-yf6vqhxv2j] {
    font-size: 0.8rem;
    padding: 0.45rem 0.6rem;
}

.pl-sub-wrap[b-yf6vqhxv2j] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pl-sub-wrap .pl-input[b-yf6vqhxv2j] {
    flex: 1;
}

.pl-sufixo[b-yf6vqhxv2j] {
    font-size: 0.82rem;
    color: #8f9bb3;
    white-space: nowrap;
}

.pl-form-acoes[b-yf6vqhxv2j] {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.pl-btn-primary[b-yf6vqhxv2j] {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, var(--cor-primaria, #4a90d9), var(--cor-primaria-escura, #2f6db5));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.12s, filter 0.15s;
}

.pl-btn-primary:hover:not(:disabled)[b-yf6vqhxv2j] {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.pl-btn-primary:disabled[b-yf6vqhxv2j] {
    opacity: 0.6;
    cursor: default;
}

.pl-criada[b-yf6vqhxv2j] {
    grid-column: 1 / -1;
    padding: 0.85rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.7rem;
    font-size: 0.85rem;
    color: #166534;
}

.pl-link[b-yf6vqhxv2j] {
    margin-top: 0.6rem;
}

.pl-link span[b-yf6vqhxv2j] {
    display: block;
    font-size: 0.75rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

/* === Mensagens === */
.pl-msg[b-yf6vqhxv2j] {
    margin: 0.85rem 1.25rem 0;
    padding: 0.6rem 0.85rem;
    border-radius: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.pl-msg.ok[b-yf6vqhxv2j] { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pl-msg.erro[b-yf6vqhxv2j] { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* === Lista === */
.pl-vazio[b-yf6vqhxv2j] {
    padding: 1.5rem 1.25rem;
    color: #b0bac9;
}

.pl-list[b-yf6vqhxv2j] {
    display: flex;
    flex-direction: column;
}

.pl-row[b-yf6vqhxv2j] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #f4f6f9;
    transition: background 0.12s;
}

.pl-row:last-child[b-yf6vqhxv2j] { border-bottom: none; }
.pl-row:hover[b-yf6vqhxv2j] { background: #fafbfd; }

.pl-avatar[b-yf6vqhxv2j] {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(20, 20, 50, 0.12);
}

.pl-info[b-yf6vqhxv2j] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.pl-nome-linha[b-yf6vqhxv2j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pl-nome[b-yf6vqhxv2j] {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.92rem;
}

.pl-tag.demo[b-yf6vqhxv2j] {
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.45rem;
    border-radius: 0.4rem;
}

.pl-sub-link[b-yf6vqhxv2j] {
    font-size: 0.8rem;
    color: var(--cor-primaria, #4a90d9);
    text-decoration: none;
    width: fit-content;
}

.pl-sub-link:hover[b-yf6vqhxv2j] { text-decoration: underline; }

.pl-email[b-yf6vqhxv2j] {
    font-size: 0.74rem;
    color: #8f9bb3;
}

.pl-meta[b-yf6vqhxv2j] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.pl-status[b-yf6vqhxv2j] {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pl-active[b-yf6vqhxv2j], .pl-trial[b-yf6vqhxv2j] { background: #dcfce7; color: #166534; }
.pl-suspended[b-yf6vqhxv2j] { background: #fee2e2; color: #b91c1c; }
.pl-provisioning[b-yf6vqhxv2j] { background: #fef9c3; color: #854d0e; }
.pl-cancelled[b-yf6vqhxv2j] { background: #f0f2f5; color: #6b7280; }

.pl-schema[b-yf6vqhxv2j] {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.pl-schema.ok[b-yf6vqhxv2j] { background: #ecfdf5; color: #047857; }
.pl-schema.atrasado[b-yf6vqhxv2j] { background: #fff7ed; color: #c2410c; }
.pl-schema.erro[b-yf6vqhxv2j] { background: #fef2f2; color: #b91c1c; }
.pl-schema.pendente[b-yf6vqhxv2j] { background: #f3f4f6; color: #9ca3af; }

/* === Ações === */
.pl-acoes[b-yf6vqhxv2j] {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.pl-act[b-yf6vqhxv2j] {
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.12s, transform 0.1s;
    background: #f1f3f7;
    color: #4a5568;
}

.pl-act:hover:not(:disabled)[b-yf6vqhxv2j] { transform: translateY(-1px); }
.pl-act:disabled[b-yf6vqhxv2j] { opacity: 0.6; cursor: default; }
.pl-act.suspender[b-yf6vqhxv2j] { background: #fef2f2; color: #dc3545; border-color: #f3d0d4; }
.pl-act.ativar[b-yf6vqhxv2j] { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.pl-act.reset[b-yf6vqhxv2j] { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.pl-act.excluir[b-yf6vqhxv2j] { background: #fff1f2; color: #be123c; border-color: #fecdd3; }

/* === Badge de infra (vhost+cert) === */
.pl-infra[b-yf6vqhxv2j] {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.pl-infra.ok[b-yf6vqhxv2j] { background: #ecfdf5; color: #047857; }
.pl-infra.prov[b-yf6vqhxv2j] { background: #eff6ff; color: #1d4ed8; }
.pl-infra.erro[b-yf6vqhxv2j] { background: #fef2f2; color: #b91c1c; }
.pl-infra.rem[b-yf6vqhxv2j] { background: #fff7ed; color: #c2410c; }

/* === Modal de exclusão === */
.pl-modal-overlay[b-yf6vqhxv2j] {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.pl-modal[b-yf6vqhxv2j] {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.pl-modal h4[b-yf6vqhxv2j] { margin: 0 0 10px; color: #111827; }
.pl-modal-aviso[b-yf6vqhxv2j] { font-size: 0.85rem; color: #6b7280; margin: 0 0 16px; line-height: 1.45; }
.pl-modal-label[b-yf6vqhxv2j] { display: block; font-size: 0.82rem; color: #374151; margin-bottom: 6px; }
.pl-modal-label code[b-yf6vqhxv2j] { background: #f3f4f6; padding: 1px 6px; border-radius: 5px; color: #be123c; font-weight: 700; }
.pl-modal-acoes[b-yf6vqhxv2j] { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

.pl-btn-cancelar[b-yf6vqhxv2j] {
    background: #f1f3f7; color: #4a5568; border: none;
    border-radius: 8px; padding: 8px 16px; font-weight: 700; cursor: pointer;
}
.pl-btn-excluir[b-yf6vqhxv2j] {
    background: #be123c; color: #fff; border: none;
    border-radius: 8px; padding: 8px 16px; font-weight: 700; cursor: pointer;
}
.pl-btn-excluir:disabled[b-yf6vqhxv2j] { opacity: 0.5; cursor: default; }

/* === Responsivo === */
@media (max-width: 820px) {
    .pl-stats[b-yf6vqhxv2j] { grid-template-columns: repeat(2, 1fr); }
    .pl-form-body[b-yf6vqhxv2j] { grid-template-columns: 1fr; }
    .pl-row[b-yf6vqhxv2j] { flex-wrap: wrap; }
    .pl-meta[b-yf6vqhxv2j] { align-items: flex-start; flex-direction: row; }
}
/* /Pages/ProdutoCategorias/ProdutoCategoriaLista.razor.rz.scp.css */
/* ============================================
   PRODUTO CATEGORIAS - Layout Master-Detail
   ============================================ */

/* === Page Header === */
.page-header[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.page-title[b-f4kfjg1eoo] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.page-subtitle[b-f4kfjg1eoo] {
    font-size: 0.85rem;
    color: #8f9bb3;
    margin-top: 0.15rem;
    display: block;
}

.btn-novo[b-f4kfjg1eoo] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.btn-novo:hover[b-f4kfjg1eoo] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
    transform: translateY(-1px);
}

.btn-novo-icon[b-f4kfjg1eoo] {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

/* === Stat Cards === */
.stat-row[b-f4kfjg1eoo] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.stat-card:hover[b-f4kfjg1eoo] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-icon[b-f4kfjg1eoo] {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.stat-icon-total[b-f4kfjg1eoo]      { background: #eef2ff; }
.stat-icon-produtos[b-f4kfjg1eoo]   { background: #fff7ed; }
.stat-icon-com-produtos[b-f4kfjg1eoo] { background: #ecfdf5; }
.stat-icon-vazias[b-f4kfjg1eoo]     { background: #fef3f2; }

.stat-info[b-f4kfjg1eoo] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-f4kfjg1eoo] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.stat-label[b-f4kfjg1eoo] {
    font-size: 0.75rem;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* === Filtros Bar === */
.filtros-bar[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.busca-wrapper[b-f4kfjg1eoo] {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.busca-icon[b-f4kfjg1eoo] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    pointer-events: none;
}

.busca-input[b-f4kfjg1eoo] {
    width: 100%;
    padding: 0.6rem 2.25rem 0.6rem 2.5rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    background: #fff;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.busca-input[b-f4kfjg1eoo]::placeholder { color: #b0bac9; }

.busca-input:focus[b-f4kfjg1eoo] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.busca-clear[b-f4kfjg1eoo] {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #8f9bb3;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
}

.busca-clear:hover[b-f4kfjg1eoo] { color: #e74c3c; }

/* === Master-Detail Layout === */
.master-detail[b-f4kfjg1eoo] {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* === Master Panel === */
.master-panel[b-f4kfjg1eoo] {
    border-right: 1px solid #e8ecf1;
    overflow-y: auto;
    max-height: 600px;
    background: #fafbfc;
}

.master-panel[b-f4kfjg1eoo]::-webkit-scrollbar { width: 4px; }
.master-panel[b-f4kfjg1eoo]::-webkit-scrollbar-thumb {
    background: #c8cfd8;
    border-radius: 4px;
}
.master-panel[b-f4kfjg1eoo]::-webkit-scrollbar-thumb:hover { background: #a0a8b4; }

/* === Categoria Item === */
.categoria-item[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.15s ease;
    position: relative;
}

.categoria-item:hover[b-f4kfjg1eoo] { background: #f0f4ff; }

.categoria-item.selecionado[b-f4kfjg1eoo] {
    background: #edf2ff;
    border-left: 3px solid #4a90d9;
    padding-left: calc(1.125rem - 3px);
}

.categoria-item-icon[b-f4kfjg1eoo] {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.categoria-item.selecionado .categoria-item-icon[b-f4kfjg1eoo] {
    background: #dbe6f7;
}

.categoria-item-info[b-f4kfjg1eoo] {
    flex: 1;
    min-width: 0;
}

.categoria-item-nome[b-f4kfjg1eoo] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.categoria-item-meta[b-f4kfjg1eoo] {
    margin-top: 0.2rem;
}

.categoria-item-qtd[b-f4kfjg1eoo] {
    font-size: 0.75rem;
    color: #8f9bb3;
    font-weight: 500;
}

.categoria-item-badge[b-f4kfjg1eoo] {
    flex-shrink: 0;
}

.qtd-badge[b-f4kfjg1eoo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 0.45rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.qtd-badge.badge-com[b-f4kfjg1eoo] {
    background: #eef2ff;
    color: #4338ca;
}

.qtd-badge.badge-vazio[b-f4kfjg1eoo] {
    background: #f3f4f6;
    color: #9ca3af;
}

/* === Detail Panel === */
.detail-panel[b-f4kfjg1eoo] {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    max-height: 600px;
    background: #fff;
}

.detail-panel[b-f4kfjg1eoo]::-webkit-scrollbar { width: 4px; }
.detail-panel[b-f4kfjg1eoo]::-webkit-scrollbar-thumb {
    background: #c8cfd8;
    border-radius: 4px;
}

/* === Detail Empty State === */
.detail-empty[b-f4kfjg1eoo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    text-align: center;
}

.detail-empty-icon[b-f4kfjg1eoo] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.detail-empty-text[b-f4kfjg1eoo] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.detail-empty-subtext[b-f4kfjg1eoo] {
    font-size: 0.825rem;
    color: #8f9bb3;
    margin: 0.35rem 0 0;
}

/* === Detail Header === */
.detail-header[b-f4kfjg1eoo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f2f5;
    animation: fadeInUp-b-f4kfjg1eoo 0.25s ease-out;
}

.detail-header-left[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-emoji[b-f4kfjg1eoo] {
    font-size: 2.25rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 0.875rem;
    flex-shrink: 0;
}

.detail-nome[b-f4kfjg1eoo] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.35rem 0;
}

.detail-categoria-badge[b-f4kfjg1eoo] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #5e72e4;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* === Detail Actions === */
.detail-header-actions[b-f4kfjg1eoo] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-action[b-f4kfjg1eoo] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-editar[b-f4kfjg1eoo] {
    color: #4a90d9;
    background: #edf2ff;
    border-color: #c7d8f4;
}

.btn-editar:hover[b-f4kfjg1eoo] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

.btn-desativar[b-f4kfjg1eoo] {
    color: #dc3545;
    background: #fef2f2;
    border-color: #fecaca;
}

.btn-desativar:hover[b-f4kfjg1eoo] {
    background: #fee2e2;
    border-color: #dc3545;
}

/* === Detail Sections === */
.detail-section[b-f4kfjg1eoo] {
    margin-bottom: 1.5rem;
    animation: fadeInUp-b-f4kfjg1eoo 0.3s ease-out;
}

.detail-section-title[b-f4kfjg1eoo] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.875rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f5f6f8;
}

/* === Info Grid === */
.detail-info-grid[b-f4kfjg1eoo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-info-item[b-f4kfjg1eoo] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-info-item.full-width[b-f4kfjg1eoo] {
    grid-column: span 2;
}

.detail-info-label[b-f4kfjg1eoo] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-info-value[b-f4kfjg1eoo] {
    font-size: 0.925rem;
    color: #1a1a2e;
    font-weight: 500;
}

/* === Produtos desta Categoria === */
.produtos-lista[b-f4kfjg1eoo] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.produto-tag[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.875rem;
    background: #fafbfc;
    border: 1px solid #f0f2f5;
    border-radius: 0.625rem;
    transition: all 0.15s ease;
}

.produto-tag:hover[b-f4kfjg1eoo] {
    background: #f0f4ff;
    border-color: #c7d8f4;
}

.produto-tag.inativo[b-f4kfjg1eoo] {
    opacity: 0.55;
}

.produto-tag-emoji[b-f4kfjg1eoo] {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.produto-tag-nome[b-f4kfjg1eoo] {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.produto-tag-preco[b-f4kfjg1eoo] {
    font-size: 0.825rem;
    font-weight: 700;
    color: #4a90d9;
    flex-shrink: 0;
}

.produto-tag-inativo[b-f4kfjg1eoo] {
    font-size: 0.65rem;
    font-weight: 600;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

/* === Empty Inline === */
.empty-state-inline[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fafbfc;
    border: 1px dashed #e0e5ec;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    color: #8f9bb3;
}

/* === Drag Handle === */
.drag-handle[b-f4kfjg1eoo] {
    font-size: 1rem;
    color: #c8cfd8;
    cursor: grab;
    padding: 0 0.25rem;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.15s;
    user-select: none;
}

.drag-handle:hover[b-f4kfjg1eoo] { color: #8f9bb3; }

.categoria-item:active .drag-handle[b-f4kfjg1eoo],
.categoria-item.dragging .drag-handle[b-f4kfjg1eoo] { cursor: grabbing; }

/* === Drag States === */
.categoria-item.dragging[b-f4kfjg1eoo] {
    opacity: 0.45;
    background: #edf2ff;
}

.categoria-item.drag-over[b-f4kfjg1eoo] {
    background: #dbe6f7;
    border-left: 3px solid #4a90d9;
    padding-left: calc(1.125rem - 3px);
}

/* === Drag States - Produtos === */
.produto-tag[b-f4kfjg1eoo] {
    cursor: grab;
}

.produto-tag.dragging[b-f4kfjg1eoo] {
    opacity: 0.45;
    background: #edf2ff;
}

.produto-tag.drag-over[b-f4kfjg1eoo] {
    background: #dbe6f7;
    border: 1px solid #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.2);
}

.produto-tag:active[b-f4kfjg1eoo] { cursor: grabbing; }

/* === Drag hint === */
.drag-hint[b-f4kfjg1eoo] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #c8cfd8;
    margin-left: 0.5rem;
}


/* === Empty State (lista) === */
.empty-state[b-f4kfjg1eoo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-icon[b-f4kfjg1eoo] {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

.empty-text[b-f4kfjg1eoo] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.empty-subtext[b-f4kfjg1eoo] {
    font-size: 0.8rem;
    color: #8f9bb3;
    margin: 0.25rem 0 0;
}

/* === Modal === */
.modal-backdrop[b-f4kfjg1eoo] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    animation: fadeIn-b-f4kfjg1eoo 0.15s ease;
}

.modal-box[b-f4kfjg1eoo] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    background: #fff;
    border-radius: 1rem;
    width: 460px;
    max-width: calc(100vw - 2rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: slideUp-b-f4kfjg1eoo 0.2s ease-out;
}

.modal-header[b-f4kfjg1eoo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f2f5;
}

.modal-title[b-f4kfjg1eoo] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.modal-close[b-f4kfjg1eoo] {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #8f9bb3;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
}

.modal-close:hover[b-f4kfjg1eoo] { color: #1a1a2e; }

.modal-body[b-f4kfjg1eoo] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-footer[b-f4kfjg1eoo] {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid #f0f2f5;
}

.form-group[b-f4kfjg1eoo] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label[b-f4kfjg1eoo] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
}

.form-input[b-f4kfjg1eoo] {
    padding: 0.6rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
    font-family: inherit;
}

.form-input:focus[b-f4kfjg1eoo] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.form-erro[b-f4kfjg1eoo] {
    font-size: 0.8rem;
    color: #dc3545;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.btn-cancelar[b-f4kfjg1eoo] {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    background: #f0f2f5;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cancelar:hover[b-f4kfjg1eoo] {
    background: #e0e5ec;
}

.btn-salvar[b-f4kfjg1eoo] {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.btn-salvar:hover:not(:disabled)[b-f4kfjg1eoo] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
}

.btn-salvar:disabled[b-f4kfjg1eoo] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* === Animations === */
@keyframes fadeInUp-b-f4kfjg1eoo {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn-b-f4kfjg1eoo {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp-b-f4kfjg1eoo {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* === Responsive === */
@media (max-width: 900px) {
    .stat-row[b-f4kfjg1eoo] { grid-template-columns: repeat(2, 1fr); }

    .master-detail[b-f4kfjg1eoo] { grid-template-columns: 1fr; }

    .master-panel[b-f4kfjg1eoo] {
        border-right: none;
        border-bottom: 1px solid #e8ecf1;
        max-height: 300px;
    }

    .detail-panel[b-f4kfjg1eoo] { max-height: none; }

    .page-header[b-f4kfjg1eoo] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .stat-row[b-f4kfjg1eoo] { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .filtros-bar[b-f4kfjg1eoo] { flex-direction: column; }

    .detail-header[b-f4kfjg1eoo] {
        flex-direction: column;
        gap: 1rem;
    }

    .detail-header-actions[b-f4kfjg1eoo] { width: 100%; }

    .detail-header-actions .btn-action[b-f4kfjg1eoo] {
        flex: 1;
        justify-content: center;
    }

    .detail-info-grid[b-f4kfjg1eoo] { grid-template-columns: 1fr; }

    .detail-info-item.full-width[b-f4kfjg1eoo] { grid-column: span 1; }
}
/* /Pages/Produtos/ProdutoForm.razor.rz.scp.css */
/* ============================================
   PRODUTO FORM - Estilo Moderno
   ============================================ */

/* === Page Header === */
.form-page-header[b-rjswfitauf] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.btn-voltar[b-rjswfitauf] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.875rem;
    background: #f0f2f5;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    color: #4a5568;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-voltar:hover[b-rjswfitauf] {
    background: #e5e8ed;
    border-color: #c8cfd8;
    color: #1a1a2e;
}

.btn-previa[b-rjswfitauf] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: #edf2ff;
    color: #4a90d9;
    border: 1px solid #c7d8f4;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-previa:hover[b-rjswfitauf] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

.form-page-title[b-rjswfitauf] {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.form-page-subtitle[b-rjswfitauf] {
    font-size: 0.825rem;
    color: #8f9bb3;
    display: block;
    margin-top: 0.1rem;
}

/* === Form Layout === */
.form-layout[b-rjswfitauf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.form-col-main[b-rjswfitauf],
.form-col-side[b-rjswfitauf] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* === Form Card === */
.form-card[b-rjswfitauf] {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.form-card-header[b-rjswfitauf] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f2f5;
    background: #fafbfc;
}

.form-card-title[b-rjswfitauf] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.form-card-body[b-rjswfitauf] {
    padding: 1.25rem;
}

/* === Form Groups === */
.form-group[b-rjswfitauf] {
    margin-bottom: 1rem;
}

.form-group.compact[b-rjswfitauf] {
    margin-bottom: 0.75rem;
}

.form-label-custom[b-rjswfitauf] {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.form-label-custom.small[b-rjswfitauf] {
    font-size: 0.72rem;
}

.form-input[b-rjswfitauf],
.form-textarea[b-rjswfitauf],
.form-select-custom[b-rjswfitauf] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus[b-rjswfitauf],
.form-textarea:focus[b-rjswfitauf],
.form-select-custom:focus[b-rjswfitauf] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.form-input[b-rjswfitauf]::placeholder,
.form-textarea[b-rjswfitauf]::placeholder {
    color: #b0bac9;
}

.form-input.small[b-rjswfitauf] {
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
}

.form-select-custom.small[b-rjswfitauf] {
    padding: 0.45rem 0.7rem;
    font-size: 0.825rem;
}

.form-textarea[b-rjswfitauf] {
    resize: vertical;
    min-height: 80px;
}

.form-row-2col[b-rjswfitauf] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* === Form Actions === */
.form-actions[b-rjswfitauf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f2f5;
}

.btn-salvar[b-rjswfitauf] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.btn-salvar:hover[b-rjswfitauf] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
    transform: translateY(-1px);
}

.btn-cancelar[b-rjswfitauf] {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: #f0f2f5;
    color: #4a5568;
    border: 1px solid #e0e5ec;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-cancelar:hover[b-rjswfitauf] {
    background: #e5e8ed;
    color: #1a1a2e;
    text-decoration: none;
}

/* === Config Checks === */
.config-checks[b-rjswfitauf] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.config-check-item[b-rjswfitauf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.45rem 0.625rem;
    border-radius: 0.375rem;
    transition: background 0.15s;
}

.config-check-item:hover[b-rjswfitauf] {
    background: #f5f7fa;
}

.config-check-item.inline[b-rjswfitauf] {
    padding: 0;
    flex-shrink: 0;
}

.config-checkbox[b-rjswfitauf] {
    width: 16px;
    height: 16px;
    accent-color: #4a90d9;
    cursor: pointer;
    flex-shrink: 0;
}

.config-check-label[b-rjswfitauf] {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

.config-check-label.small[b-rjswfitauf] {
    font-size: 0.78rem;
}

.btn-salvar-config[b-rjswfitauf] {
    width: 100%;
    padding: 0.5rem 1rem;
    background: #edf2ff;
    color: #4a90d9;
    border: 1px solid #c7d8f4;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-salvar-config:hover[b-rjswfitauf] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

/* === Componentes Permitidos === */
.comp-lista[b-rjswfitauf] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comp-item[b-rjswfitauf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #fafbfc;
    border: 1px solid #f0f2f5;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.comp-item:hover[b-rjswfitauf] {
    background: #f5f7fa;
}

.comp-item-info[b-rjswfitauf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-item-nome[b-rjswfitauf] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
}

.comp-item-tipo[b-rjswfitauf] {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comp-item-tipo.obrig[b-rjswfitauf] {
    background: #eef2ff;
    color: #4338ca;
}

.comp-item-tipo.opc[b-rjswfitauf] {
    background: #f0fdf4;
    color: #166534;
}

.comp-item-ver[b-rjswfitauf] {
    font-size: 0.7rem;
    color: #7c3aed;
    opacity: 0.7;
    margin-left: 0.25rem;
    transition: opacity 0.15s;
}

.comp-item-info:hover .comp-item-ver[b-rjswfitauf] {
    opacity: 1;
}

.comp-item-remove[b-rjswfitauf] {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0.35rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: all 0.15s;
}

.comp-item-remove:hover[b-rjswfitauf] {
    background: #fef2f2;
}

.comp-add-section[b-rjswfitauf] {
    padding-top: 0.75rem;
    border-top: 1px solid #f0f2f5;
}

.comp-add-row[b-rjswfitauf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comp-add-row .form-select-custom[b-rjswfitauf] {
    flex: 1;
}

.btn-add-comp[b-rjswfitauf] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-add-comp:hover[b-rjswfitauf] {
    background: #16a34a;
    transform: translateY(-1px);
}

/* === Responsive === */
@media (max-width: 768px) {
    .form-layout[b-rjswfitauf] {
        grid-template-columns: 1fr;
    }

    .form-row-2col[b-rjswfitauf] {
        grid-template-columns: 1fr;
    }

    .form-page-header[b-rjswfitauf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* /Pages/Produtos/ProdutoLista.razor.rz.scp.css */
/* ============================================
   PRODUTOS - Layout Master-Detail Moderno
   ============================================ */

/* === Page Header === */
.page-header[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.page-title[b-gcht2c55n4] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.page-subtitle[b-gcht2c55n4] {
    font-size: 0.85rem;
    color: #8f9bb3;
    margin-top: 0.15rem;
    display: block;
}

.btn-novo[b-gcht2c55n4] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #4a90d9, #357abd);
    color: #fff;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
}

.btn-novo:hover[b-gcht2c55n4] {
    background: linear-gradient(135deg, #357abd, #2a6aab);
    box-shadow: 0 4px 14px rgba(74, 144, 217, 0.4);
    transform: translateY(-1px);
}

.btn-novo-icon[b-gcht2c55n4] {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}


/* === Stat Cards === */
.stat-row[b-gcht2c55n4] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.stat-card:hover[b-gcht2c55n4] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-icon[b-gcht2c55n4] {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.stat-icon-total[b-gcht2c55n4] {
    background: #eef2ff;
}

.stat-icon-ativo[b-gcht2c55n4] {
    background: #ecfdf5;
}

.stat-icon-inativo[b-gcht2c55n4] {
    background: #fef3f2;
}

.stat-icon-cat[b-gcht2c55n4] {
    background: #fff7ed;
}

.stat-info[b-gcht2c55n4] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-gcht2c55n4] {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.stat-label[b-gcht2c55n4] {
    font-size: 0.75rem;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* === Filtros Bar === */
.filtros-bar[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.busca-wrapper[b-gcht2c55n4] {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.busca-icon[b-gcht2c55n4] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    pointer-events: none;
}

.busca-input[b-gcht2c55n4] {
    width: 100%;
    padding: 0.6rem 2.25rem 0.6rem 2.5rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    background: #fff;
    color: #1a1a2e;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.busca-input[b-gcht2c55n4]::placeholder {
    color: #b0bac9;
}

.busca-input:focus[b-gcht2c55n4] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.busca-clear[b-gcht2c55n4] {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #8f9bb3;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
}

.busca-clear:hover[b-gcht2c55n4] {
    color: #e74c3c;
}

.filtros-grupo[b-gcht2c55n4] {
    display: flex;
    gap: 0.5rem;
}

.filtro-select[b-gcht2c55n4] {
    padding: 0.6rem 2rem 0.6rem 0.875rem;
    border: 1px solid #e0e5ec;
    border-radius: 0.625rem;
    font-size: 0.825rem;
    background: #fff;
    color: #4a5568;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: auto;
}

.filtro-select:focus[b-gcht2c55n4] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

/* === Master-Detail Layout === */
.master-detail[b-gcht2c55n4] {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 0.875rem;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* === Master Panel (Lista) === */
.master-panel[b-gcht2c55n4] {
    border-right: 1px solid #e8ecf1;
    overflow-y: auto;
    max-height: 600px;
    background: #fafbfc;
}

.master-panel[b-gcht2c55n4]::-webkit-scrollbar {
    width: 4px;
}

.master-panel[b-gcht2c55n4]::-webkit-scrollbar-thumb {
    background: #c8cfd8;
    border-radius: 4px;
}

.master-panel[b-gcht2c55n4]::-webkit-scrollbar-thumb:hover {
    background: #a0a8b4;
}

/* === Produto Item (lista) === */
.produto-item[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.15s ease;
    position: relative;
}

.produto-item:hover[b-gcht2c55n4] {
    background: #f0f4ff;
}

.produto-item.selecionado[b-gcht2c55n4] {
    background: #edf2ff;
    border-left: 3px solid #4a90d9;
    padding-left: calc(1.125rem - 3px);
}

.produto-item.selecionado[b-gcht2c55n4]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 2px;
    background: transparent;
}

.produto-item.inativo[b-gcht2c55n4] {
    opacity: 0.55;
}

.produto-item.inativo:hover[b-gcht2c55n4] {
    opacity: 0.8;
}

.produto-item-emoji[b-gcht2c55n4] {
    font-size: 1.6rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border-radius: 0.625rem;
    flex-shrink: 0;
}

.produto-item.selecionado .produto-item-emoji[b-gcht2c55n4] {
    background: #dbe6f7;
}

.produto-item-info[b-gcht2c55n4] {
    flex: 1;
    min-width: 0;
}

.produto-item-nome[b-gcht2c55n4] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.produto-item-meta[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.produto-item-categoria[b-gcht2c55n4] {
    font-size: 0.75rem;
    color: #8f9bb3;
    font-weight: 500;
}

.produto-item-separador[b-gcht2c55n4] {
    color: #c8cfd8;
    font-size: 0.6rem;
}

.produto-item-preco[b-gcht2c55n4] {
    font-size: 0.75rem;
    color: #4a90d9;
    font-weight: 600;
}

.produto-item-status[b-gcht2c55n4] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* === Status Dot === */
.status-dot[b-gcht2c55n4] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.ativo[b-gcht2c55n4] {
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.status-dot.inativo-dot[b-gcht2c55n4] {
    background-color: #9ca3af;
}

/* === Detail Panel === */
.detail-panel[b-gcht2c55n4] {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    max-height: 600px;
    background: #fff;
}

.detail-panel[b-gcht2c55n4]::-webkit-scrollbar {
    width: 4px;
}

.detail-panel[b-gcht2c55n4]::-webkit-scrollbar-thumb {
    background: #c8cfd8;
    border-radius: 4px;
}

/* === Detail Empty State === */
.detail-empty[b-gcht2c55n4],
.detail-loading[b-gcht2c55n4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    text-align: center;
}

.detail-empty-icon[b-gcht2c55n4] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.detail-empty-text[b-gcht2c55n4] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.detail-empty-subtext[b-gcht2c55n4] {
    font-size: 0.825rem;
    color: #8f9bb3;
    margin: 0.35rem 0 0;
}

/* === Detail Header === */
.detail-header[b-gcht2c55n4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f2f5;
    animation: fadeInUp-b-gcht2c55n4 0.25s ease-out;
}

.detail-header-left[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-emoji[b-gcht2c55n4] {
    font-size: 2.25rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 0.875rem;
    flex-shrink: 0;
}

.detail-nome[b-gcht2c55n4] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.35rem 0;
}

.detail-categoria-badge[b-gcht2c55n4] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #4a5568;
    background: #f0f2f5;
    border-radius: 1rem;
    margin-right: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-status-badge[b-gcht2c55n4] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 1rem;
}

.detail-status-badge.badge-ativo[b-gcht2c55n4] {
    color: #166534;
    background: #dcfce7;
}

.detail-status-badge.badge-inativo[b-gcht2c55n4] {
    color: #6b7280;
    background: #f3f4f6;
}

/* === Detail Actions === */
.detail-header-actions[b-gcht2c55n4] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-action[b-gcht2c55n4] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-editar[b-gcht2c55n4] {
    color: #4a90d9;
    background: #edf2ff;
    border-color: #c7d8f4;
}

.btn-editar:hover[b-gcht2c55n4] {
    background: #dbe6f7;
    border-color: #4a90d9;
}

.btn-desativar[b-gcht2c55n4] {
    color: #dc3545;
    background: #fef2f2;
    border-color: #fecaca;
}

.btn-desativar:hover[b-gcht2c55n4] {
    background: #fee2e2;
    border-color: #dc3545;
}

.btn-ativar[b-gcht2c55n4] {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.btn-ativar:hover[b-gcht2c55n4] {
    background: #dcfce7;
    border-color: #22c55e;
}

/* === Detail Sections === */
.detail-section[b-gcht2c55n4] {
    margin-bottom: 1.5rem;
    animation: fadeInUp-b-gcht2c55n4 0.3s ease-out;
}

.detail-section-title[b-gcht2c55n4] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.875rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f5f6f8;
}

/* === Info Grid === */
.detail-info-grid[b-gcht2c55n4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-info-item[b-gcht2c55n4] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-info-item.full-width[b-gcht2c55n4] {
    grid-column: span 2;
}

.detail-info-label[b-gcht2c55n4] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8f9bb3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-info-value[b-gcht2c55n4] {
    font-size: 0.925rem;
    color: #1a1a2e;
    font-weight: 500;
}

.detail-info-value.preco[b-gcht2c55n4] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #4a90d9;
}

/* === Config Grid === */
.config-grid[b-gcht2c55n4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.config-item[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.875rem;
    background: #fafbfc;
    border: 1px solid #f0f2f5;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.config-item:hover[b-gcht2c55n4] {
    background: #f5f7fa;
}

.config-icon[b-gcht2c55n4] {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.config-label[b-gcht2c55n4] {
    font-size: 0.8rem;
    color: #4a5568;
    font-weight: 500;
}

/* === Componentes Tags === */
.componentes-lista[b-gcht2c55n4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.componente-tag[b-gcht2c55n4] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    transition: transform 0.15s;
}

.componente-tag:hover[b-gcht2c55n4] {
    transform: translateY(-1px);
}

.componente-tag.obrigatorio[b-gcht2c55n4] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
}

.componente-tag.opcional[b-gcht2c55n4] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.componente-nome[b-gcht2c55n4] {
    font-weight: 600;
}

.componente-tipo[b-gcht2c55n4] {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* === Empty State (lista) === */
.empty-state[b-gcht2c55n4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-icon[b-gcht2c55n4] {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

.empty-text[b-gcht2c55n4] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.empty-subtext[b-gcht2c55n4] {
    font-size: 0.8rem;
    color: #8f9bb3;
    margin: 0.25rem 0 0;
}

/* === Animations === */
@keyframes fadeInUp-b-gcht2c55n4 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive === */
@media (max-width: 900px) {
    .stat-row[b-gcht2c55n4] {
        grid-template-columns: repeat(2, 1fr);
    }

    .master-detail[b-gcht2c55n4] {
        grid-template-columns: 1fr;
    }

    .master-panel[b-gcht2c55n4] {
        border-right: none;
        border-bottom: 1px solid #e8ecf1;
        max-height: 300px;
    }

    .detail-panel[b-gcht2c55n4] {
        max-height: none;
    }

    .page-header[b-gcht2c55n4] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .stat-row[b-gcht2c55n4] {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .filtros-bar[b-gcht2c55n4] {
        flex-direction: column;
    }

    .filtros-grupo[b-gcht2c55n4] {
        width: 100%;
    }

    .filtro-select[b-gcht2c55n4] {
        flex: 1;
    }

    .detail-header[b-gcht2c55n4] {
        flex-direction: column;
        gap: 1rem;
    }

    .detail-header-actions[b-gcht2c55n4] {
        width: 100%;
    }

    .detail-header-actions .btn-action[b-gcht2c55n4] {
        flex: 1;
        justify-content: center;
    }

    .detail-info-grid[b-gcht2c55n4] {
        grid-template-columns: 1fr;
    }

    .detail-info-item.full-width[b-gcht2c55n4] {
        grid-column: span 1;
    }

    .config-grid[b-gcht2c55n4] {
        grid-template-columns: 1fr;
    }
}
