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

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

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

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

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

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

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

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