/* ============================================
   STOCK VALORIZADO — Estilos específicos del módulo
   (La tabla usa estilos de Proveedores.css via TablaGenerica)
   ============================================ */

.sv-subtotal-row {
    background: #f1f5f9 !important;
}

.sv-subtotal-row td {
    border-top: 2px solid #e2e8f0 !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 0.72rem !important;
}

.sv-total-row {
    background: #1A4480 !important;
}

.sv-total-row td {
    color: #fff !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
}
.sv-total-row td:first-child {
    border-radius: 0 0 0 6px !important;
}
.sv-total-row td:last-child {
    border-radius: 0 0 6px 0 !important;
}

.sv-resumen {
    display: flex;
    gap: 24px;
    padding: 8px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.sv-resumen-item {
    display: flex;
    gap: 6px;
    align-items: center;
}

.sv-resumen-label {
    color: #64748b;
    font-weight: 600;
}

.sv-resumen-value {
    color: #1e293b;
    font-weight: 700;
}

#pageStockValorizado .prov-tabla thead tr th:first-child { border-radius: 6px 0 0 0; }
#pageStockValorizado .prov-tabla thead tr th:last-child { border-radius: 0 6px 0 0; }

#pageStockValorizado input:focus,
#pageStockValorizado select:focus,
#pageStockValorizado textarea:focus {
    border-color: var(--azul-400);
    box-shadow: 0 0 0 3px rgba(37,99,160,0.12);
    outline: none;
}
#pageStockValorizado *:focus:not(input):not(select):not(textarea):not(button),
#pageStockValorizado *:focus-visible:not(input):not(select):not(textarea):not(button) {
    outline: none !important;
}
