/* _content/DosErp.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-qsoqyvbk4x] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.sidebar[b-qsoqyvbk4x] {
    background: #2D2F45;
}

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

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

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

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

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

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

/* ── Botón toggle sidebar ──────────────────────────────────── */
.btn-toggle-sidebar[b-qsoqyvbk4x] {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.btn-toggle-sidebar:hover[b-qsoqyvbk4x] { background: rgba(0,0,0,0.07); color: #111; }

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

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

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

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

    .top-row[b-qsoqyvbk4x], article[b-qsoqyvbk4x] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-qsoqyvbk4x] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .erp-error-btn[b-qsoqyvbk4x] {
        background: transparent;
        border: 1px solid rgba(0, 0, 0, 0.35);
        border-radius: 0.2rem;
        cursor: pointer;
        font-size: 0.85em;
        margin-left: 0.5rem;
        padding: 0.05rem 0.4rem;
    }

    #blazor-error-ui #erp-error-consola[b-qsoqyvbk4x] {
        display: none;
        font-size: 0.75rem;
        margin: 0.5rem 0 0 0;
        max-height: 12rem;
        overflow: auto;
        white-space: pre-wrap;
    }

    #blazor-error-ui .dismiss[b-qsoqyvbk4x] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/DosErp.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Toggler móvil ─────────────────────────────────────────── */
.navbar-toggler[b-uw2nksfcg2] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255,255,255,0.1);
}
.navbar-toggler:checked[b-uw2nksfcg2] { background-color: rgba(255,255,255,0.5); }

/* ── Cabecera ──────────────────────────────────────────────── */
.top-row[b-uw2nksfcg2] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}
.navbar-brand[b-uw2nksfcg2] { font-size: 1.15rem; letter-spacing: .02em; }

/* ── Marca M5 ERP (ver "Logo M5 ERP Miraltec" en Claude Design) ─────────── */
.brand-mark[b-uw2nksfcg2] {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: .9;
    letter-spacing: .01em;
    color: #fff;
}
.brand-mark-erp[b-uw2nksfcg2] { color: #a9d558; }

/* ── Scroll container ──────────────────────────────────────── */
.nav-scrollable[b-uw2nksfcg2] { display: none; }
.navbar-toggler:checked ~ .nav-scrollable[b-uw2nksfcg2] { display: block; }

@media (min-width: 641px) {
    .navbar-toggler[b-uw2nksfcg2]  { display: none; }
    .nav-scrollable[b-uw2nksfcg2]  {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.15) transparent;
    }
}

/* ── Nav contenedor ────────────────────────────────────────── */
.erp-sidenav[b-uw2nksfcg2] {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0 1.5rem;
}

/* ── Icono en badge redondeado (todas las filas de nav) ──────── */
.snav-top i[b-uw2nksfcg2], [b-uw2nksfcg2] .snav-link i, .snav-pending i[b-uw2nksfcg2], .snav-hdr i[b-uw2nksfcg2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 7px;
    background: rgba(255,255,255,0.08);
    font-size: 0.9em;
    transition: background 0.15s;
}
.snav-hdr i[b-uw2nksfcg2] { width: 24px; height: 24px; font-size: 0.85em; }
.snav-top.active i[b-uw2nksfcg2], [b-uw2nksfcg2] .snav-link.active i { background: rgba(255,255,255,0.2); }

/* ── Link directo (Inicio) ─────────────────────────────────── */
.snav-top[b-uw2nksfcg2] {
    margin: 0.2rem 0.6rem 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: background 0.15s;
}
.snav-top:hover[b-uw2nksfcg2] { background: rgba(255,255,255,0.1); color: white; }
.snav-top.active[b-uw2nksfcg2] { background: rgba(255,255,255,0.16); color: white; }

/* ── Grupo (details) ───────────────────────────────────────── */
.snav-group[b-uw2nksfcg2] {
    margin: 0.15rem 0;
}

/* ── Cabecera de grupo (summary) ───────────────────────────── */
.snav-hdr[b-uw2nksfcg2] {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(255,255,255,0.65);
    user-select: none;
    transition: background 0.15s, color 0.15s;
}
.snav-hdr[b-uw2nksfcg2]::-webkit-details-marker { display: none; }
.snav-hdr:hover[b-uw2nksfcg2] { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); }

.snav-hdr-pending[b-uw2nksfcg2] { opacity: 0.6; }
.snav-hdr-sector[b-uw2nksfcg2]  { color: rgba(255,220,130,0.75); }
.snav-hdr-sector:hover[b-uw2nksfcg2] { color: rgba(255,220,130,1); }

/* Chevron rota cuando el grupo está abierto */
.snav-chevron[b-uw2nksfcg2] {
    margin-left: auto;
    font-size: 0.65rem;
    transition: transform 0.2s;
}
details[open] > .snav-hdr > .snav-chevron[b-uw2nksfcg2] { transform: rotate(180deg); }

/* ── Cuerpo del grupo ──────────────────────────────────────── */
.snav-body[b-uw2nksfcg2] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.2rem 0 0.3rem;
}

/* ── Links activos dentro del grupo ───────────────────────── */
[b-uw2nksfcg2] .snav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0.6rem 0 1.3rem;
    padding: 0.32rem 0.6rem;
    border-radius: 9px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}
[b-uw2nksfcg2] .snav-link:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}
[b-uw2nksfcg2] .snav-link.active {
    background: rgba(255,255,255,0.16);
    color: white;
    font-weight: 500;
}

/* ── Items pendientes (no links) ────────────────────────────── */
.snav-pending[b-uw2nksfcg2] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0.6rem 0 1.3rem;
    padding: 0.32rem 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.32);
    font-style: italic;
    cursor: default;
}
/* _content/DosErp.Web/Components/Pages/Articulos.razor.rz.scp.css */
/* Estilos scoped de Artículos — solo lo específico de esta ventana.
   Los estilos compartidos (.campo, .fila, .btn-win, .rail, etc.) están en app.css. */

.win-articulos[b-li5guev8rg] {
    font-family: var(--erp-font-family);
    font-size: 13px;
    color: var(--erp-text);
}

/* ── Formulario de dos columnas ─────────────────────────────────────── */
.form-general[b-li5guev8rg] { display: flex; gap: 26px; }
.col-izq[b-li5guev8rg]      { flex: 1.55; min-width: 0; }
.col-der[b-li5guev8rg]      { flex: 1;    min-width: 0; }

/* ── Imagen y categorías ─────────────────────────────────────────────── */
.img-box[b-li5guev8rg] {
    border: 1px solid var(--erp-border);
    height: 230px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-text-light);
    background: var(--erp-win-bg);
    overflow: hidden;
    cursor: pointer;
}
.img-box img[b-li5guev8rg] { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Lightbox */
.img-lightbox-overlay[b-li5guev8rg] {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.75);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; cursor: zoom-out;
}
.img-lightbox-overlay img[b-li5guev8rg] { max-width: 90vw; max-height: 90vh; border-radius: 4px; }

/* ── Tabla de categorías ─────────────────────────────────────────────── */
.cat-tabla[b-li5guev8rg] { border: 1px solid var(--erp-border); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.cat-tabla .th[b-li5guev8rg] {
    background: var(--erp-primary-light);
    padding: 7px 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--erp-section-text);
}
.cat-tabla .tr[b-li5guev8rg]          { padding: 9px 10px; border-top: 1px solid var(--erp-win-bg); min-height: 34px; }
.cat-tabla .tr:nth-child(odd)[b-li5guev8rg] { background: var(--erp-win-bg); }
.cat-acciones[b-li5guev8rg]           { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* ── Caja de cálculo de precios ──────────────────────────────────────── */
.calc-box[b-li5guev8rg] {
    margin-top: 16px;
    border: 1px solid var(--erp-border);
    border-radius: 6px;
    padding: 10px 12px;
    background: var(--erp-win-bg);
}
.calc-box h5[b-li5guev8rg]     { margin: 0 0 8px; font-size: 12px; color: var(--erp-section-text); font-weight: 700; }
.calc-box table[b-li5guev8rg]  { width: 100%; font-size: 12px; }
.calc-box td[b-li5guev8rg]     { padding: 3px 0; }
.calc-box td.v[b-li5guev8rg]   { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Precios ─────────────────────────────────────────────────────────── */
.precios-head[b-li5guev8rg]     { display: flex; align-items: center; gap: 26px; margin: 20px 0 12px; flex-wrap: wrap; }
.precios-head h4[b-li5guev8rg]  { margin: 0; font-size: 14px; color: var(--erp-section-text); }
.chk[b-li5guev8rg]              { display: flex; align-items: center; gap: 6px; font-size: 12px; }
/* _content/DosErp.Web/Components/Pages/Parametros.razor.rz.scp.css */
/* Estilos scoped de la pestaña Apariencia */

/* ── Botón de paleta predefinida ─────────────────────────────────────── */
.palette-btn[b-sotshv0khn] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 2px solid var(--erp-border);
    border-radius: 8px;
    background: var(--erp-container-bg);
    cursor: pointer;
    font-size: 13px;
    color: var(--erp-text);
    transition: border-color .15s, box-shadow .15s;
    min-width: 150px;
}
.palette-btn:hover[b-sotshv0khn]     { border-color: var(--pal-primary); }
.palette-btn.active[b-sotshv0khn]    { border-color: var(--pal-primary); box-shadow: 0 0 0 3px rgba(var(--erp-primary-rgb),.2); }

.palette-swatch[b-sotshv0khn] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pal-swatch, var(--pal-primary));
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.palette-name[b-sotshv0khn]  { flex: 1; font-weight: 600; }
.palette-check[b-sotshv0khn] { color: var(--pal-primary); font-weight: 700; }

/* ── Color picker nativo grande ──────────────────────────────────────── */
.color-picker[b-sotshv0khn] {
    width: 48px;
    height: 48px;
    border: 1px solid var(--erp-border);
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    background: none;
}

/* ── Vista previa de la paleta activa ────────────────────────────────── */
.palette-preview[b-sotshv0khn] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.pp-primary[b-sotshv0khn] {
    background: var(--erp-primary);
    color: var(--erp-primary-text);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}
.pp-section[b-sotshv0khn] {
    color: var(--erp-section-text);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 0;
}
.pp-input[b-sotshv0khn]  { display: flex; align-items: center; }
.pp-selected[b-sotshv0khn] {
    background: var(--erp-selected-bg);
    color: var(--erp-text);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid var(--erp-border);
}
.pp-hover[b-sotshv0khn] {
    background: var(--erp-hover-bg);
    color: var(--erp-text);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid var(--erp-border);
}
/* _content/DosErp.Web/Components/Pages/Tpv.razor.rz.scp.css */
.tpv-total[b-wq3i8o0q21] {
    font-size: 1.6rem;
    font-weight: 700;
}

.tpv-lineas[b-wq3i8o0q21] {
    width: 300px;
    min-width: 300px;
    min-height: 0;
}

.tpv-linea:hover[b-wq3i8o0q21] {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.tpv-articulos[b-wq3i8o0q21] {
    overflow: hidden;
}

.tpv-grid[b-wq3i8o0q21] {
    overflow-y: auto;
}

.tpv-btn[b-wq3i8o0q21] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 6px;
    cursor: pointer;
    text-align: center;
}

.tpv-btn:active[b-wq3i8o0q21] {
    transform: scale(0.97);
}

.tpv-btn:disabled[b-wq3i8o0q21] {
    opacity: .5;
    cursor: not-allowed;
}

.tpv-btn img[b-wq3i8o0q21] {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.tpv-familia[b-wq3i8o0q21] {
    min-width: 90px;
    min-height: 70px;
    font-weight: 600;
}

.tpv-familia.active[b-wq3i8o0q21] {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    border-color: var(--bs-primary, #0d6efd);
}

/* Opciones de venta (ArtiOpcItems) — marcada con borde rojo al seleccionarla, igual que el
   legacy (WIN_Form_TPV_Tactil, LOOP_OpcionesLinea). */
.tpv-opcion[b-wq3i8o0q21] {
    width: 90px;
    min-height: 90px;
}

.tpv-opcion.active[b-wq3i8o0q21] {
    border: 3px solid #dc3545;
}

.tpv-articulo[b-wq3i8o0q21] {
    width: 120px;
    min-height: 100px;
    justify-content: space-between;
}

.tpv-nombre[b-wq3i8o0q21] {
    font-size: .8rem;
    line-height: 1.1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tpv-pvp[b-wq3i8o0q21] {
    font-size: .8rem;
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
}

.tpv-modal-backdrop[b-wq3i8o0q21] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.tpv-modal[b-wq3i8o0q21] {
    background: var(--bs-body-bg, #fff);
    border-radius: 8px;
    padding: 1.25rem;
    width: 320px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.tpv-modal-cobro[b-wq3i8o0q21] {
    width: 420px;
}

.tpv-modal-agrupado[b-wq3i8o0q21] {
    width: 480px;
}

/* Ingreso/Retirada de caja en 2 columnas (Concepto/Proveedor+teclado alfanumérico | Importe+
   teclado numérico) — antes cabía en el .tpv-modal genérico de 320px, en 1 columna. A petición de
   Pepe (2026-08-24): más ancha todavía, el teclado alfanumérico se veía apretado. */
.tpv-modal-caja[b-wq3i8o0q21] {
    width: 860px;
}

/* Fila de familias/accesos rápidos (LOOP_Familia/LOOP_CatRapida) y filas fijas al fondo
   (LOOP_Cat1/LOOP_Cat2): a petición de Pepe (2026-08-24) ocupan como máximo la altura de UNA
   línea de botones — el resto de la pantalla, entre la fila de arriba y las 2 de abajo, es para
   el grid de artículos. Si hay más botones de los que caben en esa línea, se accede a ellos con
   scroll vertical dentro de su propia franja (nunca scroll horizontal, incómodo en pantalla
   táctil, y nunca empujando/aplastando el grid principal). flex-shrink:0 evita que el
   flex-column padre las aplaste igualmente. */
.tpv-catrapida[b-wq3i8o0q21],
.tpv-familias[b-wq3i8o0q21] {
    flex-shrink: 0;
    height: calc(70px + 1rem);
    overflow-y: auto;
}

.tpv-fila-fija[b-wq3i8o0q21] {
    flex-shrink: 0;
    height: calc(100px + 1rem);
    overflow-y: auto;
}

.tpv-articulo[b-wq3i8o0q21] {
    position: relative;
}

.tpv-badge-grupo[b-wq3i8o0q21] {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: .7rem;
    line-height: 1;
    color: var(--bs-secondary-color, #6c757d);
}

.tpv-badge-pdte[b-wq3i8o0q21] {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
    background: var(--bs-warning, #ffc107);
    color: #000;
    border-radius: 4px;
    padding: 1px 4px;
}

.tpv-cobro-importe[b-wq3i8o0q21] {
    font-size: 1.3rem;
    font-weight: 700;
}

.tpv-pin-input[b-wq3i8o0q21] {
    width: 260px;
    font-size: 1.8rem;
    letter-spacing: .3rem;
}

/* Teclado táctil (a petición de Pepe, 2026-08-24): el campo que está recibiendo las pulsaciones
   del TpvTeclado se resalta, igual que el cursor parpadeante del EDT del legacy. */
.tpv-campo-activo[b-wq3i8o0q21] {
    border-color: var(--bs-primary, #0d6efd) !important;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25);
}

.tpv-vendedor-badge[b-wq3i8o0q21] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tpv-vendedor-badge img[b-wq3i8o0q21] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.tpv-botonera[b-wq3i8o0q21] {
    position: relative;
    flex-shrink: 0;
}

.tpv-botonera-grid[b-wq3i8o0q21] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.tpv-menu-btn[b-wq3i8o0q21] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    padding: 8px 2px;
    font-size: 1.2rem;
    cursor: pointer;
}

.tpv-menu-btn span[b-wq3i8o0q21] {
    font-size: .65rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

.tpv-menu-btn:disabled[b-wq3i8o0q21] {
    opacity: .45;
    cursor: not-allowed;
}

.tpv-menu-btn.active[b-wq3i8o0q21] {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

.tpv-menu-btn-cobrar:not(:disabled)[b-wq3i8o0q21] {
    background: var(--bs-success, #198754);
    color: #fff;
    border-color: var(--bs-success, #198754);
}

.tpv-menu-sidebar[b-wq3i8o0q21] {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    z-index: 50;
}

.tpv-menu-side-btn[b-wq3i8o0q21] {
    display: block;
    text-align: left;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-tertiary-bg, #f8f9fa);
    padding: 8px 10px;
    font-size: .85rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.tpv-menu-side-btn:disabled[b-wq3i8o0q21],
.tpv-menu-side-btn.disabled[b-wq3i8o0q21] {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.tpv-modal-tercero[b-wq3i8o0q21] {
    /* Ensanchado (antes 460px) para que quepan los 9 campos de "Nuevo cliente" en 2-3 columnas y
       el TpvTecladoTexto compartido (2026-08-24). */
    width: 620px;
}

/* Buscador de artículos (barra permanente sobre el grid, no en un modal): el teclado alfanumérico
   se abre en un popover flotante para no robarle espacio fijo al grid — ver buscarTecladoAbierto
   en Tpv.razor. */
.tpv-teclado-popover[b-wq3i8o0q21] {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 100%;
    z-index: 1000;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 8px;
    margin-top: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.tpv-modal-tickets[b-wq3i8o0q21] {
    width: 680px;
    max-width: 95vw;
}

.tpv-tercero-lista[b-wq3i8o0q21] {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tpv-tercero-fila[b-wq3i8o0q21] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-body-bg, #fff);
    padding: 8px 10px;
    cursor: pointer;
}

.tpv-tercero-fila:hover[b-wq3i8o0q21] {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.tpv-tercero-fila.active[b-wq3i8o0q21] {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    border-color: var(--bs-primary, #0d6efd);
}

/* Bloque 10, traduce WIN_Form_TPV_Tactil_Bloqueo.wdw: pantalla de bloqueo por inactividad.
   El original mueve una imagen al azar cada 3s por un salvapantallas multi-monitor Win32 — aquí
   se simplifica a un overlay fijo, cualquier toque/tecla lo cierra (mismo criterio: OnActivity
   cierra la ventana sin pedir PIN de nuevo). */
.tpv-bloqueo-overlay[b-wq3i8o0q21] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 3000;
    cursor: pointer;
}

.tpv-bloqueo-img[b-wq3i8o0q21] {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}

.tpv-bloqueo-icon[b-wq3i8o0q21] {
    font-size: 4rem;
}

.tpv-bloqueo-texto[b-wq3i8o0q21] {
    font-size: 1.1rem;
    opacity: .85;
}
/* _content/DosErp.Web/Components/Shared/TpvModlin.razor.rz.scp.css */
/* Duplicadas de Tpv.razor.css: por aislamiento CSS de Blazor, las reglas de la página no
   alcanzan a los elementos que ahora pinta este componente. Si cambian ahí, replicar aquí. */
.tpv-modal-backdrop[b-cabce5wwtw] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.tpv-campo-activo[b-cabce5wwtw] {
    border-color: var(--bs-primary, #0d6efd) !important;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25);
}

.tpv-nombre[b-cabce5wwtw] {
    font-size: .8rem;
    line-height: 1.1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ── Editar/añadir línea (MODLIN) — maquetación adaptada del rediseño hecho en Claude Design
   (proyecto "Rediseño pantalla modal TPV", 2026-08-24): cabecera con total en vivo, campos
   grandes de solo-lectura, Regalo/Abono/Precio permanente/Borrar como pills con icono,
   opciones en tiles, teclado+acciones en panel lateral. Usa las variables --bs-* de Bootstrap
   (no las --color-* del sistema de diseño de origen) para heredar el tema claro/oscuro de la
   app tal cual hace el resto del TPV. */
.tpv-modlin[b-cabce5wwtw] {
    background: var(--bs-body-bg, #fff);
    border-radius: 8px;
    width: 960px;
    max-width: 96vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tpv-modlin-header[b-cabce5wwtw] {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 20px 12px;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.tpv-modlin-titulo[b-cabce5wwtw] {
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
}

.tpv-modlin-sub[b-cabce5wwtw] {
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color, #6c757d);
}

.tpv-modlin-total-label[b-cabce5wwtw] {
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color, #6c757d);
}

.tpv-modlin-total-valor[b-cabce5wwtw] {
    font-weight: 700;
    font-size: 1.6rem;
    min-width: 110px;
    text-align: right;
}

.tpv-modlin-body[b-cabce5wwtw] {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 0;
    overflow-y: auto;
}

.tpv-modlin-form[b-cabce5wwtw] {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.tpv-modlin-campos[b-cabce5wwtw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tpv-modlin-campo-head[b-cabce5wwtw] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tpv-modlin-campo-head small[b-cabce5wwtw] {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--bs-secondary-color, #6c757d);
}

.tpv-modlin-valor[b-cabce5wwtw] {
    width: 100%;
    min-height: 56px;
    font-weight: 700;
    font-size: 1.7rem;
    text-align: right;
    padding: 4px 12px;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    cursor: pointer;
    color: inherit;
}

.tpv-modlin-seg[b-cabce5wwtw] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.tpv-modlin-pill[b-cabce5wwtw] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-tertiary-bg, #f8f9fa);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
}

.tpv-modlin-pill:active[b-cabce5wwtw] {
    transform: scale(0.98);
}

.tpv-modlin-pill-block[b-cabce5wwtw] {
    width: 100%;
    margin-top: 8px;
    text-align: center;
}

.tpv-modlin-divider[b-cabce5wwtw] {
    height: 1px;
    background: var(--bs-border-color, #dee2e6);
}

.tpv-modlin-opciones[b-cabce5wwtw] {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tpv-modlin-opcion[b-cabce5wwtw] {
    flex: none;
    width: 100px;
    display: grid;
    gap: 6px;
    justify-items: center;
    align-content: start;
    padding: 8px;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    background: var(--bs-body-bg, #fff);
    cursor: pointer;
}

.tpv-modlin-opcion.active[b-cabce5wwtw] {
    border: 2px solid var(--bs-danger, #dc3545);
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.tpv-modlin-opcion img[b-cabce5wwtw] {
    width: 100%;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}

.tpv-modlin-opcion-thumb[b-cabce5wwtw] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 56px;
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-radius: 4px;
    color: var(--bs-secondary-color, #6c757d);
}

.tpv-modlin-panel[b-cabce5wwtw] {
    border-left: 1px solid var(--bs-border-color, #dee2e6);
    background: var(--bs-tertiary-bg, #f8f9fa);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.tpv-modlin-panel-head[b-cabce5wwtw] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tpv-modlin-panel-head small[b-cabce5wwtw] {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--bs-secondary-color, #6c757d);
}

.tpv-modlin-acciones[b-cabce5wwtw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tpv-modlin-guardar[b-cabce5wwtw] {
    min-height: 64px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    background: var(--bs-primary, #0d6efd);
    color: #fff;
    cursor: pointer;
}

.tpv-modlin-guardar:active[b-cabce5wwtw] {
    transform: scale(0.99);
}

@media (max-width: 860px) {
    .tpv-modlin-body[b-cabce5wwtw] {
        grid-template-columns: 1fr;
    }

    .tpv-modlin-campos[b-cabce5wwtw] {
        grid-template-columns: 1fr;
    }

    .tpv-modlin-panel[b-cabce5wwtw] {
        border-left: none;
        border-top: 1px solid var(--bs-border-color, #dee2e6);
    }
}
/* _content/DosErp.Web/Components/Shared/TpvTeclado.razor.rz.scp.css */
.tpv-teclado[b-8imzzetuxg] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, minmax(48px, 1fr));
    grid-template-areas:
        "k1 k2 k3   clr"
        "k4 k5 k6   enter"
        "k7 k8 k9   enter"
        "minus k0 dot back";
    gap: 3px;
    width: 100%;
    max-width: 320px;
}

.tpv-tecla[b-8imzzetuxg] {
    background: #3a3a3a;
    color: #f5f5f5;
    border: 1px solid #222;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.tpv-tecla:active[b-8imzzetuxg] {
    background: #555;
}

.tpv-tecla:disabled[b-8imzzetuxg] {
    opacity: .35;
    cursor: not-allowed;
}

.tpv-tecla-clr[b-8imzzetuxg] {
    color: #f0ad4e;
}

.tpv-tecla-enter[b-8imzzetuxg] {
    font-size: 1.1rem;
}

.tpv-tecla-back[b-8imzzetuxg] {
    color: #bbb;
    font-size: 1.5rem;
}
/* _content/DosErp.Web/Components/Shared/TpvTecladoTexto.razor.rz.scp.css */
.tpv-teclado-txt[b-qhcevy6cz0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.tpv-teclado-txt-fila[b-qhcevy6cz0] {
    display: flex;
    gap: 3px;
}

.tpv-tecla-txt[b-qhcevy6cz0] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    background: #3a3a3a;
    color: #f5f5f5;
    border: 1px solid #222;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.tpv-tecla-txt:active[b-qhcevy6cz0] {
    background: #555;
}

.tpv-tecla-txt-back[b-qhcevy6cz0] {
    flex: 1.6 1 0;
    color: #bbb;
    font-size: 1.3rem;
}

.tpv-tecla-txt-mayus[b-qhcevy6cz0] {
    flex: 1.6 1 0;
    color: #f0ad4e;
}

.tpv-tecla-txt-mayus.active[b-qhcevy6cz0] {
    background: #f0ad4e;
    color: #222;
}

.tpv-tecla-txt-espacio[b-qhcevy6cz0] {
    flex: 6 1 0;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.tpv-tecla-txt-enter[b-qhcevy6cz0] {
    flex: 1.6 1 0;
    background: #0d6efd;
    font-size: 1.2rem;
}
